Problem | container |
---|---|
User | Pan |
Submission Time | 2024-03-05 20:14:38 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
container.cpp:31:1: error: expected ‘,’ or ‘;’ before ‘ll’
31 | ll srq[100005][blk+5];
| ^~
container.cpp: In function ‘int main()’:
container.cpp:37:52: error: ‘srq’ was not declared in this scope
37 | for (ll i=1; i<=n; ++i) for (ll j=0; j<=blk; ++j) srq[i][j] = 0;
| ^~~
container.cpp:42:16: error: ‘srq’ was not declared in this scope
42 | if (d<=blk) {srq[a][d]++; if (a+l*d<=n) {srq[a+l*d][d]--;}}
| ^~~
container.cpp:49:15: error: ‘srq’ was not declared in this scope
49 | if (i-j>0) srq[i][j]+=srq[i-j][j];
| ^~~
container.cpp:50:12: error: ‘srq’ was not declared in this scope
50 | val[i]+=srq[i][j];
| ^~~