QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#95225#5470. Hasty Santa ClausZhangYiDeWA 3ms3424kbC++17841b2023-04-09 12:30:112023-04-09 12:30:13

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

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

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

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

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:

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

result:

ok ok

Test #5:

score: -100
Wrong Answer
time: 3ms
memory: 3320kb

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
28
22
25
2
11
11
3
15
9
11
29
30
26
16
15
25
26
28
26
22
12
26
12
26
25
25
27
30
10
10
19
28
8
23
27
22
22
26
10
29
15
22
16
29
9
13
4
12
1
12
10
12
15
25
24
23
25
23
15
16
12
28
10
23
29
30
24
11
16
16
26
16
24
30
9
26
11
26
24
23
25
17
27
27
14
15
9
25
26
28
30
23
25
27
25
1
27
29
24

result:

FAIL Checker must end with quit or quitf call.