QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#609602#9412. Stop the Castleucup-team5079#WA 1ms3844kbC++207.0kb2024-10-04 13:31:552024-10-04 13:31:56

詳細信息

Test #1:

score: 100
Accepted
time: 1ms
memory: 3844kb

input:

4
7
1 3
6 6
4 7
2 1
6 3
4 1
2 6
3
3 4
6 4
3 1
2
1 1
2 2
0
3
1 1
1 3
3 3
1
1 2
3
1 1
1 3
2 3
0

output:

2
2 3
4 6
0
1
2 3
-1

result:

ok ok 4 cases (4 test cases)

Test #2:

score: -100
Wrong Answer
time: 1ms
memory: 3836kb

input:

21
11
3 5
18 6
19 12
27 48
28 38
30 12
33 18
42 18
43 38
45 46
48 34
3
2 6
24 4
41 45
15
11 6
15 27
16 9
16 14
16 48
19 26
25 12
27 26
28 4
31 40
32 6
33 50
37 50
46 11
50 29
17
1 49
4 9
9 15
9 22
11 31
11 46
14 28
17 5
17 49
18 43
20 31
30 46
33 11
33 33
34 15
36 6
47 10
2
16 46
36 30
11
7 34
7 41
...

output:

3
20 12
34 18
29 38
5
16 10
16 15
12 6
20 26
34 50
0
1
16 10
0
1
43 22
4
44 44
1 3
1 13
33 10
0
5
27 41
29 26
44 4
8 1
21 15
1
32 9
0
0
0
0
5
12 10
23 46
29 34
23 10
35 5
0
3
20 30
43 25
31 17
0
-1
3
16 36
25 7
17 39
6
5 5
8 9
6 4
7 3
3 10
2 11

result:

wrong answer Duplicated position (44, 44) (test case 7)