QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#503108 | #5736. Black and White | xiaowuc1 | AC ✓ | 0ms | 3712kb | C++17 | 981b | 2024-08-03 16:27:00 | 2024-08-03 16:27:01 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 0ms
memory: 3636kb
input:
4 WBBW WBWB BWWB BWBW
output:
1
result:
ok single line: '1'
Test #2:
score: 0
Accepted
time: 0ms
memory: 3648kb
input:
4 BWWB BWBB WBBW WBWW
output:
0
result:
ok single line: '0'
Test #3:
score: 0
Accepted
time: 0ms
memory: 3572kb
input:
6 BWBWWB WBWBWB WBBWBW BBWBWW BWWBBW WWBWBB
output:
0
result:
ok single line: '0'
Test #4:
score: 0
Accepted
time: 0ms
memory: 3568kb
input:
6 WWBBWB BBWWBW WBWBWB BWBWBW BWBBWW WBWWBB
output:
1
result:
ok single line: '1'
Test #5:
score: 0
Accepted
time: 0ms
memory: 3708kb
input:
10 BBWWBBWWBW BWBBWBWBWW WBBWBWBWWB WBWBWWBWBB BWBWWBWBBW WBWBBWBBWW BWBWWBWWBB WBWBBWBWWB WWBWBBWBBW BWWBWWBBWB
output:
1
result:
ok single line: '1'
Test #6:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
12 BWWBBWBWWBBW BWWBWBWWBWBB WBBWBWBBWBWW WBBWBBWWBWBW BWWBWWBBWBWB WBBWBWWBBWBW BWWBWBBWWBWB WBWBWBWBBWWB BWBWBWBWWBBW WWBBWBWBWBWB BBWWBWBWBWWB WBBWWBWBBWBW
output:
1
result:
ok single line: '1'
Test #7:
score: 0
Accepted
time: 0ms
memory: 3688kb
input:
2 WB BW
output:
1
result:
ok single line: '1'
Test #8:
score: 0
Accepted
time: 0ms
memory: 3652kb
input:
4 WBWB WBBW BWWB BWBW
output:
1
result:
ok single line: '1'
Test #9:
score: 0
Accepted
time: 0ms
memory: 3708kb
input:
6 WWBBWB BBWBWW BBWWBW WWBWBB WWBBWB BBWWBW
output:
1
result:
ok single line: '1'
Test #10:
score: 0
Accepted
time: 0ms
memory: 3628kb
input:
8 WBBWBWBW BWWBWBBW BBWWBWWB WWBBWBWB WBWBWBBW BWBWBWWB BWBWWBBW WBWBBWWB
output:
1
result:
ok single line: '1'
Test #11:
score: 0
Accepted
time: 0ms
memory: 3712kb
input:
24 BBWWBWWBBWWBBWBBWWBWWBBW WBWBWBBWWBBWWBWBWBWBBWWB BWBWBWWBBWBBWBWWBWBWBBWW WBWBWBWBWBWWBWBWBBWBWWBB WBWWBWBWWBWWBBWBWBBWBBWB BWBBWBBWBWBBWWBWBWBWWBWW WWBWWBWBBWWBBWBBWBWBWWBB BBWBBWBWWBWWBBWWBWBWBWBW WBBWBWWBWWBBWBBWWBWWBBWB BWBWWBBWBBWBBWWBWBWBWBWW WBWBBWBWWBBWWBBWBWBBWWBW BWWBWBWBBWBWBBWBWWBWBW...
output:
1
result:
ok single line: '1'
Test #12:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
24 WBWWBWBBWBWBWBBWWBBWWBBW BWWBBWWBWWBWBBWBBWWBWBWB WWBBWBBWBBWBBWBWWBWWBWBW WBBWWBBWBWBBWBWBWWBBWWBW BBWWBWWBWWBWBWBWBBWWBBWB BWBBWWBWWBWBBWWBWBBWBWBW WBWBWBWBBWBWWBWWBWBBWBWB WBBWBWBWBWWBWWBBWBWWBWBB BWBWBBWBWBWWBWBWBWBBWWBW BWWBWBBWWBBWWBWBBWBWBBWW WBBWBWBWBWBBWWBWWBWBBWWB BBWWBWWBWBWWBBWBWBWBWB...
output:
1
result:
ok single line: '1'
Test #13:
score: 0
Accepted
time: 0ms
memory: 3656kb
input:
24 WBWWBWBWBWBBWWBBWBBWBBWW BWBBWBBWWBBWWBWWBWWBWWBB WWBBWBWBWBWWBWBWWBBWBBWB BBWWBWBWBWWBBWWBBWWBWBBW BWWBWWBBWBBWWBBWWBWBWWBB WBBWWBWBBWWBWWBBWBBWBBWW WBBWBWBWWBWWBBWBBWWBWWBB BWWBWBWBBWBWBWBWWBBWBWWB WBBWBWBWBBWBWBWBBWWBWBWW BWBWWBWBWBBWBBWWBWBBWWBW WBWBBWBWBWWBBWBBWBWWBWWB BWWBWBWWBBWBWWBWBWBBWB...
output:
1
result:
ok single line: '1'
Test #14:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
24 WBBWWBBWWBWWBWBBWWBWBWBB BWWBWBWBBWBBWWBBWWBBWWBW WBBWBWWBWBBWBBWWBBWWBBWW BWWBWBBWWBWBWWBBWBBWWBWB WBBWWBBWBWBWBWBWBWBBWWBW WBWBBWWBWWBBWBWBWBWBBWWB BWBBWWBBWBWBWBWWBBWWBBWW BWBWBBWWBWBWBWBWBWBBWWBW WBWWBWBBWBWBWBWBWBBWWBWB BBWBWWBWBWBWWBBWWBWWBWBB WWBBWBWBBWWBBWWBBWWBWBBW WBBWBWWBWBWWBBWBBWBWBW...
output:
1
result:
ok single line: '1'
Test #15:
score: 0
Accepted
time: 0ms
memory: 3568kb
input:
24 WBWBWBBWBBWWBBWBWBWWBWWB BWBWBWWBBWBBWWBWBWBBWWBW WBBWWBBWWBWBBWWBWBWWBBWB BBWBBWWBWWBWWBBWBWBBWBWW WWBWWBBWBBWBWBWBWBWWBWBB BBWBWWBWWBBWBWWBBWWBWBBW WBBWBBWBWWBBWBBWBWBWWBWW BWBBWBWWBWWBBWWBWBWWBWBB WBWWBWBWWBBWWBBWBBWBWBBW BWBWBWWBBWBWBBWBWWBBWBWW WBWBWBBWBWWBBWBWWBBWBWWB BWWBBWWBWBBWWBBWBBWWBW...
output:
1
result:
ok single line: '1'
Test #16:
score: 0
Accepted
time: 0ms
memory: 3708kb
input:
24 WBWBWBBWBBWWBBWBWBWWBWWB BWBWBWWBBWBBWWBWBWBBWWBW WBBWWBBWWBWBBWWBWBWWBBWB BBWBBWWBWWBWWBBWBWBBWBWW WWBWWBBWBBWBWBWBWBWWBWBB BBWBWWBWWBBWBWWBBWWBWBBW WBBWBBWBWWBBWBBWBWBWWBWW BWBBWBWWBWWBBWWBWBWWBWBB WBWWBWBWWBBWWBBWBBWBWBBW BWBWBWWBBWWBBBWBWWBBWBWW WBWBWBBWBWWBBWBWWBBWBWWB BWWBBWWBWBBWWBBWBBWWBW...
output:
0
result:
ok single line: '0'
Test #17:
score: 0
Accepted
time: 0ms
memory: 3628kb
input:
24 WBWBWBBWBBWWBBWBWBWWBWWB BWBWBWWBBWBBWWBWBWBBWWBW WBBWWBBWWBWBBWWBWBWWBBWB BBWBBWWBWWBWWBBWBWBBWBWW WWBWWBBWBBWBWBWBWBWWBWBB BBWBWWBWWBBWBWWBBWWBWBBW WBBWBBWBWWBBWBBWBWBWWBWW BWBBWBWWBWWBBWWBWBWWBWBB WBWWBWBWWBBWWBBWBBWBWBBW BWBWBWWBBWBWBBWBWWBBWBWW WBWBBWBWBWWBBWBWWBBWBWWB BWWBBWWBWBBWWBBWBBWWBW...
output:
0
result:
ok single line: '0'
Test #18:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
24 WBWBWBBWBBWWBBWBWBWWBWWB BWBWBWWBBWBBWWBWBWBBWWBW WBBWWBBWWBWBBWWBWBWWBBWB BBWBBWWBWWBWWBBWBWBBWBWW WWBWWBBWBBWBWBWBWBWWBWBB BBWBWWBWWBBWBWWBBWWBWBBW WBBWBBWBWWBBWBBWBWBWWBWW BWBBWBWWBWWBBWWBWBWWBWBB WBWWBWBWWBBWWBBWBBWBWBBW BWBWBWWBBWBWBBWBWWBBWBWW WBWBWBBWBWWBBWBWWBBWBWWB BWWBBWWBWBBWWBBWBBWWBW...
output:
0
result:
ok single line: '0'