摘要:
http://codeforces.com/contest/365/problem/B 1 #include 2 #include 3 #include 4 #define maxn 200010 5 #define LL __int64 6 using namespace std; 7 8... 阅读全文
posted @ 2014-09-01 22:46
null1019
阅读(131)
评论(0)
推荐(0)
摘要:
http://codeforces.com/contest/362/problem/C 1 #include 2 #include 3 #include 4 using namespace std; 5 6 int a[5010]; 7 int c[50010]; 8 int n; 9 10... 阅读全文
posted @ 2014-09-01 21:45
null1019
阅读(199)
评论(0)
推荐(0)
摘要:
http://codeforces.com/contest/362/problem/B先排序,然后判断第一个和最后一个是不是脏的,如果是则输出NO,然后判断其中三个脏的是不是连着的,如果是也输出NO,否则输出YES 1 #include 2 #include 3 #include 4 #def... 阅读全文
posted @ 2014-09-01 20:03
null1019
阅读(229)
评论(0)
推荐(0)

浙公网安备 33010602011771号