QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#731626#9470. Cats and FishHuangHanShengWA 1ms3720kbC++981.3kb2024-11-10 10:06:182024-11-10 10:06:18

詳細信息

Test #1:

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

input:

2 1 1
1
8 3 5
1 3 4
4 5 1
5 4 3 2 1

output:

1 0
0 1
0 3

result:

ok 3 lines

Test #2:

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

input:

1 1 10
1
14 3 10
1 40 50
8 2 7
12 13
1 1 1
2
12 2 11
8 3
2 2 12
24 1
562 8 232
17 26 800 12 77 32 11 2
562 8 1
17 26 800 12 77 32 11 1
3656 13 123
1887 26 800 12 77 32 11 1 77 32 77 32 155

output:

-1 0
2 2
6 2
0 1
6 2
-1 1
368 7
554 7
3484 12

result:

wrong answer 1st lines differ - expected: '0 0', found: '-1 0'