728x90 반응형 SMALL 전체 글293 백준) 4714번 while True: a = float(input()) if a < 0: break else: print("Objects weighing {:.2f} on Earth will weigh {:.2f} on the moon.".format(a,a*0.167)) 2024. 3. 26. 백준) 4695번 - python while True: result = 1 a = float(input()) if a == 0: break else: for i in range(1,5): result += a ** i print("{:.2f}".format(result)) 2024. 3. 25. 백준) 4589번 - python result = [] for i in range(int(input())): a,b,c = map(int, input().split()) result.append([a,b,c]) print("Gnomes:") for i in range(len(result)): print("Ordered" if result[i][0] >= result[i][1] >= result[i][2] or result[i][0] 2024. 3. 24. 백준) 4562번 - python for i in range(int(input())): a,b=map(int,input().split()) print("NO BRAINS" if a 2024. 3. 23. 이전 1 ··· 56 57 58 59 60 61 62 ··· 74 다음 728x90 반응형 LIST