会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Canopus_wym
博客园
|
首页
|
新随笔
|
新文章
|
联系
|
订阅
|
管理
2017年12月19日
[Codeforces Round #452 (Div. 2)] Dividing the numbers
摘要: Petya has n integers: 1, 2, 3, ..., n. He wants to split these integers in two non-empty groups in such a way that the absolute d...
阅读全文
posted @ 2017-12-19 17:37 Canopus_wym
阅读(216)
评论(0)
推荐(0)
[Codeforces Round #452 (Div. 2)] Splitting in Teams
摘要: There were n groups of students which came to write a training contest. A group is either one person who can write the contest wi...
阅读全文
posted @ 2017-12-19 17:20 Canopus_wym
阅读(105)
评论(0)
推荐(0)
线段树lazy标记2
摘要: Description 给定一个正整数序列A,要求支持以下操作: 1):ADD a b c 表示在[a,b]上加上一个常数C。 2):COVER a b c 把[a,b]整体赋值为一个常数K。 3):QUERY a b 查询[a,b]的sum。Input 第...
阅读全文
posted @ 2017-12-19 16:23 Canopus_wym
阅读(164)
评论(0)
推荐(0)
公告