fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int n;
  5. scanf("%d",&n);
  6. if (n%4==0 && n%100!=0 || n%400==0) printf("Nam nhuan");
  7. else printf("Nam khong nhuan");
  8. return 0;
  9. }
  10.  
Success #stdin #stdout 0s 5316KB
stdin
2036
stdout
Nam nhuan