Borderou de evaluare (job #2680148)

Utilizator ionutpop118Pop Ioan Cristian ionutpop118 Data 2 decembrie 2020 19:20:58
Problema Lowest Common Ancestor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'std::vector<int> lca(std::vector<std::vector<int> >&, std::vector<std::pair<int, int> >&)': main.cpp:49:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int j = 0; j < children[i].size(); ++j) { ~~^~~~~~~~~~~~~~~~~~~~ main.cpp:45:9: warning: unused variable 'nod' [-Wunused-variable] int nod, l; ^~~ main.cpp:45:14: warning: unused variable 'l' [-Wunused-variable] int nod, l; ^ main.cpp: In function 'int main()': main.cpp:84:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("stramosi.in", "r", stdin); ^ main.cpp:85:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("stramosi.out", "w", stdout); ^ main.cpp:88:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ main.cpp:96:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ main.cpp:102:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
141ms11788kbKilled by Signal 1100
234ms11788kbKilled by Signal 1100
341ms11788kbKilled by Signal 1100
442ms11919kbKilled by Signal 1100
541ms11919kbKilled by Signal 1100
634ms11788kbKilled by Signal 1100
734ms11788kbKilled by Signal 1100
835ms11788kbKilled by Signal 1100
938ms11788kbKilled by Signal 110
1042ms11788kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?