|  | 
|  | 
| back to board | Help please Can somebody explain me this testinput
 -1 1 0
 1 -1 -1
 0 1 -1
 output
 0 0 1
 3 0 3
 1 0 0
Re: Help please Any body????Re: Help please If some captain tells the truth, then for each cell of his row:A[i,j]==-1 || A[i,j] == (bool)B[i][j]
 
 If some captain lies, then for each cell of his row:
 A[i,j]==-1 || A[i][j] != (bool)B[i][j]
 
 Matrix B must be such that every pair B[i][j], B[j][i] is one of three forms:
 1,1 0,3 3,0
 
 (bool)x = 0 if x=0, and 1 otherwise
Re: Help please So, for that test: 1st and 3rd captains lie. The 2nd tells the truth. This is not necessarily the only possible distribution of truths and lies. | 
 | 
|