摘要:
1 /*simplememory*/ 2 #google_ad_c1, #google_ad_c2 {display:none;} 3 .syntaxhighlighter a, .syntaxhighlighter div, .syntaxhighlighter code, .syntaxhigh 阅读全文
posted @ 2017-10-17 19:07
Aptal丶
阅读(318)
评论(0)
推荐(0)
摘要:
处理0的前缀和,枚举第i位不变,[1,i-1]全变为0,[i+1,n]全变为1的最小代价 1 #include <cstring> 2 #include <cstdio> 3 4 const int N(1e5+5); 5 int sum[N],ans,tmp; 6 char s[N]; 7 8 i 阅读全文
posted @ 2017-10-17 15:51
Aptal丶
阅读(114)
评论(0)
推荐(0)

浙公网安备 33010602011771号