QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#286328#5491. Spidey Distancelmq26052003AC ✓3ms3608kbC++20806b2023-12-17 17:05:212023-12-17 17:05:22

详细

Test #1:

score: 100
Accepted
time: 1ms
memory: 3428kb

input:

4 4

output:

41/49

result:

ok single line: '41/49'

Test #2:

score: 0
Accepted
time: 1ms
memory: 3564kb

input:

6 6

output:

17/21

result:

ok single line: '17/21'

Test #3:

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

input:

3 7

output:

25/141

result:

ok single line: '25/141'

Test #4:

score: 0
Accepted
time: 1ms
memory: 3432kb

input:

7 3

output:

1

result:

ok single line: '1'

Test #5:

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

input:

10 9

output:

209/229

result:

ok single line: '209/229'

Test #6:

score: 0
Accepted
time: 1ms
memory: 3604kb

input:

0 1000000

output:

1/2666668000001

result:

ok single line: '1/2666668000001'

Test #7:

score: 0
Accepted
time: 1ms
memory: 3548kb

input:

1000000 0

output:

1

result:

ok single line: '1'

Test #8:

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

input:

1000000 1000000

output:

2000002000001/2666668000001

result:

ok single line: '2000002000001/2666668000001'

Test #9:

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

input:

0 0

output:

1

result:

ok single line: '1'

Test #10:

score: 0
Accepted
time: 1ms
memory: 3428kb

input:

10000 7501

output:

150049997/150050005

result:

ok single line: '150049997/150050005'

Test #11:

score: 0
Accepted
time: 1ms
memory: 3608kb

input:

10000 8000

output:

168012001/170677333

result:

ok single line: '168012001/170677333'

Test #12:

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

input:

10000 8500

output:

182014001/192678001

result:

ok single line: '182014001/192678001'

Test #13:

score: 0
Accepted
time: 1ms
memory: 3552kb

input:

10000 9000

output:

192016001/216012001

result:

ok single line: '192016001/216012001'

Test #14:

score: 0
Accepted
time: 1ms
memory: 3376kb

input:

10000 9500

output:

198018001/240679333

result:

ok single line: '198018001/240679333'

Test #15:

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

input:

10000 9999

output:

200019989/266626669

result:

ok single line: '200019989/266626669'

Test #16:

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

input:

10000 10000

output:

200020001/266680001

result:

ok single line: '200020001/266680001'

Test #17:

score: 0
Accepted
time: 1ms
memory: 3368kb

input:

0 10000

output:

1/266680001

result:

ok single line: '1/266680001'

Test #18:

score: 0
Accepted
time: 1ms
memory: 3528kb

input:

10000 0

output:

1

result:

ok single line: '1'

Test #19:

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

input:

1000000 750000

output:

1

result:

ok single line: '1'

Test #20:

score: 0
Accepted
time: 3ms
memory: 3400kb

input:

1000000 999999

output:

2000001999989/2666662666669

result:

ok single line: '2000001999989/2666662666669'

Test #21:

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

input:

1000000 750001

output:

1500004999997/1500005000005

result:

ok single line: '1500004999997/1500005000005'

Test #22:

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

input:

1000000 875001

output:

1875003499997/2041672500005

result:

ok single line: '1875003499997/2041672500005'