ARIF_30's blog

By ARIF_30, history, 13 months ago, In English

"Are the conditions 'if(sum%2)' and 'if(sum%2==1)' the same? If not, could you please clarify the matter? If they are the same, I have two submissions, one is accepted (AC) and the other is rejected (WA), but the only difference between them is the use of the two aforementioned conditions. I would be grateful if someone could help me with this." https://codeforces.com/contest/1807/submission/199213689 (Accepted). https://codeforces.com/contest/1807/submission/199213510 (Wrong Answer).

Full text and comments »

  • Vote: I like it
  • +1
  • Vote: I do not like it