Need Clarification ,

Правка en1, от 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://codeforces.net/contest/1807/submission/199213689 (Accepted). https://codeforces.net/contest/1807/submission/199213510 (Wrong Answer).

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский ARIF_30 2023-03-26 12:53:13 4
en1 Английский ARIF_30 2023-03-26 12:52:19 516 Initial revision (published)