Today I gave this competition and came upon this problem http://mirror.codeforces.com/contest/276/problem/B I have seen most of the coders used the same logic FOR(i,300) if (1 & cnt[i]) ++odd; if (odd == 0 || (1 & odd)) printf("First"); else printf("Second");
can any one of you explain to me this... thank you so much ..









read how to solve problem B here
Thank you so much friend :)
what does the statment (1&odd) implies here?
1&x is 1 if and only if x is odd, otherwise it is zero.