stl map
摘要:
#include <stdio.h>#include <map>#include <iostream>using namespace std;int main( ){ map<int, string>stu; int a, b, i, j; char str[20]; while (scanf("%d",&a) != EOF ) { for (i = 0; i < a; i++) { scanf("%d%s",&b,str); //stu[b] = str; stu.insert(ma 阅读全文
posted @ 2011-07-28 20:13 more think, more gains 阅读(139) 评论(0) 推荐(0) 编辑