fork download
  1. #include<stdio.h>
  2.  
  3. int main(){
  4. int i;
  5. for(i=7; i<=1000; i+=7){
  6. if((i%27==1) || (i%31==3)) {
  7. printf("%d \n", i);
  8. }
  9. }
  10. return 0;
  11. }
Success #stdin #stdout 0s 5312KB
stdin
Standard input is empty
stdout
28 
189 
217 
406 
595 
623 
784 
840 
973