Borderou de evaluare (job #1345974)

Utilizator MihailPJack ONeill MihailP Data 17 februarie 2015 22:47:40
Problema Carnati Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:96:15: warning: unused variable ‘nr’ [-Wunused-variable] int N, C, i, nr, max = -1, P, castig3, castig1, castig2, T, nr0 = 0; ^ user.cpp:96:29: warning: unused variable ‘P’ [-Wunused-variable] int N, C, i, nr, max = -1, P, castig3, castig1, castig2, T, nr0 = 0; ^ user.cpp:96:32: warning: unused variable ‘castig3’ [-Wunused-variable] int N, C, i, nr, max = -1, P, castig3, castig1, castig2, T, nr0 = 0; ^ user.cpp:96:41: warning: unused variable ‘castig1’ [-Wunused-variable] int N, C, i, nr, max = -1, P, castig3, castig1, castig2, T, nr0 = 0; ^ user.cpp:96:50: warning: unused variable ‘castig2’ [-Wunused-variable] int N, C, i, nr, max = -1, P, castig3, castig1, castig2, T, nr0 = 0; ^ user.cpp:96:62: warning: unused variable ‘nr0’ [-Wunused-variable] int N, C, i, nr, max = -1, P, castig3, castig1, castig2, T, nr0 = 0; ^ user.cpp:98: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:101: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
10ms268kbOK10
20ms264kbOK10
30ms276kbOK10
40ms276kbOK10
58ms276kbIncorect0
68ms284kbIncorect0
78ms276kbIncorect0
832ms296kbIncorect0
928ms300kbOK10
1028ms296kbOK10
Punctaj total60

Ceva nu functioneaza?