fork download
  1. #include<stdio.h>
  2. main()
  3. {
  4. int i,j;
  5. scanf("%d%d",&i,&j);
  6. int temp=i;
  7. i=j;
  8. j=temp;
  9. printf("%d\n%d\n",i,j);
  10. scanf("%d%d",&i,&j);
  11. printf("%d\n%d\n",i,j);
  12. }
Success #stdin #stdout 0.01s 5288KB
stdin
5 35 4 56
stdout
35
5
4
56