QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#189964#7059. Observationnew_dawn_2AC ✓325ms29776kbC++171.4kb2023-09-28 03:02:452023-09-28 03:02:46

詳細信息

Test #1:

score: 100
Accepted
time: 12ms
memory: 12372kb

input:

2
1 1 0 11
1 1 1 11

output:

6
7

result:

ok 2 lines

Test #2:

score: 0
Accepted
time: 229ms
memory: 28272kb

input:

10
1813535739822 1813536400443 617889226809283178 29996224275821
2218793976743 2218794701653 594736312363187167 29996224275791
1125416900235 1125417894619 973161355495431761 29996224275697
2727869536879 2727869945989 425928612644618067 29996224275781
2336084296549 2336084359381 97440892471273129 299...

output:

17189840076904
7698344114050
16502817293311
23378959447744
29487899537598
20296552563585
18167134104530
20969480007798
22615769128799
8151637206424

result:

ok 10 lines

Test #3:

score: 0
Accepted
time: 325ms
memory: 29776kb

input:

10
6056359812457 6056360794593 499370488114125609 29996224275781
178092370958 178093099519 762420597995028111 29996224275781
6684957676978 6684958664087 742195347779806144 29996224275791
9345795445048 9345796208973 867556225545608108 29996224275643
5428268305866 5428269001003 30199298813238162 29996...

output:

21213301281976
5881599186104
12236573191759
10380691642125
25772874174844
28086025085130
1544804582464
6992867427961
17207867934693
7968072099971

result:

ok 10 lines

Test #4:

score: 0
Accepted
time: 290ms
memory: 25256kb

input:

10
2291923397429 2291924075504 380851750005107311 29996224275833
5408750473827 5408751172020 933900148358468642 29996224275791
4779585966310 4779586441519 806196610132746668 29996224275671
1216158085120 1216158700745 14216554381827225 29996224275629
3269720616025 3269720915844 959162455128636396 299...

output:

4950858939368
29542397675209
11470407416076
19173347483538
28718500579
14765596044233
22124539849491
22207633178386
18632518688092
23107822618755

result:

ok 10 lines

Test #5:

score: 0
Accepted
time: 230ms
memory: 24048kb

input:

10
5797846691048 5797847033027 848472287704096650 29996224275781
7908768285337 7908768763884 810412427952105559 29996224275697
4866256325768 4866256997924 575230602417121052 29996224275671
7821084093247 7821084559579 747016174321021301 29996224275697
1098169230877 1098169740886 891920862470601437 29...

output:

834452867625
26629854849625
25700662894870
4645399986361
28018572809496
23599427267368
7122762643500
15900030160598
15019192159394
25131407754522

result:

ok 10 lines

Test #6:

score: 0
Accepted
time: 182ms
memory: 24820kb

input:

10
7311436742538 7311437558671 729953549303906349 29996224275533
5870066679565 5870067364993 981891977610513351 29996224275629
2959884615093 2959885013116 639231864770061576 29996224275697
1695074842745 1695074853686 188643774222011300 29996224275671
6919993531548 6919993943144 824679269517599209 29...

output:

12006556194380
10492894679684
24265259633384
22068287705424
26419186482295
5928558503450
15928404542954
16600517877292
16851821350026
7496294049800

result:

ok 10 lines

Test #7:

score: 0
Accepted
time: 257ms
memory: 25272kb

input:

10
817068864153 817069361279 902606817938124819 29996224275791
1099724782427 1099725452431 563436987844412130 29996224275581
3061846046612 3061846626637 408265857763263962 29996224275791
8313705783653 8313706613268 630271387123001341 29996224275791
2017801855040 2017802648021 167503135730022490 2999...

output:

2948712169421
21143573517337
5606021324465
10596106593989
645740453285
2157604738797
5350011863867
3386746492806
6819830987322
26772116313907

result:

ok 10 lines

Test #8:

score: 0
Accepted
time: 280ms
memory: 27664kb

input:

10
5060594174263 5060594178050 784088078534139247 29996224275821
3600443831411 3600444472040 26088529835991169 29996224275629
8621091856086 8621092633058 177299850047638346 29996224275629
2912302444864 2912303140131 773136466227620926 29996224275533
9845959297889 9845959994444 391433547815224284 299...

output:

28045367899850
6569586471689
2792579259328
25046126673116
7096478026769
13522461277079
19176574310806
3283668691819
1894644341990
25229642613224

result:

ok 10 lines

Test #9:

score: 0
Accepted
time: 247ms
memory: 23288kb

input:

10
8565517467876 8565518167603 665569340838981684 29996224275833
1560037192894 1560037850133 902600822720800132 29996224275533
6702015212637 6702015510736 241301113400578877 29996224275671
6788293194377 6788293229513 214764066128610925 29996224275833
8412304896501 8412304992522 324191955157189324 29...

output:

2479149646853
11905998126743
25294736617922
8798375826793
27881435539530
19294873910900
631881292348
22159525238798
22068377139183
9996626597820

result:

ok 10 lines

Test #10:

score: 0
Accepted
time: 282ms
memory: 28352kb

input:

10
65402586584 65403541772 133189864537970974 29996224275833
6790695295764 6790696159883 74080359084240614 29996224275581
6802685472144 6802685749016 10335105393781257 29996224275697
3406924135284 3406924398055 656391679029600967 29996224275629
6239462339342 6239463306428 961983105139416262 29996224...

output:

313657002940
26897979176301
14840436747298
7621543791203
28054407391803
19924648158669
25046973639844
5499030989482
1806671830575
11111418109244

result:

ok 10 lines

Test #11:

score: 0
Accepted
time: 236ms
memory: 25212kb

input:

10
6148129513150 6148129679168 499954988441640645 29996224275781
6223715554532 6223716287078 414172885848535744 29996224275781
8973912927042 8973913834455 487355718385998881 29996224275791
4276800990303 4276801524178 704105579351010406 29996224275697
7305205980097 7305206920615 726688257589119462 29...

output:

13170566067772
26964365760237
18553171201749
23740158892371
19439544782819
13493546964281
8298603340329
21962517461661
2849486573348
1389858406892

result:

ok 10 lines