fork(2) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int x,y,min;
  6. scanf("%d%d",&x,&y);
  7. if(x<y)
  8. min=x;
  9. else
  10. min=y;
  11. printf("min=%d\n",min);
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
min=32765