fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int i,j,k;
  5. for(i = 0;i <= 2;i ++){
  6. for(j = 0;j <= 3;j ++){
  7. for(k = 0;k <= 1;k ++){
  8. printf("%d %d %d\n",k,i,j);
  9. }
  10. }
  11. }
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0s 5312KB
stdin
Standard input is empty
stdout
0 0 0
1 0 0
0 0 1
1 0 1
0 0 2
1 0 2
0 0 3
1 0 3
0 1 0
1 1 0
0 1 1
1 1 1
0 1 2
1 1 2
0 1 3
1 1 3
0 2 0
1 2 0
0 2 1
1 2 1
0 2 2
1 2 2
0 2 3
1 2 3