Đăng nhập để hỏi chi tiết
Hãy luôn nhớ cảm ơn và vote 5*
nếu câu trả lời hữu ích nhé!
8011
4557
inp = open("timmax.inp", "r")
out = open("timmax.out", "w")
ans = 0
for i in inp.readlines():
if int(i) > ans:
ans = int(i)
out.write(str(ans))
inp.close()
out.close()
Hãy giúp mọi người biết câu trả lời này thế nào?
Bảng tin