第一题:在Mars星球上,每个Mars人都随身佩带着一串能量项链。在项链上有N颗能量珠。能量珠是一颗有头标记与尾标记的珠子,这些标记对应着某个正整数。并且,对于相邻的两颗珠子,前一颗珠子的尾标记一定等于后一颗珠子的头标记。因为只有这样,通过吸盘(吸盘是Mars人吸收能量的一种器官)的作用,这两颗珠子...
分类:
其他好文 时间:
2014-08-15 08:15:27
阅读次数:
362
题目又来了string的基本用法//less than 30 digits//等级长度甚至是超过了int64,所以要用字符串来模拟,然后注意去掉前导零//最多重复的个数就是答案//关于string的修改增加的用法#include #include#include #include #includeu...
分类:
其他好文 时间:
2014-08-06 17:23:51
阅读次数:
171
Flying to the Mars
Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 10854 Accepted Submission(s): 3481
Problem Description
...
分类:
其他好文 时间:
2014-08-05 14:13:19
阅读次数:
283
Flying to the Mars
Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 10817 Accepted Submission(s): 3469
Problem Description
In...
分类:
其他好文 时间:
2014-08-03 10:21:35
阅读次数:
287
其实就是求最大的相同的数的多少。。
我是把它当字符串输入。。解决前导0的问题。。
#include
#include
#include
#include
using namespace std;
int main()
{
char s[35];
int w[3500];
__int64 qq[3500];
int a;
while(...
分类:
其他好文 时间:
2014-08-01 16:10:01
阅读次数:
193
http://acm.hdu.edu.cn/showproblem.php?pid=1800
Flying to the Mars
Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 10798 Accepted Submis...
分类:
其他好文 时间:
2014-08-01 13:39:01
阅读次数:
218
Description
Recently, researchers on Mars have discovered N powerful atoms. All of them are different. These atoms have some properties. When two of these atoms collide, one of them disappears and ...
分类:
其他好文 时间:
2014-07-30 12:24:13
阅读次数:
226
一、前言
开发android一转眼之间已经过去一年多了,回想到以前刚开始学习android还是在大学里面,那是看了mars的视频教程就开始android之路,从最开始的环境搭建到开发项目,一步一步自己摸索进步,由于一直没有遇到资深的android工程师带领我,所以自己大部分学习来自于网络的blog,eoe论坛,所以我深爱技术分享这个东西,因为网络的强大是由于一大批人不为任何利益分享自己的技术,所...
分类:
移动开发 时间:
2014-07-28 00:23:00
阅读次数:
350
Problem Description
In the year 8888, the Earth is ruled by the PPF Empire . As the population growing , PPF needs to find more land for the newborns . Finally , PPF decides to attack Kscinow w...
分类:
其他好文 时间:
2014-07-24 12:25:06
阅读次数:
219
Problem Description
Ignatius is so lucky that he met a Martian yesterday. But he didn't know the language the Martians use. The Martian gives him a history book of Mars and a dictionary when it leave...
分类:
其他好文 时间:
2014-07-23 22:33:38
阅读次数:
281