QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#339243#4212. Brackets_map_WA 1ms5424kbC++147.7kb2024-02-26 21:42:222024-02-26 21:42:22

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 5368kb

input:

2
1 2 1 2

output:

()()

result:

ok single line: '()()'

Test #2:

score: 0
Accepted
time: 0ms
memory: 3260kb

input:

1
1 1

output:

(

result:

ok single line: '('

Test #3:

score: 0
Accepted
time: 1ms
memory: 5344kb

input:

4
4 3 1 2 3 2 1 4

output:

(

result:

ok single line: '('

Test #4:

score: 0
Accepted
time: 1ms
memory: 5424kb

input:

4
3 1 2 1 4 3 2 4

output:

(()()())

result:

ok single line: '(()()())'

Test #5:

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

input:

4
2 4 3 1 3 4 2 1

output:

(

result:

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