fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int a=0,b=0;
  6. printf("请输入两个整数:");
  7. scanf("%d%d",&a,&b);
  8. if(a<b)
  9. printf("%d",a);
  10. else
  11. printf("%d",b);
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0.01s 5324KB
stdin
182 263
stdout
请输入两个整数:182