QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#242596#7037. DistancedXqwq#WA 85ms7480kbC++231.2kb2023-11-07 15:29:142023-11-07 15:29:15

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3776kb

input:

1
5
2 3 1 4

output:

0 10 20 34 48

result:

ok single line: '0 10 20 34 48'

Test #2:

score: -100
Wrong Answer
time: 85ms
memory: 7480kb

input:

1000
9
2923 3524 6268 567 2776 5657 3707 919
4
833 4391 7520
5
1195 8820 9988 1997
8
720 2558 3179 2776 4346 6770 10000
4
9384 5417 1899
10
9426 918 7162 3418 711 830 51 5913 765
8
10000 5011 5601 6629 5743 822 2610
10
7390 6502 5200 6750 3128 5391 3276 1281 1973
8
9218 9883 7924 2515 3582 3101 1173...

output:

0 26341 52682 101522 150362 214470 278578 346029 413480
0 115562 231124 351077
0 111536 223072 353416 483760
0 56690 113380 189699 266018 352638 439258 528654
0 116551 233102 355070
0 29194 58388 106585 154782 215151 275520 340848 406176 472215
0 94039 188078 305923 423768 559586 695404 837851
0 408...

result:

wrong answer 2nd lines differ - expected: '0 12744 25488 42623', found: '0 115562 231124 351077'