Pagini recente » Borderou de evaluare (job #2849498) | Borderou de evaluare (job #529190) | Borderou de evaluare (job #857965) | Borderou de evaluare (job #1544675) | Borderou de evaluare (job #1141270)
Borderou de evaluare (job #1141270)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[ch[1][strlen(ch[1])-1]] = 1;
^
user.cpp:20:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
poz[ ch[1][0] ]=1;
^
user.cpp:22:46: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if ( d[ ch[i] [strlen(ch[i])-1] ] < 1+ d[ ch[i][0] ] ) {
^
user.cpp:22:66: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if ( d[ ch[i] [strlen(ch[i])-1] ] < 1+ d[ ch[i][0] ] ) {
^
user.cpp:23:44: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[ ch[i] [strlen(ch[i])-1] ] = 1+ d[ ch[i][0] ];
^
user.cpp:23:64: warning: array subscript has type ‘char’ [-Wchar-subscripts]
d[ ch[i] [strlen(ch[i])-1] ] = 1+ d[ ch[i][0] ];
^
user.cpp:24:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
t[i]=poz[ch[i][0]];
^
user.cpp:25:39: warning: array subscript has type ‘char’ [-Wchar-subscripts]
poz[ch[i][strlen(ch[i])-1]]=i;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 428kb | Partial incorect | 4 |
2 | 4ms | 432kb | Corect | 10 |
3 | 0ms | 376kb | Partial incorect | 4 |
4 | 0ms | 372kb | Corect | 10 |
5 | 4ms | 644kb | Corect | 10 |
6 | 4ms | 692kb | Partial incorect - reconstituire proasta | 4 |
7 | 0ms | 368kb | Corect | 10 |
8 | 8ms | 1088kb | Partial incorect | 4 |
9 | 4ms | 404kb | Corect | 10 |
10 | 4ms | 424kb | Corect | 10 |
Punctaj total | 76 |