SOLUTION OF URI 1866 URI SOLUTIONS // Solution of 1866 Bill // (Mahmud_Jamil) BRUR #include <stdio.h> int main() { int a,b,c; scanf("%d", &a); for(b=1; b<=a; b++) { scanf("%d", &c); if(c%2==0) printf("0\n"); else printf("1\n"); } return 0; } Share This: Facebook Twitter Google+ Stumble Digg Email ThisBlogThis!Share to XShare to Facebook