Borderou de evaluare (job #2381357)

Utilizator wthICMurad Eynizade wthIC Data 16 martie 2019 16:59:10
Problema Secv8 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In constructor 'node::node(int, int)': main.cpp:14:17: warning: 'node::val' will be initialized after [-Wreorder] int prior , val , sz , rev; ^~~ main.cpp:14:9: warning: 'int node::prior' [-Wreorder] int prior , val , sz , rev; ^~~~~ main.cpp:16:5: warning: when initialized here [-Wreorder] node(int _val,int _prior):val(_val) , prior(_prior) , sz(1) , rev(0) , l(0) , r(0){} ^~~~ main.cpp: In function 'void ins(int, int)': main.cpp:84:23: error: 'l' was not declared in this scope split(root , in , l , r); ^ main.cpp:84:27: error: 'r' was not declared in this scope split(root , in , l , r); ^ main.cpp:85:5: error: 'nw' was not declared in this scope nw = new node(val , rng()); ^~ main.cpp: In function 'int main()': main.cpp:113:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("secv8.in" , "r" , stdin); ^ main.cpp:114:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("secv8.out" , "w" , stdout); ^ Non zero exit status: 1

Ceva nu functioneaza?