QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#172062#7184. Transport Plusesucup-team367#WA 1ms3984kbC++174.0kb2023-09-09 17:59:432023-09-09 18:00:15

详细

Test #1:

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

input:

1 2
1 1
5 3
6 2

output:

4
3
0 1 2
1 6 3
0 5 3

result:

ok correct

Test #2:

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

input:

2 1
1 1
6 1
1 3
6 3

output:

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

result:

ok correct

Test #3:

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

input:

0 0
1 1
1 1

output:

0
1
0 1 1

result:

ok correct

Test #4:

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

input:

0 0
100 100
0 0

output:

100
4
0 100 0
1 0 0
1 0 0
0 0 0

result:

wrong answer Integer 1 violates the range [0, 0]