UOJ Logo

NOI.AC

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#97617#1182. 教室的同学zengye111001ms1200kbC++387b2020-02-21 12:54:282020-02-21 12:54:29

answer


Details

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

Test #1:

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

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: 1196kb

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: 1ms
memory: 1200kb

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: 0ms
memory: 1196kb

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: 1200kb

input:

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

output:

6

result:

ok single line: '6'