这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
``` #include using namespace std; int m; int o_o(int n) { bool f[n+1]={0}; int s=0,op1; for(;;) { for(int j=1;;j++) { if(f[s]==0)s++; if(s==m) { f[j]=1; s=s-m+1…
[题目](https://www.luogu.com.cn/problem/P2676) 代码: ``` #include using namespace std; int main() { long long n,m,a[2001]={0},s=0; cin>>n>>m; for(int i=1;i >a[i]; f…
在讨论《luogu P1683WA10分》回复:
@[dengchengzhuo](/user/654857) 谢谢
``` #include using namespace std; int n,m,s,ma=-1,op1,op2; bool f[21][21]; string a[21]; void dfs(int i,int j) { if(f[i][j-1]==1||i>n||j==m||i >m>>n; for(int i=…
代码如下: ``` #include using namespace std; int main() { int n,k,a[100001]={0,1}; cin>>n>>k; for(int i=2;i =i-k;j--) a[i]=(a[i]+a[j])%100003; //for(int i=1;i<=n;i++…
在讨论《luogu P1360求助》回复:
谢谢
在讨论《luogu P1360求助》回复:
@[Caiest_Oier](/user/932169) 1306
在讨论《luogu P1360求助》回复:
不是最大公约数,是斐波那契的数
在讨论《lougu P2670 WA90分 求大佬帮忙看看》回复:
@[Yangbowen0108](/user/702258) 谢谢
[题目链接](https://www.luogu.com.cn/problem/P2670) 我的代码: ``` #include using namespace std; int n,m,x; string a[1001]; int main() { cin>>n>>m; for(int i=1;i >a[i];a[…
题目:[这里](http://112.16.216.176:29860/d/zjzx/p/281) 本人比较~~弱智~~但绝对200多个if不太现实所以来洛谷问问,求大佬帮帮忙 qwq
在讨论《求助一道站外题》回复:
这题不会qwq ``` #include using namespace std; int n,m,f3; char a[106],b[106]; bool vis[106],f1,f2; void dfs(int cur,int m) { if(cur==m+1) { f1=0;f2=0;f3=0; for(int…
在讨论《求助一道站外题》回复:
@[Lotuses](/user/414231) 什么意思
在讨论《求助一道站外提》回复:
@[ganjunwei](/user/662969) 谢谢