Borderou de evaluare (job #3003700)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:20:28: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
20 | for (auto i = 0; i < strlen(s); i++) {
| ~~^~~~~~~~~~~
main.cpp:21:25: warning: array subscript has type 'char' [-Wchar-subscripts]
21 | sLetters[s[i]]++;
| ~~~^
main.cpp:23:28: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare]
23 | for (auto i = 0; i < strlen(t); i++) {
| ~~^~~~~~~~~~~
main.cpp:24:25: warning: array subscript has type 'char' [-Wchar-subscripts]
24 | tLetters[t[i]]++;
| ~~~^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 184kb | OK | 100 |
Punctaj total | 100 |