fork download
  1. #include<stdio.h>
  2.  
  3. int main()
  4. {
  5. int a,count;
  6. scanf("%d",&a);
  7.  
  8. count=0;
  9. {
  10. if(a%3==0)
  11. count++;
  12.  
  13. if(a%7==0)
  14. count++;
  15.  
  16. if(a%13==0)
  17. count++;
  18.  
  19. if(a%19==0)
  20. count++;
  21. }
  22. {
  23. if(count==2)
  24. printf("1");
  25.  
  26. else
  27. printf("0");
  28. }
  29.  
  30. }
  31.  
Success #stdin #stdout 0.01s 5324KB
stdin
273
stdout
Standard output is empty