Borderou de evaluare (job #2479803)
Utilizator | Data | 24 octombrie 2019 16:20:04 | |
---|---|---|---|
Problema | Logic | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void build(char*, bool*)':
main.cpp:14:21: warning: array subscript has type 'char' [-Wchar-subscripts]
y [x [i]] = true;
^
main.cpp: At global scope:
main.cpp:27:1: error: 'stack' does not name a type
stack <int> st;
^~~~~
main.cpp:28:1: error: 'vector' does not name a type
vector <int> eval;
^~~~~~
main.cpp: In function 'bool compute(char*)':
main.cpp:32:13: error: 'eval' was not declared in this scope
eval . pb (var [x [i]]);
^~~~
main.cpp:32:34: warning: array subscript has type 'char' [-Wchar-subscripts]
eval . pb (var [x [i]]);
^
main.cpp:38:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:55:38: warning: array subscript has type 'char' [-Wchar-subscripts]
var [nvar [j]] = true;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !