QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#672662#9255. Python ProgramZhaoZiLongWA 0ms3632kbC++172.8kb2024-10-24 18:01:282024-10-24 18:01:28

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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: -100
Wrong Answer
time: 0ms
memory: 3632kb

input:

ans=0
for q in range(100,50,-1):
    for i in range(q,77,20):
        ans+=i
print(ans)

output:

76 77 20
75 77 20
74 77 20
73 77 20
72 77 20
71 77 20
70 77 20
69 77 20
68 77 20
67 77 20
66 77 20
65 77 20
64 77 20
63 77 20
62 77 20
61 77 20
60 77 20
59 77 20
58 77 20
57 77 20
56 77 20
55 77 20
54 77 20
53 77 20
52 77 20
51 77 20
2092

result:

wrong answer 1st lines differ - expected: '2092', found: '76 77 20'