摘要: A. Maximum Element In A Stack 按照题目模拟就好,栈内的最大值可以维护单调栈解决。 #include <bits/stdc++.h> using namespace std; using i64 = long long; using ui32 = unsigned int 阅读全文
posted @ 2024-04-28 16:06 PHarr 阅读(6) 评论(0) 推荐(0) 编辑
摘要: A-超级闪光牛可乐 #include <bits/stdc++.h> using namespace std; using f64 = double_t; using i32 = int32_t; using i64 = int64_t; using u64 = uint64_t; #define 阅读全文
posted @ 2024-04-28 16:05 PHarr 阅读(2) 评论(0) 推荐(0) 编辑