QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#692680#9296. Golden SpiritGuanYunchangWA 12ms3696kbC++17837b2024-10-31 14:54:052024-10-31 14:54:25

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
2 2 2
3 1 10
11 45 14

output:

16
120
616

result:

ok 3 lines

Test #2:

score: 0
Accepted
time: 4ms
memory: 3636kb

input:

10000
3050395 689380 200550
5885929 822329 269033
6682339 28476 346976
9571342 934182 89292
9928491 668975 401621
6524373 173981 202472
5331629 482403 456644
9661686 231207 298636
5454412 961564 632648
5186684 9125 590489
8036028 738212 913802
1211903 553317 790831
6044436 222947 254859
2202128 6558...

output:

2447026869000
6334036546628
9274445027456
3418577079456
15949961935644
5284011400224
9738625572304
11541309041184
13802891371904
12250719393904
29373353833824
3833641845572
6161915658096
2696646672192
889295255040
9043948257972
6143939454024
1326337246416
23705160125976
15247208366860
5472590146452
...

result:

ok 10000 lines

Test #3:

score: -100
Wrong Answer
time: 12ms
memory: 3696kb

input:

10000
594723114 407981328 896391000
649329149 783500515 408569329
237642390 590800940 644908695
992988926 426982043 960904958
921097575 232371931 795650931
710943322 738763456 432346937
845005795 879271899 469762267
158882486 766347309 285249
748274327 755325962 863110734
233975557 855627552 5150046...

output:

1000000000000000000
1000000000000000000
613030574446324200
1000000000000000000
1000000000000000000
1000000000000000000
1000000000000000000
181284280996056
1000000000000000000
48199399000633792
1000000000000000000
1000000000000000000
1000000000000000000
263762517467447900
1000000000000000000
10000000...

result:

wrong answer 1st lines differ - expected: '2132417787526296000', found: '1000000000000000000'