Problem | superpiece |
---|---|
User | bribritt |
Submission Time | 2024-07-06 16:01:53 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
superpiece.cpp: In function ‘int main()’:
superpiece.cpp:31:39: error: ‘bishop’ was not declared in this scope; did you mean ‘bish’?
31 | else if(!((x^y)&1)||((piece&8)&&bishop(x,y-1))||((piece&4)&&(bishop(x+1,y+2)||bishop(x+2,y-1)||bishop(x-1,y-2)||bishop(x-2,y+1)))||((piece&2)&&(bishop(x,y+1)||bishop(x,y-1)))) cout<<"2\n";
| ^~~~~~
| bish