摘要: Codeforces#262_1002B. Little Dima and Equationtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLit... 阅读全文
posted @ 2014-10-19 19:38 haohaooo 阅读(143) 评论(0) 推荐(0) 编辑
摘要: Codeforces Round #262 (Div. 2) 1003C. Presenttime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLit... 阅读全文
posted @ 2014-10-19 19:36 haohaooo 阅读(209) 评论(0) 推荐(0) 编辑
摘要: Codeforces Round #262 (Div. 2) 1004D. Little Victor and Settime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstand... 阅读全文
posted @ 2014-10-19 19:34 haohaooo 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 【#138 div 1A. Bracket Sequence】【原题】A. Bracket Sequencetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard ... 阅读全文
posted @ 2014-10-19 19:31 haohaooo 阅读(332) 评论(0) 推荐(0) 编辑
摘要: unique()函数是一个去重函数,STL中unique的函数 unique的功能是去除相邻的重复元素(只保留一个),还有一个容易忽视的特性是它并不真正把重复的元素删除。他是c++中的函数,所以头文件要加#include,具体用法如下: int num[100]; unique(num,mun+n)... 阅读全文
posted @ 2014-10-19 19:27 haohaooo 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 这样加边比STL快!不明白为什么要+mod 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #define INF 0x3f3f3f3f 8 #define M(a,b) memset(a,b,sizeof(a)... 阅读全文
posted @ 2014-10-19 19:25 haohaooo 阅读(101) 评论(0) 推荐(0) 编辑
摘要: Codeforces Round #270 1003C. Design Tutorial: Make It Nondeterministictime limit per test2 secondsmemory limit per test256 megabytesinputstandard inpu... 阅读全文
posted @ 2014-10-19 19:22 haohaooo 阅读(148) 评论(0) 推荐(0) 编辑
摘要: Codeforces Round #270 1002B. Design Tutorial: Learn from Lifetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputsta... 阅读全文
posted @ 2014-10-19 19:15 haohaooo 阅读(138) 评论(0) 推荐(0) 编辑
摘要: Codeforces Round #270 1001A. Design Tutorial: Learn from Mathtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputsta... 阅读全文
posted @ 2014-10-19 19:13 haohaooo 阅读(163) 评论(0) 推荐(0) 编辑
摘要: http://codeforces.com/contest/472/problem/DD. Design Tutorial: Inverse the Problemtime limit per test2 secondsmemory limit per test256 megabytesinputs... 阅读全文
posted @ 2014-10-19 19:11 haohaooo 阅读(255) 评论(0) 推荐(0) 编辑