QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#606884 | #9255. Python Program | propane# | TL | 19ms | 10524kb | Python3 | 129b | 2024-10-03 12:52:04 | 2024-10-03 12:52:05 |
Judging History
answer
s = ""
s += input() + '\n'
s += input() + '\n'
s += " " + input() + '\n'
s += " " + input() + '\n'
s += input()
exec(s)
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 12ms
memory: 10464kb
input:
ans=0 for a in range(1,3): for b in range(5,1,-2): ans+=b print(ans)
output:
16
result:
ok single line: '16'
Test #2:
score: 0
Accepted
time: 19ms
memory: 10524kb
input:
ans=0 for q in range(100,50,-1): for i in range(q,77,20): ans+=i print(ans)
output:
2092
result:
ok single line: '2092'
Test #3:
score: -100
Time Limit Exceeded
input:
ans=0 for i in range(1,1000000): for j in range(i,1,-1): ans+=j print(ans)