QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#85829#4589. White-Black TreeGuanYunchangWA 2ms3464kbC++203.0kb2023-03-08 16:33:182023-03-08 16:33:18

詳細信息

Test #1:

score: 100
Accepted
time: 2ms
memory: 3412kb

input:

7
1 1 1 3 3 3
0 1 1 0 0 0 1

output:

First

result:

ok single line: 'First'

Test #2:

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

input:

5
1 1 2 3
0 1 1 0 0

output:

Second

result:

ok single line: 'Second'

Test #3:

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

input:

4
1 1 1
1 1 0 1

output:

First

result:

ok single line: 'First'

Test #4:

score: 0
Accepted
time: 2ms
memory: 3368kb

input:

2
1
0 0

output:

Second

result:

ok single line: 'Second'

Test #5:

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

input:

3
1 2
0 1 1

output:

First

result:

ok single line: 'First'

Test #6:

score: -100
Wrong Answer
time: 0ms
memory: 3464kb

input:

3
1 2
1 1 1

output:

Second

result:

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