摘要: 答案:int max(int a,int b){return (a+b+abs(a-b))/2;}类似的 请定义一个宏,比较两个数a、b的大小,不能使用大于、小于、if语句答案:#define MAX(a,b) (( (a)+(b)+fabs( (a)-(b) ) )/2 阅读全文
posted @ 2015-01-27 15:55 kira2will 阅读(214) 评论(0) 推荐(0) 编辑