全世界的哲学家都在想方设法解释这个世界,但是问题在于改变世界。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
在文章《淄博NOIP集训》发表评论:
我们乳山一中太有实力了!!!
在讨论《ODT60分求调(不是TLE)》回复:
@[Chthollian](luogu://user/785917)结帖,将 $n$ 与 $m$ 输入顺序调换过了。
[记录](https://www.luogu.com.cn/record/191103003) ```cpp #include #define IT set ::iterator #define ls now*2 #define rs now*2+1 using namespace std; const long lo…
在讨论《树剖求调》回复:
把线段树改为ODT... ```cpp #include #define IT set ::iterator using namespace std; int n,m,cnt,last[100005],x; string op; struct Node { int l,r; mutable int v; Node(in…
在讨论《set94分求助》回复:
@[_fwTransform_](luogu://user/767588)贪心
在文章《百粉粉福!》发表评论:
你干么,干我就支持
在文章《百粉粉福!》发表评论:
可以cos威廉吗(放弃cos珂朵莉)
Wa on 1 ```cpp #include #define IT set ::iterator #define ls now*2 #define rs now*2+1 using namespace std; struct Node { long long c,p; Node(long long C,long lo…
## 解题思路 我们考虑这样的一棵树,可以证明,对于任意的节点 $x$、$y$、$z$,分别取 $\operatorname{lca}(x,y)$、$\operatorname{lca}(y,z)$、$\operatorname{lca}(x,z)$,其中**两个必然重复**,剩下一个点为答案点。  ```cpp #include using namespace std; #define IT set ::iterator #define ls now * 2 #define rs now * 2 + 1 int n,…
在讨论《求问bool标记数组和bitset标记数组的优缺点》回复:
@[uiuiuyuguo433](/user/1009417) bitset:[TLE](https://www.luogu.com.cn/record/184297958) bool:[AC](https://www.luogu.com.cn/record/184298192)
```cpp #include using namespace std; int n,f,len,id[100005],op,l,r,fir[100005],lst[100005]; long long blo[100005][2],a[100005],tag[100005],k; void change(int l,…
在讨论《珂朵莉世界第一可爱(听灌多》回复:
@[zhaohanwen](/user/767660) 具体是[这个](https://www.luogu.com.cn/discuss/959614)
在讨论《30分ODT求调》回复:
数组开大后获得40分 [link](https://www.luogu.com.cn/record/181975964)
[link](https://www.luogu.com.cn/record/181972505) ```cpp #include #define lowbit(x) (x&-x) #define IT set ::iterator using namespace std; struct Node { int l,r,…
在讨论《ODT 40分求调》回复:
不但有T,还有Wa
```cpp #include #define IT set ::iterator using namespace std; struct Node { int l,r; mutable int v; Node(int L,int R=-1,int V=0) : l(L),r(R),v(V) {} bool opera…
```cpp #include #define int long long using namespace std; int n,m,cnt,g[100005],h[100005],vis[100005],ans1; long long ans2; struct Edge { int from,to; long lon…
```cpp #include using namespace std; int n,m,s,t,cnt,last[90005],vis[90005],dis[90005]; vector cs[30]; struct Edge { int to,pre,val; } edge[360005]; void add(in…
在讨论《马蜂良好60pts玄关球条》回复:
@[Baiyang_2333](/user/750476) ```cpp #include #define setp(a) fixed ,vector >,greater >> q; dis[s]=0; q.emplace(make_pair(0,s)); while(!q.empty()) { int now=q.t…
在讨论《马蜂良好60pts玄关球条》回复:
@[Baiyang_2333](/user/750476) ```cpp #include using namespace std; int n,m,x,last[100005],cnt,vis[100005]; long long dis[100005][3]; struct Edge { int to,pre,va…
```cpp #include using namespace std; char a; int n,m,op,x,y,q,cnt,tot,li,g[1000005],cnt2,anc[800005][21],sz[1000005],lg,to[1000005],val[1000005],last[1000005];…
开数组开了101MB。 ```cpp #include using namespace std; char a; int n,m,op,x,y,q,cnt,tot,li,g[1000005],cnt2,anc[800005][21],sz[1000005],lg,to[1000005],val[1000005],las…
在讨论《90分求助》回复:
①t数组开到105,否则for里会爆 ②第二个循环可以不写,把统计放到第一个里 ```cpp #include using namespace std; int x, y, z, t[105], maxx, ans; int main() { cin >> x >> y >> z; for (int i = 1; i…
在讨论《笨人自有笨办法》回复:
个人认为更抽象的做法 ```cpp #include using namespace std; char c; int num[30],ok[105],ans,maxn,minn=0x3f3f3f3f; int main() { while(cin>>c) { num[c-'a'+1]++; } sort(num+1,…
在讨论《求助,60分,为什么会超时?》回复:
@[Rosechille_mengjing](/user/1082298) 改动:对于每个字符判断后直接输出 ```cpp #include using namespace std; string s, w = ""; int t; int main() { getline(cin, s); for (int i =…
在讨论《板块漂移|站外题求助》回复:
@[ShanireZ](/user/116524) 1e3