摘要: http://codeforces.com/contest/361/problem/C这道题倒着一次,然后正着一次,在正着的一次的时候判断合不合法就可以。 1 #include 2 #include 3 #include 4 using namespace std; 5 const int i... 阅读全文
posted @ 2014-08-28 19:27 null1019 阅读(211) 评论(0) 推荐(0) 编辑