Pagini recente » Borderou de evaluare (job #2028528) | Borderou de evaluare (job #876061) | Borderou de evaluare (job #2183724) | Borderou de evaluare (job #2235136) | Borderou de evaluare (job #1836731)
Borderou de evaluare (job #1836731)
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 |
1 | 0ms | 344kb | Corect | 10 |
2 | 0ms | 340kb | Corect | 10 |
3 | 0ms | 280kb | Corect | 10 |
4 | 0ms | 276kb | Corect | 10 |
5 | 0ms | 572kb | Corect | 10 |
6 | 4ms | 700kb | Corect | 10 |
7 | 0ms | 276kb | Corect | 10 |
8 | 4ms | 1052kb | Corect | 10 |
9 | 0ms | 304kb | Corect | 10 |
10 | 0ms | 328kb | Corect | 10 |
Punctaj total | 100 |