Borderou de evaluare (job #723465)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Increment & Max | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 10 iun. 2023 12:35:14 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:45:63: error: 'X' was not declared in this scope
45 | while (!maxVals.empty() && V[maxVals.back()] <= V[X]) {
| ^
main.cpp:48:31: error: 'X' was not declared in this scope
48 | maxVals.push_back(X);
| ^