摘要: 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 < 阅读全文
posted @ 2020-10-25 20:53 洛绫璃 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 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 << 阅读全文
posted @ 2020-10-25 01:34 洛绫璃 阅读(102) 评论(0) 推荐(0) 编辑