Borderou de evaluare (job #661243)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Skyline (clasa a 7-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 11 sept. 2022 23:31:40 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:13:1: error: 'stack' does not name a type; did you mean 'obstack'?
13 | stack<Andrei> q;
| ^~~~~
| obstack
main.cpp: In function 'int main()':
main.cpp:23:17: error: 'q' was not declared in this scope
23 | while( !q.empty() && q.top().h >= h ) {
| ^
main.cpp:32:9: error: 'q' was not declared in this scope
32 | q.push( element );
| ^