QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#95198#5470. Hasty Santa ClausZhaoZiLongWA 2ms3468kbC++111.8kb2023-04-09 11:58:102023-04-09 11:58:13

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 3468kb

input:

5 1
23 25
23 27
24 25
25 25
25 26

output:

23
27
24
25
26

result:

ok ok

Test #2:

score: 0
Accepted
time: 2ms
memory: 3328kb

input:

7 2
1 31
1 31
1 31
1 31
1 31
1 31
1 31

output:

1
1
2
2
3
3
4

result:

ok ok

Test #3:

score: 0
Accepted
time: 2ms
memory: 3356kb

input:

6 2
24 25
24 25
24 25
25 26
25 26
25 26

output:

24
24
25
25
26
26

result:

ok ok

Test #4:

score: 0
Accepted
time: 1ms
memory: 3408kb

input:

20 5
9 26
7 29
7 30
4 30
4 27
19 30
8 27
13 25
6 29
1 25
8 31
2 29
13 25
9 26
8 31
1 28
8 26
3 26
5 25
1 28

output:

14
15
16
16
14
19
14
13
15
1
19
15
13
14
19
15
14
13
5
15

result:

ok ok

Test #5:

score: -100
Wrong Answer
time: 2ms
memory: 3336kb

input:

100 5
9 25
2 30
2 31
4 29
2 25
1 27
7 26
3 25
15 30
2 26
9 26
2 30
6 30
24 31
7 28
15 27
2 29
23 31
18 29
23 31
1 31
2 27
7 29
2 27
23 31
16 31
17 31
10 29
4 30
3 26
2 26
19 28
1 30
8 30
4 31
10 29
1 31
22 30
6 29
3 26
3 30
5 28
1 31
9 28
2 30
2 26
13 30
4 25
2 27
1 25
5 27
5 26
9 27
1 28
19 31
5 31...

output:

9
29
0
26
2
11
11
3
0
9
11
29
0
0
16
15
26
0
29
0
0
12
27
12
0
0
0
28
30
10
10
19
29
0
0
28
0
0
27
10
30
16
0
16
30
9
0
4
12
1
12
10
12
15
0
0
0
0
23
15
17
0
28
10
0
30
0
0
11
16
0
27
16
0
0
9
27
11
0
0
0
26
17
28
0
14
15
9
25
26
29
0
0
0
27
26
1
28
30
0

result:

wrong answer output line is not a valid date.(line = 0)