int max(int a,int b)//这里有返回值类型int { return (a>b?a:b); } int max(int a,int b)//这里有返回值类型int { if (a>b)return 1; else return 0; }