0_0_38455818_9774.cpp: In function 'bool check(long long int)':
0_0_38455818_9774.cpp:21:2: error: 'll' was not declared in this scope
ll sum = 0;
^
0_0_38455818_9774.cpp:25:3: error: 'sum' was not declared in this scope
sum += query(l, r);
^
0_0_38455818_9774.cpp:27:9: error: 'sum' was not declared in this scope
return sum >= k;
^
0_0_38455818_9774.cpp: In function 'void solve()':
0_0_38455818_9774.cpp:32:3: error: 'll' was not declared in this scope
ll sum = 0;
^
0_0_38455818_9774.cpp:33:45: error: 'sum' was not declared in this scope
for (int i = 1; i <= n; i++) cin >> a[i], sum += a[i];
^
0_0_38455818_9774.cpp:35:7: error: 'sum' was not declared in this scope
if (sum < k) {
^
|