QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#581961#9255. Python Programucup-team1817#WA 24ms3604kbC++201.5kb2024-09-22 14:45:362024-09-22 14:45:36

详细

Test #1:

score: 100
Accepted
time: 0ms
memory: 3536kb

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: 0ms
memory: 3600kb

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: 0
Accepted
time: 24ms
memory: 3536kb

input:

ans=0
for i in range(1,1000000):
    for j in range(i,1,-1):
        ans+=j
print(ans)

output:

166666666665500001

result:

ok single line: '166666666665500001'

Test #4:

score: -100
Wrong Answer
time: 4ms
memory: 3604kb

input:

ans=0
for i in range(31,321983,2):
    for j in range(313,382193):
        ans+=j
print(ans)

output:

0

result:

wrong answer 1st lines differ - expected: '11756963404587200', found: '0'