Pagini recente » Borderou de evaluare (job #1039692) | Borderou de evaluare (job #113953) | Borderou de evaluare (job #2587454) | Borderou de evaluare (job #2584644) | Borderou de evaluare (job #1944570)
Borderou de evaluare (job #1944570)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( cnt[str[0]] < cnt[str[1]] )
^
user.cpp:28:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( cnt[str[0]] < cnt[str[1]] )
^
user.cpp:30:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( cnt[str[0]] < cnt[str[2]] )
^
user.cpp:30:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( cnt[str[0]] < cnt[str[2]] )
^
user.cpp:32:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( cnt[str[1]] < cnt[str[2]] )
^
user.cpp:32:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( cnt[str[1]] < cnt[str[2]] )
^
user.cpp:35:46: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for( int i = 0, j = 1; cnt[str[i]] > 0; i = ( i + 1 ) % 3, j ++ ) {
^
user.cpp:43:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cnt[str[i]] --;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 464kb | Incorect | 0 |
Punctaj total | 0 |