UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#81246#794. 积木C201915221001603ms10336kbC++782b2019-10-26 10:10:262019-10-26 12:16:30

answer


详细

小提示:点击横条可展开更详细的信息

Subtask #1:

score: 25
Accepted

Test #1:

score: 25
Accepted
time: 1ms
memory: 1116kb

input:

465
-929984276 780809556
496041762 -438735218
-997244502 451955552
-372360394 930492260
-685199883 1...

output:

4093

result:

ok 1 number(s): "4093"

Test #2:

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

input:

466
-273350641 855606319
-695060240 682815036
861572818 973616004
-695060251 682815047
73828605 1144...

output:

4934

result:

ok 1 number(s): "4934"

Test #3:

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

input:

479
443041640 956361270
17569113 457767167
499858611 737709753
499858637 737709729
17569157 45776721...

output:

7593

result:

ok 1 number(s): "7593"

Test #4:

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

input:

498
-547268006 -995827046
-702579871 -873053229
-856706790 764379822
-702579874 -873053220
-85670673...

output:

18031

result:

ok 1 number(s): "18031"

Test #5:

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

input:

483
-980152085 -774103771
-980152085 -774103779
-569589549 822095267
-569589549 822095099
-569589502...

output:

20534

result:

ok 1 number(s): "20534"

Subtask #2:

score: 15
Accepted

Test #6:

score: 15
Accepted
time: 0ms
memory: 1284kb

input:

4984
99249811 975393611
-22081663 -993486857
908913781 -821877919
-22081764 -993487430
386038680 -87...

output:

366337

result:

ok 1 number(s): "366337"

Test #7:

score: 0
Accepted
time: 3ms
memory: 1284kb

input:

4915
554143221 337454923
-775830338 921572068
-319807590 -932842628
-42421918 -6090534
-507512927 -9...

output:

231615

result:

ok 1 number(s): "231615"

Test #8:

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

input:

4937
-448752308 -357993578
559377885 415266435
-448752401 -357993635
-928871921 -784150757
-92887187...

output:

376108

result:

ok 1 number(s): "376108"

Test #9:

score: 0
Accepted
time: 3ms
memory: 1284kb

input:

4961
-749941266 614814268
-749941266 614814252
161664824 25040948
-749941283 614814453
-818494188 58...

output:

328195

result:

ok 1 number(s): "328195"

Test #10:

score: 0
Accepted
time: 3ms
memory: 1288kb

input:

4956
131222950 548270844
-810300648 -788901666
-810300648 -788902086
-810300368 -788902412
-81030064...

output:

1817018

result:

ok 1 number(s): "1817018"

Subtask #3:

score: 20
Accepted

Test #11:

score: 20
Accepted
time: 108ms
memory: 10332kb

input:

300000
1041 2493
3732 1854
2272 2590
2705 697
909 3609
674 3744
3202 1238
4485 761
1690 4314
3613 33...

output:

307514

result:

ok 1 number(s): "307514"

Test #12:

score: 0
Accepted
time: 112ms
memory: 10328kb

input:

300000
4540 1082
4462 4842
1156 1066
1609 4715
2073 87
783 2811
1346 1390
2732 3708
352 4668
2866 72...

output:

307465

result:

ok 1 number(s): "307465"

Test #13:

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

input:

300000
1849 1997
991 2489
2756 852
4484 1546
766 4052
1949 3279
286 2604
4660 2222
2553 1733
1994 16...

output:

307712

result:

ok 1 number(s): "307712"

Test #14:

score: 0
Accepted
time: 114ms
memory: 10332kb

input:

300000
4595 2765
4660 2610
2829 4481
4374 4374
3294 2804
1698 572
2120 512
2853 4519
4959 4197
173 1...

output:

307507

result:

ok 1 number(s): "307507"

Test #15:

score: 0
Accepted
time: 118ms
memory: 10328kb

input:

300000
2135 953
3450 3012
4827 627
3804 3296
1177 1117
1134 2472
3140 2516
1747 3839
1051 1133
3011 ...

output:

307498

result:

ok 1 number(s): "307498"

Subtask #4:

score: 25
Accepted

Test #16:

score: 25
Accepted
time: 49ms
memory: 3516kb

input:

100000
996578155 526394597
462536797 -685583481
462536797 -685582985
996573912 526382976
-726819506 ...

output:

345389431

result:

ok 1 number(s): "345389431"

Test #17:

score: 0
Accepted
time: 48ms
memory: 3516kb

input:

99872
924529654 -654504854
735822345 655268189
735822679 655271015
-404677486 -770379396
735823646 6...

output:

98438030

result:

ok 1 number(s): "98438030"

Test #18:

score: 0
Accepted
time: 46ms
memory: 3516kb

input:

100000
-682400811 -849695639
792317824 -793159498
-855512255 644255011
-855513172 644245706
-8590061...

output:

230676350

result:

ok 1 number(s): "230676350"

Test #19:

score: 0
Accepted
time: 54ms
memory: 3516kb

input:

100000
362581917 -682280309
416073180 -7325946
362581917 -682291179
362581917 -682270679
416070976 -...

output:

1731301359

result:

ok 1 number(s): "1731301359"

Test #20:

score: 0
Accepted
time: 35ms
memory: 3516kb

input:

100000
-365290853 924942439
-365316479 924832817
-365321607 924851849
-365285661 924825515
-36529085...

output:

726529249

result:

ok 1 number(s): "726529249"

Subtask #5:

score: 15
Accepted

Test #21:

score: 15
Accepted
time: 151ms
memory: 10332kb

input:

300000
-913796367 -857491919
490607717 -634792845
490639534 -634676948
54345176 -795009670
54345176 ...

output:

8095431803

result:

ok 1 number(s): "8095431803"

Test #22:

score: 0
Accepted
time: 175ms
memory: 10332kb

input:

300000
746184089 497958563
746184089 497966141
-910997977 107665205
787038262 640242284
315111323 -2...

output:

2101393158

result:

ok 1 number(s): "2101393158"

Test #23:

score: 0
Accepted
time: 155ms
memory: 10336kb

input:

300000
930928783 36960925
-897304671 -774284507
930958255 37033269
930958255 36924185
930958255 3707...

output:

6755214959

result:

ok 1 number(s): "6755214959"

Test #24:

score: 0
Accepted
time: 150ms
memory: 10336kb

input:

299203
-887075645 -148737655
500786989 -896401765
258130486 -401553746
258131543 -401540135
-8870760...

output:

577668076

result:

ok 1 number(s): "577668076"

Test #25:

score: 0
Accepted
time: 168ms
memory: 10336kb

input:

300000
192775875 -393246533
-628790 -835846910
192775875 -393177251
147132186 470755696
192775875 -3...

output:

6682364901

result:

ok 1 number(s): "6682364901"

Extra Test:

score: 0
Extra Test Passed