fork(1) download
  1. #include <stdio.h>
  2. int main(void)
  3. {
  4. int a,b;
  5. scanf("%d",&a);
  6. scanf("%d",&b);
  7. if(a>b) printf("a=%d,b=%d\n",a,b);
  8. else printf("b=%d,a=%d\n",b,a);
  9. }
Success #stdin #stdout 0.01s 5304KB
stdin
3
1
stdout
a=3,b=1