摘要: 大部分时候我们习惯于使用一个中间变量来实现两个变量的交换 例如: #include<stdio.h> int main( ){ int a,b,t; //please input number: scanf("%d,%d",&a,&b); if(a<b){ t=a;a=b;b=t;} printf( 阅读全文
posted @ 2019-03-13 00:32 guanzhibin 阅读(388) 评论(1) 推荐(0) 编辑