목록for문 (3)
hara
https://www.acmicpc.net/problem/2921 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class a2921 { public static void main(String[] args) throws NumberFormatException, IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int num=Integer.parseInt(br.readLine()); int sum=0; for(int i=0; i=i;j--){ sum+=(i+j); } } S..
https://www.acmicpc.net/problem/4344 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class a4344 { public static void main(String[] args) throws NumberFormatException, IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int num=Integer.parseInt(br.readLine()); for(int i=0;i
https://www.acmicpc.net/problem/11399 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import java.util.StringTokenizer; public class a11399 { public static void main(String[] args) throws NumberFormatException, IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int num=Integer.parseInt(br.rea..