Borderou de evaluare (job #3156473)

Utilizator Eraserurares campean Eraseru Data 11 octombrie 2023 17:24:16
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:56: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] 21 | while(t[poz_at] == t[poz_at + 1] && poz_at < strlen(t) - 1) poz_at++, c2++; | ~~~~~~~^~~~~~~~~~~~~~~ main.cpp:23:37: warning: array subscript has type 'char' [-Wchar-subscripts] 23 | cnt += !ver[t[poz_at]]; | ~~~~~~~~^ main.cpp:24:29: warning: array subscript has type 'char' [-Wchar-subscripts] 24 | ver[t[poz_at]] = 1; | ~~~~~~~~^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbIncorect0
Punctaj total0

Ceva nu functioneaza?