UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#97628#1182. 教室的同学SpiderQ1001ms1188kbC++321b2020-02-21 13:08:592020-02-21 13:09:00

answer


Details

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

Test #1:

score: 20
Accepted
time: 0ms
memory: 1188kb

input:

50 8
1 3
2 9
5 8
5 6
12 16
10 23
2 19
5 18

output:

27

result:

ok single line: '27'

Test #2:

score: 20
Accepted
time: 0ms
memory: 1188kb

input:

80 10
1 3
2 9
5 8
5 6
12 16
10 23
2 19
5 18
2 19
1 79

output:

1

result:

ok single line: '1'

Test #3:

score: 20
Accepted
time: 0ms
memory: 1188kb

input:

100 10
1 3
2 9
5 8
1 100
12 16
10 23
2 19
5 18
2 19
1 79

output:

0

result:

ok single line: '0'

Test #4:

score: 20
Accepted
time: 1ms
memory: 1184kb

input:

10 4
1 3
2 4
5 8
5 8

output:

2

result:

ok single line: '2'

Test #5:

score: 20
Accepted
time: 0ms
memory: 1184kb

input:

20 5
1 3
2 9
5 8
5 6
12 16

output:

6

result:

ok single line: '6'