QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#200180#7106. Infinite Parenthesis SequencecnyzWA 1ms5736kbC++142.2kb2023-10-04 15:39:452023-10-04 15:39:46

詳細信息

Test #1:

score: 0
Wrong Answer
time: 1ms
memory: 5736kb

input:

3
(())
3
0 -3 2
1 -2 3
2 0 0
))()(
3
0 -3 4
2 1 3
3 -4 -1
))()(()(
4
1234 -5678 9012
123 -456 789
12 -34 56
1 -2 3

output:

0 -1 0 -1 
3
3
0
2 2 3 3 
4
1
1
2 2 1 1 2 2 1 1 
7345
623
45
3

result:

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