Borderou de evaluare (job #2777916)
Utilizator | Data | 26 septembrie 2021 08:01:43 | |
---|---|---|---|
Problema | Zombie | 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:24:6: error: invalid types 'int[int]' for array subscript
24 | d[0] = 1;
| ^
main.cpp:25:10: error: 'i' was not declared in this scope
25 | for (i = 1; i < n; i++)
| ^
main.cpp:34:14: error: invalid types 'int[int]' for array subscript
34 | cout << d[n - 1];
| ^
main.cpp:12:30: warning: unused variable 'sol' [-Wunused-variable]
12 | int d, n, k, st=0, dr=0, sol=0, nr1, nr2;
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !