月亮好闪!拜谢月亮!|不勾七不改个签
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
在讨论《默哀》回复:
qp
在讨论《NOIP 2023 游记集合贴【更新至24 页】》回复:
[NOIP2023游记](https://www.luogu.com.cn/blog/970336/noip2023-you-ji)
在讨论《祝大家 NOIP RP++》回复:
月亮好闪,拜谢月亮。
在讨论《NOIP RP++》回复:
`unsined long long rp = -1;`
在讨论《这个代码还能怎样优化啊》回复:
@[As_Snow](/user/548999) 是这样的,但是我觉得1.2秒暴力能卡过去
代码如下 ```cpp // // Created by ymbdff on 2023.11.15 // #include #include using namespace std; #define LL unsigned long long #define int unsigned int const int MOD…
在讨论《编程有诀窍吗???》回复:
拜月亮,月亮好闪,拜谢月亮。
```cpp char buf[1000005],*p1,*p2,c; #define gc (p1==p2&&(p2=(p1=buf)+fread(buf,1,1<<22,stdin),p1==p2))?EOF:*p1++ inline int read(){ int an=0,f=1;while(!isdigit(…
```cpp // // Created by 96454 on 2023/9/26. // #include using namespace std; #define MAXN 100010 #define int long long template inline void rd(T &x) { int w = 1…
在讨论《一点小疑惑》回复:
@[Transparent](/user/180576) 不过为什么求最长路啊,dinic板子不是最短路吗
在讨论《一点小疑惑》回复:
@[Transparent](/user/180576) 这就对了,因为我还没去判两个人中间有没有人。Thanks♪(・ω・)ノ
在讨论《一点小疑惑》回复:
@[Transparent](/user/180576)
我建好了边,可是应该怎么改变Dinic才行啊。 Dinic: ```cpp // // Created by lndff on 2023.11.09 // #include using namespace std; #define LL long long const int N = 210000; const int…
在讨论《为何我的for中i从n-1开始往下递减部分AC,但i从2往上就全AC》回复:
@[Eastory](/user/1194714)
在讨论《为何我的for中i从n-1开始往下递减部分AC,但i从2往上就全AC》回复:
你这个有break,第一个代码会找到最大的因数,第二个代码会找到最小的因数
### **题目描述** 给定一个数组 $a_1, a_2, ..., a_n$。你需要找到一个数组 $b_1$, $b_2$, ..., $b_n$,其中包含数字 $1, 2, 3$,使得以下三个条件中恰好有两个条件被满足: - 存在 $1\le i, j\le n$,使得 $a_i=a_j,b_i=1,b_j=2$…
在讨论《一点小疑惑》回复:
全部代码: ```cpp // // Created by lndff on 2023.11.09 // #include using namespace std; #define LL long long #define int LL const int N = 210000; const int M = 50100…
我建好了边,可是应该怎么改变Dinic才行啊。 Dinic: ```cpp inline int dfs(int x, LL sumflow){ if (x == t) return sumflow; LL res, ret = 0; for (int i = temp[x]; i && sumflow; i = Ne…
在讨论《关于luogu》回复:
山前刘明
在讨论《为什么?求答》回复:
@[Terrible](/user/195942) Thanks♪(・ω・)ノ
在讨论《为什么?求答》回复:
@[NaHCO3_tht](/user/473188) 可是计算部分我是开了`LL`的
Dinic: ```cpp // // Created by lndff on 2023.11.07 // #include using namespace std; #define LL long long #define int LL const int N = 210000; const int M = 5010…
```cpp // // Created by lndff on 2023.11.06 // #include using namespace std; template inline void read(T &x){ int w = 1;x = 0;char s; while (!isdigit(s = getcha…