摘要:
#include using namespace std; template T max(T x ,T y,T z){ if(z>x) x=z; if(y>x) x=y; return x; } int main(){ int a,b,c,m; cin>>a>>b>>c; m=max(a,b,c); cout>ac>>bc... 阅读全文
摘要:
#include using namespace std; int m(int x,int y,int z); short m(short q,short w,short e); double m(double a,double s,double d); int main(){ int a,b,c,min; cin>>a>>b>>c; min=m(a,b,c); ... 阅读全文