Borderou de evaluare (job #2470473)

Utilizator MoldovanAndrei1Moldovan Andrei MoldovanAndrei1 Data 9 octombrie 2019 11:41:53
Problema Lowest Common Ancestor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void update(int, int, int, int, int)': main.cpp:15:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(poz>med) ^~ main.cpp:17:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if(depth[aint[2*nod]]<depth[aint[2*nod+1]]) ^~ main.cpp: In function 'int main()': main.cpp:62:15: warning: unused variable 'j' [-Wunused-variable] int i,m,n,j; ^ main.cpp:58:32: 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:59:34: 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:63:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&m,&n); ^ main.cpp:65:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] {scanf("%d",&parent[i]);v[parent[i]].push_back(i);} ^ main.cpp:77:28: 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
17ms2490kbIncorect00
29ms2621kbIncorect00
335ms3145kbIncorect00
4332ms6160kbIncorect00
5352ms8257kbIncorect00
6632ms8519kbIncorect00
71586ms17825kbIncorect00
82802ms12582kbTime limit exceeded00
92801ms10891kbTime limit exceeded0
102802ms11796kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?