Pagini recente » Borderou de evaluare (job #2519577) | Borderou de evaluare (job #725604) | Borderou de evaluare (job #2873880) | Borderou de evaluare (job #310314) | Borderou de evaluare (job #2197894)
Borderou de evaluare (job #2197894)
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 |
1 | 0ms | 1384kb | OK | 10 | 10 |
2 | 0ms | 1428kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
3 | 12ms | 2600kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
4 | 104ms | 8712kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
5 | 196ms | 13604kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
6 | 200ms | 13604kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
7 | 112ms | 17004kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
8 | 196ms | 13604kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
9 | 192ms | 13600kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 192ms | 13604kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 10 |