fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int x;
  5. scanf("%d",&x) ;
  6. printf("%d\n", x%2);
  7. return 0;
  8. }
Success #stdin #stdout 0s 5284KB
stdin
12
stdout
0