QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#195046#6371. Half is GoodHuangHanShengRE 105ms27008kbC++2.1kb2023-10-01 00:29:142023-10-01 00:29:15

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 13964kb

input:

4 7 47

output:

72

result:

ok you found 2 edges (out of 2 edges)

Test #2:

score: 0
Accepted
time: 0ms
memory: 13820kb

input:

1 1 956091059

output:

0

result:

ok you found 0 edges (out of 0 edges)

Test #3:

score: 0
Accepted
time: 2ms
memory: 13964kb

input:

1 10 675265052

output:

0

result:

ok you found 0 edges (out of 0 edges)

Test #4:

score: 0
Accepted
time: 2ms
memory: 13956kb

input:

1 100 649558818

output:

0
0
0
0

result:

ok you found 0 edges (out of 0 edges)

Test #5:

score: 0
Accepted
time: 2ms
memory: 13920kb

input:

1 300 796656507

output:

0
0
0
0
0
0
0
0
0
0

result:

ok you found 0 edges (out of 0 edges)

Test #6:

score: 0
Accepted
time: 0ms
memory: 13900kb

input:

1 1000 570935698

output:

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
0

result:

ok you found 0 edges (out of 0 edges)

Test #7:

score: 0
Accepted
time: 0ms
memory: 13992kb

input:

1 5000 374761337

output:

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
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
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
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
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
...

result:

ok you found 0 edges (out of 0 edges)

Test #8:

score: 0
Accepted
time: 2ms
memory: 14056kb

input:

1 10000 705177612

output:

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
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
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
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
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
...

result:

ok you found 0 edges (out of 0 edges)

Test #9:

score: 0
Accepted
time: 10ms
memory: 16788kb

input:

1 100000 900413157

output:

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
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
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
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
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
...

result:

ok you found 0 edges (out of 0 edges)

Test #10:

score: 0
Accepted
time: 29ms
memory: 24072kb

input:

1 300000 347539594

output:

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
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
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
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
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
...

result:

ok you found 0 edges (out of 0 edges)

Test #11:

score: 0
Accepted
time: 105ms
memory: 27008kb

input:

1 1000000 659451863

output:

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
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
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
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
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
...

result:

ok you found 0 edges (out of 0 edges)

Test #12:

score: -100
Runtime Error

input:

1 3000000 415743523

output:


result: