백준11720
[백준,BOJ 11720] 숫자의 합(JAVA 구현)
-해법 import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner in = new Scanner(System.in); int n = in.nextInt(); String str = in.next(); int sum = 0; for(int i=0;i
-해법 import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner in = new Scanner(System.in); int n = in.nextInt(); String str = in.next(); int sum = 0; for(int i=0;i