Borderou de evaluare (job #1335548)

Utilizator BLz0rDospra Cristian BLz0r Data 5 februarie 2015 17:52:18
Problema Scara 3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 5

Raport evaluator

Compilare: user.cpp: In function ‘void DFS(int, int, int)’: user.cpp:26:6: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if ( pasi[nod] == steps ) ^ user.cpp: In function ‘int main()’: user.cpp:44:21: warning: overflow in implicit constant conversion [-Woverflow] cost[i] = pasi[i] = inf; ^ user.cpp:46:20: warning: overflow in implicit constant conversion [-Woverflow] cost[N] = pasi[N] = inf; ^ user.cpp:41:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (f,"%d",&N); ^ user.cpp:48:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (f,"%d",&A); ^ user.cpp:50:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (f,"%d%d",&poz,&cant); ^ user.cpp:55:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (f,"%d",&B); ^ user.cpp:57:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (f,"%d%d",&poz,&cant); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit256kbTime limit exceeded.0
20ms268kbIncorect0
30ms272kbOK5
4Depăşit252kbTime limit exceeded.0
5Depăşit252kbTime limit exceeded.0
6Depăşit252kbTime limit exceeded.0
7Depăşit256kbTime limit exceeded.0
8Depăşit256kbTime limit exceeded.0
9Depăşit256kbTime limit exceeded.0
10Depăşit256kbTime limit exceeded.0
11Depăşit308kbTime limit exceeded.0
12Depăşit324kbTime limit exceeded.0
13Depăşit324kbTime limit exceeded.0
144msDepăşitMemory limit exceeded.0
154msDepăşitMemory limit exceeded.0
16Depăşit392kbTime limit exceeded.0
17Depăşit420kbTime limit exceeded.0
18Depăşit396kbTime limit exceeded.0
19Depăşit764kbTime limit exceeded.0
204msDepăşitMemory limit exceeded.0
Punctaj total5

Ceva nu functioneaza?