Pagini recente » Borderou de evaluare (job #2729354) | Borderou de evaluare (job #1183266) | Borderou de evaluare (job #2912080) | Borderou de evaluare (job #2120401) | Borderou de evaluare (job #1822212)
Borderou de evaluare (job #1822212)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:60: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(++N; i < j; ++i) word[N][ ++word[N][0] ] = s[i];
^
user.cpp:39:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
y[i] = word[i][ word[i][0] ];
^
user.cpp:44:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
best[i] = 1+best[ ultim[ y[i] ] ];
^
user.cpp:45:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
fiu[i] = ultim[ y[i] ];
^
user.cpp:47:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( best[i] > best[ ultim[ x[i] ] ] ) ultim[ x[i] ] = i;
^
user.cpp:47:59: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( best[i] > best[ ultim[ x[i] ] ] ) ultim[ x[i] ] = i;
^
user.cpp:17: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:18: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:55:36: warning: ‘idx’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for(i = 1; i <= word[idx][0]; ++i) printf("%c",word[idx][i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 312kb | Corect | 10 |
2 | 0ms | 284kb | Corect | 10 |
3 | 0ms | 244kb | Corect | 10 |
4 | 0ms | 248kb | Corect | 10 |
5 | 0ms | 572kb | Corect | 10 |
6 | 0ms | 752kb | Raspuns gresit | 0 |
7 | 0ms | 252kb | Corect | 10 |
8 | 8ms | 876kb | Corect | 10 |
9 | 0ms | 284kb | Corect | 10 |
10 | 0ms | 280kb | Corect | 10 |
Punctaj total | 90 |