摘要: #include <iostream> using namespace std; int dp[600][600]; int main() { int n; cin>>n; for(int i=1;i<=n;i++){ for(int j=1;j<=i;j++){ cin>>dp[i][j]; } 阅读全文
posted @ 2018-05-09 22:41 凌乱风中 阅读(72) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <cstring> using namespace std; int dp[1005][1005]; int vis[1005][1005]; string a,b; void print(int len1,int len2) { if(vi 阅读全文
posted @ 2018-05-09 22:33 凌乱风中 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 using namespace std; 3 #define ll long long 4 5 int main() 6 { 7 int n; 8 cin>>n; 9 ll x; 10 ll sum=0; 11 ll maxn=0; 12 for(in 阅读全文
posted @ 2018-05-09 21:19 凌乱风中 阅读(81) 评论(0) 推荐(0) 编辑