답안 #884297

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
884297 2023-12-07T06:24:04 Z pan Feast (NOI19_feast) Python 3
22 / 100
272 ms 31036 KB
pin=input().split()
human=int(pin[1])
iter=int(pin[0])
dine=input().split()
prev=0
maxx=0
for i in dine:
    prev=max(prev+int(i),int(i))
    if prev>maxx: maxx=prev
print(maxx)
# 결과 실행 시간 메모리 Grader output
1 Correct 214 ms 26352 KB Output is correct
2 Correct 223 ms 26780 KB Output is correct
3 Correct 220 ms 27208 KB Output is correct
4 Correct 218 ms 26988 KB Output is correct
5 Correct 230 ms 26756 KB Output is correct
6 Correct 215 ms 26340 KB Output is correct
7 Correct 212 ms 26276 KB Output is correct
8 Correct 272 ms 27764 KB Output is correct
9 Correct 229 ms 26836 KB Output is correct
10 Correct 228 ms 26800 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 216 ms 26392 KB Output is correct
2 Correct 220 ms 26856 KB Output is correct
3 Correct 206 ms 26512 KB Output is correct
4 Incorrect 217 ms 26624 KB Output isn't correct
5 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 245 ms 26912 KB Output is correct
2 Correct 216 ms 30588 KB Output is correct
3 Correct 228 ms 29864 KB Output is correct
4 Correct 214 ms 30572 KB Output is correct
5 Correct 210 ms 29880 KB Output is correct
6 Correct 219 ms 31036 KB Output is correct
7 Correct 227 ms 30232 KB Output is correct
8 Correct 213 ms 30412 KB Output is correct
9 Correct 250 ms 30424 KB Output is correct
10 Correct 244 ms 30184 KB Output is correct
# 결과 실행 시간 메모리 Grader output
1 Correct 10 ms 2908 KB Output is correct
2 Incorrect 13 ms 2956 KB Output isn't correct
3 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 10 ms 2908 KB Output is correct
2 Incorrect 13 ms 2956 KB Output isn't correct
3 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 10 ms 2908 KB Output is correct
2 Incorrect 13 ms 2956 KB Output isn't correct
3 Halted 0 ms 0 KB -
# 결과 실행 시간 메모리 Grader output
1 Correct 214 ms 26352 KB Output is correct
2 Correct 223 ms 26780 KB Output is correct
3 Correct 220 ms 27208 KB Output is correct
4 Correct 218 ms 26988 KB Output is correct
5 Correct 230 ms 26756 KB Output is correct
6 Correct 215 ms 26340 KB Output is correct
7 Correct 212 ms 26276 KB Output is correct
8 Correct 272 ms 27764 KB Output is correct
9 Correct 229 ms 26836 KB Output is correct
10 Correct 228 ms 26800 KB Output is correct
11 Correct 216 ms 26392 KB Output is correct
12 Correct 220 ms 26856 KB Output is correct
13 Correct 206 ms 26512 KB Output is correct
14 Incorrect 217 ms 26624 KB Output isn't correct
15 Halted 0 ms 0 KB -