![[백준 알고리즘] 1152번 단어의 개수(Python 3, Java)](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FKg7P5%2FbtqBWCboAm0%2FkY7xp4Q91qyNcWKle8eybk%2Fimg.png)
언어, 알고리즘 공부/백준2020. 2. 12. 15:46[백준 알고리즘] 1152번 단어의 개수(Python 3, Java)
line = input().split() print(len(line)) import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine(), " "); System.out.prin..