会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
博学善思
一起成长
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
28
29
30
31
32
33
34
35
36
···
49
下一页
2018年12月15日
差分数组原理及应用
摘要: 一、差分数组的定义及用途1.定义:对于已知有n个元素的离线数列d,我们可以建立记录它每项与前一项差值的差分数组f:显然,f[1]=d[1]-0=d[1];对于整数i∈[2,n],我们让f[i]=d[i]-d[i-1]。2.简单性质:(1)计算数列各项的值:观察d[2]...
阅读全文
posted @ 2018-12-15 10:35 black_hole6
阅读(251)
评论(0)
推荐(0)
2018年12月14日
little w and Sum(思维)
摘要: 链接:https://ac.nowcoder.com/acm/contest/297/B来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 262144K,其他语言524288K64bit IO Format: %lld题目描述小w与tokit...
阅读全文
posted @ 2018-12-14 21:04 black_hole6
阅读(212)
评论(0)
推荐(0)
little w and Sum(思维)
摘要: 链接:https://ac.nowcoder.com/acm/contest/297/B来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 262144K,其他语言524288K64bit IO Format: %lld题目描述小w与tokit...
阅读全文
posted @ 2018-12-14 21:04 black_hole6
阅读(234)
评论(0)
推荐(0)
little w and Soda(思维题)
摘要: 链接:https://ac.nowcoder.com/acm/contest/297/A来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 262144K,其他语言524288K64bit IO Format: %lld题目描述 不知道你听没听...
阅读全文
posted @ 2018-12-14 21:01 black_hole6
阅读(264)
评论(0)
推荐(0)
little w and Soda(思维题)
摘要: 链接:https://ac.nowcoder.com/acm/contest/297/A来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒空间限制:C/C++ 262144K,其他语言524288K64bit IO Format: %lld题目描述 不知道你听没听...
阅读全文
posted @ 2018-12-14 21:01 black_hole6
阅读(214)
评论(0)
推荐(0)
Polycarp's Pockets(思维)
摘要: Polycarp has nn coins, the value of the ii-th coin is aiai. Polycarp wants to distribute all the coins between his pockets, but he can...
阅读全文
posted @ 2018-12-14 18:02 black_hole6
阅读(139)
评论(0)
推荐(0)
Polycarp's Pockets(思维)
摘要: Polycarp has nn coins, the value of the ii-th coin is aiai. Polycarp wants to distribute all the coins between his pockets, but he can...
阅读全文
posted @ 2018-12-14 18:02 black_hole6
阅读(277)
评论(0)
推荐(0)
Duff and Meat(贪心)
摘要: Duff is addicted to meat! Malek wants to keep her happy for n days. In order to be happy in i-th day, she needs to eat exactly ai kilo...
阅读全文
posted @ 2018-12-14 11:13 black_hole6
阅读(219)
评论(0)
推荐(0)
Duff and Meat(贪心)
摘要: Duff is addicted to meat! Malek wants to keep her happy for n days. In order to be happy in i-th day, she needs to eat exactly ai kilo...
阅读全文
posted @ 2018-12-14 11:13 black_hole6
阅读(153)
评论(0)
推荐(0)
Eugeny and Array(水题,注意题目描述即可)
摘要: Eugeny has array a = a1, a2, ..., an, consisting of n integers. Each integer ai equals to -1, or to 1. Also, he has m queries:Query nu...
阅读全文
posted @ 2018-12-14 10:49 black_hole6
阅读(230)
评论(0)
推荐(0)
上一页
1
···
28
29
30
31
32
33
34
35
36
···
49
下一页
公告
文本样式
一个小白的WECHAT
点击图片发起QQ会话
友情链接——互换友链请联系博主
队友聚聚博客链接
队友聚聚博客链接
深度学习大佬
昵称:
black_hole6
园龄:
6年11个月
粉丝:
28
关注:
24
<
2025年7月
>
日
一
二
三
四
五
六
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
7
8
9
欢迎阅读
『black_hole6』
❄
点击右上角即可分享
❄