QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#875752#9737. Let's Go! New AdventureraincityRE 1ms14048kbC++142.3kb2025-01-30 12:12:472025-01-30 12:12:48

详细

Test #1:

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

input:

2
5 4 2
1 0 3 1 2
0 1 1 2
4 5 1
7 16 23 4
1 3 6 20 20

output:

3
6

result:

ok 2 number(s): "3 6"

Test #2:

score: -100
Runtime Error

input:

50000
1 1 4
4
4
4 1 4
0 1 2 1
4
3 3 2
0 0 4
0 1 3
1 4 3
4
0 1 1 2
3 1 4
3 1 0
4
3 2 4
1 0 3
1 3
2 2 4
4 0
1 3
2 1 3
1 3
4
4 3 0
0 1 3 0
1 1 2
1 2 2
4
1 3
3 3 1
2 2 0
1 1 2
3 4 1
2 2 0
0 1 1 2
1 1 0
4
4
3 3 3
0 2 2
1 1 2
2 1 2
0 4
4
3 2 4
1 1 2
0 4
4 3 4
0 0 2 2
0 0 4
2 2 1
3 1
1 3
2 3 3
1 3
0 1 3
2 ...

output:


result: