摘要:
1. 试了各种数据类型保存输入的字符串,比如string,字符数组。在string类型中,不能一个一个字符地拷贝字符串,因为字符串末尾还有一个字符。2. 字符型数字转换成int类型;3. 自我感觉change函数写的比较巧妙,跟Curling 2.0有点类似。是把一个数组(有重复元素)无重复的放到另外一个数组。#include
#include
#include
#include
#include
using namespace std;
int telnum[100010];
int tel[100010][7];
int n;
struct Node
{ int ans; ... 阅读全文
posted @ 2012-03-22 17:48
赵乐ACM
阅读(150)
评论(0)
推荐(0)