Borderou de evaluare (job #2289102)

Utilizator bogdi1bogdan bancuta bogdi1 Data 24 noiembrie 2018 11:11:13
Problema Lowest Common Ancestor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'void dfs(int, int)': main.cpp:19:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0; i<g[nod].size(); i++) ~^~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:28:33: 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); ^ main.cpp:29:35: 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); ^ main.cpp:31:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ main.cpp:33:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^ main.cpp:52:30: 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
16ms2490kbOK1010
28ms2621kbIncorect00
331ms4587kbIncorect00
4102ms13107kbKilled by Signal 1100
5154ms15073kbKilled by Signal 1100
6140ms15073kbKilled by Signal 1100
7121ms21495kbKilled by Signal 1100
8143ms15204kbKilled by Signal 1100
9142ms15073kbKilled by Signal 110
10156ms15073kbKilled by Signal 110
Punctaj total10

Ceva nu functioneaza?