我爱OI
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
在文章《ZJ NOIP2025 迷惑行为大赏》发表评论:
ZJ-0641考生报道(doge
在文章《NOIP 2025 游记》发表评论:
orz
求n个物品(x+y)的min, 以区间l = 1, r = m.pre+1来三分最值 f函数为以传入的ll,lr,计算(x+y)*ll\lr,加上其它点的x贡献,求出最值
在讨论《有些疑问》回复:
@[litangzheng](luogu://user/1412732) 那就赌CCF数据比较水了 (三分没写等号感觉边界炸不了)
在讨论《有些疑问》回复:
@[litangzheng](luogu://user/1412732) 结果能一样吗 感觉好像就是最大值
在讨论《有些疑问》回复:
@[litangzheng](luogu://user/1412732) 什么意思不太理解(
在讨论《求调WA#13不知道炸哪里了》回复:
@[wmmyh](luogu://user/1633249) @[Sharkat_Star](luogu://user/1508216) @[Segment_Tree](luogu://user/51467) 感谢各位大佬!!!!!! (真成眼瞎了)
```cpp #include using namespace std; int n,m; struct node{ int u,v,w; } a[200100]; bool cmp(node a,node b) { return a.w >n>>m; for(int i=1;i >u>>v>>w; a[i].u =…
在讨论《0pts求调 悬赏关注》回复:
@[He_XY](luogu://user/1380676) 已关 谢谢大佬
```cpp #include using namespace std; int n,m,q; const int inf = INT_MAX; int ti[100100]; struct node{ int v,w,nxt; } a[100100]; int cnt = 0; int head[100100]; v…
```cpp #include using namespace std; int t,n; long long a[100100][5]; queue q1,q2,q3; long long b[100100]; int main() { //freopen("P14361_13.in","r",stdin); //f…
这个代码调不出来 好心大佬帮帮蒟蒻吧!!! ```cpp #include using namespace std; int n,m,k; int fei[30]; int f[15000]; struct node{ int u,v,w; } a[1010000]; struct node1{ int u,v,w;…
```cpp #include using namespace std; int t,n; long long a[100100][5]; queue q1,q2,q3; long long b[100100]; int main() { //freopen("in.txt","r",stdin); //freopen…
```cpp #include using namespace std; int n; int a[100100]; int s[100100]; int ru[10000]; string s1,s2; long long time(string &s) { int c1 = (int(s[0])-48)*1000+…
在讨论《0pts求调 悬赏关注》回复:
@[qwerty12346](luogu://user/760708) RE解决了,但是只有40pts 已关注
```cpp #include using namespace std; int n,m,q; long long a[100100],b[100100]; long long l1,l2,r1,r2; long long logn[1000000]; long long f1[100100][30][5];//区间最…
```cpp #include using namespace std; int n,m,s,t; struct node{ int v,w,nxt; } a[100000]; int cnt = 0; int head[100000]; int dis[100000]; int vis[100000]; void a…
```cpp #include using namespace std; int n,m; int mod = 1e5+3; int cnt = 0; struct node{ int v,nxt; } a[1000010]; int head[4001000]; void addedge(int u,int v) {…
```cpp #include #define ll long long #define PII pair using namespace std; ll n,m,k,s,t; ll head[500010]; priority_queue ,greater > heap; ll cnt = 0; struct nod…
在讨论《60pts floyd求调》回复:
@[WAMLE](luogu://user/1517836) 感谢大佬!!!!!已关
```cpp #include using namespace std; int n; long long g[110][110]; long long b[110]; int main() { cin>>n; for(int i=1;i >b[i]; cin>>l>>r; if(l != 0) g[i][l] = g…
在文章《P14253 旅行(trip)题解》发表评论:
这题数据O(N^2)好像除了最后一个点都可以?
```cpp #include using namespace std; int n; int dp[2][20010]; int l[20100],r[20100]; int main() { cin>>n; for(int i=1;i >l[i]>>r[i]; } memset(dp,0,sizeof(dp));…
在讨论《15pts 求调》回复:
@[Tiffake](luogu://user/928604) 感谢大佬!!!!
```cpp #include using namespace std; int n,m; using ll = long long; long long a[100100]; long long d[200100]; long long b[200100]; void build(ll s, ll t ,ll p){…
在讨论《为啥RE??》回复:
```cpp #include using namespace std; int t,n,m,k; int x,y,d; char mp[1010][1010]; char vis[1010][1010]; int tx[10] = {0,1,0,-1}; int ty[10] = {1,0,-1,0}; int df…
在讨论《大犇们救救我!60分求调!!》回复:
@[jianping12_AC](/user/987084) 要要要!!!换了个号