꧁稻花香里说丰年,听取WA声一片_•́へ•́╬_⎛⎝≥⏝⏝≤⎛⎝ฏ๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎๎.҉ོ七年级的蒟蒻꧂
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
在讨论《求调 54pts》回复:
此贴结,自己调好了 极大值太大了,做加法时可能会溢出
```cpp line-numbers #include using namespace std; typedef long long ll; const ll INF = LLONG_MAX; int n, m, x, y, matched[505], bef[505]; ll dis[505][505], ex[5…
```cpp #include using namespace std; typedef long long ll; const int INF = INT_MAX; int n, m, len, cnt; int f[100005], top[100005], id[100005], size[100005], so…
```cpp #include using namespace std; typedef long long ll; ll L, k, ans1 = -1, ans2 = -1; ll a[100005]; ll check(ll x) { ll cnt = 0; ll len = 0; for (int i = 0;…
在讨论《【LGR-237-Div.3】洛谷基础赛 #25 赛时答疑帖》回复:
qp
在讨论《问关于编译器》回复:
@[mediocre_](luogu://user/565707) 。。。
在讨论《问关于编译器》回复:
小熊猫在[这里](https://soft.3dmgame.com/down/324746.html)下,我的就是在这下的,无病毒
一道搜索题。 # 思路分析 用 dfs 暴力枚举即可,由于 $n,k \le 6$,所以解法不会超时。 dfs 每一个指令,匹配每一个服务器,只要找到第一种解,就是字典序最小的,因为每一层遍历都是从小到大的。 **1. 确定递归边界:** 当 $k$ 个指令都匹配完后,就找到了正解。 ```cpp if (x == k…
```cpp #include #include using namespace std; int l, r, L, R, k; bool iswavingnumber(string x) { if (x.size() == 1) return true; if (x.size() % 2 == 1) x += x[1…
在讨论《喂喂喂admin啊》回复:
此人甚牛而逼之
```cpp #include #include #include using namespace std; int n, m; bool vis[185][185]; int ans[185][185]; char map[185][185]; struct node { int x, y; }; void bfs(…
在讨论《建议降橙》回复:
这题数据还有点水,用 $O(m^2)$ 的暴力枚举加 C 风格的输入输出就能过
在文章《P1001 A+B Problem 题解》发表评论:
这篇题解好友善喵
在讨论《我是奶龙,分数又配错了》回复:
《我是奶龙》 我才是奶龙
在讨论《(更新完毕)【LGR-220-Div.4】Cheater Userlist》回复:
qpzc
# 代码 ```cpp line-numbers namespace BigInt { using namespace std; class INT { private: int a[10005]; // 倒序高精度数组 int len; // 高精数字位数(长度) bool f = false; // 负数标记(0…
```cpp #include #include #include using namespace std; int n, m; string map[1005]; bool vis[1005][1005]; bool in(int x, int y) { return x >= 1 && x = 1 && y q;…
在讨论《20分求助!!!help!!!》回复:
注意审题。 题上说第一个数表示连续有几个 $\texttt 0$,如果矩阵的第一个数是 $\texttt 1$,还需要输出一个 $0$,表示连续有 $0$ 个 $\texttt 0$。所以应该加特判: ```cpp #include using namespace std; int main(){ int s = 0,…
在讨论《60pts求助》回复:
在 `x-2` `y-2` `o-2` `p-2` 时,下标可能小于 $0$,因此可以加n个判断: ```cpp #include using namespace std; int a[1005][1005]; int main(){ int n, m, k, x, y, o, p, s = 0; cin >> n >…
在讨论《我嘞个RE》回复:
```cpp #include #include using namespace std; int n, m, q; int a[1000005]; int main() { cin >> n >> m; for (int i = 1; i > a[i]; } for (int i = 1; i > q; if (a[…
在讨论《求条玄关》回复:
注意审题。 每只公鸡 $x$ 元,那么公鸡的总价是 $i \times x$,并非 $i \div x$; 每只母鸡 $y$ 元,那么母鸡的总价是 $j \times y$,并非 $j \div y$。 ```cpp #include using namespace std; int x, y, z, n, m, cn…
在讨论《TLE on #5 求调》回复:
@[KnCRJNET](luogu://user/1391951) 谢谢
在讨论《扣 1 复活讨论区》回复:
愚人节发的能是真的吗???
在讨论《WA on #9 #10》回复:
@[Yowjen](luogu://user/1240853) 谢谢,过了
```cpp #include #include using namespace std; int n; char tree[30]; map Index; void front(int node) { if (tree[node] == '*') { return; } cout > n; char node, Le…
```cpp #include #include #include #define in(x, y) x >= 0 && y >= 0 && x q; q.push({x, y}); dis[x][y] = 0; while (!q.empty()) { node now = q.front(); q.pop(); i…
在讨论《85分求调》回复:
@[Yowjen](luogu://user/1240853) 过了,万分感谢