QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#82638 | #5491. Spidey Distance | xiaowuc1 | AC ✓ | 65ms | 19016kb | C++17 | 1.5kb | 2023-02-28 15:38:06 | 2023-02-28 15:38:11 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 1ms
memory: 2936kb
input:
4 4
output:
41/49
result:
ok single line: '41/49'
Test #2:
score: 0
Accepted
time: 2ms
memory: 2948kb
input:
6 6
output:
17/21
result:
ok single line: '17/21'
Test #3:
score: 0
Accepted
time: 2ms
memory: 2988kb
input:
3 7
output:
25/141
result:
ok single line: '25/141'
Test #4:
score: 0
Accepted
time: 2ms
memory: 2872kb
input:
7 3
output:
1
result:
ok single line: '1'
Test #5:
score: 0
Accepted
time: 2ms
memory: 2948kb
input:
10 9
output:
209/229
result:
ok single line: '209/229'
Test #6:
score: 0
Accepted
time: 63ms
memory: 18912kb
input:
0 1000000
output:
1/2666668000001
result:
ok single line: '1/2666668000001'
Test #7:
score: 0
Accepted
time: 2ms
memory: 3032kb
input:
1000000 0
output:
1
result:
ok single line: '1'
Test #8:
score: 0
Accepted
time: 60ms
memory: 18896kb
input:
1000000 1000000
output:
2000002000001/2666668000001
result:
ok single line: '2000002000001/2666668000001'
Test #9:
score: 0
Accepted
time: 2ms
memory: 2960kb
input:
0 0
output:
1
result:
ok single line: '1'
Test #10:
score: 0
Accepted
time: 1ms
memory: 3072kb
input:
10000 7501
output:
150049997/150050005
result:
ok single line: '150049997/150050005'
Test #11:
score: 0
Accepted
time: 2ms
memory: 3084kb
input:
10000 8000
output:
168012001/170677333
result:
ok single line: '168012001/170677333'
Test #12:
score: 0
Accepted
time: 2ms
memory: 2948kb
input:
10000 8500
output:
182014001/192678001
result:
ok single line: '182014001/192678001'
Test #13:
score: 0
Accepted
time: 2ms
memory: 3016kb
input:
10000 9000
output:
192016001/216012001
result:
ok single line: '192016001/216012001'
Test #14:
score: 0
Accepted
time: 0ms
memory: 2952kb
input:
10000 9500
output:
198018001/240679333
result:
ok single line: '198018001/240679333'
Test #15:
score: 0
Accepted
time: 0ms
memory: 3020kb
input:
10000 9999
output:
200019989/266626669
result:
ok single line: '200019989/266626669'
Test #16:
score: 0
Accepted
time: 3ms
memory: 2924kb
input:
10000 10000
output:
200020001/266680001
result:
ok single line: '200020001/266680001'
Test #17:
score: 0
Accepted
time: 0ms
memory: 2948kb
input:
0 10000
output:
1/266680001
result:
ok single line: '1/266680001'
Test #18:
score: 0
Accepted
time: 0ms
memory: 3032kb
input:
10000 0
output:
1
result:
ok single line: '1'
Test #19:
score: 0
Accepted
time: 49ms
memory: 19000kb
input:
1000000 750000
output:
1
result:
ok single line: '1'
Test #20:
score: 0
Accepted
time: 62ms
memory: 19000kb
input:
1000000 999999
output:
2000001999989/2666662666669
result:
ok single line: '2000001999989/2666662666669'
Test #21:
score: 0
Accepted
time: 45ms
memory: 19016kb
input:
1000000 750001
output:
1500004999997/1500005000005
result:
ok single line: '1500004999997/1500005000005'
Test #22:
score: 0
Accepted
time: 65ms
memory: 19016kb
input:
1000000 875001
output:
1875003499997/2041672500005
result:
ok single line: '1875003499997/2041672500005'