摘要: #include #include int zhuanhuan(char str[20]){ if(strcmp(str,"zero")==0) return 0; if(strcmp(str,"one")==0) return 1; if(strcmp(str,"two")==0) ret... 阅读全文
posted @ 2014-08-16 16:00 夏子藤 阅读(146) 评论(0) 推荐(0) 编辑
摘要: #includeint main(){int n,a,b[1010],i,j,cnt,sum;while(scanf("%d%d",&n,&a)!=EOF){cnt=0;for(i=0;i//#include int main(){ int m,n; int a[100]; int sum,k,i,... 阅读全文
posted @ 2014-08-16 10:18 夏子藤 阅读(95) 评论(0) 推荐(0) 编辑
摘要: #include int main(){ int m; scanf("%d",&m); while(m--) { int money,wujiao,erjiao,yijiao; int num; num=0; scanf("%d",&money); for(wujiao=0;wujiao<=mon... 阅读全文
posted @ 2014-08-16 09:43 夏子藤 阅读(102) 评论(0) 推荐(0) 编辑