QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#164268#7106. Infinite Parenthesis Sequenceucup-team577ML 0ms0kbC++4.3kb2023-09-04 21:07:212023-09-04 21:07:22

详细

Test #1:

score: 0
Memory Limit Exceeded

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:

399999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999...

result: