Borderou de evaluare (job #1836731)

Utilizator catu_bogdan_99Catu Bogdan catu_bogdan_99 Data 28 decembrie 2016 16:46:40
Problema Text3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:35:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] k = D[x]; ^ user.cpp:36:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] P[i] = Q[x]; ^ user.cpp:37:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] if( D[y] < k + 1 ){ ^ user.cpp:38:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] D[y] = k + 1; ^ user.cpp:39:16: warning: array subscript has type ‘char’ [-Wchar-subscripts] Q[y] = i; ^ user.cpp:25:15: warning: unused variable ‘j’ [-Wunused-variable] int n, i, j, s, d, k, ma, p; ^ user.cpp:25:18: warning: unused variable ‘s’ [-Wunused-variable] int n, i, j, s, d, k, ma, p; ^ user.cpp:25:21: warning: unused variable ‘d’ [-Wunused-variable] int n, i, j, s, d, k, ma, p; ^ user.cpp:22:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("text3.in","r",stdin); ^ user.cpp:23:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("text3.out","w",stdout); ^ user.cpp:48:12: warning: ‘p’ may be used uninitialized in this function [-Wmaybe-uninitialized] afis(p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms344kbCorect10
20ms340kbCorect10
30ms280kbCorect10
40ms276kbCorect10
50ms572kbCorect10
64ms700kbCorect10
70ms276kbCorect10
84ms1052kbCorect10
90ms304kbCorect10
100ms328kbCorect10
Punctaj total100

Ceva nu functioneaza?