摘要: 今天做1004,因为之前没用过map,加上很少用C++, 因为又去翻看map的使用,但是依然不是很会,以下代码有借鉴成分#include #include #include #include using namespace std;//struct Color{// int time ; //出现次数// char color[16] ;//};int main(){ int num; int i; while ((scanf("%d", &num) != EOF)&&(num != 0)){ map s; string... 阅读全文
posted @ 2013-07-18 10:57 ShirleySweet 阅读(194) 评论(0) 推荐(0) 编辑