[10952/JAVA] A+B - 5 import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int a; int b; while (true){ a = sc.nextInt(); b= sc.nextInt(); if ( a == 0 && b == 0){ break; } System.out.println(a+b); } sc.close(); } } ๐โ๏ธBaekjoon/Java 2021.09.07
210907 ใ ใ java ๋ cpp ๋์์ ๊ณต๋ถํ๋๊น ๋๋ฌด ํท๊ฐ๋ฆฐ๋ค ใ ใ ๋ธ๋ก ์ฆ ๋จ๊ณ๋ ์ฉ์ฉ ๋งค๋ ๋ด๊ฐ ๋ฐ๊ตฐ,,,, C๋์ ๋ค๋ฅธ ๋๋์ผ๋ก ์ด๋ ต๋น,, ๋ค ์ฐ๋ฟ๋,, ? ๊ทธ๋ผ ์ด์ while ๋ฌธ ๋จ๊ณ๋ฅผ ํ์ ๐โ๏ธprogrammers/Java 2021.09.07
[10871/JAVA] X๋ณด๋ค ์์ ์ import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner in = new Scanner(System.in); int N = in.nextInt(); int X = in.nextInt(); int a[] = new int[N]; for (int i = 0; i < N; i++) { a[i] = in.nextInt(); } for (int i = 0; i < N; i++) { if(a[i] < X) { System.out.printf(a[i] + " "); } } in.close(); } } ๐โ๏ธBaekjoon/Java 2021.09.07
[2439/JAVA] ๋ณ ์ฐ๊ธฐ - 2 import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner in = new Scanner(System.in); int N = in.nextInt(); for (int i = 1; i ๐โ๏ธBaekjoon/Java 2021.09.07
[2438/JAVA] ๋ณ ์ฐ๊ธฐ -1 import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner in = new Scanner(System.in); int N = in.nextInt(); for (int i = 1; i ๐โ๏ธBaekjoon/Java 2021.09.07
[11022/JAVA] A+B - 8 import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner in = new Scanner(System.in); int T = in.nextInt(); for (int i = 1; i ๐โ๏ธBaekjoon/Java 2021.09.07
[11021/JAVA] A+B - 7 import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner in = new Scanner(System.in); int T = in.nextInt(); for (int i = 1; i ๐โ๏ธBaekjoon/Java 2021.09.07
[2742/JAVA] ๊ธฐ์ฐ N import java.io.*; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out)); int n = Integer.parseInt(br.readLine()); for(int i=n; i>=1; i--){ bw.write(i+ "\n"); } bw.flush(); bw.close(); br.cl.. ๐โ๏ธBaekjoon/Java 2021.09.07