QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#393859#8196. Zapobiegliwy studentCyber_Punk0 1ms5968kbC++141.3kb2024-04-19 15:25:142024-04-19 15:25:14

詳細信息

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 20
Acceptable Answer
time: 1ms
memory: 5908kb

input:

3000
3933353 70882522
431257009 431260553
90739306 181374877
122022862 131964741
563835356 563924377
118764371 334063455
26214655 62023860
40797538 289373132
85278264 154263043
559290951 559390997
140863766 181337311
30550198 99872053
53298927 164507323
398655954 398779690
454048567 454187653
256862...

output:

710
1 3000
3 3000
5 3000
7 3000
12 3000
14 3000
19 3000
33 3000
51 3000
63 3000
78 3000
88 3000
94 3000
111 3000
124 3000
148 3000
166 3000
187 3000
206 3000
225 3000
293 3000
384 3000
453 3000
484 3000
517 3000
540 3000
591 3000
630 3000
691 3000
722 3000
768 3000
797 3000
855 3000
918 3000
958 300...

result:

points 0.50

Test #2:

score: 20
Acceptable Answer
time: 1ms
memory: 5860kb

input:

3000
31030527 224953096
362558018 362950530
181784096 231354294
102853306 170479486
157957286 258809455
39420753 102841775
66680992 91375920
115393779 157957286
41333976 56861640
57405250 109915816
12325647 126099987
60106250 108557797
419465371 419502618
54901708 81479964
157718826 157957286
318294...

output:

1164
1 3000
3 3000
5 3000
7 3000
12 3000
13 3000
16 3000
17 3000
23 3000
28 3000
35 3000
47 3000
54 3000
61 3000
62 3000
77 3000
94 3000
98 3000
108 3000
144 3000
158 3000
186 3000
210 3000
227 3000
255 3000
283 3000
290 3000
320 3000
357 3000
386 3000
399 3000
405 3000
418 3000
486 3000
542 3000
54...

result:

points 0.50

Test #3:

score: 20
Acceptable Answer
time: 1ms
memory: 5924kb

input:

3000
71012996 71094087
142103791 142153359
129250374 138842795
18535894 18554386
192995012 193103066
46363241 46370290
149525178 149638179
154963002 171398581
109691836 123828530
153720609 153864248
52639958 52757141
188195177 205887265
63643341 63689591
72539758 72605349
201057807 217241469
1334440...

output:

889
1 2983
3 2983
5 2983
6 2983
8 2983
13 2983
15 2983
16 2983
17 2983
18 2983
19 2983
20 2983
21 2983
22 2983
23 2983
24 2983
25 2983
26 2983
27 2983
28 2983
30 2983
31 2983
34 2983
37 2983
43 2983
47 2983
51 2983
56 2983
60 2983
65 2983
69 2983
73 2983
77 2983
79 2983
82 2983
86 2983
90 2983
95 29...

result:

points 0.50

Test #4:

score: 20
Acceptable Answer
time: 0ms
memory: 5852kb

input:

3000
74523187 74639447
69002241 74017833
38903521 53274148
27964195 28108909
90480259 90714386
80227337 80233197
74024120 74355868
87997733 91873572
115068358 115237960
81118691 82016815
71587720 71686990
54665074 79252306
83590436 83831492
101758617 102092854
11897307 12018869
83749552 83831331
775...

output:

950
1 3000
2 3000
3 3000
4 3000
5 3000
6 3000
7 3000
8 3000
9 3000
10 3000
11 3000
12 3000
13 3000
14 3000
15 3000
16 3000
17 3000
18 3000
19 3000
20 3000
21 3000
22 3000
23 3000
24 3000
25 3000
26 3000
27 3000
28 3000
29 3000
30 3000
31 3000
32 3000
33 3000
34 3000
35 3000
36 3000
37 3000
38 3000
3...

result:

points 0.50

Test #5:

score: 20
Acceptable Answer
time: 0ms
memory: 5832kb

input:

3000
7051210 8589811
18502361 18548147
10825587 10925453
10814101 11820256
6634997 7192161
8159514 9623111
6343123 9208117
11598681 13563271
15947954 16110829
11889628 11939148
8237287 8288595
18548147 18620522
9481884 10648149
8589811 8719610
11820256 11855114
14689173 16361212
10814101 10825530
65...

output:

196
1 3000
5 3000
9 3000
14 3000
18 3000
20 3000
27 3000
28 3000
29 3000
30 3000
32 3000
35 3000
39 3000
45 3000
49 3000
53 3000
57 3000
65 3000
70 3000
76 3000
78 3000
86 3000
92 3000
100 3000
108 3000
120 3000
129 3000
144 3000
153 3000
168 3000
177 3000
196 3000
212 3000
229 3000
243 3000
271 300...

result:

points 0.50

Test #6:

score: 20
Acceptable Answer
time: 0ms
memory: 5928kb

input:

3000
9666113 9699478
6965840 7841200
10055382 12219484
10288891 10367080
6969527 7162495
8594370 9548407
10250084 10288891
10420507 10762472
10055382 10123746
12068744 12162702
6969527 7162495
898461 1193510
12945038 12957489
8815357 8915885
10762472 10764220
11051606 11190103
10250084 10288891
1076...

output:

97
1 3000
8 3000
13 3000
24 3000
34 3000
45 3000
47 3000
60 3000
69 3000
77 3000
90 3000
95 3000
106 3000
116 3000
126 3000
131 3000
135 3000
143 3000
151 3000
157 3000
161 3000
163 3000
165 3000
166 3000
167 3000
168 3000
169 3000
184 3000
192 3000
211 3000
223 3000
249 3000
268 3000
302 3000
329 3...

result:

points 0.50

Test #7:

score: 20
Acceptable Answer
time: 1ms
memory: 5848kb

input:

2990
50340082 121213456
3227228 116175285
424744925 424887740
31439322 277401622
336388021 336431031
15931482 29319341
75260985 231708778
185165107 185293971
67367703 141831559
17406456 49981991
49079607 445176184
94084419 94416531
265132826 265169936
107853545 320822230
62144003 123579437
377801615...

output:

989
1 2967
3 2967
5 2967
8 2967
12 2967
14 2967
16 2967
23 2967
35 2967
45 2967
65 2967
74 2967
83 2967
101 2967
132 2967
146 2967
158 2967
184 2967
211 2967
251 2967
265 2967
304 2967
321 2967
347 2967
358 2967
366 2967
437 2967
447 2967
460 2967
534 2967
609 2967
656 2967
758 2967
822 2967
835 296...

result:

points 0.50

Test #8:

score: 20
Acceptable Answer
time: 1ms
memory: 5860kb

input:

2990
250865254 250869884
286482343 431381520
67327525 67430639
51403719 51487566
289528053 289582672
423899248 490004400
258417153 458191427
461265317 465980729
394370749 491254041
403746044 408137448
290547180 290680587
319179787 323134772
223102834 223331806
432432647 436809367
213343887 357836802...

output:

1182
1 2979
3 2979
5 2979
8 2979
13 2979
20 2979
35 2979
39 2979
42 2979
51 2979
59 2979
66 2979
69 2979
73 2979
75 2979
76 2979
77 2979
78 2979
79 2979
80 2979
81 2979
82 2979
83 2979
84 2979
85 2979
86 2979
87 2979
88 2979
89 2979
90 2979
91 2979
92 2979
93 2979
94 2979
95 2979
96 2979
97 2979
98 ...

result:

points 0.50

Test #9:

score: 20
Acceptable Answer
time: 1ms
memory: 3996kb

input:

2990
102788330 102925405
4878515 31638048
177455671 177533043
32255571 37544098
114232867 117557314
40689737 40719674
73751698 73933892
133909722 134297030
110647842 113985076
93078823 93091503
82870304 101468113
69527427 87652872
92822371 92926747
35890864 97925062
232144359 232402208
93726776 9656...

output:

813
1 2990
3 2990
5 2990
7 2990
12 2990
14 2990
19 2990
24 2990
25 2990
26 2990
28 2990
29 2990
30 2990
33 2990
35 2990
36 2990
38 2990
39 2990
42 2990
43 2990
45 2990
46 2990
47 2990
48 2990
49 2990
50 2990
52 2990
53 2990
54 2990
57 2990
58 2990
60 2990
61 2990
65 2990
66 2990
67 2990
70 2990
71 2...

result:

points 0.50

Test #10:

score: 20
Acceptable Answer
time: 1ms
memory: 5848kb

input:

2990
35883857 36839641
17782252 51143143
68716248 76021874
76043743 76217639
33446237 33518833
39879049 41955106
44893112 73888169
38705671 40125877
53703222 64069313
60894195 61523325
25303122 25500733
37162379 45358432
10932450 11196880
33952191 34106194
86352421 87513151
21744478 28830372
8093553...

output:

714
1 2990
3 2990
5 2990
8 2990
12 2990
13 2990
14 2990
15 2990
16 2990
17 2990
18 2990
19 2990
21 2990
22 2990
23 2990
24 2990
26 2990
29 2990
31 2990
32 2990
35 2990
37 2990
38 2990
41 2990
44 2990
45 2990
50 2990
51 2990
52 2990
53 2990
54 2990
55 2990
56 2990
59 2990
60 2990
61 2990
63 2990
64 2...

result:

points 0.50

Test #11:

score: 20
Acceptable Answer
time: 0ms
memory: 5968kb

input:

2990
15071564 16374160
14115610 15457074
18513886 18574399
16420710 16483561
14783931 15042254
12820856 13241099
14794431 15774071
20604285 20741904
8954839 8981274
13733211 13972852
11879070 14016942
19228344 21918959
23906126 24094967
11863974 11949391
18459398 18770708
14783931 15101427
12478133 ...

output:

214
1 2990
3 2990
5 2990
7 2990
8 2990
9 2990
10 2990
11 2990
12 2990
13 2990
14 2990
15 2990
16 2990
17 2990
18 2990
19 2990
20 2990
21 2990
22 2990
23 2990
24 2990
25 2990
26 2990
27 2990
28 2990
29 2990
30 2990
31 2990
32 2990
33 2990
34 2990
35 2990
36 2990
37 2990
38 2990
39 2990
40 2990
41 299...

result:

points 0.50

Test #12:

score: 20
Acceptable Answer
time: 1ms
memory: 5912kb

input:

2990
5940513 5985963
7319348 7434051
6644317 6874055
7206754 9269298
9652129 9752692
4832948 5795408
5910136 6545830
9752692 9773617
6644317 7434051
5116164 5365823
8410392 8568019
5116164 6874055
5985963 5998318
2093281 2454423
9218895 9269298
5795408 5796544
5795408 5796544
6545830 6644317
5940513...

output:

90
1 2989
14 2989
20 2989
29 2989
37 2989
47 2989
50 2989
60 2989
65 2989
74 2989
76 2989
82 2989
84 2989
91 2989
99 2989
103 2989
110 2989
119 2989
122 2989
123 2989
131 2989
137 2989
149 2989
162 2989
189 2989
207 2989
241 2989
272 2989
314 2989
341 2989
391 2989
427 2989
488 2989
532 2989
594 298...

result:

points 0.50

Test #13:

score: 0
Wrong Answer
time: 1ms
memory: 5912kb

input:

1910
75202538 75470705
121439276 121919190
251206481 252242944
86382123 92860960
614158821 614579149
305272572 305846919
646930494 647247261
130693374 131191622
57240909 57310488
625780955 628286239
44326730 44369315
171865307 172643196
44326730 44895004
429513780 430793052
563643413 564501483
16883...

output:

710
1 1904
3 1904
6 1904
8 1904
10 1904
12 1904
14 1904
16 1904
18 1904
21 1904
23 1904
25 1904
30 1904
32 1904
35 1904
39 1904
41 1904
44 1904
46 1904
49 1904
53 1904
55 1904
57 1904
60 1904
62 1904
64 1904
67 1904
72 1904
74 1904
76 1904
79 1904
83 1904
85 1904
89 1904
91 1904
93 1904
96 1904
98 1...

result:

wrong answer 

Subtask #2:

score: 0
Skipped

Dependency #1:

0%