ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1122. Game

WA#7
Posted by Eazy jobb 4 Oct 2011 12:04
Re: WA#7
Posted by Eazy jobb 4 Oct 2011 12:05
who can help me????
try this test
Posted by BaJIuK 17 Nov 2011 19:28
BWBB
WBWB
WWBB
BWWB
000
010
000

right answer is 7

my mistake was in using final mask=2^16, but it's wrong. Right mask is 0 and 2^16-1
Re: WA#7
Posted by IgorKoval(from Pskov) 5 Feb 2012 23:58
I think that in test 1 to 6 'matrix of move' is symmetric.

I get AC after my test:
BBBB
BBWB
BWBB
BWWB
001
010
011

It's obviously that correct answer is 1. We must make move in cell which is in '()'.
B B BB
B B WB
B(W)BB
B W WB
and get
BBBB
BBBB
BBBB
BBBB

Edited by author 05.02.2012 23:59