Borderou de evaluare (job #1346185)

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

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
10ms272kbOK10
20ms268kbIncorect0
30ms264kbOK10
40ms284kbIncorect0
58ms280kbIncorect0
68ms276kbIncorect0
78ms280kbOK10
832ms300kbIncorect0
932ms300kbIncorect0
1032ms292kbOK10
Punctaj total40

Ceva nu functioneaza?