QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#602453#6296. 矿区3un_larryfunc100 ✓1114ms225376kbC++204.0kb2024-10-01 01:23:162024-10-01 01:23:17

詳細信息


Pretests


Final Tests

Test #1:

score: 10
Accepted
time: 89ms
memory: 44040kb

input:

40000 79600 1000
127 1
60 58
142 168
118 21
70 180
49 132
185 104
51 69
77 1
153 155
200 192
148 192
33 12
151 174
156 110
180 53
29 169
78 160
95 12
146 15
67 162
150 107
161 178
111 127
95 80
133 128
153 109
104 62
80 173
147 85
195 31
41 46
143 31
109 115
127 193
166 104
132 192
98 79
115 134
27 ...

output:

1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
1 1
...

result:

ok 1000 lines

Test #2:

score: 10
Accepted
time: 212ms
memory: 71308kb

input:

100000 149998 170000
20646 20646
-19371 19372
26454 -26455
21473 21474
18452 -18452
-20114 -20114
25387 -25388
-21692 -21692
-18345 -18345
-19005 19005
-18079 18079
22268 22268
21719 21719
-26228 26229
-26111 26112
23314 23315
19286 19286
-19771 -19771
19098 19099
18395 18395
19371 -19372
19013 1901...

output:

22740774320568618 49153891
1705472979560344 1974969
2990449226 54685
852731032930681 851818
375213929997411318 647142721
187606066879325363 305668994
3573442104308624 5684163
1667656009977162 3591025
187613582157539864 443178549
187606373466340098 311837851
150082306160655166 189838847
3752224642878...

result:

ok 170000 lines

Test #3:

score: 10
Accepted
time: 215ms
memory: 70020kb

input:

100000 149998 170000
20646 20646
-19371 19372
26454 -26455
21473 21474
18452 -18452
-20114 -20114
25387 -25388
-21692 -21692
-18345 -18345
-19005 19005
-18079 18079
22268 22268
21719 21719
-26228 26229
-26111 26112
23314 23315
19286 19286
-19771 -19771
19098 19099
18395 18395
19371 -19372
19013 1901...

output:

32486148269938 57857
58278 1
52482 1
59528 1
150084620541347306 239801193
46900054755224771 42835611
59830 1
58892 1
34109832550036058 48003131
2680001458014724 2402409
46900186036203499 46311891
150083209089848354 210034307
59786 1
59452 1
1729644922 41589
93804270058686253 176916601
18761009558853...

result:

ok 170000 lines

Test #4:

score: 10
Accepted
time: 133ms
memory: 68320kb

input:

100000 142534 99999
20646 20646
10629 19372
26454 3545
21473 21474
18452 11548
9886 9886
25387 4612
8308 8308
11655 11655
10995 19005
11921 18079
22268 22268
21719 21719
3772 26229
3889 26112
23314 23315
19286 19286
10229 10229
19098 19099
18395 18395
19371 10628
19013 19013
12431 12430
10592 19408
...

output:

27768 1
39275609615548 14090639
156441839168582 14124443
29920 1
31519585 3438
162193770785306 219210233
159421475340098 142874209
158798087018488 122965921
39716276163023 31292836
13238737859117 10430013
316557518754790 209766403
28138 1
28628 1
29970 1
7971159509461 7146699
24446 1
27062959016095 ...

result:

ok 99999 lines

Test #5:

score: 10
Accepted
time: 137ms
memory: 69524kb

input:

100000 142563 99996
20646 20646
10629 19372
26454 3545
21473 21474
18452 11548
9886 9886
25387 4612
8308 8308
11655 11655
10995 19005
11921 18079
22268 22268
21719 21719
3772 26229
3889 26112
23314 23315
19286 19286
10229 10229
19098 19099
18395 18395
19371 10628
19013 19013
12431 12430
10592 19408
...

output:

158394515206996 107127675
156495610379866 13256881
158381369875202 106605625
321851362742038 368764903
105092144592982 51946895
80026885217195 80185282
81143087947441 109786562
324998678098610 449925003
62881888966714 23376881
80894101262663 103564832
27816 1
321371330383042 355604447
78254368822592...

result:

ok 99996 lines

Test #6:

score: 10
Accepted
time: 8ms
memory: 17268kb

input:

1000 2982 1000
18999 -12667
-7029 -17612
-10239 -2957
-28054 5316
5827 12196
-29610 7125
-28047 26784
14315 8525
-20697 983
27565 3080
-18516 18279
25273 -1050
-21234 22714
-8653 23807
-6870 -8747
26915 18600
-23630 -11360
-4171 24287
6063 11401
-17425 19439
10667 -26452
18232 -10854
-26243 27791
-3...

output:

12809228347316761 3900070346
14655689881782673 4512618490
16039888947759435 5077785838
4335413553046117 1379320500
4805396903871009 1511432552
15418523598093241 4959274034
3713779139723231 1160354112
288897953150911 90112330
13044012034439901 4007249404
3158667531169701 995700800
10706325243904923 3...

result:

ok 1000 lines

Test #7:

score: 10
Accepted
time: 8ms
memory: 17260kb

input:

1000 2979 1000
-29891 5619
3768 -22530
-28648 5992
-29795 6926
14369 -18678
8481 22827
28594 29565
-5909 13496
8282 -24437
4660 -17809
15456 25932
-29429 18435
29828 -16508
6056 -11892
25345 -12850
1133 25063
7384 -17965
-29807 9929
12710 9003
20169 -18220
20975 -22539
8811 16189
331 18580
15668 255...

output:

208514797977731 64987204
13823956819636575 4301573938
13877270065891279 4139936018
10879334559319295 3532349276
20724940802947855 6671688974
9155350578670505 2821476654
1433843979328339 456576844
15263989258059303 4857379382
4884630901968435 1505421064
869070489139739 280204435
3804835992227719 1193...

result:

ok 1000 lines

Test #8:

score: 10
Accepted
time: 1072ms
memory: 224148kb

input:

200000 599952 1574
-17204 -15246
29500 -18766
-28170 1591
21274 -10056
25411 19647
-4872 -22329
-9026 5448
-18759 14966
14404 -25770
-16237 -2335
29483 -18229
23549 -12520
10529 -14903
-29827 9607
14073 -7314
22313 8257
16506 16002
-13348 27774
-25149 -29050
-22008 10041
-20331 27145
11592 -16644
-1...

output:

65242247457971 4064914782
71004941536183 4425819518
125094689373391 7807974534
55515522551633 3476683620
7333870362883 458579274
87703680299025 5491840486
46186816077443 2877508016
12389166557752 774392081
35697655810255 2233233474
108417233110509 6781316350
68069637379963 4257476482
106219230275175...

result:

ok 1574 lines

Test #9:

score: 10
Accepted
time: 1114ms
memory: 223220kb

input:

200000 599962 1575
-1918 -29922
-19629 -13568
-7673 13994
352 -18601
-8439 -7244
6164 581
-27876 8614
-29157 -23616
-5296 -7564
18611 -8375
19846 -21486
-6189 27617
-3345 4004
-21309 23475
-877 -18244
-11519 470
-10531 -9257
3293 -17426
-10613 -9591
24929 -29832
3858 29444
6674 -18646
-3685 19602
-3...

output:

31958163730821 2002300574
134067348016349 8417393862
72750183394509 4566879866
11522756140925 720245632
51132936722765 3198307542
27855882646977 1742773709
16350900680231 1021050158
89746347146543 5609994610
16167425667437 1013544464
40764965040763 2543842080
118026276850257 7420983962
1289044679479...

result:

ok 1575 lines

Test #10:

score: 10
Accepted
time: 1069ms
memory: 225376kb

input:

200000 599957 1582
27688 -3908
-4287 24100
9240 -26467
5838 -15934
-21375 17570
27259 -21986
16367 -16332
-7156 -25802
23637 6829
-17564 17118
-12434 -18783
-28255 -29512
27098 -3893
-4739 -8660
24212 7316
-25502 1142
29646 -3493
28082 -13608
27125 -1635
-6518 19912
-28972 -12429
25500 18866
-1615 2...

output:

85731917237729 5346598626
49982482354325 3119654508
1033939368715 64524502
47582227522617 2966849906
20810585379359 1298102186
18878976217193 1174967695
1639206070143 102522635
119607072591639 7488407306
16393659037033 1024370687
64990472601521 4050512786
70409409481875 4391522306
47486794676793 297...

result:

ok 1582 lines