![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Timus
文章平均质量分 61
yoki_hiahia
编程8年了,终于决定有一个自己的博客记录一些东西。喜欢算法,平时主要用C++,lua,希望能学好shader,unity,cocos2dx,有一个默默的游戏梦想,不能告诉你~~来自于14年入行的第一周~~
展开
-
1002.Phone Numbers
In the present world you frequently meet a lot of call numbers and they are going to be longer and longer. You need to remember such a kind of numbers. One method to do it in an easy way is to assign原创 2017-10-09 17:37:45 · 369 阅读 · 0 评论 -
1086. Cryptography 打印素数表
1086. CryptographyWhile preparing this problem set the jury has run into the following problem: it was necessary to send by e-mail the texts of the problems. As it is well known, e-mail is not relia原创 2017-11-08 15:40:37 · 269 阅读 · 0 评论 -
1001. Reverse Root
/*1001. Reverse RootTime limit: 2.0 secondMemory limit: 64 MBThe problem is so easy, that the authors were lazy to write a statement for it!InputThe input stream contains a set of integer nu原创 2017-10-09 15:50:59 · 307 阅读 · 0 评论 -
Gaby Ivanushka
这道题就是快排的变形#includeusing namespacestd;void quickSort(int a[],int,int);int main(){ int array[]={34,65,12,43,67,5,78,10,3,70},k; int len=sizeof(array)/sizeof(int原创 2017-11-08 11:30:57 · 170 阅读 · 0 评论 -
1079. Maximum
1079. MaximumTime limit: 2.0 secondMemory limit: 64 MBConsider the sequence of numbers ai, i = 0, 1, 2, …, which satisfies the following requirements:a0 = 0a1 = 1a2i = aia2i+1 = ai + ai+原创 2017-10-11 16:35:31 · 262 阅读 · 0 评论 -
1068. Sum Time limit
1068. SumTime limit: 2.0 secondMemory limit: 64 MBYour task is to find the sum of all integer numbers lying between 1 and N inclusive.InputThe input consists of a single integer N that is no原创 2017-10-11 16:13:00 · 133 阅读 · 0 评论 -
1044. Lucky Tickets. Easy!
1044. Lucky Tickets. Easy!Time limit: 2.0 secondMemory limit: 64 MBBackgroundThe public transport administration of Ekaterinburg is anxious about the fact that passengers don’t like to pay for原创 2017-10-11 15:43:59 · 371 阅读 · 0 评论 -
1025. Democracy in Danger
1025. Democracy in DangerTime limit: 1.0 secondMemory limit: 64 MBBackgroundIn one of the countries of Caribbean basin all decisions were accepted by the simple majority of votes at the genera原创 2017-10-11 10:14:53 · 267 阅读 · 0 评论 -
1020. Rope
1020. RopeTime limit: 1.0 secondMemory limit: 64 MBPlotters have barbarously hammered N nails into an innocent plane shape, so that one can see now only heads. Moreover, pursuing their mean obje原创 2017-10-10 19:26:57 · 215 阅读 · 0 评论 -
1014. Product of Digits
1014. Product of DigitsTime limit: 1.0 secondMemory limit: 64 MBYour task is to find the minimal positive integer number Q so that the product of digits of Q is exactly equal to N.InputThe i原创 2017-10-10 18:48:24 · 309 阅读 · 0 评论 -
1005. Stone Pile 背包问题 动态规划
You have a number of stones with known weights w1, …, wn. Write a program that will rearrange the stones into two piles such that weight difference between the piles is minimal.InputInput co原创 2017-10-10 14:40:19 · 1037 阅读 · 0 评论