摘要: ... 1 #include <iostream> 2 using namespace std; 3 int f[1000010]; 4 int n,i; 5 int main() 6 { 7 cin>>n; 8 f[1]=1; 9 for (i=2;i<=n;i++) 10 { 11 f[i]=f 阅读全文
posted @ 2016-03-25 15:48 DMoon 阅读(168) 评论(0) 推荐(0) 编辑
摘要: 调LCT奔溃,刷水调节一下。 1 #include <iostream> 2 #include <cstdio> 3 #include <cstring> 4 using namespace std; 5 int a[10010],n,m,f[10010],ans; 6 bool cal() 7 { 阅读全文
posted @ 2016-03-25 14:58 DMoon 阅读(172) 评论(0) 推荐(0) 编辑