QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#380206#8573. Slothful Secretaryucup-team123#WA 3485ms240404kbC++234.7kb2024-04-06 21:45:532024-04-06 21:45:53

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 3390ms
memory: 212200kb

input:

500000 500000
111236 111238
400537 400538
14798 14799
480138 480140
99901 99904
169041 169045
20969 20970
111098 111100
245492 245493
25296 25300
21736 21739
415491 415495
222594 222595
162236 162238
362422 362425
422694 422695
339973 339974
241678 241680
192401 192403
125627 125629
261473 261474
10...

output:

499998
499998
499998
499996
499993
499989
499989
499987
499987
499983
499980
499976
499976
499974
499971
499971
499971
499969
499967
499965
499965
499961
499961
499961
499961
499961
499961
499958
499955
499952
499949
499947
499947
499945
499942
499940
499938
499936
499934
499930
499926
499924
499920...

result:

ok 500000 numbers

Test #2:

score: 0
Accepted
time: 3203ms
memory: 227300kb

input:

500000 500000
275072 275075
426847 426850
409242 409246
146242 146245
383677 383680
306056 306058
399602 399608
166932 166934
484108 484109
164331 164340
223174 223175
36591 36593
312357 312358
396602 396605
196545 196550
332 338
394336 394339
493543 493550
112676 112679
473708 473709
173498 173499
...

output:

499997
499994
499990
499987
499984
499982
499976
499974
499974
499965
499965
499963
499963
499960
499955
499949
499946
499939
499936
499936
499936
499929
499922
499918
499914
499910
499907
499905
499905
499899
499893
499893
499890
499886
499883
499874
499869
499865
499862
499860
499860
499852
499850...

result:

ok 500000 numbers

Test #3:

score: 0
Accepted
time: 3130ms
memory: 224236kb

input:

500000 500000
9358 9363
280765 280774
14184 14192
309352 309374
289909 289950
63904 63945
23205 23208
485479 485500
213562 213597
95121 95127
472503 472516
261103 261145
152164 152192
192187 192193
100859 100865
250753 250776
495389 495397
82904 82918
457456 457474
264512 264545
469251 469271
410031...

output:

499995
499986
499978
499956
499915
499874
499871
499850
499815
499809
499796
499754
499726
499720
499714
499691
499683
499669
499651
499618
499598
499586
499582
499569
499559
499556
499526
499486
499472
499441
499421
499384
499360
499328
499315
499290
499268
499250
499216
499206
499200
499189
499177...

result:

ok 500000 numbers

Test #4:

score: 0
Accepted
time: 3057ms
memory: 232252kb

input:

500000 500000
393804 393881
341931 341944
146471 146497
353319 353366
320924 320973
258901 258910
300647 300667
406215 406263
268132 268158
443911 443957
375154 375195
240330 240393
355920 355939
96446 96464
280616 280632
102147 102189
190829 190858
487717 487782
456713 456788
400648 400657
86226 86...

output:

499923
499910
499884
499837
499788
499779
499759
499711
499685
499639
499598
499535
499516
499498
499482
499440
499411
499346
499271
499262
499212
499189
499121
499083
498999
498951
498867
498796
498746
498662
498616
498550
498522
498522
498480
498477
498475
498387
498368
498323
498284
498276
498273...

result:

ok 500000 numbers

Test #5:

score: 0
Accepted
time: 3136ms
memory: 234388kb

input:

500000 500000
361307 361355
290649 290709
300635 300928
117507 117815
321776 321984
299206 299368
310218 310220
405228 405254
81536 81809
139869 139916
206055 206325
168579 168601
215621 215643
370589 370774
499789 499867
379295 379337
329519 329908
445839 445917
34090 34457
329310 329469
279065 279...

output:

499952
499892
499599
499291
499083
498921
498919
498893
498620
498573
498303
498281
498259
498074
497996
497954
497565
497487
497120
496961
496946
496848
496649
496520
496516
496037
495763
495733
495700
495661
495451
495366
495349
495137
495001
494963
494851
494664
494493
494407
494238
494083
493856...

result:

ok 500000 numbers

Test #6:

score: 0
Accepted
time: 3226ms
memory: 234416kb

input:

500000 500000
60190 60484
464079 464564
251402 251450
200393 200409
128827 128926
104076 104157
226927 226951
155093 155326
404140 404352
339419 339511
150064 150246
242349 242438
338010 338119
326050 326830
466213 466680
413263 413857
3262 3493
360455 360545
290186 290323
442081 442271
279047 27907...

output:

499706
499221
499173
499157
499058
498977
498953
498720
498508
498416
498234
498145
498036
497256
496789
496195
495964
495874
495737
495547
495521
495163
495009
494735
494019
493420
492645
492552
492409
492143
491992
491310
490968
490767
490383
490326
490311
489704
488951
488859
488718
488532
488213...

result:

ok 500000 numbers

Test #7:

score: 0
Accepted
time: 3440ms
memory: 240404kb

input:

500000 500000
352778 354832
445736 446940
42174 43636
198416 198453
361015 361766
140452 144652
211279 211593
317000 318878
53349 53577
125272 126183
451286 453318
467022 469100
142760 144133
80690 83972
456967 458861
341615 343010
321129 324458
325338 328917
318570 319023
335943 339512
377852 37791...

output:

497946
496742
495280
495243
494492
490292
489978
488100
487872
486961
484929
482851
482851
479569
477675
476280
472951
469372
469227
465658
465597
464282
463542
462081
459898
458276
456513
454206
451826
451058
451058
450070
449499
446590
442096
438942
436739
433316
429695
428619
427797
426976
423261...

result:

ok 500000 numbers

Test #8:

score: 0
Accepted
time: 3125ms
memory: 240348kb

input:

500000 500000
15805 15987
142937 142994
33581 33683
181643 181735
306761 306853
99681 99955
278004 278404
288700 288841
465160 465327
490034 490391
145155 145500
19087 19193
287189 287240
307659 307996
26331 26445
721 730
440203 440306
402730 402737
79545 79923
341935 341996
112570 112884
247926 247...

output:

499818
499761
499659
499567
499475
499201
498801
498660
498493
498136
497791
497685
497634
497297
497183
497174
497071
497064
496686
496625
496311
496306
496203
496125
496077
495943
495930
495537
495165
495130
494803
494765
494446
494275
494108
493890
493809
493681
493504
493233
492968
492886
492878...

result:

ok 500000 numbers

Test #9:

score: 0
Accepted
time: 3220ms
memory: 240284kb

input:

500000 500000
398142 398677
360707 360919
410435 410974
331032 331979
367108 367720
136580 136677
41226 41272
416082 416368
453136 453995
444144 444604
447579 447738
93366 93886
76459 76587
438189 438452
472062 472803
302767 302874
384377 384462
382039 382588
426930 426993
112403 112887
125113 12556...

output:

499465
499253
498714
497767
497155
497058
497012
496726
495867
495407
495248
494728
494600
494337
493596
493489
493404
492855
492792
492308
491857
491255
490648
490643
490240
489338
489299
489177
489115
489023
488909
488823
488517
487836
487070
486864
486490
486485
486319
485965
485322
484997
484715...

result:

ok 500000 numbers

Test #10:

score: 0
Accepted
time: 3485ms
memory: 240344kb

input:

500000 500000
301789 303841
73271 73742
398165 398224
383756 383919
183009 183245
6115 7022
163223 163589
445883 447168
300252 303454
373124 374029
163339 164251
41880 44014
145096 146857
110515 113611
140527 143957
435837 438828
399229 399883
416856 416914
157418 158006
5899 8199
83280 84963
360407...

output:

497948
497477
497418
497255
497019
496112
495746
494461
492924
492019
491357
489223
487462
484366
480936
477945
477291
477233
476645
475252
473569
471440
470940
468310
466923
466863
465350
463762
462970
459271
459271
457599
455722
453078
451843
450820
450549
449091
447318
445434
444364
443256
442024...

result:

ok 500000 numbers

Test #11:

score: 0
Accepted
time: 3318ms
memory: 240340kb

input:

500000 500000
288765 289493
400451 409630
132677 135172
381320 382945
186584 188850
250176 256802
425481 426627
100622 104464
205463 206295
223440 228488
274932 279973
154173 159894
233893 235434
252384 254354
231580 239991
405422 405705
463620 468117
10950 16214
394481 395698
176162 179530
432550 4...

output:

499272
490093
487598
485973
483707
477081
475935
472093
471261
466213
461172
455451
453910
453910
447040
447040
442543
437279
436062
432694
428866
426519
422460
419211
413598
411620
411490
408837
403800
398425
393381
392286
390810
385580
384981
383741
382089
379032
379032
376527
376484
372907
367764...

result:

ok 500000 numbers

Test #12:

score: -100
Wrong Answer
time: 3114ms
memory: 240348kb

input:

500000 500000
194909 199207
50526 88484
312160 329427
306438 315663
87755 97252
256257 294895
378226 393855
333681 345654
31012 32662
171272 198245
393164 399183
202812 225817
357292 373374
57765 98353
461703 484643
221164 236785
309071 313778
12873 23402
169821 189518
410729 435262
385022 387291
46...

output:

495702
457744
440477
434755
425987
387349
371720
359747
358097
334460
329132
306127
290045
288944
266004
255036
255036
244507
243056
218523
218523
218523
218523
216856
210688
205836
205836
195295
184300
180379
180379
166608
155220
155220
155220
155220
155220
135593
135593
135593
113435
113435
111192...

result:

wrong answer 395877th numbers differ - expected: '17', found: '22'