oi学习者
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
第一个点总是TLE,AI也优化不明白, 有没有大神帮小白改改 ``` #include using namespace std; typedef long long ll; const int N = 2005, M = 3005; int T, n, m, to[M > T; while (T--) { cin >>…
在讨论《求大神oi帮忙,50分》回复:
@[Sjdjcook](luogu://user/1082433) 不知道啊,服了
为啥怎么都只有50分,求大神oi帮忙查看 ``` #include using namespace std; typedef long long ll; const int N = 1000005; ll arr[N]; ll Max[N > 1; build(l, mid, i > 1; down(i); if (j…
能过案例,看了好久找不出问题,哪位大佬帮小白调一下谢谢 ``` #include using namespace std; const int N = 200005; struct Edge{ int a, b, c; bool operator > n >> m; for (int i = 1; i > c; if…
在讨论《能过案例,测评全错,呜呜呜》回复:
@[qiuqiuhome](luogu://user/1088038) 谢了,兄弟,没建双向边
代码按照模版写的,能过案例,但是测评全错我不理解 本人新手小白,求大神调谢谢 ``` #include using namespace std; const int N = 200005, INF = 0x3f; int e[N], ne[N], h[N], w[N], idx; int st[N], dis[N];…
样例能过,其他全错,也不知道为什么 第一次学,都是照着模版写的 求求大佬调一下看看,谢谢 ``` #include using namespace std; const int N = 3005; int T, n, m; int e[N], ne[N], w[N], h[N], idx; int cnt[N], di…
在讨论《线段树板子全RE,不知道哪里出问题了,求调》回复:
@[Rigel](luogu://user/602458) 谢谢兄弟,但是还是有最后一个测试点过不了,能不能再帮我看下,感谢
***幸苦大神帮忙看看哪里出了问题,全RE了*** ``` #include using namespace std; typedef long long ll; const int N = 100005; ll arr[N]; ll sum[N > 1; build(l, mid, i = jobr) { lazy(…
在讨论《写了树状数组板子,但是全部RE了,求调,谢谢大佬》回复:
@[__jwh2024__](luogu://user/1426090)谢谢,看了好久么发现,关注了
**全部RE了,感谢大家解决** ``` #include using namespace std; const int N = 5e5 + 5; typedef long long ll; ll c[N]; int n, m; ll lowbit(ll x) { return x & -x; } ll sum(ll…