QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#412153#8305. AcceleratorGuanYunchangAC ✓83ms6088kbC++1423.9kb2024-05-16 09:20:362024-05-16 09:20:36

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
3
1 2 3
1
10
4
5 5 5 5

output:

665496247
10
780

result:

ok 3 lines

Test #2:

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

input:

100
1
847297038
5
203751343 825662680 957256277 500052871 818834331
5
987146111 742744954 629579339 780044373 494679147
8
251614896 194569580 916578218 533049529 530535094 733501237 367273760 385341463
7
375252389 260364079 389447501 409464874 846572964 772775526 503458256
2
123436633 211941084
6
19...

output:

847297038
51970068
170556219
113431915
760262074
246542542
195147099
493093785
168144980
126946554
710105918
669760399
717542211
546162274
355117267
476319791
504479282
611041492
409057254
586259120
411524107
467323677
604713606
677086599
337208713
428207507
929439958
108098278
655034669
220455699
6...

result:

ok 100 lines

Test #3:

score: 0
Accepted
time: 2ms
memory: 4772kb

input:

100
34
426400575 9927300 909720899 954255675 767998905 83905549 11564853 733479914 519688252 588206942 292994501 808946771 354495122 756030286 580925234 595222682 950714227 281486657 916585766 73918645 344801620 269358971 823314063 624176199 663573632 222827631 43334235 771899654 651401397 286161985...

output:

407047195
969184260
707290913
588793971
161624956
900764379
946042111
525481567
323619066
559679400
702641543
774077417
72041789
230297993
843180691
511827230
391868728
132163026
337301045
628148033
958328653
291354147
301471681
130398071
507222983
737846714
753300919
174373074
657380065
424492703
8...

result:

ok 100 lines

Test #4:

score: 0
Accepted
time: 21ms
memory: 4764kb

input:

100
718
404314538 399059943 992580922 926005407 338582419 649174215 974473772 173983508 842966562 421761508 29390122 51320322 611981261 892915925 76490050 235705837 849990374 33308970 67066467 977102595 675867852 125129873 255787127 312018985 952054434 722094045 171206475 890973351 126578304 3894293...

output:

995895670
994710069
713279557
626113157
685298699
907804742
382977068
204900737
784029914
680667123
403672352
99600221
456001194
444900792
239883144
340277780
204991006
861302818
509148571
413682190
7764599
301884750
936011407
341104983
78171640
403819556
641759875
377501122
207128991
70300471
37527...

result:

ok 100 lines

Test #5:

score: 0
Accepted
time: 8ms
memory: 4888kb

input:

1
8852
816257371 319861135 553044271 273391499 11309408 53548475 289068275 1599437 411634506 987136158 664105085 160956635 487913416 362514958 559857483 193029215 643883605 898606968 522890545 923619097 395182091 392324487 336898192 775191603 206906215 853876583 959896034 34058934 708850658 39009214...

output:

922706515

result:

ok single line: '922706515'

Test #6:

score: 0
Accepted
time: 83ms
memory: 6088kb

input:

1
100000
566231680 552288735 269188130 832541422 403127222 314561085 693183364 216515795 91683984 754348153 872058608 487774703 990409975 718741890 508226988 309131993 285659464 917930011 933970844 911199697 737428687 529296820 389084211 395195075 750526573 985616979 885567650 915693886 901620354 56...

output:

440511824

result:

ok single line: '440511824'

Extra Test:

score: 0
Extra Test Passed