Happy King
Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)
Total Submission(s): 434 Accepted Submission(s): 79
Problem Description
There are n
citie...
分类:
移动开发 时间:
2015-07-31 23:32:33
阅读次数:
269
断断续续的也算是把eclipse上的代码成功迁移到android studio上来了,现在,我同事继续用eclipse,我用android studio,svn上还是之前eclipse的项目,迁移成功后,我也能happy的开发了,两不误.直接来分享我捉摸的一点小成果吧以Demo4 为例,并引用了li...
分类:
移动开发 时间:
2015-07-31 17:59:41
阅读次数:
136
题目意思:求2004^x的所有正因数的和对29求余解析: 我们用s(x)表示x的因子和: 2的因子为1,2,s(2)=3; 3的因子为1,3,s(3)=4; 6的因子为1,2,3,6,s(6)=12; 可以发现:s(6)=s(2)*s(3)=3*4=12; 4的因子为1,2,4,,s(4...
分类:
移动开发 时间:
2015-07-28 23:05:06
阅读次数:
133
#include
#include
#include
#include
using namespace std;
const int mod = 29;
int quick_mod(int a,int b){
int ans = 1;
while(b){
if(b&1) ans=ans*a%mod;
b>>=1;
a=a*a%mod;
}
...
分类:
移动开发 时间:
2015-07-27 23:13:51
阅读次数:
236
暑期一开始就和毕业班组织阳朔旅游,happy几天后回来,这是不容易写的东西在当下。不久8我可能是这里,这个月的一篇文章不能不把它?但是,技术也取得了什么7788音符,然后,他做了一些错误的笔记进行比较,主要在学习的东西。 产品经理&项目经理这两个角色我都挺喜欢的。本身是技术出身。所以可能更适合做项....
分类:
其他好文 时间:
2015-07-26 20:29:55
阅读次数:
124
Description :BackgroundHugo Heavy is happy. After the breakdown of the Cargolifter project he can now expand business. But he needs a clever man who t...
分类:
其他好文 时间:
2015-07-26 18:49:53
阅读次数:
131
Happy Number
Write an algorithm to determine if a number is "happy".
A happy number is a number defined by the following process: Starting with any positive integer, replace the numb...
分类:
移动开发 时间:
2015-07-26 06:15:48
阅读次数:
134
poj 1797 Heavy TransportationDescription
Background
Hugo Heavy is happy. After the breakdown of the Cargolifter project he can now expand business. But he needs a clever man who tells him whether the...
分类:
其他好文 时间:
2015-07-25 16:57:11
阅读次数:
160
int main(){ char * s = "hello,world" ; char *t = "happy"; strcpy(s,t) ; // error return 0; }本来以为并没有什么错误,但是实际运行的时候,出现段错误, 后来修改 char *s =...
分类:
其他好文 时间:
2015-07-25 12:03:51
阅读次数:
123