Archived
00:22(160)
This commit is contained in:
1 parent
c641d85686
commit
1aff2d3011
1 file changed
+1
-1
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user