QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#665912#9475. Pangu and StonesMaMengQiWA 2ms5816kbC++172.2kb2024-10-22 15:49:252024-10-22 15:49:44

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3 2 2
1 2 3
3 2 3
1 2 3
4 3 3
1 2 3 4

output:

9
6
0

result:

ok 3 lines

Test #2:

score: -100
Wrong Answer
time: 2ms
memory: 5816kb

input:

100 4 7
570 608 194 26 243 470 418 119 1000 936 440 302 797 155 676 283 869 60 959 793 158 397 808 656 379 316 485 854 753 280 543 435 756 822 106 561 402 347 99 739 8 682 834 549 812 32 338 765 699 575 575 785 171 504 335 113 284 612 276 518 835 677 865 900 687 48 859 179 343 318 626 812 523 11 400...

output:

425959
100540
95438
161372
231523
7238
1564
13484
2852
28101
5516
12818
1000000000000000000
1617
11106
7258
22328
922
10467
26539
1000000000000000000
19261
18476
15560
2617
11070
3725
2246
9490
0
22028
10875
7909
18180
52008
4659
1000000000000000000
0
8017
12570
18844
1144
4294
14434
7378
7458
13020...

result:

wrong answer 1st lines differ - expected: '120446', found: '425959'