POJ 3617 Best Cow Line

传送门:http://poj.org/problem?id=3617 主要考虑两个方面: 1.在给定的N个字符,如果字符的开头和末尾的字符相同怎么删除 2.在输出时每80个字符输出一个换行符。 1 #include <cstdio> 2 #include <cstring> 3 #include <iostream> 4 using namespace std; 5 6 const
相关文章
相关标签/搜索