fork download
  1. #include <stdio.h>
  2. int main()
  3. {
  4. int u,a,b,i;char j;
  5. scanf("%d",&u);
  6.  
  7. for (i=0;i<u;i++)
  8. {
  9. scanf("\n%c %d %d",&j, &a, &b);
  10. printf("%c %d %d\n",j,a,b);
  11. }
  12. }
Success #stdin #stdout 0s 3144KB
stdin
4
a          1                                       2
b 3 4
c 2 3
d 9 10
stdout
a 1 2
b 3 4
c 2 3
d 9 10