2015年1月22日

LA3905 流星(Meteor)

摘要: 很麻烦的一个题,有很多的技巧可以学到 #include #include #include #include using namespace std;typedef long long LL;const int maxn = 100005;const int INF = 0x3ffffff... 阅读全文

posted @ 2015-01-22 16:14 round_0 阅读(181) 评论(0) 推荐(0) 编辑

LA2678 Subsequence子序列

摘要: 感觉还不错又简单的的一个题 #include #include using namespace std;const int maxn = 100005;const int INF = 0x3f3f3f3f;int a[maxn];int main(){// freopen("in... 阅读全文

posted @ 2015-01-22 12:11 round_0 阅读(100) 评论(0) 推荐(0) 编辑

UVA11549 Calculator Conundrum 计算器谜题

摘要: 就觉得这题的暴力解法时间复杂度应该会很高,可能循环节会比较小吧 比较好的收获就是这个Floyd判环法 #include #include #include #include using namespace std;typedef long long LL;const int maxn = 1... 阅读全文

posted @ 2015-01-22 10:48 round_0 阅读(108) 评论(0) 推荐(0) 编辑

导航