QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#111896#5758. Number Setslmq2605200310 3ms5724kbC++201.5kb2023-06-09 08:27:302023-06-09 08:27:34

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 10
Accepted

Test #1:

score: 10
Accepted
time: 3ms
memory: 5724kb

input:

9
295 947 9
10 20 3
302 1000 2
414 991 623
1 1000 2
829 999 4
906 1000 5
10 20 5
181 974 761

output:

Case #1: 195
Case #2: 7
Case #3: 74
Case #4: 578
Case #5: 75
Case #6: 67
Case #7: 44
Case #8: 9
Case #9: 794

result:

ok 9 lines

Subtask #2:

score: 0
Time Limit Exceeded

Test #2:

score: 0
Time Limit Exceeded

input:

99
375083 375083 2
190198964030 190199915346 6
325565748293 325566558971 4
999999000000 1000000000000 1000000
298861731751 298862655472 5
735120900545 735121868094 3
979778886963 979779762275 139938
193278146145 193278850053 762967
482080163908 482080867311 934592
529470015249 529470896528 6
2443183...

output:


result: