UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#104036#757. aLightningUZ100175ms2012kbC++111.5kb2020-03-02 11:27:432020-03-02 11:27:45

answer


这程序好像有点Bug,我给组数据试试?

Details

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

Test #1:

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

input:

17 3
1 11
5 10
5 5
14 17
11 17
4 4
5 13
1 15
1 11
1 17
12 13
10 14
8 11
2 14
10 11
2 6
12 12

output:

11

result:

ok 1 number(s): "11"

Test #2:

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

input:

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

output:

4

result:

ok 1 number(s): "4"

Test #3:

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

input:

17 2
5 5
5 12
8 12
1 8
5 15
3 5
13 14
13 14
7 16
3 15
12 14
2 7
5 12
2 17
1 12
13 15
3 14

output:

7

result:

ok 1 number(s): "7"

Test #4:

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

input:

100000 1
53181 99732
73868 78625
13671 74194
20244 38430
4244 37174
47521 70192
38596 90797
24901 71...

output:

356

result:

ok 1 number(s): "356"

Test #5:

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

input:

100000 1
69988 74981
23941 38636
22601 85466
5661 47788
31450 58306
8357 11961
91642 97991
63757 797...

output:

361

result:

ok 1 number(s): "361"

Test #6:

score: 10
Accepted
time: 23ms
memory: 1988kb

input:

100000 1
66583 86795
82294 90367
47884 96738
72892 91685
9373 12368
62875 76401
41033 92487
86260 87...

output:

363

result:

ok 1 number(s): "363"

Test #7:

score: 10
Accepted
time: 23ms
memory: 2012kb

input:

100000 602
41832 56793
25952 56814
8010 19229
3649 40123
57194 66430
1040 93332
84075 95680
25116 60...

output:

14813

result:

ok 1 number(s): "14813"

Test #8:

score: 10
Accepted
time: 30ms
memory: 2000kb

input:

100000 409
17081 23219
82097 85963
35635 46773
91001 97925
20492 21634
55558 94177
3667 27117
47619 ...

output:

12153

result:

ok 1 number(s): "12153"

Test #9:

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

input:

100000 216
73292 92330
29621 91027
46907 74317
58232 75848
74554 86074
10076 95022
11654 70159
57758...

output:

8903

result:

ok 1 number(s): "8903"

Test #10:

score: 10
Accepted
time: 25ms
memory: 1988kb

input:

100000 23
39718 67579
16310 89632
1861 58179
25463 70124
28616 66867
48241 79514
13201 19641
8978 40...

output:

2741

result:

ok 1 number(s): "2741"

Extra Test:

score: 0
Extra Test Passed