这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
看别人的代码就是不明白为什么一开始要a[0]=1 f(n)=f(n-1).....f(n-k),我是把a[1]=1,a[2]=2来递归。 参考:[code] #include ```cpp int f[100001],n,k; int main() { scanf("%d%d",&n,&k); f[0]=1; for…
http://images.cnitblog.com/blog/438162/201304/08200700-c013e8df07b04b8db38ec2323d041b7d.gif
在讨论《求助!只有60分》回复:
\*(p-1)==' '
```cpp [code]#include #include #include using namespace std; struct str { int z1,z2; }; bool compare(str m1,str m2) { return m1.z2 >n>>s>>a>>b; int c=a+b,nn=n;…
在讨论《每行最后面好像可以多输一个空格》回复:
@[url=/space/show?uid=5846]yyy2015c01[/url] 你好像搞错啦,我指的是题目中最后的说明
题http://www.luogu.org/problem/show?pid=1308# ```cpp [codec]#include #include #include #include #include using namespace std; int main() { string line,str1,str2;…
```cpp [codec]#include using namespace std; int main() { char hx[6],zz[6],*phx=hx,*pzz=zz; int th=1,tz=1; while(cin>>*phx) { th=(*phx-'A'+1)*th; ++phx; cout >*p…