QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#505502#5882. Recycled Numbersxiaowuc125 ✓353ms120672kbC++171.9kb2024-08-05 05:47:072024-08-05 05:47:07

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 10
Accepted

Test #1:

score: 10
Accepted
time: 290ms
memory: 120472kb

input:

50
124 913
135 918
166 972
172 924
151 912
120 952
124 932
130 996
439 439
120 941
119 922
175 961
142 917
100 999
177 979
158 929
122 977
123 945
41 71
127 998
108 928
181 948
190 701
2 2
113 943
184 938
100 101
100 100
127 962
159 981
10 68
136 923
101 993
120 913
136 923
118 973
801 801
116 940
1...

output:

Case #1: 616
Case #2: 606
Case #3: 646
Case #4: 550
Case #5: 567
Case #6: 692
Case #7: 650
Case #8: 754
Case #9: 0
Case #10: 672
Case #11: 640
Case #12: 610
Case #13: 592
Case #14: 801
Case #15: 639
Case #16: 583
Case #17: 736
Case #18: 676
Case #19: 3
Case #20: 764
Case #21: 668
Case #22: 577
Case ...

result:

ok 50 lines

Subtask #2:

score: 15
Accepted

Test #2:

score: 15
Accepted
time: 353ms
memory: 120672kb

input:

50
611148 945642
1306 9413
64524 83907
797836 852013
5294 9741
15384 52033
43451 59617
418116 822264
741918 741918
1014700 1941820
270151 839936
1269668 1685045
377962 600309
1000000 2000000
1348102 1528708
1072753 1961224
9310 9943
1031478 1983699
41 71
1196021 1388043
1047651 1986277
1032019 19817...

output:

Case #1: 266238
Case #2: 9799
Case #3: 7754
Case #4: 4693
Case #5: 2930
Case #6: 24816
Case #7: 5960
Case #8: 404623
Case #9: 0
Case #10: 266966
Case #11: 798201
Case #12: 34046
Case #13: 117839
Case #14: 299997
Case #15: 6870
Case #16: 247193
Case #17: 28
Case #18: 271863
Case #19: 3
Case #20: 7488...

result:

ok 50 lines

Extra Test:

score: 0
Extra Test Passed