摘要: 一道字符串题 用string 头文件 声明 读入 读一个 读一行 字符串的截取 引用 比较 最后AC代码: P.S.如果涉及到单个字符的处理最好用char 阅读全文
posted @ 2018-07-17 21:38 yohanlong 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 一道字符串题 用string 头文件 声明 读入 读一行 字符串的截取 引用 比较 最后AC代码: #include <cstdio> #include <iostream> #include <cstring> using namespace std; const int maxn = 10000 阅读全文
posted @ 2018-07-17 21:36 yohanlong 阅读(85) 评论(0) 推荐(0) 编辑