lang.cpp: In function 'void Excerpt(int*)':
lang.cpp:39:20: warning: iteration 56 invokes undefined behavior [-Waggressive-loop-optimizations]
39 | ++d[L][a[i][j]];
| ~~~~~~^
lang.cpp:37:21: note: within this loop
37 | for (int i = 0; i < 97; ++i) {
| ~~^~~~
lang.cpp:29:27: warning: iteration 56 invokes undefined behavior [-Waggressive-loop-optimizations]
29 | cur += d[i][a[j][k]] * weight[k];
| ~~~~~~^
lang.cpp:27:23: note: within this loop
27 | for (int j = 0; j < 97; ++j) {
| ~~^~~~
lang.cpp:21:15: warning: iteration 56 invokes undefined behavior [-Waggressive-loop-optimizations]
21 | a[i][j] = (1ll * (j ? a[i][j - 1] : 0) * base % mod + E[i + j]) % mod;
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lang.cpp:19:21: note: within this loop
19 | for (int i = 0; i < 97; ++i) {
| ~~^~~~
/usr/bin/ld: /tmp/ccwfQtBM.o: in function `main':
grader.c:(.text.startup+0x12f): undefined reference to `excerpt(int*)'
collect2: error: ld returned 1 exit status