QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#616420#9442. Music Gameucup-team4507#TL 1975ms10308kbC++203.2kb2024-10-06 05:09:062024-10-06 05:09:07

详细

Test #1:

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

input:

2
3 3 5
2 4 7

output:

831870305

result:

ok "831870305"

Test #2:

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

input:

5
2 5 9
6 4 7
1 9 14
17 8 13
10 4 11

output:

914017655

result:

ok "914017655"

Test #3:

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

input:

8
6 2 8
3 1 8
5 30 71
7 9 58
6 4 7
6 9 25
2 8 67
6 6 55

output:

923892723

result:

ok "923892723"

Test #4:

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

input:

2
2 2 3
1 5 6

output:

399297746

result:

ok "399297746"

Test #5:

score: 0
Accepted
time: 18ms
memory: 3904kb

input:

6057
598846 477861 477861
355457 471360 471360
52553 53505 53505
910434 715394 957062
829770 396343 396343
388604 220815 628584
697515 339144 976739
134698 713562 713562
103516 548592 976096
328488 131879 979654
360558 458803 458803
609012 481090 852195
207954 434215 434215
74492 313219 453266
11312...

output:

209793398

result:

ok "209793398"

Test #6:

score: 0
Accepted
time: 908ms
memory: 5304kb

input:

60325
249263 702771 806647
825858 894224 894224
954851 857512 857512
682622 271953 271953
37366 859065 859065
455311 280629 280629
139413 628817 628817
289777 745827 889101
941889 44512 44512
261500 956143 956143
683456 849819 849819
380838 640198 640198
458670 425331 923542
724423 786203 786203
886...

output:

401590376

result:

ok "401590376"

Test #7:

score: 0
Accepted
time: 1975ms
memory: 6220kb

input:

92527
45889 267333 275737
192999 354289 476002
466286 564920 564920
462999 71086 71086
812092 291868 308621
691602 7181 658070
932827 698613 698613
421190 429765 957938
835947 301778 301778
37833 286079 519204
310540 190221 438559
373458 283897 832299
252879 196799 846520
579418 630867 630867
549650...

output:

96242233

result:

ok "96242233"

Test #8:

score: 0
Accepted
time: 1ms
memory: 3524kb

input:

1
1 1 1

output:

1

result:

ok "1"

Test #9:

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

input:

999
1000000 396835 396835
1000000 93318 93318
1000000 41845 41845
1000000 124345 124345
1000000 395818 395818
1000000 11451 11451
1000000 402449 402449
1000000 436982 436982
1000000 700651 700651
1000000 173577 173577
1000000 644506 644506
1000000 763617 763617
1000000 211774 211774
1000000 479674 4...

output:

0

result:

ok "0"

Test #10:

score: 0
Accepted
time: 111ms
memory: 10156kb

input:

200000
948048 740805 903396
889008 78074 240019
857255 92653 191934
686969 251362 629895
580967 284696 798454
60169 102579 640774
850842 23762 270476
891313 228165 875144
623672 304920 922045
626460 687951 775366
381072 321747 530692
851148 232720 429493
664140 21870 476139
505024 285393 677447
7562...

output:

951930337

result:

ok "951930337"

Test #11:

score: 0
Accepted
time: 106ms
memory: 10308kb

input:

200000
990290 993955 998787
998742 990565 994467
993457 992286 993572
992536 992949 999000
992916 992475 995754
990029 990571 992048
999876 996425 998569
994697 994917 999583
998035 997059 997842
995130 994529 998964
995030 992049 993738
993099 992441 992800
999621 993259 999184
995938 993143 996572...

output:

989457897

result:

ok "989457897"

Test #12:

score: -100
Time Limit Exceeded

input:

200000
1000000 1000000 1000000
1000000 1000000 1000000
1000000 1000000 1000000
1000000 1000000 1000000
1000000 1000000 1000000
1000000 1000000 1000000
1000000 1000000 1000000
1000000 1000000 1000000
1000000 1000000 1000000
1000000 1000000 1000000
1000000 1000000 1000000
1000000 1000000 1000000
10000...

output:


result: