QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#573379#7436. Optimal Ordered Problem Solverucup-team34070 3144ms139056kbC++144.7kb2024-09-18 18:27:362024-09-18 18:27:36

详细

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 4ms
memory: 68884kb

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: 1892ms
memory: 130896kb

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
859564
0
0
0
0
776336
0
0
0
0
361866
0
0
0
0
0
0
901692
0
0
0
0
0
0
0
0
0
0
0
373202
0
0
369267
0
0
0
0
384171
0
0
0
369678
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
375265
886074
0
0
0
0
0
0
368248
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
903499
0
0
0
0
0
0
0
380186
0
0
...

result:

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

Subtask #3:

score: 0
Wrong Answer

Test #17:

score: 0
Wrong Answer
time: 3144ms
memory: 139056kb

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
633543
123521
313576
450015
383636
574186
2374
203701
326075
117994
567277
652826
199786
380320
380379
105877
373861
788346
703182
609806
648165
367068
497984
57990
478851
745058
75947
543070
251847
769828
436497
480977
235846
509633
757192
763494
396852
262690
2261
267186
165800
558974
16525...

result:

wrong answer 3rd numbers differ - expected: '123519', found: '123521'

Subtask #4:

score: 0
Skipped

Dependency #1:

0%

Subtask #5:

score: 0
Skipped

Dependency #1:

0%