
C++编程学习题解归纳
sprinting_victor
Don't worry too much about the ambiguous future; just make the effort for the explicit present.
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
hdu1166题解
原题请进入hdu网站搜索,题号为1166原题思路为线段树,利用其动态统计特点程序如下#include;#include;using namespace std;int a[50000],b[140000],n,i,j;char c[15];void intial(int root,int left,int right){ int mid; if (left原创 2017-05-08 21:32:34 · 381 阅读 · 0 评论 -
bzoj1008题解
bzoj1008越狱=总-不越狱 n个监狱,每个监狱有m种可能性(m种宗教) 总:有n^m种可能性不越狱的话第一个监狱有m种选择,后面n个监狱,每个都有m-1种选择不越狱:有m*((m-1)^n)此外,需要写快速幂注mod前有减法再加一个mod ...原创 2018-04-02 21:25:22 · 280 阅读 · 0 评论