Borderou de evaluare (job #3367368)
| Utilizator | Data | 7 octombrie 2026 11:20:32 | |
|---|---|---|---|
| Problema | Sum | 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:19:9: error: 'totalSum' was not declared in this scope; did you mean 'totalsSum'?
19 | totalSum += sticks[i];
| ^~~~~~~~
| totalsSum
main.cpp:25:22: error: 'totalSum' was not declared in this scope; did you mean 'totalsSum'?
25 | for (int j = totalSum; j >= sticks[i]; j--) {
| ^~~~~~~~
| totalsSum
main.cpp:32:11: error: 'total' was not declared in this scope
32 | int x=total/2;
| ^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
