알고리즘 문제 풀이/1DP_과제(~180615)
180124_10942_팰린드롬?
//https://www.acmicpc.net/problem/10942#include #include using namespace std;int num[2001];bool dp[2001][2001]; int main() { int n, m; int start, end; scanf("%d",&n); for(int i=1; i