[BAEKJOON] 2741 : N 찍기 - python3 1 2 3 4 n = int(input()) for i in range(1,n+1,1): print(i) cs Study/BAEKJOON 2021.08.05
[BAEKJOON] 15552 : 빠른 A+B - python3 1 2 3 4 5 6 7 8 9 import sys n = int(input()) for i in range (0,n,1): a,b = map(int,sys.stdin.readline().split()) a = int(a) b = int(b) print(a+b) Colored by Color Scripter cs Study/BAEKJOON 2021.08.05
[BAEKJOON] 8393 : 합 - python3 1 2 3 4 5 n = int(input()) m=0 for i in range(0,n+1,1): m = m + i print(m) cs Study/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 Study/BAEKJOON 2021.08.05
[BAEKJOON] 2739 : 구구단 - python3 1 2 3 N = int(input()) for i in range(1,10,1): print(N,"*",i,"=",N*i) cs Study/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 Study/BAEKJOON 2021.08.04
[BAEKJOON] 14681 : 사분면 고르기 - python3 1 2 3 4 5 6 7 8 9 10 11 12 13 14 x = int(input()) y = int(input()) if(-1000 Study/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 Study/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 Study/BAEKJOON 2021.08.03