一、file was built for archive which is not the
architecture being linked (armv7s)
项目是基于cocos2d-x绑定lua进行开发的,需要引用liblua.a静态库,编译的时候报上面的错。需要将liblua项目中的buil...
分类:
其他好文 时间:
2014-05-12 08:16:45
阅读次数:
345
转载请注明出处:http://blog.csdn.net/u012860063?viewmode=contents
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4287
Problem Description
Haoren is very good at solving mathematic problems. Today...
分类:
其他好文 时间:
2014-05-11 12:57:48
阅读次数:
356
每次面对选择都是寻找自我的过程。很多时候,我们想听取家人和朋友的看法,他们从不同的角度考虑问题,得到的答案往往不是那么统一,最终做决定的那个人还是自己。得到的过程多是喜悦,但选择的过程多是痛苦的,人的本性是不想舍去,想集合所有的优势。这时候静下心,问问自己追求的是什么,想要过什么样的生活,而不要被大多数人追求的是什么而迷惑。
回头看看经历的一切,每一个失败或成功都是宝贵的财富。生...
分类:
其他好文 时间:
2014-05-07 23:52:21
阅读次数:
425
your application is being uploaded
分类:
移动开发 时间:
2014-05-07 13:39:46
阅读次数:
494
Soma is a fashionable girl. She absolutely loves shiny stones that she can put on as jewellery accessories. She has been collecting stones since her childhood - now she has become really good with ide...
分类:
其他好文 时间:
2014-05-07 07:38:20
阅读次数:
415
The Little Elephant likes permutations. This time he has a permutation A[1], A[2], ..., A[N] of numbers 1, 2, ...,N.
He calls a permutation A good, if the number of its inversions is equal to the n...
分类:
其他好文 时间:
2014-05-07 07:20:50
阅读次数:
356
题意:经典Nim游戏博弈,给你n堆牌,每堆a[i]张,每次能从一堆中取出任一张(不能为0),最后不能取者为输
问先手有几种取法保证他最后能获胜。
思路:让Nim_sum=0(a[1]^a[2]…………^a[n]=0)时则输,利用这个定理,对于第i堆a[i],除了第i堆,其它的
Nim_sum=k,如果a[i]>k,则先手从第i堆可以取a[i]-k张牌,让a[i]=k,最后a[i]^k...
分类:
编程语言 时间:
2014-05-07 06:13:32
阅读次数:
428
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4722
思路:数位dp,dp[i][j]表示到第i位,数字和%10为j,然后进行dp,注意完全匹配的情况是要+1,而其他情况是从0 到 9 都要考虑
代码:
#include
#include
#include
#include
using namespace std;
int t;
l...
分类:
其他好文 时间:
2014-05-07 04:55:37
阅读次数:
314
I’ve worked with a lot of programmers over the
years — some of them super amazing, and some distinctly lackluster. As I’ve had
the pleasure of working...
分类:
其他好文 时间:
2014-05-07 00:33:56
阅读次数:
586
A cricket team consists of 11 players and some are good at batting, others are good at bowling and some of them are good at both batting and bowling. The batting coach wants to select exactly K player...
分类:
其他好文 时间:
2014-05-06 22:23:32
阅读次数:
421