会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Tong|Chen
博客园
首页
新随笔
联系
订阅
管理
2019年12月10日
R28288668
摘要: 1.n%a!=0才是整除 2.d=10000 d=1e9 d初始值不能太小
阅读全文
posted @ 2019-12-10 12:35 Tong|Chen
阅读(69)
评论(0)
推荐(0)
编辑
R28286828
摘要: 1.break; cout;return 0; 2.b+=((c+300-a)/100)*100; c=(c+300-a)%100; %取余 /取整
阅读全文
posted @ 2019-12-10 10:52 Tong|Chen
阅读(70)
评论(0)
推荐(0)
编辑
2019年12月9日
R28269071
摘要: 快排只能用结构体,多一维原下标,再stable sort。
阅读全文
posted @ 2019-12-09 20:28 Tong|Chen
阅读(78)
评论(0)
推荐(0)
编辑
2019年12月2日
c++保留小数后几位
摘要: 头文件#include<iomanip> 1.需要补零 cout.setf(ios::fixed); cout<<fixed<<setprecision(需要精确到小数点后几位)<<ans<<endl; 2.不需补零 (1)末尾零被省略 cout<<setprecision(需要精确到小数点后几位)
阅读全文
posted @ 2019-12-02 21:08 Tong|Chen
阅读(4510)
评论(0)
推荐(0)
编辑
2019年11月2日
oj T1
摘要: Theatre Square Description: Theatre Square in the capital city of Berland has a rectangular shape with the size n × m meters. On the occasion of the c
阅读全文
posted @ 2019-11-02 02:16 Tong|Chen
阅读(131)
评论(0)
推荐(0)
编辑
公告