Borderou de evaluare (job #3328968)
| Utilizator | Data | 11 decembrie 2025 13:42:55 | |
|---|---|---|---|
| Problema | Submultimi | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:10:11: error: 'nmax' was not declared in this scope; did you mean 'nmaxx'?
10 | int el[nmax];
| ^~~~
| nmaxx
main.cpp: In function 'int main()':
main.cpp:15:9: error: 'el' was not declared in this scope
15 | el[i] = i;
| ^~
main.cpp:19:16: error: 'nmax' was not declared in this scope; did you mean 'nmaxx'?
19 | bitset<nmax> x(i);
| ^~~~
| nmaxx
main.cpp:19:20: error: template argument 1 is invalid
19 | bitset<nmax> x(i);
| ^
main.cpp:22:18: error: invalid types 'int[int]' for array subscript
22 | if (x[j] == 1)
| ^
main.cpp:23:25: error: 'el' was not declared in this scope
23 | fout << el[j + 1] << ' ';
| ^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
