2015年6月9日

hdu2429Ping pong

摘要: Problem DescriptionN(3#include#include#includeusing namespace std;int an[51000];int s[110000];const int N = 109999;int lb(int x){ return x&(-x);}vo... 阅读全文

posted @ 2015-06-09 21:01 wos1239 阅读(112) 评论(0) 推荐(0) 编辑

hdu3123GCC

摘要: Problem DescriptionThe GNU Compiler Collection (usually shortened to GCC) is a compiler system produced by the GNU Project supporting various programm... 阅读全文

posted @ 2015-06-09 20:14 wos1239 阅读(140) 评论(0) 推荐(0) 编辑

hdu2206IP的计算

摘要: Problem Description在网络课程上,我学到了很多有关IP的知识。IP全称叫网际协议,有时我们又用IP来指代我们的IP网络地址,现在IPV4下用一个32位无符号整数来表示,一般用点分方式来显示,点将IP地址分成4个部分,每个部分为8位,表示成一个无符号整数(因此不需要用正号出现),如1... 阅读全文

posted @ 2015-06-09 19:22 wos1239 阅读(156) 评论(0) 推荐(0) 编辑

toj4119HDFS

摘要: In HDFS( Hadoop Distributed File System), each data may have a lot of copies in case of data lose. This problem, every data has its own id, from 1 to ... 阅读全文

posted @ 2015-06-09 13:24 wos1239 阅读(463) 评论(0) 推荐(0) 编辑

2015年6月6日

hdu2952Counting Sheep

摘要: Problem DescriptionA while ago I had trouble sleeping. I used to lie awake, staring at the ceiling, for hours and hours. Then one day my grandmother s... 阅读全文

posted @ 2015-06-06 20:44 wos1239 阅读(120) 评论(0) 推荐(0) 编辑

hdu2393Higher Math

摘要: Problem DescriptionYou are building a house. You’d prefer if all the walls have a precise right angle relative to the ground, but you have no device t... 阅读全文

posted @ 2015-06-06 18:20 wos1239 阅读(134) 评论(0) 推荐(0) 编辑

hdu2317Nasty Hacks

摘要: Problem DescriptionYou are the CEO of Nasty Hacks Inc., a company that creates small pieces of malicious software which teenagers may useto fool their... 阅读全文

posted @ 2015-06-06 17:46 wos1239 阅读(132) 评论(0) 推荐(0) 编辑

hdu2309ICPC Score Totalizer Software

摘要: Problem DescriptionThe International Clown and Pierrot Competition (ICPC), is one of the most distinguished and also the most popular events on earth ... 阅读全文

posted @ 2015-06-06 17:26 wos1239 阅读(181) 评论(0) 推荐(0) 编辑

hdu2304Electrical Outlets

摘要: Problem DescriptionRoy has just moved into a new apartment. Well, actually the apartment itself is not very new, even dating back to the days before p... 阅读全文

posted @ 2015-06-06 17:10 wos1239 阅读(168) 评论(0) 推荐(0) 编辑

hdu2399GPA

摘要: Problem DescriptionEach course grade is one of the following five letters: A, B, C, D, and F. (Note that there is no grade E.) The grade A indicates s... 阅读全文

posted @ 2015-06-06 17:02 wos1239 阅读(179) 评论(0) 推荐(0) 编辑

导航