[BAEKJOON] 11021 : A+B - 7 - python3 1 2 3 4 5 6 7 n = int(input()) for i in range(1,n+1,1): a,b = input().split() a = int(a) b = int(b) print(f'Case #{i}: {a+b}') cs Algorithm/BAEKJOON 2021.08.07
[BAEKJOON] 2742 : 기찍 N - python3 1 2 3 4 n = int(input()) for i in range(n,0,-1): print(i) cs Algorithm/BAEKJOON 2021.08.05
[BAEKJOON] 10950 : A+B - 3 - python3 1 2 3 4 5 6 7 n = int(input()) for i in range(0,n,1): a,b = input().split() a = int(a) b = int(b) print(a+b) cs Algorithm/BAEKJOON 2021.08.05
[BAEKJOON] 2884 : 알람 시계 - python3 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 H, M = input().split() I = 0 H = int(H) M = int(M) if(H==0): if(M>=45): I = (H*60+M) - 45 print(H, I%60) else: I = (H*60+M) - 45 H = 23 print(H, I%60) else: I = (H*60+M) - 45 print(int(I/60), I%60) cs Algorithm/BAEKJOON 2021.08.04
[BAEKJOON] 2753 : 윤년 - python3 1 2 3 4 5 6 7 8 9 10 A = int(input()) if (1 Algorithm/BAEKJOON 2021.08.04
[BAEKJOON] 9498 : 시험 성적 - python3 1 2 3 4 5 6 7 8 9 10 11 12 13 14 A = int(input()) if (0 = 80: print("B") elif A >= 70: print("C") elif A >= 60: print("D") else: print("F") cs Algorithm/BAEKJOON 2021.08.04
[BAEKJOON] 1330 : 두 수 비교하기 - python3 1 2 3 4 5 6 7 8 9 10 11 12 A,B = input().split() A = int(A) B = int(B) if ( A = 10000 or B = 10000): exit() elif A>B: print(">") elif A Algorithm/BAEKJOON 2021.08.03
[BAEKJOON] 2577 : 숫자의 개수 1234567891011121314151617181920212223#includeint main(){ int arr[10] = { 0 }, abc, rest=0, a,b,c,i; scanf("%d", &a); scanf("%d", &b); scanf("%d", &c); abc = a * b * c; while (abc >0) { rest = abc % 10; abc /= 10; arr[rest]++; } for (i = 0; i Algorithm/BAEKJOON 2020.09.20
[BAEKJOON] 2562 : 최댓값 123456789101112131415#includeint main(){ int arr[9] = { 0 }, i,max=0,num=0 ; for (i = 0; i max) { max = arr[i]; num = i + 1; } } printf("%d\n%d",max,num);}Colored by Color Scriptercs Algorithm/BAEKJOON 2020.09.19