Borderou de evaluare (job #1290648)

Utilizator atatomirTatomir Alex atatomir Data 11 decembrie 2014 17:32:58
Problema Disconnect Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void startDfs(long int, long int)’: user.cpp:55:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(long i=0;i<list[nod].size();i++){ ^ user.cpp: In function ‘long int getLCA(long int, long int)’: user.cpp:89:19: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses] for(long pas=1<<maxLog-2;pas;pas>>=1,pasL--){ ^ user.cpp: In function ‘int main()’: user.cpp:135:52: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] int type, x, y; scanf("%ld %ld %ld",&type,&x,&y); ^ user.cpp:135:52: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:135:52: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=] user.cpp:116:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("disconnect.in","r",stdin); ^ user.cpp:117:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("disconnect.out","w",stdout); ^ user.cpp:119:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld",&N,&M); ^ user.cpp:122:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld %ld",&x,&y); ^ user.cpp:135:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] int type, x, y; scanf("%ld %ld %ld",&type,&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms2452kbOK10
28ms2568kbOK10
3584ms2992kbOK10
4652ms3508kbOK10
51204ms10380kbOK10
6772ms11424kbOK10
7828ms11988kbOK10
81324ms12836kbOK10
91352ms12868kbOK10
101392ms12928kbOK10
Punctaj total100

Ceva nu functioneaza?