QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#358727#7404. Back and ForthZhangYiDeWA 1ms3588kbC++201.6kb2024-03-19 23:10:362024-03-19 23:10:38

詳細信息

Test #1:

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

input:

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

output:

4
4
3

result:

ok 3 number(s): "4 4 3"

Test #2:

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

input:

1
2 0 1 2
1 1

output:

1000000007

result:

wrong answer 1st numbers differ - expected: '-1', found: '1000000007'