摘要:
3210. 找出加密后的字符串 class Solution { public: string getEncryptedString(string s, int k) { int n = s.size(); string t = s; for(int i = 0; i < n ; i ++) t[i 阅读全文
摘要:
A - Not Too Hard #include <bits/stdc++.h> using namespace std; using i32 = int32_t; using i64 = long long; #define int i64 using vi = vector<int>; i32 阅读全文
摘要:
B. String #include <bits/stdc++.h> using namespace std; using i32 = int32_t; using i64 = long long; using vi = vector<int>; i32 main(){ ios::sync_with 阅读全文
摘要:
A - Buttons #include <bits/stdc++.h> using namespace std; int main() { int a, b; cin >> a >> b; int res = 0; if(a > b) res += a, a --; else res += b, 阅读全文
摘要:
A-Bingbong的化学世界 #include<bits/stdc++.h> using namespace std; const int maxn = 1001; int a[maxn]; int main() { string t = "...|..."; vector<string> x(6 阅读全文
摘要:
A-小红进地下城 a = input() b = input() if a == b : print("Yes") else: print("No") B-小红打怪 #include <bits/stdc++.h> using namespace std; int main() { int n, m 阅读全文
摘要:
https://voj.mobi/contest/242/problems,密码2024ecnutsol A - 调和与折中 #include <bits/stdc++.h> using namespace std; using i32 = int32_t; using i64 = long lon 阅读全文