摘要: http://acm.sdut.edu.cn/sdutoj/problem.php?action=showproblem&problemid=1487View Code 1 #include <stdio.h> 2 int main() 3 { 4 int len, cnt; 5 char s[55]; 6 while(scanf("%d%s", &len, s)!=EOF) 7 { 8 char lastcolor = 0 ; 9 cnt = 0 ;10 for(int i=0;i<len;i++)11 ... 阅读全文
posted @ 2013-02-23 15:06 yelan@yelan 阅读(128) 评论(0) 推荐(0) 编辑