Borderou de evaluare (job #3156470)

Utilizator Eraserurares campean Eraseru Data 11 octombrie 2023 17:23:21
Problema Tastatură defectă Status done
Runda arhiva-utcn Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:17:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 17 | while(poz_s < strlen(s)){ | ~~~~~~^~~~~~~~~~~ main.cpp:20:53: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 20 | while(s[poz_s] == s[poz_s + 1] && poz_s < strlen(s) - 1) poz_s++, c1++; | ~~~~~~^~~~~~~~~~~~~~~ main.cpp:21:53: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 21 | while(t[poz_t] == t[poz_t + 1] && poz_t < strlen(t) - 1) poz_t++, c2++; | ~~~~~~^~~~~~~~~~~~~~~ main.cpp:23:36: warning: array subscript has type 'char' [-Wchar-subscripts] 23 | cnt += !ver[t[poz_t]]; | ~~~~~~~^ main.cpp:24:28: warning: array subscript has type 'char' [-Wchar-subscripts] 24 | ver[t[poz_t]] = 1; | ~~~~~~~^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
Punctaj total0

Ceva nu functioneaza?