|
|
back to boardMy program got "WA",please help me. [code deleted] Edited by moderator 06.12.2019 21:39 Re: My program got "WA",please help me. I have got AC! Re: My program got "WA",please help me. You should change "if (a-sqr(i+1)+sqr(i)<0)and(b-sqr(j+1)+sqr(j)<0) then break;" into "if (a-sqr(i+1)+sqr(i)<=0)and(b-sqr(j+1)+sqr(j)<=0) then break;",and your program will gets AC.
|
|
|