摘要: A -Painting the sticks因为不能覆盖涂/涂两次,所以就数数有几个三个一块儿就行了。#includeint a[100],ans ;int main(){ int n , t = 0 ; while (scanf("%d",&n)!=EOF) { for (... 阅读全文
posted @ 2014-07-10 21:11 ljlin 阅读(220) 评论(0) 推荐(0) 编辑
摘要: ```cpp#includeint a[100],ans ;int main(){ int n , t = 0 ; while (scanf("%d",&n)!=EOF) { for (int i=1; i0) ; ++t ; printf("C... 阅读全文
posted @ 2014-07-10 20:12 ljlin 阅读(141) 评论(0) 推荐(0) 编辑