QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#547230#7436. Optimal Ordered Problem SolverUrd0 1623ms133656kbC++176.3kb2024-09-04 19:26:562024-09-04 19:26:56

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 0
Wrong Answer

Test #1:

score: 0
Wrong Answer
time: 7ms
memory: 52988kb

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
247
244
504
54
200
370
872
782
734
174
660
467
76
754
77
3
142
972
524
413
437
692
505
575
256
118
241
3
2
317
311
496
216
826
431
621
979
698
118
53
68
497
373
281
385
126
315
137
218
408
20
545
3
383
428
166
30
0
170
617
669
553
480
664
569
56
136
529
227
52...

result:

wrong answer 27th numbers differ - expected: '144', found: '142'

Subtask #2:

score: 0
Wrong Answer

Test #9:

score: 0
Wrong Answer
time: 1623ms
memory: 127100kb

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
878265
0
0
587546
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: '878265'

Subtask #3:

score: 0
Wrong Answer

Test #17:

score: 0
Wrong Answer
time: 1421ms
memory: 133656kb

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
123518
313576
450014
383635
574183
2373
203698
326072
117991
567272
652821
199778
380314
380374
105875
373851
788336
703170
609795
648155
367055
497968
57973
478837
745044
75928
543054
251829
769810
436479
480956
235825
509615
757174
763476
396832
262668
2239
267161
165776
558946
16523...

result:

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

Subtask #4:

score: 0
Skipped

Dependency #1:

0%

Subtask #5:

score: 0
Skipped

Dependency #1:

0%