这名用户暂未设置签名。
追踪最近的用户名外显变动记录。
最近的文章、讨论、云剪贴板与社区记录
# 求调!!! ```cpp #include #include using namespace std; struct stu { int v, x; }a[100010], b[100010], c[100010]; long long ans, s[100010]; bool cmp(stu x, stu y)…
在讨论《求助!回复必关!》回复:
没有判定没有鞍点的情况吧。 另外,帮我调下代码吧qwq[我的题](https://www.luogu.com.cn/discuss/1038235)
## T1 A 喜欢研究「完美序列」:一段连续的序列,满足序列中的数互不相同。A 想知道区间[L,R]之间最长的完美序列长度。 第一行两个整数N,M,N表示序列长度,元素编号为0到N−1,M表示询问的次数; 第二行N个整数,第i个数表示序列元素a[i]. 接下来M行每行两个整数L,R,表示 A 询问的区间。 输出M行,…
在讨论《洛谷 Dataset 代码征集公告》回复:
@[dingYKP](/user/1144424) 没有加粗
在讨论《洛谷 Dataset 代码征集公告》回复:
hp(后排)
在讨论《闲问(关于GESP)》回复:
大概能吧 ```cpp while (rp != inf) rp++; ```
在讨论《本题不降低难度评级》回复:
qp
```cpp #include #include #include using namespace std; vector g[110]; bool f1[110], f2[110]; void DFS(int u) { for (int v : g[u]) { if (!f1[v]) { f1[v] = f2[v]…
在讨论《迷惑同学的代码为什么错了?》回复:
运算符怎么重载?
在讨论《迷惑同学的代码为什么错了?》回复:
谢谢
求助大佬,这该怎么改? ```cpp #include using namespace std; #define a&b max(a,b)-min(a,b)+1 #define a|b a+b-1 int main() { cout << 3&3 << " " << 3|3; return 0; } ```
在讨论《关于 CSP 前题解审核工作的公告》回复:
CSP初赛没过,555
```cpp #include using namespace std; int a[10010]; int main() { int n, mx = 0, cnt = 0; cin >> n; for (int i = 1; i > a[i]; } for (int i = 2; i mx) mx = a[i]; c…
```cpp #include #include using namespace std; int n, m, b, c, d, e; char a[16400]; bool vis[16400]; struct stu { int x, y, s; }; queue q; int dx[10] = {1,1,-1,1…
在讨论《比赛作弊处罚公告》回复:
zc
在讨论《33分,求助》回复:
[帮帮我吗](https://www.luogu.com.cn/discuss/613921)
在讨论《33分,求助》回复:
```cpp #include #include using namespace std; int main(){ int a,b,c,d,e,f; cin >> d >> e >> f; // 题目未保证从小到大输入 a = max(d, max(e, f)),c = min(d, min(e, f)),b = d…
### 帮我过题者赏关 ```cpp #include using namespace std; int main() { long long t, n, m; cin >> t; for (int i = 1; i > n >> m; if (m > n + 1) cout << "Yes" << endl; els…
### 哪个大佬能拯救下本蒟蒻 ```cpp #include using namespace std; long long a[25][25]; int main() { a[0][0] = 1; int n, m, x, y; cin >> n >> m >> x >> y; for (int i = 0; i <…
在讨论《请问怎么优化啊 这代码又臭又长》回复:
其实这道题用dfs更好 ```cpp #include #include using namespace std; int n, m; string a[105]; bool f[105][105]; void dfs(int x, int y) { if (x n || y = m || a[x][y] == '#'…
在讨论《(2020.4.28更新)题目难度评分反馈帖》回复:
T205918 彩虹题 Rainbow(2)难度目前为省选/NOI-,给出的难度过高,建议调为入门。
在讨论《[YsOI2022]新年欢乐赛 致歉声明》回复:
我本来还要加咕值的,呜呜呜