2017年12月18日

摘要: inline 内联 阅读全文

posted @ 2017-12-18 15:59 dragonliu欧美 阅读(88) 评论(0) 推荐(0) 编辑

摘要: 1 #include 2 using namespace std; 3 int m(int x,int y,int z); 4 short m(short q,short w,short e); 5 double m(double a,double s,double d); 6 int main(){ 7 int a,b,c,min; 8 cin>>a>>b>... 阅读全文

posted @ 2017-12-18 15:56 dragonliu欧美 阅读(83) 评论(0) 推荐(0) 编辑

摘要: 1 #include 2 using namespace std; 3 template 4 T max(T x ,T y,T z){ 5 if(z>x) 6 x=z; 7 if(y>x) 8 x=y; 9 return x; 10 } 11 12 int main(){ 13 int a,b,c,m; 14 cin>>... 阅读全文

posted @ 2017-12-18 15:53 dragonliu欧美 阅读(92) 评论(0) 推荐(0) 编辑