【SPOJ】AIBOHP - Aibohphobia
Problem hereSolution答案=原字串長度-原字串與其反轉後字串的lcm一開始用top down寫,TLE orz….
之後改成 bottom up 才AC#include <iostream>
#include <string>
using namespace std;
string input, res;
int lcs[6101][6101];int main(){
原创
2017-05-03 00:11:30 ·
587 阅读 ·
0 评论