|
|
back to boardFirst, I tried to solve this problem in a really algebraic way, so i added a line with "if(Y>M) Y%=M;". And this was wrong way. After it, I had three or even more wrong answers becouse i hadn't one pair of brackets;-) Sometimes stupid mistakes... Even if you understand mathematics;-) Now i've got AC 0.078 230 KB |
|
|