摘要: 1 //dp 2 #include 3 using namespace std; 4 5 int dp[40] = {0,1,2}; 6 7 void init() 8 { 9 for(int i=3; i> n; 18 while(n--) 19 { 20 cin >> m; 21 cout << dp[m-1] <... 阅读全文
posted @ 2017-04-09 14:58 Posase 阅读(119) 评论(0) 推荐(0) 编辑