QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#567808#9255. Python Programucup-team4940#WA 3ms3868kbC++171.3kb2024-09-16 14:01:452024-09-16 14:01:46

詳細信息

Test #1:

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

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: 3868kb

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
Wrong Answer
time: 3ms
memory: 3800kb

input:

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

output:

-166648784351208095

result:

wrong answer 1st lines differ - expected: '166666666665500001', found: '-166648784351208095'