摘要:
A 读错提了, A, B都是从1开始 int main() { IOS; ll n;__int128 a = 3; cin >> n; for (int i = 1, j = 1; a < n; ++i, a *= 3, j = 1) { __int128 b = 5; for (; a + b < 阅读全文
摘要:
A 不是 2 就是 3 int main() { IOS; cin >> n >> m; int cnt = 0; rep (i, 1, n) cin >> a[i], cnt += (a[i] == 1); if (cnt >= 2) cout << 2 << '\n'; else cout << 阅读全文