QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#88011#5758. Number Setsxiaowuc125 ✓2965ms14208kbC++171.4kb2023-03-14 23:00:532023-03-14 23:00:55

詳細信息

Subtask #1:

score: 10
Accepted

Test #1:

score: 10
Accepted
time: 8ms
memory: 4384kb

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: 15
Accepted

Test #2:

score: 15
Accepted
time: 2965ms
memory: 14208kb

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:

Case #1: 1
Case #2: 147288
Case #3: 96797
Case #4: 1000001
Case #5: 110457
Case #6: 74185
Case #7: 805999
Case #8: 703909
Case #9: 703404
Case #10: 132049
Case #11: 56554
Case #12: 116813
Case #13: 968704
Case #14: 922732
Case #15: 180838
Case #16: 971102
Case #17: 25566
Case #18: 537468
Case #19: 9...

result:

ok 99 lines

Extra Test:

score: 0
Extra Test Passed