会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
BorisDimitri
The blog of BorisDimitri
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
下一页
2020年2月18日
【洛谷】P1120 小木棍 [数据加强版](题解)
摘要: P1120 小木棍 [数据加强版]题解:#include #include #include int n, cnt, tot, maxn, minn, tm[70];void dfs(int res,int su...
阅读全文
posted @ 2020-02-18 17:41 BorisDimitri
阅读(39)
评论(0)
推荐(0)
2020年2月16日
【codeforces】CF11A Increasing Sequence (题解)
摘要: CF11A Increasing Sequence入门题,就不解释了题解:算法复杂度为O(n)#include #include using namespace std;int a[2001];int main(...
阅读全文
posted @ 2020-02-16 18:01 BorisDimitri
阅读(56)
评论(0)
推荐(0)
【Codeforces】CF1B Spreadsheets (题解)
摘要: CF1B Spreadsheets题解:#include using namespace std;char x[1000010];int main() { int n,i,j,k; cin>>n; for(i=1...
阅读全文
posted @ 2020-02-16 13:54 BorisDimitri
阅读(36)
评论(0)
推荐(0)
【Codeforces】CF25A IQ test
摘要: CF25A IQ test题解:#include using namespace std;int a[101];int main(int argc, char **argv){ int n; cin>...
阅读全文
posted @ 2020-02-16 13:51 BorisDimitri
阅读(593)
评论(0)
推荐(0)
【Codeforces】CF25A IQ test (题解)
摘要: 题目链接由于此题过于水,所以就不解释了直接上题解 题解: #include using namespace std;int a[101];int main(int argc, char **argv){ i...
阅读全文
posted @ 2020-02-16 13:48 BorisDimitri
阅读(155)
评论(0)
推荐(0)
2020年2月15日
【codeforces】CF11B Jumping Jack (题解)
摘要: 大水题让我们介绍一下STL库中的绝对值函数-...
阅读全文
posted @ 2020-02-15 18:10 BorisDimitri
阅读(88)
评论(0)
推荐(0)
【codeforces】CF9C Hexadecimal's Numbers (题解)
摘要: CF9C Hexadecimal's Numbersせむすけヌ题解:#include#includeusing namespace std;int a[100],ans,n;int pow_(int a,int ...
阅读全文
posted @ 2020-02-15 17:21 BorisDimitri
阅读(15)
评论(0)
推荐(0)
2020年2月14日
【洛谷】P2404 自然数的拆分问题 (题解)
摘要: P2404 自然数的拆分问题题解:#include using namespace std;int n,sum;int a[15]={1};void print(int t){ for(int i=1;i>n; ...
阅读全文
posted @ 2020-02-14 16:20 BorisDimitri
阅读(86)
评论(0)
推荐(0)
【洛谷】P1118 [USACO06FEB]数字三角形`Backward Digit Su (题解)
摘要: P1118 [USACO06FEB]数字三角形`Backward Digit Su`…第一次看到这个题的感受 :题解:#include using namespace std;int n,sum;int ha[1...
阅读全文
posted @ 2020-02-14 15:07 BorisDimitri
阅读(54)
评论(0)
推荐(0)
【洛谷】P1023 税收与补贴问题 (题解)
摘要: P1023 税收与补贴问题题解:#include#include#includeusing namespace std;int s, a, b, d, n = 0;int a1, a2, a3, b1, b2, ...
阅读全文
posted @ 2020-02-14 14:55 BorisDimitri
阅读(48)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
下一页
公告