会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
三叶癌
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)
10.19 2
摘要: #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)
10.17 1
摘要: #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)
导航
博客园
首页
新随笔
联系
订阅
管理
公告