Borderou de evaluare (job #1346184)

Utilizator MihailPJack ONeill MihailP Data 18 februarie 2015 08:23:34
Problema Carnati Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:103:15: warning: unused variable ‘nr’ [-Wunused-variable] int N, C, i, nr, max = -1, P, castig3, castig1, castig2, T, nr0 = 0; ^ user.cpp:103:29: warning: unused variable ‘P’ [-Wunused-variable] int N, C, i, nr, max = -1, P, castig3, castig1, castig2, T, nr0 = 0; ^ user.cpp:103:32: warning: unused variable ‘castig3’ [-Wunused-variable] int N, C, i, nr, max = -1, P, castig3, castig1, castig2, T, nr0 = 0; ^ user.cpp:103:41: warning: unused variable ‘castig1’ [-Wunused-variable] int N, C, i, nr, max = -1, P, castig3, castig1, castig2, T, nr0 = 0; ^ user.cpp:103:50: warning: unused variable ‘castig2’ [-Wunused-variable] int N, C, i, nr, max = -1, P, castig3, castig1, castig2, T, nr0 = 0; ^ user.cpp:103:62: warning: unused variable ‘nr0’ [-Wunused-variable] int N, C, i, nr, max = -1, P, castig3, castig1, castig2, T, nr0 = 0; ^ user.cpp:105:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d", &N, &C); ^ user.cpp:108:45: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d", &A[i].timp, &A[i].pret); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOK10
20ms260kbIncorect0
30ms272kbIncorect0
40ms284kbIncorect0
54ms280kbIncorect0
64ms284kbIncorect0
74ms280kbIncorect0
816ms296kbIncorect0
916ms300kbIncorect0
1016ms296kbIncorect0
Punctaj total10

Ceva nu functioneaza?