- 博客(14)
- 资源 (10)
- 收藏
- 关注
原创 【审题!!!】因为一句话导致全军覆没 @华为-Heat2
笨笨熊搬家打包篇 描述: 森林里的笨笨熊今天可开心啦——他买了新房子,乔迁新喜要搬家了。因此,笨笨熊请了许多好朋友来帮忙搬家,并准备了很多小纸盒用来装需要搬的物品,不过,这些纸盒的容积都是相同的,并且最多只能装两个物品。但是,为了不打扰太多的朋友,笨笨熊想了个“聪明”办法:让每个纸盒使用效率最高(注:只要纸盒容积大于物品的体积之和就认为可以装下;物品体积不会大于纸盒容积),这样需要的纸盒最少。
2014-04-29 21:08:20 882
原创 【Map的使用】为什么成都的时间和重庆不一样! @华为Heat-1
记票统计 描述: 模拟n个人参加选举的过程,并输出选举结果:假设候选人有四人,分别用“A”、”B”、”C”、”D”表示,选举时开始计票, 若输入的不是“A”、”B”、”C”、”D”则视为无效票。选举结束后获取各个候选人的得票数以及无效票的个数,输出结果以添加候选人的顺序进行顺序输出,最后一行为无效的数量。同时getVoteResult命令为结束命令。 运行时间限制
2014-04-29 19:27:30 784
原创 【VC6.0你赢了】校赛B题_Frog追及问题
#include #include #include #include using namespace std; __int64 x,y,m,n,L,cnt=0; __int64 judge() { __int64 dist=(y-x<0)?(L+y-x):(y-x);//B 领先dist距离 if(m>n) if(dis
2014-04-27 20:03:52 744
原创 【换行符读入】#14 A. Letter
A. Letter time limit per test 1 second memory limit per test 64 megabytes input standard input output standard output A boy Bob likes to draw. Not long ago he bought a r
2014-04-26 16:01:58 764
原创 【最简分数】#13 A. Numbers
A. Numbers time limit per test 1 second memory limit per test 64 megabytes input standard input output standard output Little Petya likes numbers a lot. He found that nu
2014-04-26 15:26:04 998
原创 【水枚举】#12 A. Super Agent
A. Super Agent time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output There is a very secret base in Potatoland wh
2014-04-26 00:19:25 869
原创 【水贪心】#11 A. Increasing Sequence
A. Increasing Sequence time limit per test 1 second memory limit per test 64 megabytes input standard input output standard output A sequence a0, a1, ..., at - 1 is ca
2014-04-25 01:31:24 630
原创 【水分段函数】#10 A.Power Consumption Calculation
A. Power Consumption Calculation time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Tom is interested in power
2014-04-15 17:13:36 1031
原创 【比赛纪实】BOP2014_CodeHunt (新手初见杀~)
编程之美今年多了一个叫做CodeHunt的平台,但是要用C#或者JAVA才能玩,
2014-04-12 16:50:15 1995
原创 【水枚举】#9 A. Die Roll
A. Die Roll time limit per test 1 second memory limit per test 64 megabytes input standard input output standard output Yakko, Wakko and Dot, world-famous animaniacs, de
2014-04-10 16:08:13 1136
原创 【String::find】#8 A. Train and Peter
A. Train and Peter time limit per test 1 second memory limit per test 64 megabytes input standard input output standard output Peter likes to travel by train. He likes i
2014-04-09 22:12:28 1462
【PSP录制工具】RemoteJoy_Lite_019_CHT
2018-03-25
《从在线行为到离线销售》Translation
2016-07-03
From Online Behaviors to Offline Retailing
2016-07-03
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人