Pagini recente » Borderou de evaluare (job #2315815) | Borderou de evaluare (job #2870120) | Borderou de evaluare (job #2128426) | Borderou de evaluare (job #1266774) | Borderou de evaluare (job #1141264)
Borderou de evaluare (job #1141264)
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 | 432kb | Partial incorect | 1 |
| 2 | 4ms | 432kb | Corect | 10 |
| 3 | 0ms | 376kb | Partial incorect | 1 |
| 4 | 0ms | 368kb | Corect | 10 |
| 5 | 4ms | 644kb | Corect | 10 |
| 6 | 4ms | 696kb | Partial incorect | 1 |
| 7 | 0ms | 372kb | Corect | 10 |
| 8 | 8ms | 1088kb | Partial incorect | 1 |
| 9 | 4ms | 404kb | Corect | 10 |
| 10 | 4ms | 428kb | Corect | 10 |
| Punctaj total | 64 |