JZOJ 5184. 【NOIP2017提高组模拟6.29】Gift
5184. 【NOIP2017提高组模拟6.29】Gift (Standard IO)
Description
Input
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZ8AAAApCAIAAABlZLMfAAAZPElEQVR4Ae3cY5RkWbMG4K/Htm3btm3b9tyxbdu2bdu2fcf2zPdMx1pxzz2ZVZVV3f1jsnf+qLVzn43YEW+8EbFPdvf6+++//1M+RQNFA0UDbaeBAdruROVARQNFA0UD/2igsFvBQdFA0UB7aqCwW3vatZyqaKBooLBbwUDRQNFAe2qgsFt72rWcqmigaKCwW8FA0UDRQHtqoLBbe9q1nKpooGigsFvBQNFA0UB7aqCwW3vatZyqaKBooLBbwUDRQNFAe2qgsFt72rWcqmigaKCwW8FA0UDRQHtqoLBbe9q1nKpooGigsFvBQNFA0UB7aqCwW3vatZyqaKBooHvsdt11100yySQPPvhgKu77779fbrnltthii99++y07e9ywyJ577nnIIYf88ccfv/zyy+eff/6////z5Zdf9pWNUsKvvvpqhRVW2GGHHWyXnU0bP/30U4wk23HHHTfXXHN99tlnTUdG5zPPPDP77LNfcMEFf/31V0fD/vzzTydyxBdffHGOOea4+OKLtZ2aMCeffDLFfv3119W5lrrrrrtuuOGG9957b6GFFrrvvvseeuihSy+99Ndffz3hhBM22mijb775pjq+Z+1+Z2XnPeKIIxZccMF33nmnqWz6zzjjDKfeeuutDzzwwI8++oge6OSpp55aYoklqLTprL7Veckll0w77bTvvvtuRws2xWQVoazpjDkdVh1kkUUWAbPsdIopppjiqquuyp6eNVqB7uWXXw6EL7/8cm7REXRB65NPPjFy0kknpYcY//zzz88333wPP/xwTq81rrjiCjiExuy3wuKLL37vvfdmT63x3HPPLbzwwnAb/dDOrVi5qZtYf9ZZZ/3ggw9isDGBn08//bS2bNOvAzXtbdr5+uuv77777m+88cbcc88dA1ZZZZUZZ5zxpptu4vCnnHJKdM4888y33HLLiCOOyOWI9fvvvzddTWevXr1GG2204YYbLgYQnTFOOumk448/fqCBBjrzzDM333zz2txBBhnkoosuWmmllbLfLpdddtkXX3yx5pprjjrqqLkUqZh/1VVXHWywwXJwrQGISOHaa69l0W222Wa88carDah+9d98ovIff/yRnFD+3XffNbVHTKGr9ddfnyHB/aijjorOCSaYgBUdOZd94YUX6JCBLWVBuCets++7774o5sMPPzz22GNpaYABBqDzeeedV4P+Tz31VOt4+vbbb9MVEnSQBx54gKo7OWxu2nmju1aO1dCQCLfooov628n6MC10/fzzz08++eT444/fOFIIAd/hhx8eZXi6//77k4cRKUoAGHzwwRunVHvo4ZFHHrnjjjugf5hhhgHOxRZbbIghhjjggAOo65hjjkmwmUUYBEqYXIF7o9fVVlutqsYJJ5zw0EMPHXnkkQ3DvHCS4xsbI4wwAkMgr3iEws4++2yH4g56WBa5QOYrr7xSxTC3ctIBBxwwZt18881HH320TWeaaabGLaKnS+gi1m+//ZY8r776qh1HGmkkvjP00EN3BF3Y5kETTTQRr+FTdoFJjvzxxx+PMcYYTcUgwxNPPGFYalWb8Dgx1NU4ywA6wYZjjTWWp4Q8/PDDr7nmmlFGGUW7qvaYSxKnMCu+Mqt0QQg/6KCDQl3jjDPOxhtv7FyNe+lpld3YY+2116YgHnjllVeee+65p512Gk+Tau26666rr776hhtuOOSQQ3I8eozTPvvss+BOuKYbRyfnFNyijWW0YWvllVfWoyFu1P7rYO495phjVhcEHZvCNI4A1jgztsX67LrUUks1qiynX3/99ahn6aWXfvrpp/faay/rOEI+1QAF6ORg2ta0IIaKAbwFB4W/DTzwwDwwsSilkkaRBONzLeNBh1fzt0EHHTSmx99pppkGNaMGkNp7773XWmstkYoC2U+2Mv3009OhhlPzMVP4vEVkeaxgTcFjjTXWmHjiifnkSy+9hKOthg19JptsMr5tYnW7Lts9sHKsifSxT3p1040Iud1224lAo48++h577DHVVFNNPvnk1ZGg7IAiv6SYUyFrQV6wRDqPP/441VGshimcVspQs6wpuFVU4CpAbxYqYQJO++abb9qd/1S3G3bYYek/PDn6bcGsU045ZdVb+DbYxwAuQKQaJqtrQ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C8Hi5hgph0zzgAAAABJRU5ErkJggg==" alt=" " />
Output
Sample Input
input 1:
6 25
8 9 8 7 16 5
input 2:
30 250
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
Sample Output
output 1:
15
output 2:
6509431
Data Constraint
#include <cstdio>
#include <cstring>
#include <iostream>
#include <algorithm>
#define mo 10000007
#define LL long long
#define N 1007
using namespace std;
int n, m, a[N], Pre[N];
LL f[N][N], ans; int main()
{
scanf("%d%d", &n, &m);
for (int i = ; i <= n; scanf("%d", &a[i++]));
sort(a + , a + n + );
for (int i = ; i <= n; i++)
Pre[i] = Pre[i - ] + a[i];
if (Pre[n] <= m)
{
printf("");
return ;
}
f[n + ][m] = ;
for (int i = n; i; i--)
{
for (int j = Pre[i - ], k = min(m + , Pre[i - ] + a[i]); j < k; j++) ans = (ans + f[i + ][j]) % mo;
for (int j = m - a[i]; j >= ; j--)
f[i][j] = (f[i][j] + f[i + ][j] + f[i + ][j + a[i]]) % mo;
for (int j = m; j >= m - a[i] + ; j--)
f[i][j] = (f[i][j] + f[i + ][j]) % mo;
}
printf("%lld", ans);
}
JZOJ 5184. 【NOIP2017提高组模拟6.29】Gift的更多相关文章
- [jzoj 5178] [NOIP2017提高组模拟6.28] So many prefix? 解题报告(KMP+DP)
题目链接: https://jzoj.net/senior/#main/show/5178 题目: 题解: 我们定义$f[pos]$表示以位置pos为后缀的字符串对答案的贡献,答案就是$\sum_{i ...
- [jzoj 5177] [NOIP2017提高组模拟6.28] TRAVEL 解题报告 (二分)
题目链接: https://jzoj.net/senior/#main/show/5177 题目: 题解: 首先选出的泡泡怪一定是连续的一段 L,R 然后 L 一定属于虫洞左边界中的某一个 R 也同样 ...
- JZOJ 5196. 【NOIP2017提高组模拟7.3】B
5196. [NOIP2017提高组模拟7.3]B Time Limits: 1000 ms Memory Limits: 262144 KB Detailed Limits Goto Pro ...
- JZOJ 5197. 【NOIP2017提高组模拟7.3】C
5197. [NOIP2017提高组模拟7.3]C Time Limits: 1000 ms Memory Limits: 262144 KB Detailed Limits Goto Pro ...
- JZOJ 5195. 【NOIP2017提高组模拟7.3】A
5195. [NOIP2017提高组模拟7.3]A Time Limits: 1000 ms Memory Limits: 262144 KB Detailed Limits Goto Pro ...
- JZOJ 5185. 【NOIP2017提高组模拟6.30】tty's sequence
5185. [NOIP2017提高组模拟6.30]tty's sequence (Standard IO) Time Limits: 1000 ms Memory Limits: 262144 KB ...
- NOIP2017提高组 模拟赛15(总结)
NOIP2017提高组 模拟赛15(总结) 第一题 讨厌整除的小明 [题目描述] 小明作为一个数学迷,总会出于数字的一些性质喜欢上某个数字,然而当他喜欢数字k的时候,却十分讨厌那些能够整除k而比k小的 ...
- NOIP2017提高组 模拟赛13(总结)
NOIP2017提高组 模拟赛13(总结) 第一题 函数 [题目描述] [输入格式] 三个整数. 1≤t<10^9+7,2≤l≤r≤5*10^6 [输出格式] 一个整数. [输出样例] 2 2 ...
- NOIP2017提高组模拟赛 10 (总结)
NOIP2017提高组模拟赛 10 (总结) 第一题 机密信息 FJ有个很奇怪的习惯,他把他所有的机密信息都存放在一个叫机密盘的磁盘分区里,然而这个机密盘中却没有一个文件,那他是怎么存放信息呢?聪明的 ...
随机推荐
- Java BIO
目录 BIO 字节流 OutputStream InputStream 字符流 Reader Writer 转换流 InputStreamReader OutputStreamWriter BIO I ...
- 并发编程:synchronized 锁升级过程的验证
关于synchronized关键字以及偏向锁.轻量级锁.重量级锁的介绍广大网友已经给出了太多文章和例子,这里就不再重复了,也可点击链接来回顾一下.在这里来实战操作一把,验证JVM是怎么一步一步 ...
- 学习笔记:Web Storage API
Web Storage API 提供了存储机制,通过该机制,浏览器可以安全地存储键值对,比使用 cookie 更加直观. Web Storage 包含如下两种机制: sessionStorage 为每 ...
- 锁丶threading.local丶线程池丶生产者消费者模型
一丶锁 线程安全: 线程安全能够保证多个线程同时执行时程序依旧运行正确, 而且要保证对于共享的数据,可以由多个线程存取,但是同一时刻只能有一个线程进行存取. import threading v = ...
- Thread.sleep 与Thread.currentThread.sleep
参考博客: https://blog.csdn.net/guangyinglanshan/article/details/51645053 公司项目近段时间要使用thread, 个人想去了解Threa ...
- HTML5 参数传递
页面显示效果,如下图: 主页面代码: <!DOCTYPE html> <html> <head> <meta charset="UTF-8" ...
- 【Android开发笔记】底部菜单栏 FragmentTabHost
公司项目,需求本来是按照谷歌官方指南写的,菜单栏设计成在导航栏下方 结果呢,审评时,BOSS为了和iOS统一,改成了底部菜单栏(标准结局),我只能呵呵呵呵呵呵呵 查了查资料发现实现底部菜单栏用的是Fr ...
- npm常用指令小记
查看本地指定包在npm远程服务器的版本信息 方式一: npm view <packageName> versions 方式二: npm info <packageName> 查 ...
- 在MVC中加载view(点开链接)的方式
主要有: Html.ActionLink Html.RenderPartial Html.RenderAction Html.Partial AJAX.ActionLink load 浏览器对象模型 ...
- 【文件拷贝】使用Total Commander Portable拖动拷贝文件,支持队列
使用Total Commander Portable,可以批量拷贝多个位于相同或不同目录的文件(夹)到指定的相同或不同的目录.这样避免了同时复制多个大的文件造成的速度减慢:将所有任务手动操作之后,剩下 ...