2015年3月24日

二分

摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #define AA struct ss 7 using namespace std; 8 9 int n;10 AA {11 double b,w,d,h;12 }re[5... 阅读全文

posted @ 2015-03-24 17:15 wsa 阅读(100) 评论(0) 推荐(0) 编辑

2015年3月11日

Stock 贪心经典 Zoj2921

摘要: Optiver sponsored problem.After years of hard work Optiver has developed a mathematical model that allows them to predict wether or not a company will... 阅读全文

posted @ 2015-03-11 10:39 wsa 阅读(171) 评论(0) 推荐(0) 编辑

2015年3月10日

D. Block Tower

摘要: time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAfter too much playing on paper, Iahub has switc... 阅读全文

posted @ 2015-03-10 14:40 wsa 阅读(155) 评论(0) 推荐(0) 编辑

2015年3月6日

烦人的dp

摘要: 1050 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 int main() 8 { 9 int n;10 while(cin>>n)11 {12 int a[200][200]... 阅读全文

posted @ 2015-03-06 12:09 wsa 阅读(99) 评论(0) 推荐(0) 编辑

2015年2月24日

搜索

摘要: 1010 1 #include 2 #include 3 #include 4 #include 5 6 using namespace std; 7 8 int n,m,time,ok,dir[][5]={{1,0},{-1,0},{0,1},{0,-1}},dx,dy; 9 char g[2... 阅读全文

posted @ 2015-02-24 12:34 wsa 阅读(89) 评论(0) 推荐(0) 编辑

2015年2月21日

hdu 一个人的旅行

摘要: Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uDescription虽然草儿是个路痴(就是在杭电待了一年多,居然还会在校园里迷路的人,汗~),但是草儿仍然很喜欢旅行,因为在旅途中 会遇见很多人(白马王子,^0... 阅读全文

posted @ 2015-02-21 19:43 wsa 阅读(120) 评论(0) 推荐(0) 编辑

2015年2月20日

IP的计算

摘要: Time Limit: 3000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 8633Accepted Submission(s): 1706Problem Descriptio... 阅读全文

posted @ 2015-02-20 16:44 wsa 阅读(193) 评论(0) 推荐(0) 编辑

2015年2月18日

C. Drazil and Factorial

摘要: time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputDrazil is playing a math game with Varda.Let's d... 阅读全文

posted @ 2015-02-18 18:13 wsa 阅读(196) 评论(0) 推荐(0) 编辑

B. Drazil and His Happy Friends

摘要: time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputDrazil has many friends. Some of them are happy ... 阅读全文

posted @ 2015-02-18 17:55 wsa 阅读(240) 评论(0) 推荐(0) 编辑

A. Drazil and Date

摘要: time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputSomeday, Drazil wanted to go on date with Varda. ... 阅读全文

posted @ 2015-02-18 17:43 wsa 阅读(196) 评论(0) 推荐(0) 编辑

导航