목록전체 글 (86)
elesis's haunt
[Python][3046] R2
R1, S = map(int, input().split()) print(2*S-R1)
백준~문풀 후 최적화 추가~/BRONZEⅤ
2022. 4. 24. 20:43
[Python][3003] 킹, 퀸, 룩, 비숍, 나이트, 폰
white_exit = list(map(int, input().split())) white_need = [1, 1, 2, 2, 2, 8] for i in range(len(white_need)): print(white_need[i]-white_exit[i], end=' ')
백준~문풀 후 최적화 추가~/BRONZEⅤ
2022. 4. 24. 20:31
[Python][2914] 저작권
num, avg = map(int, input().split()) print(num*(avg-1)+1) 올림이니까 하나 작은 수랑 곱해 +1 해주면된다.
백준~문풀 후 최적화 추가~/BRONZEⅤ
2022. 4. 23. 05:52
[Python][2845] 파티가 끝나고 난 뒤
a, b = map(int, input().split()) news = map(int, input().split()) list = "" for i in news: list += str(i-a*b) list += " " print(list)
백준~문풀 후 최적화 추가~/BRONZEⅤ
2022. 4. 23. 05:38
[Python][2558] A+B - 2
a = int(input()) b = int(input()) print(a+b)
백준~문풀 후 최적화 추가~/BRONZEⅤ
2022. 4. 23. 05:09
[Python][2557] Hello World
print('Hello World!')
백준~문풀 후 최적화 추가~/BRONZEⅤ
2022. 4. 23. 04:37
[Python][2475] 검증수
a, b, c, d, e = map(int, input().split()) sum = 0 for i in (a, b, c, d, e): sum += i**2 print(sum%10)
백준~문풀 후 최적화 추가~/BRONZEⅤ
2022. 4. 23. 04:36