Borderou de evaluare (job #1346004)

Utilizator MihailPJack ONeill MihailP Data 17 februarie 2015 23:03:24
Problema Carnati Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:100:15: warning: unused variable ‘nr’ [-Wunused-variable] int N, C, i, nr, max = -1, P, castig3, castig1, castig2, T, nr0 = 0; ^ user.cpp:100:29: warning: unused variable ‘P’ [-Wunused-variable] int N, C, i, nr, max = -1, P, castig3, castig1, castig2, T, nr0 = 0; ^ user.cpp:100:32: warning: unused variable ‘castig3’ [-Wunused-variable] int N, C, i, nr, max = -1, P, castig3, castig1, castig2, T, nr0 = 0; ^ user.cpp:100:41: warning: unused variable ‘castig1’ [-Wunused-variable] int N, C, i, nr, max = -1, P, castig3, castig1, castig2, T, nr0 = 0; ^ user.cpp:100:50: warning: unused variable ‘castig2’ [-Wunused-variable] int N, C, i, nr, max = -1, P, castig3, castig1, castig2, T, nr0 = 0; ^ user.cpp:100:62: warning: unused variable ‘nr0’ [-Wunused-variable] int N, C, i, nr, max = -1, P, castig3, castig1, castig2, T, nr0 = 0; ^ user.cpp:102: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:105: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
20ms264kbIncorect0
30ms268kbOK10
40ms272kbIncorect0
58ms280kbIncorect0
68ms284kbIncorect0
78ms276kbIncorect0
836ms296kbIncorect0
936ms292kbIncorect0
1036ms300kbIncorect0
Punctaj total20

Ceva nu functioneaza?