摘要: 5. Longest Palindromic Substring 题意:返回字符串的最长回文子串 我的思路:dp,http://blog.csdn.net/kangroger/article/details/37742639 我的代码: class Solution { public: string 阅读全文
posted @ 2017-03-25 22:45 Silence、 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 1. UVa 11300 我的代码: #include<iostream> #include<cstdio> #include<algorithm> using namespace std; long long C[1000010], M, a; int main() { int n; while 阅读全文
posted @ 2017-03-25 21:39 Silence、 阅读(1308) 评论(0) 推荐(0) 编辑