摘要:
A. Maximum Element In A Stack 按照题目模拟就好,栈内的最大值可以维护单调栈解决。 #include <bits/stdc++.h> using namespace std; using i64 = long long; using ui32 = unsigned int 阅读全文
摘要:
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 阅读全文
摘要:
A. Stickogon #include <bits/stdc++.h> using namespace std; using i32 = int32_t; using i64 = long long; #define int i64 using vi = vector<int>; const i 阅读全文
摘要:
https://codeforces.com/gym/104883 A #include <bits/stdc++.h> using namespace std; using i32 = int32_t; using i64 = long long; using vi = vector<int>; 阅读全文
摘要:
A - Divisible #include <bits/stdc++.h> using namespace std; using i32 = int32_t; using i64 = long long; #define int i64 using vi = vector<i64>; using 阅读全文
摘要:
A. Setting up Camp #include <bits/stdc++.h> using namespace std; using i32 = int32_t; void solve() { int a, b, c; cin >> a >> b >> c; int res = a + b 阅读全文