Pagini recente » Borderou de evaluare (job #3308210) | Borderou de evaluare (job #3309525) | Borderou de evaluare (job #888164) | Borderou de evaluare (job #2404956) | Borderou de evaluare (job #3342141)
Borderou de evaluare (job #3342141)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:32:18: warning: array subscript has type 'char' [-Wchar-subscripts]
32 | freq[ch]++;
| ^~
main.cpp:33:19: warning: array subscript has type 'char' [-Wchar-subscripts]
33 | leftt[ch]++;
| ^~
main.cpp:44:25: warning: array subscript has type 'char' [-Wchar-subscripts]
44 | leftt[str[i]]--;
| ^
main.cpp:48:25: warning: array subscript has type 'char' [-Wchar-subscripts]
48 | if(freq[ch] && ch != str[i])
| ^~
main.cpp:51:26: warning: array subscript has type 'char' [-Wchar-subscripts]
51 | freq[ch]--;
| ^~
main.cpp:54:34: warning: array subscript has type 'char' [-Wchar-subscripts]
54 | if(leftt[ch2] > len - i - 1 - freq[ch2])
| ^~~
main.cpp:54:60: warning: array subscript has type 'char' [-Wchar-subscripts]
54 | if(leftt[ch2] > len - i - 1 - freq[ch2])
| ^~~
main.cpp:60:30: warning: array subscript has type 'char' [-Wchar-subscripts]
60 | freq[ch]++;
| ^~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 9ms | 794kb | Incorect | 0 |
| Punctaj total | 0 |