본문 바로가기

짱구 굴리기 (Q) - 52

[백준 2577] 숫자의 개수 출처 : https://www.acmicpc.net/problem/2577 쉬운 문제이므로 코드만 올립니다 public class Q2577 { public static void main(String[] args) { int arr[] = new int[10]; Scanner in = new Scanner(System.in); int a = in.nextInt(); int b = in.nextInt(); int c = in.nextInt(); int result = a*b*c; String str = Integer.toString(result); for(int i=0; i 2019. 1. 18.
[백준 10039] 평균 점수 출처 : https://www.acmicpc.net/problem/10039 쉬운 문제이므로 코드만 올립니당 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Q10039 { public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int point = 0; int result = 0; for(int i=0; i 2019. 1. 18.
[백준 2920] 음계 출처 : https://www.acmicpc.net/problem/2920 쉬운 문제였으므로 코드만 올려용 public class Q2920 { public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(br.readLine()); int[] arr = new int[8]; for(int i=0; i 2019. 1. 18.
[백준 2908] 상수 출처 : https://www.acmicpc.net/problem/2908 쉬운 문제였으므로 코드만 올립니다 package temp; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Q2908 { public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(b.. 2019. 1. 18.