Borderou de evaluare (job #2728252)
Utilizator | Data | 22 martie 2021 22:47:01 | |
---|---|---|---|
Problema | Alibaba | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:17:1: error: 'stack' does not name a type
stack<int> solutie;
^~~~~
main.cpp:20:14: error: variable or field 'afisare' declared void
void afisare(stack<int> s){
^~~~~
main.cpp:20:14: error: 'stack' was not declared in this scope
main.cpp:20:20: error: expected primary-expression before 'int'
void afisare(stack<int> s){
^~~
main.cpp: In function 'int main(int, const char**)':
main.cpp:33:5: error: 'solutie' was not declared in this scope
solutie.push(val[0] - '0');
^~~~~~~
main.cpp:44:20: error: 'afisare' was not declared in this scope
afisare(solutie);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !