QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#573382#7436. Optimal Ordered Problem Solverucup-team34070 2897ms139028kbC++144.7kb2024-09-18 18:28:572024-09-18 18:28:58

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 6ms
memory: 72152kb

input:

995 996
950 481
376 18
141 776
711 966
130 727
468 529
47 39
857 563
832 821
776 472
154 914
825 279
332 415
470 361
968 440
45 560
299 755
703 785
744 387
547 382
3 549
344 573
778 424
784 765
280 115
251 434
695 98
463 506
379 38
610 486
305 623
703 244
856 365
117 360
772 847
331 723
663 991
900 ...

output:

423
474
758
313
694
234
333
784
821
156
247
244
504
55
200
370
872
782
734
177
660
469
77
754
78
7
144
974
526
417
439
695
507
577
259
120
243
10
3
319
313
498
218
828
434
624
981
700
122
56
71
500
375
285
387
128
317
139
222
410
23
547
21
385
430
169
38
0
178
625
677
562
488
672
577
64
145
538
236
...

result:

wrong answer 2nd numbers differ - expected: '473', found: '474'

Subtask #2:

score: 0
Wrong Answer

Test #9:

score: 0
Wrong Answer
time: 1879ms
memory: 130880kb

input:

999996 999996
921339 140126
955508 363759
958698 342406
280137 955674
907511 75721
189876 946586
152058 168837
541857 557702
84498 865987
185574 809224
704828 701026
815379 548000
989515 518951
335439 336866
745570 790616
766723 212893
926629 859003
51261 40866
592510 556235
324926 700261
320946 798...

output:

0
0
953730
0
0
600480
0
0
0
0
498587
0
0
0
0
605969
0
0
0
0
0
0
623943
0
0
0
0
0
0
0
0
0
0
0
618682
0
0
614747
0
0
0
0
629651
0
0
0
615158
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
620745
608276
0
0
0
0
0
0
613728
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
625701
0
0
0
0
0
0
0
633555
0
0
...

result:

wrong answer 6th numbers differ - expected: '512663', found: '600480'

Subtask #3:

score: 0
Wrong Answer

Test #17:

score: 0
Wrong Answer
time: 2897ms
memory: 139028kb

input:

999995 999997
261379 334440
985281 986034
549380 718157
670003 253925
533027 437989
326806 983213
965935 756259
229069 686789
331338 684961
957559 390618
937820 959719
338153 779814
582581 965418
634156 421264
308778 938878
913059 390904
481477 431492
739774 793015
901442 934600
256704 991485
366691...

output:

160635
633544
123522
313576
450015
383637
574187
2374
203701
326075
117994
567276
652825
199785
380319
380378
105881
373859
788346
703182
609806
648165
367065
497981
57987
478851
745058
75944
543067
251844
769828
436494
480974
235843
509630
757192
763491
396849
262687
2260
267180
165799
558971
16525...

result:

wrong answer 2nd numbers differ - expected: '633543', found: '633544'

Subtask #4:

score: 0
Skipped

Dependency #1:

0%

Subtask #5:

score: 0
Skipped

Dependency #1:

0%