小目标:1000道题,约差649
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
```cpp #include using namespace std; const int N=1e5+10; int n,m; vector E[N]; int idx,dfn[N],vis[N],low[N],top,sta[N],scc_cnt,scc[N]; void tarjan(int u){ low[u…
```cpp #include #define int long long using namespace std; int n; const int N=5e5; char a[N]; char s[N]; int f[N]; int nxt[N],to[N],head[N]; long long sum[N]; l…
```cpp #include using namespace std; const int N=1e5+100; int n; int root; struct kl{ int l,r; }b[N]; int c[N]; int a[N]; struct node{ int l,r; long long sum,ad…
在讨论《WA100 but WA 11#》回复:
已AC
```cpp #include #define int long long using namespace std; int n,p,b,m; inline int q_pow(int a,int b,int p){ int c=1; while (b){ if (b&1) c=a*c%p; a=a*a%p;b>>=1…
$$$day -n$$$ 马上就要csp了,凉凉,不会dijstra $$$day -1$$$ 前一天史记,我不小心写了个树状数组,被人当成同时参加csp-j/s的daolao(可我连dijstra都不会) 写二分居然没炸,能跑 \9:30直接跑路 $$$day 1$$$ T1和T2直接秒了**5min** T3一看蒙…
```cpp #include using namespace std; const int N=5e5+10; int a[N]; int n; int tree[N<<2]; inline int lowbit(int x){ return x&-x; } inline int query(int x){ int…
在文章《题解:P1095 [NOIP2007 普及组] 守望者的逃离》发表评论:
牛,大佬太牛了
```cpp #include using namespace std; //dp[i][j] int n,k; const int N=5500; int dp[N][N]; struct node{ int x,y; }a[N]; bool cmp(node x,node y){ if (x.x==y.x){ re…
在讨论《16分求调》回复:
谢谢大家,我已经AC了
```cpp #include using namespace std; struct noe{ string x; int nian,yue,ri,id; }st[1234]; bool cmp(noe x,noe y){ if (x.nian!=y.nian) return x.nian y.id; } int n…
在讨论《《深入浅出(进阶篇)》开售》回复:
什么时候出noi版
```cpp #include using namespace std; #define int long long const int N=100005,INF=0x3f3f3f3f; int dp[N],n,m,e,len; inline int min(int x,int y){ if (x>y) return…
最大子段和: ```cpp #include using namespace std; /* dp[i]表示以第i个数结尾的最大字段和 dp[i]=max(dp[i],for(int j=i-1;j>=1;j--)dp[i]+a[j]; */ const int N=2e5+100; long long dp[N];…
背包 DP: https://www.luogu.com.cn/article/6gosht8f https://www.luogu.com.cn/article/7339h2ok https://www.luogu.com.cn/article/yqalwjuo 区间dp: https://www.luogu.com…
在讨论《《深入浅出》相关反馈入口》回复:
P149在特判的时候输出的应该是“No!!!”而不是“No!!!!”(多了一个!)
在文章《NOI2025卡线记》发表评论:
祝我rp++
在文章《NOI 2025 游记》发表评论:
rp++
在文章《2025联合省选游记》发表评论:
祝我rp++ (csp-j2025)
在文章《退役杂谈》发表评论:
呜呜呜
在文章《NOI 2025 游记》发表评论:
我化风行万里 越过山海找寻 用尽所有运气 只为遇见你 哪怕只是残影 也当作回应 在云层尽头 写下你的名【我泪幕了,真的】
在文章《NOI2025终局之战摘银记》发表评论:
文笔太好了,祝我RP++