fork download
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5. int i;
  6. for(i=2;i<=1000;i++){
  7. if((i%3==1)&&(i%5==2)){
  8. printf("%d ",i);
  9. }
  10. }
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
7     22     37     52     67     82     97     112     127     142     157     172     187     202     217     232     247     262     277     292     307     322     337     352     367     382     397     412     427     442     457     472     487     502     517     532     547     562     577     592     607     622     637     652     667     682     697     712     727     742     757     772     787     802     817     832     847     862     877     892     907     922     937     952     967     982     997