728x90 반응형 SMALL 전체 글156 백준) 4673번 - python mid, final, coderess = [],[],[] for i in range(9): a = list(map(int, input().split())) mid.append(a) for j in range(len(mid)): if mid[i][j] == max(mid): final.append(max(mid)) coderess.append(i) coderess.append(j) print(mid) print(max(mid)) print(coderess) 2024. 2. 18. 백준) 4101번 - python while True: a,b = map(int,input().split()) if a == 0 and b == 0: break else: print("Yes" if a > b else "No") 2024. 2. 17. 백준) 3052번 - python a,b,c = [],42,[] for i in range(10): Input = int(input()) a.append(Input) c.append(a[i] % b) print(len(set(c))) 2024. 2. 16. 백준) 3003번 - python formatting, result = [1,1,2,2,2,8],[] set_chess = list(map(int,input().split())) for i in range(len(formatting)): result.append(formatting[i] - set_chess[i]) print(result[i], end=" ") 2024. 2. 15. 이전 1 ··· 31 32 33 34 35 36 37 ··· 39 다음 728x90 반응형 LIST