Borderou de evaluare (job #2197894)

Utilizator emanuel_rRamneantu Emanuel emanuel_r Data 23 aprilie 2018 03:16:04
Problema Lowest Common Ancestor Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In instantiation of ‘LCA<T>::LCA(int, int, decltype (((LCA<T>*)(void)0)->LCA<T>::G)&, bool, std::function<T(T, T)>, T) [with T = bool; decltype (((LCA<T>*)(void)0)->LCA<T>::G) = std::vector<std::vector<std::pair<int, bool> > >]’: user.cpp:94:67: required from here user.cpp:14:12: warning: ‘LCA<bool>::root’ will be initialized after [-Wreorder] int n, root; ^~~~ user.cpp:8:36: warning: ‘std::vector<std::vector<std::pair<int, bool> > > LCA<bool>::G’ [-Wreorder] vector<vector<pair<int, T> > > G; ^ user.cpp:17:5: warning: when initialized here [-Wreorder] LCA(int n, int root, decltype(G)& Graph, bool idx, function<T(T,T)> f, T acc) : ^~~ user.cpp:13:10: warning: ‘LCA<bool>::indexed’ will be initialized after [-Wreorder] bool indexed; ^~~~~~~ user.cpp:9:22: warning: ‘std::function<bool(bool, bool)> LCA<bool>::func’ [-Wreorder] function<T(T,T)> func; ^~~~ user.cpp:17:5: warning: when initialized here [-Wreorder] LCA(int n, int root, decltype(G)& Graph, bool idx, function<T(T,T)> f, T acc) : ^~~ user.cpp:15:7: warning: ‘LCA<bool>::acc’ will be initialized after [-Wreorder] T acc; ^~~ user.cpp:10:25: warning: ‘std::vector<int> LCA<bool>::use’ [-Wreorder] vector<int> L, Log, use; ^~~ user.cpp:17:5: warning: when initialized here [-Wreorder] LCA(int n, int root, decltype(G)& Graph, bool idx, function<T(T,T)> f, T acc) : ^~~ user.cpp:10:25: warning: ‘LCA<bool>::use’ will be initialized after [-Wreorder] vector<int> L, Log, use; ^~~ user.cpp:10:17: warning: ‘std::vector<int> LCA<bool>::L’ [-Wreorder] vector<int> L, Log, use; ^ user.cpp:17:5: warning: when initialized here [-Wreorder] LCA(int n, int root, decltype(G)& Graph, bool idx, function<T(T,T)> f, T acc) : ^~~ user.cpp: In function ‘int main()’: user.cpp:83:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lca.in", "r", stdin); ^ user.cpp:84:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("lca.out", "w", stdout); ^ user.cpp:86:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ user.cpp:91:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t);
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms1384kbOK1010
20ms1428kbKilled by signal 11(SIGSEGV).00
312ms2600kbKilled by signal 11(SIGSEGV).00
4104ms8712kbKilled by signal 11(SIGSEGV).00
5196ms13604kbKilled by signal 11(SIGSEGV).00
6200ms13604kbKilled by signal 11(SIGSEGV).00
7112ms17004kbKilled by signal 11(SIGSEGV).00
8196ms13604kbKilled by signal 11(SIGSEGV).00
9192ms13600kbKilled by signal 11(SIGSEGV).0
10192ms13604kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?