- 博客(3)
- 收藏
- 关注
原创 水果(STL里的map,map尝鲜)
原题水果地址https://cn.vjudge.net/problem/34603/origin 夏天来了,好开心啊,好多好多水果~~ Joe经营着一个不大的水果店.他认为生存之道就是经营最受顾客欢迎的水果.现在他想要一份水果销售情况的明细表,这样Joe就可以很容易掌握所有水果的销售情况了. Input 第一行正整数N(0<N<=10)表示有N组测试数据. 每组测试数据的第一行是一个整...
2019-02-21 00:03:54 245
原创 A Short problem ( 矩阵快速幂&&循环节)
According to a research, VIM users tend to have shorter fingers, compared with Emacs users. Hence they prefer problems short, too. Here is a short one: Given n (1 <= n <= 10^18), You should so...
2019-02-18 19:45:45 146
原创 线段树区间修改(lazy数组)
先贴个old hand的博客 https://blog.csdn.net/u012469987/article/details/41357377 讲的很详细,主要看里面的lazy。 贴个题 A Simple Problem with Integers You have N integers, A1, A2, … , AN. You need to deal with two kinds of op...
2019-02-17 19:41:02 513
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人