00:22(160)

This commit is contained in:
Your Name committed 2026-11-01 00:22:03 +08:00
1 parent c641d85686
commit 1aff2d3011
1 file changed
+1 -1
+1 -1
View File
@@ -4,7 +4,7 @@ int n;
long long m;
long long a[500005];
long long qsum[500005];
bool checkb(int mid, int now, int tot) {
bool checkb(int mid, long long now, int tot) {
return mid * now - (qsum[tot] - qsum[tot - mid]) <= m;
}
long long check(long long now, int tot) {