我是一名学c++的小学生哦!
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
```cpp #include using namespace std; using ll=long long; ll n,u[100005],v[100005],l[100005],sum,ans=INT_MIN; bool vis[100005]; void dfs(ll x,ll y){ bool f=0; if…
在讨论《求桶排思路》回复:
@[gaochenzhe](luogu://user/752391)好像懂了谢谢
在讨论《65分求调(#9#11#12#17#18#19#20)WA)》回复:
@[kongliheng](luogu://user/1425185) 谢谢已过
```cpp #include using namespace std; using ll=long long; ll n,ans,g=1; struct A{ ll r,p,t; bool u; }a[100000]; int main(){ cin>>n; for(ll i=1;i >a[i].r>>a[i].p>…
我用插入得了90分,#18和#19 TLE了,看题解好像是桶排,不过没怎么看懂,有大佬能解释一下这道题桶排的思路吗? 这是90pts代码,好像不能优化了 ```cpp #include using namespace std; using ll=long long; int n,w,a[100005],num,u; i…
在文章《题解:P11962 [GESP202503 六级] 树上漫步》发表评论:
那输入的时候不应该是for(int i=1;i<=n-1;i++)吗
在文章《题解:P11962 [GESP202503 六级] 树上漫步》发表评论:
为什么num要开到1000005??? 直接num[3]不就行了吗
在文章《题解:P11962 [GESP202503 六级] 树上漫步》发表评论:
“非常简单的深搜题。”?????????????????
今天被=卡住了; ```cpp #include using namespace std; int n,m,a[1000005]; int z(int y) { int l=1,m,r=n; while(l =y) r=m; else l=m+1; } if(a[l]==y) return l; else return…
```cpp #include using namespace std; int a[10][10],r[10][10],c[10][10],b[10][10][10]; void dfs(int i,int j) { if(i>9) { for(int x=1;x 9) { dfs(i+1,1); } else if…
在讨论《黑题的难度???》回复:
谢谢各位的回答,~~我还以为我很厉害呢~~@[Go_Forward](luogu://user/1253423)@[Grammar__hbw](luogu://user/856004)@[MLE_Automaton](luogu://user/928418)@[WuMin4](luogu://user/766913)
在讨论《黑题的难度???》回复:
@[Go_Forward](luogu://user/1253423)@[Grammar__hbw](luogu://user/856004)@[MLE_Automaton](luogu://user/928418)@[WuMin4](luogu://user/766913)谢谢各位神犇的回答,~~我还以为我很厉害呢~…
今天正在练习,突然有一道题目T112067 二叉树,是一道NOI/NOI+/CTSC的题目,这让我这个最大难度只做对了13道普及/提高−的人一点兴趣都没有 **但是** 我只用了26行就做出来了!!! ```cpp #include using namespace std; int x,y; int main() {…
在讨论《这题能橙??》回复:
75行,建议评红? 不是,要是这么说的话,我建议评黄(~~我用35行就做出来了~~~~橙不错~~)
在讨论《40分求调》回复:
@[Jadejunxi](/user/1001542) @[wangft](/user/1068071) 谢谢各位大佬,已经关注了
在讨论《40分求调》回复:
不在也行
```cpp #include using namespace std; const double a=10000000,b=1000000; long double p1,p0,f,l,n,ans; int main() { cin>>p1>>p0>>f>>l; n=p1+p0+f+l; if(n==1) { if(…
在讨论《60分求助!!!(回复必关)》回复:
@[F1reFly](/user/951437) 好的谢谢
```cpp #include using namespace std; int image[20][20]; int cpimg[20][20]; int his[256]; int color[16]; int trans(char a) { if(a =10)return char(n-10+'A'); retu…
在讨论《求调!!!回复必关(非常急)》回复:
@[Double_Sheep](/user/838570) @[kbzcz](/user/416192)
在讨论《求调!!!回复必关(非常急)》回复:
感谢各位大佬,已关注
```cpp #include using namespace std; int n,m,a[15][15],l; int main() { cin>>n>>m; for(int i=1;i >s; for(int j=0;j<s.size();j++) { a[i][j+1]=s[j]-'0'; } } for(in…
```cpp #include using namespace std; const int N=1005; int c[N],m[N],e[N],z[N],x[N],n; void swapi(int j) { swap(c[j],c[j+1]); swap(m[j],m[j+1]); swap(e[j],e[j+1…
在讨论《求调》回复:
@[liaocr](/user/936607) 我建议你把size改成其他名字,因为size好像是关键字 不然会编译错误
在讨论《10分求救!!!(急)》回复:
@[hgzx__lc](/user/1049265) 我已经做出来了100看上面 非常感谢
在讨论《10分求救!!!(急)》回复:
@[hgzx__lc](/user/1049265) 我做出来了!!!非常感谢!!! (我加了一个判断) ```cpp #include using namespace std; string x,y; int b[10086],a[10086],c[10086]; int main() { cin>>x>>y; if…
在讨论《10分求救!!!(急)》回复:
@[hgzx__lc](/user/1049265) ```cpp #include using namespace std; string x,y; int b[10086],a[10086],c[10086]; int main() { cin>>x>>y; if(x.size() =0;i--) a[r++]=x…
在讨论《10分求救!!!(急)》回复:
@[hgzx__lc](/user/1049265) ```cpp #include using namespace std; string x,y; int b[10086],a[10086],c[10086]; int main() { cin>>x>>y; if(x.size() =0;i--) { if(a[i…
在讨论《10分求救!!!(急)》回复:
@[hgzx__lc](/user/1049265) 好的,谢谢,我改一下。