2017年10月19日

摘要: #include using namespace std; int main(){ int y; cout>y; if(y%4==0){ if(100%y==0){ if(y%400==0){ cout<<"zhe shi run nian"; ... 阅读全文
posted @ 2017-10-19 15:48 三叶癌 阅读(91) 评论(0) 推荐(0)
摘要: #include #include #include using namespace std; int main(){ int a,b,c,s; cout>a>>b>>c; if(a+b>c&&a+c>b&&b+c>a){ s=(a+b+c)/2; cout<<s<<endl; }else{ cout<<"it is no... 阅读全文
posted @ 2017-10-19 14:56 三叶癌 阅读(102) 评论(0) 推荐(0)
摘要: #include #include using namespace std; int main(){ double a=147.369,b=3.46168,c=-4572.67; cout<<setiosflags(ios::fixed)<<setiosflags(ios::right)<<setprecision(3); cout<<setw(10)... 阅读全文
posted @ 2017-10-19 14:32 三叶癌 阅读(81) 评论(0) 推荐(0)

导航