Pagini recente » Borderou de evaluare (job #642591) | Borderou de evaluare (job #1797618) | Borderou de evaluare (job #1097025) | Borderou de evaluare (job #917125) | Borderou de evaluare (job #1811858)
Borderou de evaluare (job #1811858)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[n][l[n]]=a-'a';
^
user.cpp:31:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
dp[n]=dp[ind[v[n][1]]]+1;
^
user.cpp:32:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
next[n]=ind[v[n][1]];
^
user.cpp:33:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(dp[ind[v[n][l[n]]]]<dp[n])
^
user.cpp:33:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(dp[ind[v[n][l[n]]]]<dp[n])
^
user.cpp:34:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ind[v[n][l[n]]]=n;
^
user.cpp:34:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ind[v[n][l[n]]]=n;
^
user.cpp:46:16: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
i=next[i];
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 316kb | Corect | 10 |
| 2 | 0ms | 280kb | Corect | 10 |
| 3 | 0ms | 248kb | Corect | 10 |
| 4 | 0ms | 252kb | Corect | 10 |
| 5 | 0ms | 560kb | Corect | 10 |
| 6 | 4ms | 692kb | Corect | 10 |
| 7 | 0ms | 252kb | Corect | 10 |
| 8 | 12ms | 840kb | Corect | 10 |
| 9 | 0ms | 288kb | Corect | 10 |
| 10 | 0ms | 288kb | Corect | 10 |
| Punctaj total | 100 |