Borderou de evaluare (job #2782953)

Utilizator cadmium_Voicu Mihai Valeriu cadmium_ Data 13 octombrie 2021 15:56:56
Problema Armonica Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:15:1: error: 'vector' does not name a type 15 | vector<ll> fact; | ^~~~~~ main.cpp:16:1: error: 'vector' does not name a type 16 | vector<int> exp; | ^~~~~~ main.cpp:20:1: error: 'vector' does not name a type 20 | vector<pair<ll,ll> > rez; | ^~~~~~ main.cpp: In function 'void divs(int, ll)': main.cpp:25:10: error: 'fact' was not declared in this scope 25 | if(poz>fact.size()) { | ^~~~ main.cpp:3:13: error: 'hhh' was not declared in this scope 3 | #define exp hhh | ^~~ main.cpp:36:19: note: in expansion of macro 'exp' 36 | for(int i=0; i<=exp[poz]; i++) { | ^~~ main.cpp:38:10: error: 'fact' was not declared in this scope 38 | val*=fact[i]; | ^~~~ main.cpp: In function 'int main()': main.cpp:3:13: error: 'hhh' was not declared in this scope 3 | #define exp hhh | ^~~ main.cpp:51:7: note: in expansion of macro 'exp' 51 | exp.push_back(0); | ^~~ main.cpp:52:7: error: 'fact' was not declared in this scope 52 | fact.push_back(d); | ^~~~ main.cpp:59:5: error: 'fact' was not declared in this scope 59 | fact.push_back(b),exp.push_back(1),total*=2; | ^~~~ main.cpp:3:13: error: 'hhh' was not declared in this scope 3 | #define exp hhh | ^~~ main.cpp:59:23: note: in expansion of macro 'exp' 59 | fact.push_back(b),exp.push_back(1),total*=2; | ^~~ Non zero exit status: 1

Ceva nu functioneaza?