UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#116063#329. chessNeal_lee100278ms1944kbC++1.9kb2020-08-07 10:55:352020-08-08 00:49:17

answer


详细

小提示:点击横条可展开更详细的信息

Test #1:

score: 10
Accepted
time: 21ms
memory: 1736kb

input:

75 1000
16000 29999
24339 67105 43626 37512 7791 29975 20329 51270 48689 41878 19269 98564 31371 525...

output:

25785

result:

ok single line: '25785'

Test #2:

score: 10
Accepted
time: 76ms
memory: 1944kb

input:

110 3000
25025 29999
51744 81726 417388 147031 55418 339039 338212 410090 192221 2916 309129 326048 ...

output:

29916

result:

ok single line: '29916'

Test #3:

score: 10
Accepted
time: 4ms
memory: 1392kb

input:

20 2
9450 30000
4339 2105
3626 2512
2791 4975
329 1270
3689 1878
4269 3564
1371 2554
4774 3533
1019 ...

output:

25792

result:

ok single line: '25792'

Test #4:

score: 10
Accepted
time: 24ms
memory: 1732kb

input:

75 1500
25025 7001
47574 18496 76627 81700 9257 44945 89360 78271 79068 67153 55838 923 99667 22317 ...

output:

4014

result:

ok single line: '4014'

Test #5:

score: 10
Accepted
time: 63ms
memory: 1876kb

input:

100 2500
60791 8001
119453 72159 84388 470076 95775 49477 211005 399505 38130 326761 221680 356457 2...

output:

5986

result:

ok single line: '5986'

Test #6:

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

input:

4 7
18 100
15 10 15 6 11 2 2
7 11 5 13 10 4 11
16 12 6 16 3 5 4
15 7 11 2 6 2 14

output:

2

result:

ok single line: '2'

Test #7:

score: 10
Accepted
time: 61ms
memory: 1908kb

input:

100 2000
24000 9999
396217 369887 267803 325888 394308 276331 116567 372504 416807 343309 343287 370...

output:

6121

result:

ok single line: '6121'

Test #8:

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

input:

25 50
4312 10000
4339 7105 3626 7512 7791 9975 329 1270 8689 1878 9269 8564 1371 2554 4774 8533 6019...

output:

9408

result:

ok single line: '9408'

Test #9:

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

input:

10 25
100 9999
4 5 1 2 1 5 4 5 4 3 4 4 1 4 4 3 4 2 4 5 4 4 4 4 2
4 2 5 1 4 4 5 2 2 4 4 1 4 4 2 1 1 1...

output:

7195

result:

ok single line: '7195'

Test #10:

score: 10
Accepted
time: 29ms
memory: 1612kb

input:

50 500
39780 30000
22744 31454 38150 34255 33403 20632 39772 38061 4491 5598 20114 1411 37542 17931 ...

output:

10000

result:

ok single line: '10000'