摘要:
A void solve() { ll v, x, y; cin >> v >> x >> y; cout << v / x * y << endl; } B 总共三种情况,直接模拟计算 void solve() { vector<vector<char>> a(4, vector<char>(4) 阅读全文
摘要:
A 按照等差数列直接模拟即可 void solve() { int a, b, d; cin >> a >> b >> d; for (int i = a; i <= b; i += d) cout << i << " "; cout << endl; } B 模拟 void solve() { i 阅读全文
摘要:
A #include <bits/stdc++.h> #define endl '\n' #define x first #define y second using namespace std; typedef long long ll; typedef pair<int, int> pii; t 阅读全文
摘要:
A #include <bits/stdc++.h> #define endl '\n' #define x first #define y second using namespace std; typedef long long ll; typedef pair<int, int> pii; t 阅读全文