Borderou de evaluare (job #3333911)

Utilizator Andrada_MincaAndrada Minca Andrada_Minca Data 15 ianuarie 2026 16:06:16
Problema Evaluare 2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int exponent()': main.cpp:43:5: error: 'stack' was not declared in this scope 43 | stack<int>st; | ^~~~~ main.cpp:9:1: note: 'std::stack' is defined in header '<stack>'; did you forget to '#include <stack>'? 8 | #include <fstream> +++ |+#include <stack> 9 | using namespace std; main.cpp:43:11: error: expected primary-expression before 'int' 43 | stack<int>st; | ^~~ main.cpp:44:5: error: 'st' was not declared in this scope; did you mean 'std'? 44 | st.push(ans); | ^~ | std main.cpp:56:13: error: 'pow' was not declared in this scope 56 | ans=pow(chestie,pt); | ^~~ Non zero exit status: 1

Ceva nu functioneaza?