QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#424725#8752. 田字格monstersqwqAC ✓519ms145984kbC++175.2kb2024-05-29 16:19:032024-05-29 16:19:04

详细

Test #1:

score: 100
Accepted
time: 451ms
memory: 142888kb

input:

300000
78396760 95719757 78396760 251686041
-555980691 451137686 -555980691 502585833
850392180 317288022 850392180 407636839
7185091 -764081352 7185091 589151665
-751688377 -628292725 -751688377 270824243
990953583 780035864 990953583 882786103
-53601850 -354055313 -53601850 996419972
-381059024 16...

output:

0

result:

ok 1 number(s): "0"

Test #2:

score: 0
Accepted
time: 475ms
memory: 143256kb

input:

300000
-479297026 -613823149 621130920 -613823149
260567585 866352809 984726558 866352809
-960991979 373244780 303476501 373244780
-955478884 338347832 -39227851 338347832
-626073379 53715743 714900854 53715743
-522288436 -655187681 308810949 -655187681
226804075 936815465 893840444 936815465
-29511...

output:

0

result:

ok 1 number(s): "0"

Test #3:

score: 0
Accepted
time: 195ms
memory: 132608kb

input:

300000
46056 -1000000000 46056 1000000000
-1000000000 137542 1000000000 137542
149004 -1000000000 149004 1000000000
-1000000000 60489 1000000000 60489
139354 -1000000000 139354 1000000000
-1000000000 65250 1000000000 65250
71459 -1000000000 71459 1000000000
-1000000000 2771 1000000000 2771
17855 -10...

output:

22499400004

result:

ok 1 number(s): "22499400004"

Test #4:

score: 0
Accepted
time: 492ms
memory: 139520kb

input:

300000
11868668 613562397 245401632 613562397
52788724 481244860 52788724 717782501
21210195 497143369 212058092 497143369
198204186 472537236 198204186 690682475
42798157 499457138 200142902 499457138
216757301 532609488 216757301 725756742
107979341 485537025 107979341 678061846
21939728 518544815...

output:

160125702

result:

ok 1 number(s): "160125702"

Test #5:

score: 0
Accepted
time: 493ms
memory: 145984kb

input:

300000
-353027604 632495666 -353027604 827400838
-344835740 700033881 -118082205 700033881
-351039472 665043922 -351039472 805254598
-347219647 730273383 -108735334 730273383
-364260210 805830251 -138395437 805830251
-371787643 808915581 -148096241 808915581
-301356120 627149172 -301356120 803459017...

output:

1640445579

result:

ok 1 number(s): "1640445579"

Test #6:

score: 0
Accepted
time: 515ms
memory: 144272kb

input:

300000
-392955183 201728688 -222796389 201728688
-308740999 3204139 -308740999 246399512
-405650117 30159308 -238771926 30159308
-406199440 250433188 -230828798 250433188
-255002935 -29197985 -255002935 305053558
-400067435 15055017 -400067435 281612790
-419554753 252438518 -229558953 252438518
-420...

output:

1793311348

result:

ok 1 number(s): "1793311348"

Test #7:

score: 0
Accepted
time: 483ms
memory: 137740kb

input:

300000
-21180910 94714576 94547821 94714576
117268974 31002473 117268974 205682679
-26124235 94710924 83509540 94710924
50648852 41314519 50648852 196596826
-53162493 202615658 109365332 202615658
116347094 13058933 116347094 179511974
-28407280 145852538 97315484 145852538
44194502 3451586 44194502...

output:

205167988

result:

ok 1 number(s): "205167988"

Test #8:

score: 0
Accepted
time: 485ms
memory: 140052kb

input:

300000
-501209956 -174402315 -407997060 -174402315
-519291332 -338950881 -388177039 -338950881
-519824602 -288860989 -418654367 -288860989
-453279459 -306194354 -453279459 -198621444
-470406379 -303996717 -470406379 -286226809
-452636537 -317052164 -452636537 -181153491
-509375263 -205016441 -404680...

output:

225427888

result:

ok 1 number(s): "225427888"

Test #9:

score: 0
Accepted
time: 500ms
memory: 142936kb

input:

300000
561433990 49251802 756797342 49251802
731553609 -53362157 731553609 144307914
708219668 -34543735 708219668 157770727
596536477 -4220182 754580514 -4220182
703246532 -33989837 703246532 140978420
600605281 -62663218 760342262 -62663218
801572156 -55570376 801572156 138315374
754378862 -648222...

output:

1004121184

result:

ok 1 number(s): "1004121184"

Test #10:

score: 0
Accepted
time: 519ms
memory: 142420kb

input:

300000
-208014397 -823450014 -23002051 -823450014
-154125128 -886082345 -154125128 -742801598
-173607562 -915234218 -173607562 -761166446
-148649528 -882518785 -148649528 -764252628
-66899830 -890958871 -66899830 -744803441
-200071029 -787007682 -22526976 -787007682
-171821819 -755601364 -45646938 -...

output:

774278197

result:

ok 1 number(s): "774278197"

Test #11:

score: 0
Accepted
time: 515ms
memory: 143756kb

input:

300000
-937361116 242194058 -803876939 242194058
-829146687 158132803 -829146687 306570387
-936446315 154720402 -936446315 315410502
-931673557 154535196 -803653457 154535196
-952677792 170152756 -816700415 170152756
-896586905 145055033 -896586905 285683178
-939940622 263458136 -777759864 263458136...

output:

1064728071

result:

ok 1 number(s): "1064728071"

Test #12:

score: 0
Accepted
time: 485ms
memory: 140284kb

input:

300000
-557062298 -709961748 -442057983 -709961748
-543830679 -722888432 -438142664 -722888432
-564208610 -801317212 -564208610 -692561211
-545166404 -728494858 -432167574 -728494858
-558901892 -764717788 -426252709 -764717788
-556494410 -715652148 -431051709 -715652148
-532964508 -811285950 -532964...

output:

392010928

result:

ok 1 number(s): "392010928"

Test #13:

score: 0
Accepted
time: 471ms
memory: 139924kb

input:

300000
866121833 -770583293 866121833 -623478816
844096789 -831156675 844096789 -597525364
708606944 -819435355 918297538 -819435355
908097513 -805012071 908097513 -584265058
812023129 -790574616 812023129 -601157877
925207657 -830568605 925207657 -620162335
727270325 -636730035 907080479 -636730035...

output:

253642880

result:

ok 1 number(s): "253642880"