made compiler happy

This commit is contained in:
Ahmet Inan 2025-12-25 12:27:33 +01:00
commit c5940d059c
7 changed files with 14 additions and 13 deletions

View file

@ -41,7 +41,7 @@ public:
}
for (int i = 0; i < q; ++i) {
int cnt = cnc[i];
int offset[cnt], shift[cnt];
int offset[CNC], shift[CNC];
for (int c = 0; c < cnt; ++c) {
shift[c] = pos[CNC*i+c] % M;
offset[c] = pos[CNC*i+c] - shift[c];