Borderou de evaluare (job #3001586)
Utilizator | Data | 13 martie 2023 19:35:33 | |
---|---|---|---|
Problema | Inv | 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:13:17: error: 'i' was not declared in this scope
13 | int v[n], s[i] = {0};
| ^
main.cpp:21:17: error: 's' was not declared in this scope
21 | s[j]+= s[i] + 1;
| ^
main.cpp:27:14: error: 's' was not declared in this scope
27 | sum+=s[i];
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !