fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int i,k=0;
  5. for(i=1;i<=5;i++)
  6. {
  7. switch(k%3)
  8. {
  9. case1:k=k+7;
  10. break;
  11. case2:k=k+2;
  12. break;
  13. defauit:k=k+1;
  14. }
  15.  
  16. }
  17. // your code goes here
  18. return 0;
  19. }
  20.  
Success #stdin #stdout 0.01s 5376KB
stdin
Standard input is empty
stdout
Standard output is empty