Processing math: 100%

05 2020 档案

摘要:莫队+套路值域分块。 #include<bits/stdc++.h> using namespace std; const int maxn=1e6+10; const int len=305; int n,m,a[maxn],cnt[maxn],sum[maxn],ans[maxn]; int l 阅读全文
posted @ 2020-05-28 21:21 syzf2222 阅读(103) 评论(0) 推荐(0) 编辑
摘要:将一个长方体转换为六个长方体。 将这6n个长方体排序 代码如下: 阅读全文
posted @ 2020-05-24 16:22 syzf2222 阅读(132) 评论(0) 推荐(0) 编辑
摘要:参照《算法竞赛入门经典(第二版)》,这上面写得很清楚。 核心代码如下: 倒推十分巧妙。 阅读全文
posted @ 2020-05-24 16:01 syzf2222 阅读(106) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示