QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#704777#9524. 1D Galaxyntu_vjudge_1TL 0ms3892kbC++206.9kb2024-11-02 21:00:132024-11-02 21:00:17

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 3892kb

input:

4 12
0 1
1 2
-1 3
2 2
0 1
0 2
0 3
0 4
1 1
1 2
1 3
1 4
2 1
2 2
2 3
2 4

output:

0
1
-1
2
1
0
0
1
0
1
1
0

result:

ok 12 lines

Test #2:

score: 0
Accepted
time: 0ms
memory: 3888kb

input:

5 5
-4 5
-1 3
5 5
0 4
-4 2
0 3
3 1
5 5
1 3
3 3

output:

5
-1
1
4
2

result:

ok 5 lines

Test #3:

score: 0
Accepted
time: 0ms
memory: 3596kb

input:

5 5
3 2
1 3
0 3
1 5
0 5
7 1
1 4
1 5
8 5
10 3

output:

0
0
1
0
0

result:

ok 5 lines

Test #4:

score: -100
Time Limit Exceeded

input:

5 5
-3 2
-2 1
5 3
0 1
1 5
10 5
3 1
1 3
2 3
8 4

output:


result: