是你让我勇敢不再像颗尘埃 || 我许愿能和你长相守
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
```cpp #include #define int long long using namespace std; const int N=5e4+50; int n,q; int a[N]; int op,x,y; struct Info{ int ans,sum,qian,hou; }; struct node{…
在讨论《基础赛 #29 赛后总结帖》回复:
qp
在讨论《为什么用char存0分改成bool就A了》回复:
AC了此帖结
在讨论《为什么用char存0分改成bool就A了》回复:
@[zhangchi1234](luogu://user/1048780)OK,感谢大佬
在讨论《为什么用char存0分改成bool就A了》回复:
@[zhangchi1234](luogu://user/1048780)-'0'了也0分
``` #include #define int long long using namespace std; const int N=5e5+50; int n,m; int b,c; bool s[N]; int ch[N][5],idx,cnt[N],ed[N]; void insert(bool s[]){ i…
在讨论《30求条》回复:
@[Fine_Dust_Z](luogu://user/1317007)改成40分了
在讨论《30求条》回复:
@[SilverChariotRequiem](luogu://user/1271351)?
在讨论《30求条》回复:
@[Fine_Dust_Z](luogu://user/1317007)可
``` #include #define int long long using namespace std; const int N=3e5+50; int T,n; struct node{ int v,s; }e[N]; bool cmp(node x,node y){ return x.v >T; while(…
在讨论《90求条》回复:
@[Fine_Dust_Z](luogu://user/1317007)我开小了 开大点就A了
在讨论《90求条》回复:
@[Fine_Dust_Z](luogu://user/1317007)数组开小了
``` #include using namespace std; #define int long long #define inf 0x3f3f3f3f3f3f3f3f #define ll p >1; build(ll,l,m); build(rr,m+1,r); push_up(p); } void add(i…
在讨论《79求调》回复:
@[Ithaqua_](luogu://user/1393222)可
在讨论《79求调》回复:
@[Lyzc0dr](luogu://user/1420422)感谢dalao
``` #include #define int long long using namespace std; const int N=1e5+10; int n,m,ans,res,p[N]; struct Edge{ int x,y,z; }e[N]; const bool cmp(Edge x,Edge y){…
在讨论《20 求调》回复:
@[zzx11211_floyd](luogu://user/1486883) 已关 蟹蟹
~~这是本蒟蒻的第一篇article(值得一看~~) 首先,我们先了解最小生成树的概念 **一、概念:** 对于一个带权连通无向图G,权值之和最小的那颗生成树(生成树是什么我在这里就不解释了)称为G的最小生成树。 接着,我们来看一下它的性质都有哪些 **二、性质** 1. 图G的最小生成树不唯一(这里说的是树形),但当…
```cpp #include using namespace std; const int N=10; double s,c,h,p,n; struct node{ double d,v,l; }a[N]; double ans=0,pre; int main(){ cin>>s>>c>>h>>p>>n; a[0].…
```cpp #include using namespace std; const int N=50010; int n,a[N],f[N],maxn; int main(){ cin>>n; for(int i=1;i >a[i]; } for(int i=1;i<=n;i++){ f[i]=1; for(int…