언어, 알고리즘 공부/백준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..