Extends from the last chapter , This chapter takes a look at some real-world problems that can occur as you move your applicationfrom testing to a liv...
分类:
移动开发 时间:
2015-08-31 21:09:11
阅读次数:
173
Paladin Manao caught the trail of the ancient Book of Evil in a swampy area. This area containsnsettlements numbered from 1 ton. Moving through the sw...
分类:
其他好文 时间:
2015-08-31 00:43:41
阅读次数:
527
题目连接http://codeforces.com/gym/100463/attachmentsDescriptionRichard is evil. He wants to give another geometry problem to the participants of this cont...
分类:
其他好文 时间:
2015-08-21 11:09:11
阅读次数:
153
C语言的中的const,代表的含义是”不可改变的变量“,或者可以成为”伪常量“
C++中 const,被称为”一个有类型描述的常量“
const int liv_num = 10;
liv_num = 18; //error 因为liv_num 被const修饰不可被直接赋值
那么,我为什么说是”伪常量“?
我们知道在c中给变量赋值,有两种方式:一种就是直接赋...
分类:
编程语言 时间:
2015-08-12 09:01:35
阅读次数:
128
codeforces 337E Book of Evil (dfs) —— black的专栏 —— waShaXiu...
分类:
其他好文 时间:
2015-08-11 16:18:35
阅读次数:
115
In Touch
Time Limit: 8000/4000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)
Total Submission(s): 1184 Accepted Submission(s): 313
Problem Description
There are n soda liv...
分类:
其他好文 时间:
2015-08-10 02:00:56
阅读次数:
129
这道题目我用了一上午才做出来,还是看的别人的思路,虽然没有看代码做的有点慢,代码能力还是得加强啊,思维
得缜密,不能想当然,要有依据,写上的代码要有准确度,省的以后还得慢慢调试
思路:贪心,每次都查看两端位置上的字母是否相等,若不相等就在里面查找能使他们相等且所需移动位置最少的那
个,然后交换,记录交换的距离,贪心的离最后一个由近及远找与第一个位置相等的,同理贪心从第一个位置找和最
后一个...
分类:
其他好文 时间:
2015-08-07 13:26:53
阅读次数:
105
A lot of battleships of evil are arranged in a line before the battle. Our commander decides to use our secret weapon to eliminate the battleships. Ea...
分类:
其他好文 时间:
2015-08-02 21:29:51
阅读次数:
128
RAONE - Ra-One Numbers
no tags
In the War between good and evil . Ra-One is on the evil side and G-One on the good side.
Ra-One is fond of destroying cities and its G-one's duty to prote...
分类:
其他好文 时间:
2015-07-24 14:18:59
阅读次数:
456
EvilTime Limit: 5 SecMemory Limit: 256 MB题目连接http://codeforces.com/gym/100463/attachmentsDescriptionRichard is evil. He wants to give another geometry...
分类:
其他好文 时间:
2015-07-21 23:36:59
阅读次数:
205