Need Clarification ,

Revision en1, by ARIF_30, 2023-03-26 12:52:19

"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://mirror.codeforces.com/contest/1807/submission/199213689 (Accepted). https://mirror.codeforces.com/contest/1807/submission/199213510 (Wrong Answer).

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English ARIF_30 2023-03-26 12:53:13 4
en1 English ARIF_30 2023-03-26 12:52:19 516 Initial revision (published)