该用户特别懒,懒得写这个|最近在线:3月1日(非实时更新)
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
实在不知道怎么优化了…… ```cpp #include #include using namespace std; int N,M,U,V; int dp[1005]={0}; vector g[1005]; bool pd(int a,int b) { for(int i=0;i >N>>M; for(int i=…
第五个点过了,其他的点TLEMLE,不知道该怎么优化了,求大佬帮忙 ```cpp #include #include using namespace std; int N,M,U,V; int dp[1005]={0}; vector g[1005]; bool pd(int a,int b) { for(int i=…
在讨论《【LGR-267】赛时答疑帖》回复:
打不过三比qwq
在讨论《今天打atcoder…》回复:
默哀
有没有大佬告诉我,这题该怎样避免越界(不会做qwq) ```cpp #include #include using namespace std; int n; int a[10005],b[10005]; int dp[10005][10005]={0}; void input() { for(int i=1;i >a…
这个是代码,不知道错哪了,n #include using namespace std; int n; bool flag=false; int a[15][15]={0}; bool taken[225]={false}; bool isprime(int n) { if(n==1) return false; fo…
```cpp #include #include #include using namespace std; struct h { string name; int sh; }hh[100001]; struct s { string name; int sh; }ss[100001]; bool cmps(s x,s…
在讨论《【11.19 更新】CSP 2025 奖项认证分数线参考数据》回复:
省流:奖项认证要3-5个工作日才能导入完成。
在讨论《对于举报用户工单的注意事项》回复:
qp
```cpp #include #include #include using namespace std; int n,m,q; bool flag=false; bool biao[10002][10002]; queue que; queue lef; void lunch() { while(!que.empt…
```cpp #include #include using namespace std; bool a[205],b[205]; bool mapp[205][205],c[205][205]; int M,N,T,total=0,maxtot=-1; void print() { for(int i=1;i M)…
在讨论《【新版个人中心、相似工单】25 年 10 月更新》回复:
qpzc
``` #include using namespace std; int n; int a[10]; void c(int num) { while(num) { a[num%10]++; num/=10; } } int main() { cin>>n; for(int i=1;i<=n;i++) { c(i);…
在讨论《0分全RE求条》回复:
此贴结
在讨论《0分全RE求条》回复:
@[Kevin0406](luogu://user/658171)谢谢,解决了
石山代码,求条 ``` #include #include #include using namespace std; int n,m; int dx[5]={0,0,1,0,-1}; int dy[5]={0,1,0,-1,0}; bool can=false; bool a[105][105]; string s;…
在文章《题解:P1012 [NOIP 1998 提高组] 拼数》发表评论:
dalao!思路我收了
在文章《题解:P1012 [NOIP 1998 提高组] 拼数》发表评论:
%%%
在讨论《0分WA MLE TLE RE求条》回复:
@[ybc2027_sutongyan](luogu://user/948757)o,蟹蟹
```cpp #include #include using namespace std; int n,m,maxn; bool a[10000][10000]; int b[10000]; bool visited[10000]; void dfs(int t) { visited[t]=true; maxn=t;…
在讨论《72WA求调qwq》回复:
@[凤南天](luogu://user/437628)哦哦,我好像懂了什么,谢谢
``` #include #include using namespace std; int main() { int a,b,c,ans=1,temp,temp2; cin>>a>>b>>c; temp=a; temp2=b; a%=c; while(b) { if(b&1) { ans=(ans*a)%c; } a…
在讨论《80AC+MLE求条》回复:
@[sundingjia](luogu://user/704139)o,蟹蟹
``` #include using namespace std; bool happy[1000000099]; int main() { int n,t,temp,ans=0; cin>>n>>t; for(int i=1;i >temp; for(int i=temp;i<=temp+t-1;i++) { hap…
在讨论《LGR-243 作弊名单(棕156,封28)》回复:
qp
在讨论《「SFMOI」Round II 赛时答疑帖》回复:
@[ZzqAndy0728](luogu://user/1401649)在赛前,您不可以: 发布无意义内容。(例如: 在赛前,您不可以: 发布无意义内容。(例如:在赛前,您不可以: 发布无意义内容。(例如: 在赛前,您不可以: 发布无意义内容。(例如:qp,hp,xx 楼下))))