QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#216203#6568. Space Alignmentucup-team456#WA 1ms3576kbC++204.4kb2023-10-15 16:40:362023-10-15 16:40:36

詳細信息

Test #1:

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

input:

10
{
ss{
sts{
tt}
t}
t{
ss}
}
{
}

output:

2

result:

ok single line: '2'

Test #2:

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

input:

2
{
}

output:

1

result:

ok single line: '1'

Test #3:

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

input:

4
{
ss{
ss}
}

output:

1

result:

ok single line: '1'

Test #4:

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

input:

4
{
tt{
tt}
}

output:

1

result:

ok single line: '1'

Test #5:

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

input:

4
{
ss{
s}
}

output:

-1

result:

ok single line: '-1'

Test #6:

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

input:

4
{
tt{
t}
}

output:

-1

result:

ok single line: '-1'

Test #7:

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

input:

4
{
tt{
s}
}

output:

-1

result:

ok single line: '-1'

Test #8:

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

input:

4
{
tt{
sss}
}

output:

-1

result:

ok single line: '-1'

Test #9:

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

input:

4
{
tt{
ssss}
}

output:

-1

result:

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