Borderou de evaluare (job #1333473)

Utilizator vlady1997Vlad Bucur vlady1997 Data 3 februarie 2015 10:59:50
Problema Lowest Common Ancestor Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int, int)’: user.cpp:24:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i=0; i<g[x].size(); i++) ^ user.cpp: In function ‘int main()’: user.cpp:52:40: 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:53:42: 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:54:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); euler[1]=1; nivel[1]=0; poz[1]=1; ^ user.cpp:57:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^ user.cpp:64:36: 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
10ms1476kbOK1010
20ms1540kbOK1010
316ms2916kbOK1010
4168ms11180kbOK1010
5204ms18192kbOK1010
6304ms18192kbOK1010
7960ms23508kbOK1010
81492ms18196kbOK1030
91932ms18192kbOK10
102180ms18188kbOK10
Punctaj total100

Ceva nu functioneaza?