QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#72595#4589. White-Black TreeMaMengQiWA 3ms7008kbC++171.2kb2023-01-17 05:33:082023-01-17 05:33:09

详细

Test #1:

score: 100
Accepted
time: 3ms
memory: 5972kb

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: 3ms
memory: 6660kb

input:

5
1 1 2 3
0 1 1 0 0

output:

Second

result:

ok single line: 'Second'

Test #3:

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

input:

4
1 1 1
1 1 0 1

output:

First

result:

ok single line: 'First'

Test #4:

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

input:

2
1
0 0

output:

Second

result:

ok single line: 'Second'

Test #5:

score: 0
Accepted
time: 3ms
memory: 6912kb

input:

3
1 2
0 1 1

output:

First

result:

ok single line: 'First'

Test #6:

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

input:

3
1 2
1 1 1

output:

First

result:

ok single line: 'First'

Test #7:

score: 0
Accepted
time: 3ms
memory: 7000kb

input:

3
1 1
1 1 1

output:

First

result:

ok single line: 'First'

Test #8:

score: -100
Wrong Answer
time: 3ms
memory: 6184kb

input:

3
1 1
0 1 0

output:

Second

result:

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