QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#580915#9266. Dynamic Traffic with MegaFonLuSter_MWA 0ms3816kbC++20853b2024-09-22 00:56:372024-09-22 00:56:46

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

4
5 -3 -2 1

output:

6

result:

ok answer is '6'

Test #2:

score: 0
Accepted
time: 0ms
memory: 3560kb

input:

4
-1 -1 -1 -1

output:

0

result:

ok answer is '0'

Test #3:

score: 0
Accepted
time: 0ms
memory: 3556kb

input:

1
0

output:

0

result:

ok answer is '0'

Test #4:

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

input:

1
1

output:

0

result:

ok answer is '0'

Test #5:

score: 0
Accepted
time: 0ms
memory: 3556kb

input:

1
-1

output:

0

result:

ok answer is '0'

Test #6:

score: 0
Accepted
time: 0ms
memory: 3652kb

input:

10
-459 615 -847 354 -816 127 727 729 593 -676

output:

4843

result:

ok answer is '4843'

Test #7:

score: 0
Accepted
time: 0ms
memory: 3816kb

input:

100
-879757 -254968 -949084 -695951 419739 579417 378479 -968455 456392 856315 800624 -612748 127062 14644 950510 -284086 293402 939980 -825728 277458 -422286 579924 786095 525450 -847415 243602 -387115 601589 -583152 674777 -550386 434193 -618067 -195703 -402630 17304 -339689 738648 92364 -352648 1...

output:

39899042

result:

ok answer is '39899042'

Test #8:

score: -100
Wrong Answer
time: 0ms
memory: 3524kb

input:

1000
854717981 -556182167 -866340825 -912269890 30895368 -406957426 682479377 -443875120 -933515024 971673016 -48966596 -789649301 606978804 365578078 114257918 -732699093 420486454 323662429 626589040 -294172598 707704488 67338750 162638096 -441663920 -722789845 -870989351 -257997778 706428254 -787...

output:

-782193111

result:

wrong answer expected '394354798121', found '-782193111'