Borderou de evaluare (job #1737409)

Utilizator catu_bogdan_99Catu Bogdan catu_bogdan_99 Data 3 august 2016 23:12:16
Problema Criza Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:29:15: warning: unused variable ‘j’ [-Wunused-variable] int n, i, j, mini, maxi, pas, x, y, d; ^ user.cpp:29:18: warning: variable ‘mini’ set but not used [-Wunused-but-set-variable] int n, i, j, mini, maxi, pas, x, y, d; ^ user.cpp:29:35: warning: unused variable ‘x’ [-Wunused-variable] int n, i, j, mini, maxi, pas, x, y, d; ^ user.cpp:29:38: warning: unused variable ‘y’ [-Wunused-variable] int n, i, j, mini, maxi, pas, x, y, d; ^ user.cpp:29:41: warning: unused variable ‘d’ [-Wunused-variable] int n, i, j, mini, maxi, pas, x, y, d; ^ user.cpp: In function ‘bool validare(int, int)’: user.cpp:56:12: warning: unused variable ‘k’ [-Wunused-variable] int i, k, d, resurse; ^ user.cpp: In function ‘int main()’: user.cpp:26:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("criza.in","r",stdin); ^ user.cpp:27:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("criza.out","w",stdout); ^ user.cpp:33:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:35:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&v[ i ].dist,&v[ i ].val); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
192ms1428kbIncorect0
20ms292kbOK10
30ms296kbIncorect0
40ms300kbIncorect0
50ms328kbIncorect0
68ms456kbOK10
70ms296kbOK10
840ms1072kbOK10
968ms1548kbIncorect0
100ms292kbOK10
Punctaj total50

Ceva nu functioneaza?