Borderou de evaluare (job #3295195)
Utilizator | Data | 3 mai 2025 14:11:44 | |
---|---|---|---|
Problema | Parantezare | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:10:11: error: invalid use of non-static data member 'stive::d'
10 | int v[d];
| ^
main.cpp:9:9: note: declared here
9 | int d;
| ^
main.cpp: In function 'void push(stive&, int)':
main.cpp:16:5: error: 'v' was not declared in this scope
16 | v[st.sz-1]=n;
| ^
main.cpp: In function 'int main()':
main.cpp:56:30: error: expected ';' before '}' token
56 | push(stiva,1)
| ^
| ;
57 |
58 | }
| ~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !