UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#74671#712. 练级qiyulin100155ms5064kbC++11918b2019-09-29 09:10:442019-09-29 12:15:19

answer


详细

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

Test #1:

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

input:

30 20
12 24
22 14
10 2
7 10
21 13
3 5
14 25
16 8
17 16
24 18
3 25
15 5
6 12
18 5
21 23
8 29
12 24
25...

output:

20

result:

ok single line: '20'

Test #2:

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

input:

100 20
92 64
99 37
37 44
59 44
99 59
44 99
31 40
40 50
31 31
50 50
27 20
13 45
14 8
56 66
13 55
67 8...

output:

16

result:

ok single line: '16'

Test #3:

score: 10
Accepted
time: 1ms
memory: 2736kb

input:

20 97
3 3
1 18
14 15
17 2
19 16
2 5
6 12
16 8
15 4
17 13
4 7
19 11
10 1
14 16
18 14
16 6
3 20
14 9
1...

output:

19

result:

ok single line: '19'

Test #4:

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

input:

20 100
9 2
18 2
15 18
1 2
9 1
18 2
9 18
9 2
18 2
9 18
1 15
1 9
18 18
1 1
15 1
15 18
15 15
2 9
9 2
9 ...

output:

16

result:

ok single line: '16'

Test #5:

score: 10
Accepted
time: 42ms
memory: 5064kb

input:

200000 200000
7809 195389
145454 156794
188778 116356
137465 93988
169298 184308
180393 3430
45823 1...

output:

167590

result:

ok single line: '167590'

Test #6:

score: 10
Accepted
time: 17ms
memory: 3908kb

input:

100000 100000
5611 62866
28752 28294
36168 87301
72716 38109
62479 21224
90458 25526
27828 40692
943...

output:

83840

result:

ok single line: '83840'

Test #7:

score: 10
Accepted
time: 27ms
memory: 4576kb

input:

175454 147384
117412 169392
54514 95731
162326 162298
122680 150587
135097 132816
157009 93934
47953...

output:

134530

result:

ok single line: '134530'

Test #8:

score: 10
Accepted
time: 22ms
memory: 4576kb

input:

99970 185123
62086 54443
62119 62086
69475 62119
22132 62119
88694 54443
96042 69475
42563 88694
343...

output:

99965

result:

ok single line: '99965'

Test #9:

score: 10
Accepted
time: 20ms
memory: 4552kb

input:

140340 162165
39966 6685
108638 6685
63965 6685
28943 63965
127956 39966
97405 6685
20005 39966
1219...

output:

140337

result:

ok single line: '140337'

Test #10:

score: 10
Accepted
time: 26ms
memory: 4868kb

input:

182102 182102
5706 37201
143924 37201
119435 37201
73080 37201
131420 119435
64268 73080
167592 5706...

output:

182094

result:

ok single line: '182094'