Im_hear

导航

2012年4月26日

zoj 1095

摘要: 也看了人的代码,动态,不过状态想的到转移却表达不出,发现也有人是搜索得到状态,另一点是,XX11,XX12,XX13是th。source code 阅读全文

posted @ 2012-04-26 10:51 Im_hear 阅读(112) 评论(0) 推荐(0) 编辑

zoj 1095

摘要: View Code View other humanCode 1 #include<cstdio> 2 #include<algorithm> 3 #include<iostream> 4 using namespace std; 5 int main() 6 { 7 int ham[5842]; 8 int a[4]={0,0,0,0}; 9 ham[0] = 1;10 int i;11 for(i = 1; i < 5842; i++)12 {13 ham[i] = min(min(2 * ham[a[0]],3 * ham... 阅读全文

posted @ 2012-04-26 10:44 Im_hear 阅读(128) 评论(0) 推荐(0) 编辑

zoj 1099

摘要: 字符串的题,数这道经典。世上有了stdin之后,O(∩_∩)Osource code 阅读全文

posted @ 2012-04-26 09:12 Im_hear 阅读(117) 评论(0) 推荐(0) 编辑

zoj 1099

摘要: View Code 1 #pragma warning (disable:4786) 2 #include <cstdio> 3 #include <iostream> 4 #include <algorithm> 5 using namespace std; 6 #include <cstring> 7 8 int main() 9 { 10 //freopen("in.txt","r",stdin);11 //freopen("out.txt","w",stdou 阅读全文

posted @ 2012-04-26 09:09 Im_hear 阅读(155) 评论(0) 推荐(0) 编辑