백준1152
[백준,BOJ 1152] 단어의 개수(JAVA 구현)
-해법 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; String alph = br.readLine(); int cnt = 0; st = new StringTokenizer(alph); while(st.hasMoreToken..