找线段距离最小值求中位值qwq
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
在文章《令我感到失败的竞赛》发表评论:
加油!打破天生的劣等感!
在讨论《LGR-260/LGR-257 作弊名单》回复:
第一次这么前qp
在文章《NOIP2025 个人题解 - LCA》发表评论:
%%%
在讨论《洛谷基础赛 #27 &「S4OI」Round 1 赛时答疑帖》回复:
qpzc
在讨论《dp做法,求条》回复:
数据有重复时会WA:(
```cpp #include using namespace std; long long n,a[5001],f[5001],ans,g[5001]; const int mod=998244353 ; int main(){ cin>>n; for(int i=1;i >a[i]; sort(a+1,a+1+n)…
自测赛通过代码: ```cpp #include using namespace std; int a,sum[500005],dp[500005]; map mp; int main(){ int n,k,ans=0; cin>>n>>k; mp[0]=0; for(int i=1;i >a; sum[i]=sum[…
正确代码 ```cpp #include using namespace std; int a,sum[500005],dp[500005]; map mp; int main(){ int n,k,ans=0; cin>>n>>k; mp[0]=0; for(int i=1;i >a; sum[i]=sum[i-1]…
在文章《CSP失恋姬》发表评论:
洛谷请到高人了
在文章《全国最低分诞生了》发表评论:
还好T3我写过差不多的狮山(
### [传送门](https://www.luogu.com.cn/problem/P14076) ```cpp #include using namespace std; struct num{ long long y,l; }; vector v[100005]; long long n,x,y,z,sum,d[…
在讨论《入门赛、SCP-S、SCP-J 作弊名单(棕294封54)》回复:
db
在文章《那场大雪撕裂了我的【】》发表评论:
怎么又是刀/tx
在文章《没有雨,没有你,没有 OI》发表评论:
好短a
在文章《恐日病》发表评论:
/kel
在文章《借我一片繁星,还你半生天明》发表评论:
wtf我看了2h
在文章《发送一朵云》发表评论:
豪b( ̄▽ ̄)d
在文章《樱落千羽寄长念,星河永耀映君颜》发表评论:
qp
在文章《那场大风夺去了我的【】》发表评论:
可以写《那场大手术破坏了我的【】》吗
在文章《睡前的梦》发表评论:
orzorzorz
在讨论《思路没错,样例炸了,why?baby,why?》回复:
@[Red_Dawn](luogu://user/766647)@[Fine_Dust_Z](luogu://user/1317007)谢谢,知道了,~~我怎么会犯这种错误!~~
思路:用完全背包, $i$ 为体积, $fj(i)$ 表示 $i$ 的因数和也就是价格, 背包容量= $s$ 物品数也= $s$ $所以$ : ```cpp #include using namespace std; long long s,f[1001]; int fj(int x){ int cnt; for(in…
AC🐴: ```cpp #include //普通的完全背包DP做法 using namespace std; int m,f[100000]; int dabiao[20]={0,1,16,81,256,625,1296,2401,4096,6561,10000,14641,20736,28561,38416,50…
在讨论《建议加强数据》回复:
@[return_second](luogu://user/1047309)讲讲,蒟蒻只知道DP的 $O(n^3)$ awa
在讨论《2.48sOI Round 1 比赛作弊名单》回复:
事实证明,不要跟AI一个码风doge
在讨论《88分求调》回复:
磁铁结
```cpp #include using namespace std; int len,n,d[100001],a[100001],j,f[100001],maxn,lj; int two(int x){ int l=1,r=len,mid,ans; while(l =x){ ans=mid; r=mid-1; }…
不要問我為什麽4繁體, 我會改早就改力 ```cpp #include using namespace std; int m,maxn=-1; struct num{ int n,s; }c[200005]; bool cmp(num x,num y){ return x.n >m; for(int i=1;i >c[…