摘要: A. Flipping Game链接:http://codeforces.com/contest/327/problem/A题意:从i 到 j 翻转一次使得 1 的个数最多~直接暴力搞~ 1 #include 2 #include 3 #include 4 using namespace std; 5 int N; 6 int a[105], b[105]; 7 int main( ) 8 { 9 while(scanf("%d", &N)!= EOF){10 for(int i=0; it?ans:t;24 b[k]=a[... 阅读全文
posted @ 2013-07-18 15:23 淡墨æ末央 阅读(423) 评论(0) 推荐(0) 编辑