[백준/1065/JAVA] 한수 import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int count = 0; for(int i = 1; i 알고리즘왕/BOJ 2020.03.18
[백준/4673/JAVA] 셀프 넘버 public class Main { public static void main(String[] args) { boolean arr[] = new boolean[10001]; for (int i = 1; i 0) { n += d % 10; d /= 10; } if(n 알고리즘왕/BOJ 2020.03.18
[백준/15596/JAVA] 정수 N개의 합 public class Test { long sum(int[] a) { long ans = 0; for(int i = 0; i 알고리즘왕/BOJ 2020.03.17
[백준/4344/JAVA] 평균은 넘겠지 - String format import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int c = sc.nextInt(); for(int i = 0; i 알고리즘왕/BOJ 2020.03.17
[백준/8958/JAVA] OX퀴즈 - Scanner next()/nextLine() 차이 import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int t = sc.nextInt(); for(int i = 0; i 알고리즘왕/BOJ 2020.03.17