intmain() { int n, Q, tc; ios::sync_with_stdio(false); cin >> n >> Q >> tc; vector<ll> t(n + 1); for(int i = 1; i <= n; i ++) cin >> t[i]; sort(t.begin(), t.end()); for(int i = 1; i <= n; i ++) t[i] += t[i - 1]; while(Q --) { ll M; cin >> M; //(n - pos)* tc <= M ll c = min((ll)n, M / tc);//防止越界 ll ans = t[n - c] + tc; cout << ans << '\n'; } return0; }
int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int n; cin >> n;
int ans = 0; for (int i = 0; i < n; i++) { int x, y, r; cin >> x >> y >> r; if (x <= 9 && x >= -9 && y <= 9 && y >= -9) { ans++; } } if (ans <= n / 90) { cout << "bit-noob\n"; } else { cout << "buaa-noob\n"; }