Borderou de evaluare (job #2889683)

Utilizator Iolanda08Iolanda Caliman Iolanda08 Data 13 aprilie 2022 01:44:06
Problema Paranteze Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:28:28: error: cannot resolve overloaded function 'top' based on conversion to type 'int' 28 | nrmax=i=s2.top; | ^~~ main.cpp:32:21: error: 'c' was not declared in this scope 32 | s1.push(c); | ^ main.cpp:39:17: error: expected ';' before 'return' 39 | fout.close() | ^ | ; 40 | return 0; | ~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?