别人:ʚ 汉译英 ɞ 我:ʚ 汉译音 ɞ
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
在讨论《WA求调》回复:
感谢子非我也大佬帮忙,以a,感谢感谢
在讨论《WA求调》回复:
@[zifeiwoye](luogu://user/1387250)恕我无能,没看出来错哪了,这是我改过后的代码 ```cpp #include #define int long long using namespace std; const int N=1e5+10; int n,q,m; struct note{…
在讨论《WA求调》回复:
@[zifeiwoye](luogu://user/1387250)好的,谢谢子非我也大佬,“已关”。
```cpp #include #define int long long using namespace std; const int N=1e5+10; int n,q,m; struct note{ int l,r,sum,addj,addc; } tree[N =l&&tree[x].r >1; if(mid>…
在文章《题解:P10969 Katu Puzzle》发表评论:
%%%
在文章《题解:P10969 Katu Puzzle》发表评论:
orz
明眼一看,没有看懂;一看样例,懂了一切。 # solution 一道很简单的贪心。既然要次数最小,那就让每次走的步数越大。所以说我们能走 $2$ 步就尽量走 $2$ 步,否则走一步。要是都走不了,就无法全部越过,输出 `-1`。 # code ```cpp #include using namespace std; c…
在讨论《help》回复:
哦,感谢,已关 @[Ryan_L_F](luogu://user/1022974)
```cpp #include using namespace std; const int N=1e5+10; int n,m,ans; int a[N],d[N],dp[N][20]; vector g[N]; queue q; int main(){ cin>>n>>m; for(int i=1;i >a[i];…
在讨论《玄关46分RE》回复:
@[myl_coder](luogu://user/1382496) 你的dfs的最后两个if写得不太对,至于哪不对我也不知道…… 改一下用for循环吧,最后代码如下(修改了*处,~~我的比较简洁~~): ```cpp #include using namespace std; int n, X, Y; vector…
# 题目思路 这道题是一道很简单的模拟题,对于每一次提问,有2种情况 |开头类型|输出结果|判断开头|处理输出|举例输入|举例输出| |:-:|:-:|:-:|:-:|:-:|:-:| |以数字开头|'https://www.luogu.com.cn/problem/' + 'P' + 数字|开头在'0'-'9'之间|…
```cpp #include using namespace std; int m; struct note{ int x, y, t; }; note a[100000]; int cnt = -1; int dx[5] = {0, 0, 1, 0, -1}; int dy[5] = {0, 1, 0, -1, 0…
在讨论《请“大脑”帮帮忙》回复:
@[_H17_](luogu://user/743014) 好的,谢谢
在讨论《请“大脑”帮帮忙》回复:
76分
请“大脑”帮帮看一下哪错了 ```cpp #include using namespace std; int n, a, b, cnt = -1; int k[10000]; int flag[10000]; void dfs(int x, int f){ flag[x] = f; if(x + k[x] f+1) d…