목록CodeUp (56)
Note
[codeup] 106. 초를 분/초로 변환
n = int(input()) s = n % 60 m = int(n/60%60) print(m, s)
etc/Coding Test
2022. 1. 5. 18:54
[codeup] 105. 삼각형의 넓이 구하기
a,b = map(int, input().split()) c = a*b/2 print("{:.1f}".format(c))
etc/Coding Test
2022. 1. 4. 17:08
[codeup] 104. 두 실수의 곱
# 1 a,b = map(float, input().split()) print("{:.2f}".format(a*b)) # 2 a,b = map(float, input().split()) print(round(a*b,2))
etc/Coding Test
2022. 1. 3. 23:00
[codeup] 103. 바둑알 십자 뒤집기
a = [] for i in range(20): a.append([]) for j in range(20): a[i].append(0) for i in range(19): b = input().split() for j in range(19): a[i+1][j+1] = int(b[j]) n = int(input()) for i in range(n): x,y = map(int,input().split()) for j in range(1,20): if a[j][y] == 0: a[j][y] = 1 else: a[j][y] = 0 if a[x][j] == 0: a[x][j] = 1 else: a[x][j] = 0 for i in range(1,20): for j in range(1,20): print(a[i][j..
etc/Coding Test
2022. 1. 2. 19:33