Borderou de evaluare (job #603983)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Maxim (clasa 7-8) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 17 aug. 2021 12:44:06 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:17:3: error: no match for 'operator[]' (operand types are 'std::stack<int>' and 'int')
17 | }s[1]=v[1] n=1;
| ^
main.cpp:24:2: error: no match for 'operator[]' (operand types are 'std::stack<int>' and 'int')
24 | s[++n]=v[i]
| ^