这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
在讨论《OI 倒退 15 年(确信》回复:
@[BrotherCall](/user/376265) ~~求链接~~
rt,自己写了个lca结果TLE了,于是照着第一个题解改了下,还是TLE ```cpp #include #define MAXN 500005 #define INF 2147483647 using namespace std; int n, m, s; int dis[MAXN][22], dep[MAXN],…
在讨论《坐标GZ,70分是不是无了?》回复:
@[AFewSuns](/user/224336) 大模拟纯exQAQ
在讨论《坐标GZ,70分是不是无了?》回复:
@[御原凛音](/user/356081) QAQ
在讨论《坐标GZ,70分是不是无了?》回复:
@[Sunraygol](/user/429642) yes
在讨论《为啥加了文件就0了》回复:
人如其名
在讨论《暴力报0求助QAQ》回复:
@[shijihong](/user/383601) 我去,粗心出大问题
```cpp #include #define MAXM 1000005 using namespace std; struct AIRPORT { int a, b; }f1[MAXM], f2[MAXM]; inline bool cmp(AIRPORT a, AIRPORT b) { return a.a > n…
在讨论《样例解释有误》回复:
【样例解释 #1】 在图中,我们用抵达、离开时刻的数对来代表一架飞机,如 (1, 5)(1,5) 表示时刻 11 抵达、时刻 55 离开的飞机;用 √ 表示该飞机停靠在廊桥,用 × 表示该飞机停靠在远机位。
在讨论《help awa》回复:
@[legendgod](/user/151723) 明白了QWQ
```cpp #include #define MAXN 10005 #define MAXM 500005 #define INF 0x7fffffff using namespace std; struct EDGE { int t, n, w; }e[MAXM]; int n, m, s, cnt, dis[MA…
在讨论《救救孩子吧》回复:
@[20240422陈思宇](/user/398860) P1064
```cpp #include #define MAXM 65 #define MAXN 32005 #define child c[t[i]][k] using namespace std; int m, n, top; long long w[MAXM], v[MAXM], dp[MAXN]; int t[MAXM…
在讨论《举报题解》回复:
哪里不整齐了
蒟蒻的代码 ```cpp #include using namespace std; unsigned long long s[25][25] = {0}; int n, m, a, b; bool find(int x, int y){ x--; y--; if(x == a && y == b) return tr…
在讨论《蒟蒻求助(┬_┬) 题号UVa122》回复:
~~代码好像有点长~~
附上蒟蒻代码 ```cpp #include using namespace std; bool flag = false; struct Tree{ int data; Tree *l; Tree *r; bool emp; Tree(){ l = NULL; r = NULL; emp = true; } Tree…
在讨论《这样做超时了~~》回复:
终于可以了 ```cpp #include using namespace std; int t, m; int dp[10005][105] = {0}; struct S{ int t; int v; }s[105]; int f(int time, int i = 0){ if(i == m) return 0;…
```cpp #include using namespace std; int t, m; struct S{ int t; int v; }s[105]; int f(int time, int i = 0){ if(i == m) return 0; int n1 = f(time, i+1), n2 = n1;…