Borderou de evaluare (job #3340168)
| Utilizator | Data | 12 februarie 2026 13:45:37 | |
|---|---|---|---|
| Problema | Subsir crescator maximal | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:5:1: error: expected unqualified-id before numeric constant
5 | 20
| ^~
main.cpp: In function 'int main()':
main.cpp:21:5: error: 'd' was not declared in this scope
21 | d[1] = 1;
| ^
main.cpp:24:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
24 | for (j=1;j<i;j++)
| ^~~
main.cpp:29:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
29 | d[i] = maxim + 1;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
