QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#547045#7436. Optimal Ordered Problem SolverUrd0 1266ms98760kbC++173.8kb2024-09-04 17:27:072024-09-04 17:27:07

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 0ms
memory: 39140kb

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
473
758
313
694
232
333
784
821
154
246
243
502
52
198
368
870
780
732
170
656
463
72
750
73
1
140
970
522
411
435
690
502
572
253
115
237
3
2
312
306
490
210
819
424
614
972
690
108
43
58
487
363
271
375
115
304
126
207
397
8
532
3
368
413
151
21
0
161
608
660
544
471
655
560
46
126
518
216
43
...

result:

wrong answer 11th numbers differ - expected: '247', found: '246'

Subtask #2:

score: 0
Wrong Answer

Test #9:

score: 0
Wrong Answer
time: 1115ms
memory: 91252kb

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
472000
0
0
181281
0
0
0
0
63382
0
0
0
0
420
0
0
0
0
0
0
18395
0
0
0
0
0
0
0
0
0
0
0
11756
0
0
7822
0
0
0
0
22726
0
0
0
8233
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
13818
1351
0
0
0
0
0
0
6803
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
4678
0
0
0
0
0
0
0
12532
0
0
0
0
0
0
0
0
0
0
0
0...

result:

wrong answer 3rd numbers differ - expected: '953730', found: '472000'

Subtask #3:

score: 0
Wrong Answer

Test #17:

score: 0
Wrong Answer
time: 1266ms
memory: 98760kb

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
633542
123518
313576
450012
383633
574183
2373
203696
326070
117988
567269
652817
199773
380309
380369
105871
373849
788333
703165
609789
648149
367052
497967
57973
478834
745040
75928
543050
251827
769808
436477
480956
235825
509611
757170
763471
396828
262666
2239
267159
165774
558946
16522...

result:

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

Subtask #4:

score: 0
Skipped

Dependency #1:

0%

Subtask #5:

score: 0
Skipped

Dependency #1:

0%