解题报告
没什么好说的,大于m的往后面放,,,re了一次,,,
#include
#include
#include
#include
using namespace std;
struct node
{
int x,cd;
}num[1000000];
int main()
{
int n,m,c;
cin>>n>>m;
int i;
for...
分类:
其他好文 时间:
2014-07-22 22:49:16
阅读次数:
247
There are n children in Jzzhu's school. Jzzhu is going to give some candies to them. Let's number all the children from 1 to n.
The i-th child wants to get at least ai candies.
Jzzhu asks childre...
分类:
其他好文 时间:
2014-07-22 22:49:13
阅读次数:
237
A - Jzzhu and Children找到最大的ceil(ai/m)即可#include #include using namespace std;int main(){ int n,m; cin >> n >> m; double a, maxv = 0; int m...
分类:
其他好文 时间:
2014-07-21 09:39:57
阅读次数:
327
There areNchildren standing in a line. Each child is assigned a rating value.You are giving candies to these children subjected to the following requi...
分类:
其他好文 时间:
2014-07-20 23:13:23
阅读次数:
329
题目:
A Jzzhu and Children ------ CodeForces 450A
B Jzzhu and Sequences ------ CodeForces 450B
C Jzzhu and Chocolate ------ CodeForces 449A
D Jzzhu and Cities ...
分类:
其他好文 时间:
2014-07-20 22:36:33
阅读次数:
307
Codeforces Round #257 (Div. 2) A. Jzzhu and Children(简单题)...
分类:
其他好文 时间:
2014-07-20 15:23:51
阅读次数:
206
题目如下:
The Sultan's Successors
The Sultan of Nubia has no children, so she has decided that thecountry will be split into up to
k separate parts on her death andeach part wi...
分类:
其他好文 时间:
2014-07-18 22:00:59
阅读次数:
310
一 Words and phrazes1 taboo禁忌n ,禁止v e.g. In the main主要,基本上,children are taboo in the workplace.2 unpolite 无礼的3 erosion 侵蚀n e.g. This leaves fertile soi...
分类:
其他好文 时间:
2014-07-18 15:35:54
阅读次数:
317
Redis中used_cpu_sys和used_cpu_user含义。在Redis的info命令输出结果中有如下四个指标,redis官网给出了下面一段解释,但是还是不明白什么意思。used_cpu_sys:SystemCPUconsumedbytheRedisserverused_cpu_user:UserCPUconsumedbytheRedisserverused_cpu_sys_children:SystemCP..
分类:
其他好文 时间:
2014-07-18 13:07:01
阅读次数:
166
Children of the Candy Corn
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 9311
Accepted: 4039
Description
The cornfield maze is a popular Hallowee...
分类:
其他好文 时间:
2014-07-17 21:09:46
阅读次数:
319