摘要: 1 //输入 2 template<class T> 3 inline void read(T&x) 4 { 5 T ans=0,f=1; 6 char ch=getchar(); 7 while(ch>'9'||ch<'0') 8 { 9 if(ch=='-') 10 f=-1; 11 ch=getchar(); 12 } 13 while(ch<='9'&&ch>='0') 14 { 15 a 阅读全文
posted @ 2019-08-26 09:55 SpringYEP 阅读(208) 评论(0) 推荐(0) 编辑