摘要:
1. 比较简单,但是用到了文件读写,终于明白了给的test代码中的fout和fin是什么意思了,哈哈;2. 如果按照一般的思路,肯定会超时,所以把dict转换成数字,这样的算法效率是固定的以下是代码:/*
ID: dollar4
PROG: namenum
LANG: C++
*/
#include #include #include #include #include using namespace std;
char get_num(char a)
{ switch (a) { case 'A' : return '2'; cas... 阅读全文
posted @ 2012-04-09 16:44
赵乐ACM
阅读(139)
评论(0)
推荐(0)