Borderou de evaluare (job #1420210)

Utilizator depevladVlad Dumitru-Popescu depevlad Data 17 aprilie 2015 21:51:19
Problema Kcover Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int getNr(int&)’: user.cpp:22:18: warning: variable ‘sgn’ set but not used [-Wunused-but-set-variable] int val = 0, sgn; ^ user.cpp: In function ‘int main()’: user.cpp:41:28: warning: unused variable ‘sgn’ [-Wunused-variable] int testCase, N, K, L, sgn, val; ^ user.cpp:41:33: warning: unused variable ‘val’ [-Wunused-variable] int testCase, N, K, L, sgn, val; ^ user.cpp:45:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &testCase); ^ user.cpp:47:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d %d\n", &N, &K); ^ user.cpp:50:32: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(STR, MAX_STR, in); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
116ms5320kbIncorect00
220ms5436kbOK25
3204ms6484kbIncorect0
4364ms6488kbIncorect0
Punctaj total0

Ceva nu functioneaza?