전체 글

웹 프론트엔드 개발자 입니다.
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
·Computer Science
http://boj.kr/10953 10953번: A+B - 6 두 정수 A와 B를 입력받은 다음, A+B를 출력하는 프로그램을 작성하시오. www.acmicpc.net import java.util.*; import static java.lang.Integer.parseInt; public class BOJ10953 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int T=sc.nextInt(); while(T-->0){ String s=sc.next(); String num[] = s.split(","); int a = parseInt(num[0]); int b = parseInt(num[1]); Syst..
·Computer Science
http://boj.kr/10951 10951번: A+B - 4 두 정수 A와 B를 입력받은 다음, A+B를 출력하는 프로그램을 작성하시오. www.acmicpc.net import java.util.*; public class BOJ10951 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(sc.hasNext()){ int a = sc.nextInt(); int b = sc.nextInt(); System.out.println(a + b); }} }
·Computer Science
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); } }
·Computer Science
이럴때 소스트리에서 우선 pull해주고 내가 할 부분을 커밋-푸시 해줘야하는데 먼저 안땡겨오고 내 할일하다가 꼬여버림.. 결국 지운부분 되돌리기한 후 다시 강제풀해줬더니 꼬인부분 풀렸다. 깃은..정말..............복잡하다..............ㅠ
RED BEAN
REDBEAN