Borderou de evaluare (job #3283116)
Utilizator | Data | 8 martie 2025 11:04:06 | |
---|---|---|---|
Problema | Alee | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:10:10: error: invalid types 'int[int]' for array subscript
10 | dp[0][0] = 2 /// a sau b;
| ^
main.cpp:12:21: error: 'i' was not declared in this scope
12 | for( int i = 2; i <= n; i++ ){
| ^
main.cpp:16:20: error: invalid types 'int[int]' for array subscript
16 | cout << ( dp[n][0] + dp[n][1] ) % MOD;
| ^
main.cpp:16:31: error: invalid types 'int[int]' for array subscript
16 | cout << ( dp[n][0] + dp[n][1] ) % MOD;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !