fork(1) download
  1. main(w,y,b,q){scanf("%d %d",&w,&y);for(b=0;b<w;b++){for(q=0;q<y;q++)printf("d f%d/du u%d%s",b,q,q<y-1?", ":"");printf("\n");}}
Success #stdin #stdout 0s 2116KB
stdin
3 3
stdout
d f0/du u0, d f0/du u1, d f0/du u2
d f1/du u0, d f1/du u1, d f1/du u2
d f2/du u0, d f2/du u1, d f2/du u2