Borderou de evaluare (job #639702)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | 100m (clasa a 10-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 9 mar. 2022 22:30:38 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:25:64: error: 'k' was not declared in this scope
25 | a[n1][j] = (a[n0][j] + a[n0][j - 1]) * k % mod;
| ^
main.cpp:28:17: error: 's' was not declared in this scope
28 | s = (s % mod + f[n % 2][i] % mod) % mod;
| ^
main.cpp:28:32: error: 'f' was not declared in this scope
28 | s = (s % mod + f[n % 2][i] % mod) % mod;
| ^
main.cpp:29:17: error: 's' was not declared in this scope
29 | fout << s;
| ^
main.cpp:12:16: warning: unused variable 'sol' [-Wunused-variable]
12 | int n, sol = 0;
| ^~~