UOJ Logo

NOI.AC

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#7164#47. powerfansenran1004239ms19784kbC++113.2kb2018-09-22 11:33:462018-09-22 12:33:26

answer


详细

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

Test #1:

score: 5
Accepted
time: 0ms
memory: 6612kb

input:

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

output:

8

result:

ok single line: '8'

Test #2:

score: 5
Accepted
time: 0ms
memory: 6612kb

input:

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

output:

13

result:

ok single line: '13'

Test #3:

score: 5
Accepted
time: 0ms
memory: 6620kb

input:

200 35
67 156
156 167
167 107
107 62
62 23
23 49
49 42
42 12
12 28
28 40
40 126
126 11
11 141
141 68...

output:

10

result:

ok single line: '10'

Test #4:

score: 5
Accepted
time: 4ms
memory: 6624kb

input:

200 123
140 68
68 61
61 198
198 73
73 93
93 57
93 20
140 116
140 104
104 52
104 109
140 15
20 38
116...

output:

85

result:

ok single line: '85'

Test #5:

score: 5
Accepted
time: 6ms
memory: 6712kb

input:

2000 358
1903 410
410 308
308 766
766 335
335 60
60 376
376 109
109 1861
1861 1643
1643 555
555 1193...

output:

77

result:

ok single line: '77'

Test #6:

score: 5
Accepted
time: 3ms
memory: 6728kb

input:

2000 1137
912 482
482 88
88 737
737 589
589 1387
1387 499
499 460
460 179
179 473
473 1911
1911 1570...

output:

606

result:

ok single line: '606'

Test #7:

score: 5
Accepted
time: 0ms
memory: 6708kb

input:

2000 1505
1681 1751
1751 1108
1108 661
661 1280
1280 840
840 986
986 1242
1242 1856
1856 1440
1440 1...

output:

1168

result:

ok single line: '1168'

Test #8:

score: 5
Accepted
time: 3ms
memory: 6704kb

input:

2000 998
1957 613
613 1153
1153 1400
1400 115
115 398
398 1119
1119 217
217 497
497 481
481 1372
137...

output:

587

result:

ok single line: '587'

Test #9:

score: 5
Accepted
time: 183ms
memory: 18876kb

input:

100000 12345
93405 84029
84029 89387
89387 95256
95256 68940
68940 94196
94196 59942
59942 78998
789...

output:

10

result:

ok single line: '10'

Test #10:

score: 5
Accepted
time: 175ms
memory: 17824kb

input:

100000 54321
59347 97416
97416 3792
3792 60802
60802 83130
83130 93159
93159 86939
86939 91877
91877...

output:

178

result:

ok single line: '178'

Test #11:

score: 5
Accepted
time: 166ms
memory: 19784kb

input:

100000 66666
86251 1453
1453 94453
94453 95622
95622 24951
24951 38149
38149 65865
65865 78181
78181...

output:

247

result:

ok single line: '247'

Test #12:

score: 5
Accepted
time: 501ms
memory: 15184kb

input:

100000 66666
83683 25282
25282 2191
2191 13337
25282 97396
97396 64923
25282 51563
51563 97718
25282...

output:

49510

result:

ok single line: '49510'

Test #13:

score: 5
Accepted
time: 631ms
memory: 15184kb

input:

100000 23333
89824 88076
89824 94020
88076 78270
94020 99456
94020 99188
89824 89072
88076 77925
940...

output:

12839

result:

ok single line: '12839'

Test #14:

score: 5
Accepted
time: 515ms
memory: 15184kb

input:

100000 58888
54203 15518
54203 96811
54203 87559
96811 51255
87559 79437
54203 53771
87559 83699
968...

output:

41789

result:

ok single line: '41789'

Test #15:

score: 5
Accepted
time: 337ms
memory: 15372kb

input:

100000 58888
28195 24248
24248 95034
95034 99603
99603 85525
85525 29534
29534 67223
67223 92651
926...

output:

41840

result:

ok single line: '41840'

Test #16:

score: 5
Accepted
time: 259ms
memory: 16252kb

input:

100000 58888
89635 15474
15474 89216
89216 87243
87243 28514
28514 99266
99266 90866
90866 92582
925...

output:

39351

result:

ok single line: '39351'

Test #17:

score: 5
Accepted
time: 395ms
memory: 15460kb

input:

100000 11216
72055 92073
92073 99101
99101 30084
30084 85593
85593 75972
75972 71918
71918 59956
599...

output:

725

result:

ok single line: '725'

Test #18:

score: 5
Accepted
time: 385ms
memory: 15408kb

input:

100000 35791
89410 19441
19441 64370
64370 99545
99545 10233
10233 1322
1322 92495
92495 74510
74510...

output:

21300

result:

ok single line: '21300'

Test #19:

score: 5
Accepted
time: 306ms
memory: 16036kb

input:

100000 55555
7357 20894
20894 76360
76360 98898
98898 69059
69059 91807
91807 96150
96150 54967
5496...

output:

36283

result:

ok single line: '36283'

Test #20:

score: 5
Accepted
time: 370ms
memory: 15588kb

input:

100000 45555
20099 51856
51856 70892
70892 85862
85862 50276
50276 63657
63657 58760
58760 51767
517...

output:

28887

result:

ok single line: '28887'

Extra Test:

score: 0
Extra Test Passed