![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
1.17集训
weixin_44003969
这个作者很懒,什么都没留下…
展开
-
1.17 A
A - 1Time limit 2000 msMemory limit 262144 kBProblem DescriptionDuring the break the schoolchildren, boys and girls, formed a queue of n people in the canteen. Initially the children stood in the ...原创 2019-01-18 10:41:52 · 119 阅读 · 0 评论 -
1.17 B
B - 2 Time limit 2000 msMemory limit 262144 kBProblem DescriptionA guy named Vasya attends the final grade of a high school. One day Vasya decided to watch a match of his favorite hockey team. And...原创 2019-01-18 11:39:05 · 97 阅读 · 0 评论 -
1.17 C
C - 3Time limit 2000 msMemory limit 262144 kBProblem DescriptionIt seems like the year of 2013 came only yesterday. Do you know a curious fact? The year of 2013 is the first year after the old 198...原创 2019-01-19 12:42:15 · 224 阅读 · 1 评论 -
1.17 D
D - 4 Time limit 1000 msMemory limit 262144 kBProblem DescriptionThe end of the school year is near and Ms. Manana, the teacher, will soon have to say goodbye to a yet another class. She decided t...原创 2019-01-19 18:06:01 · 137 阅读 · 0 评论 -
1.17 E
E - 5 Time limit 1000 msMemory limit 32768 kBProblem Description现有一笔经费可以报销一定额度的发票。允许报销的发票类型包括买图书(A类)、文具(B类)、差旅(C类),要求每张发票的总额不得超过1000元,每张发票上,单项物品的价值不得超过600元。现请你编写程序,在给出的一堆发票中找出可以报销的、不超过给定额度的最大报销额。...原创 2019-01-25 14:14:26 · 154 阅读 · 0 评论 -
1.17 F
F - 6Time limit 1000 msMemory limit 32768 kBProblem Description给定K个整数的序列{ N1, N2, …, NK },其任意连续子序列可表示为{ Ni, Ni+1, …,Nj },其中 1 <= i <= j <= K。最大连续子序列是所有连续子序列中元素和最大的一个,例如给定序列{ -2, 11, -4,...原创 2019-01-31 20:12:28 · 205 阅读 · 0 评论 -
1.17 G
G - 7Time limit 1000 msMemory limit 32768 kBProblem DescriptionGiven a sequence a[1],a[2],a[3]…a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the m...原创 2019-02-03 13:25:47 · 107 阅读 · 0 评论 -
1.17 H
H - 8 Time limit 1000 msMemory limit 10000 kBProblem Description在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解对于给定形状和大小的棋盘,摆放k个棋子的所有可行的摆放方案C。Input输入含有多组测试数据。每组数据的第一行是两个正整...原创 2019-02-08 19:24:27 · 148 阅读 · 0 评论