fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int x,count;
  5. scanf("%d",&x);
  6.  
  7. if(x%3==0)
  8. count++;
  9. if(x%7==0)
  10. count++;
  11. if(x%13==0)
  12. count++;
  13. if(x%19==0)
  14. count++;
  15. if(count==2)
  16. printf("1");
  17.  
  18. else
  19. printf("0");
  20. return 0;
  21. }
  22.  
Success #stdin #stdout 0s 5256KB
stdin
273
stdout
Standard output is empty