자바

http://boj.kr/11021 11021번: A+B - 7 각 테스트 케이스마다 "Case #x: "를 출력한 다음, A+B를 출력한다. 테스트 케이스 번호는 1부터 시작한다. www.acmicpc.net import java.util.*; public class BOJ11021 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int T=sc.nextInt(); for(int i=0;i
http://boj.kr/10950 10950번: A+B - 3 두 정수 A와 B를 입력받은 다음, A+B를 출력하는 프로그램을 작성하시오. www.acmicpc.net import java.util.*; public class BOJ10950 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int t=sc.nextInt(); for(int i=0;i
boj.kr/1000 import java.util.*; public class BOJ1000{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); System.out.print(a + b); } }
RED BEAN
'자바' 태그의 글 목록 (4 Page)