Borderou de evaluare (job #2882346)

Utilizator justin.stoicaJustin Stoica justin.stoica Data 31 martie 2022 12:46:02
Problema Showroom Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:62:34: error: 'strlen' was not declared in this scope 62 | for (int j = 0; j < (int)strlen(s); ++j) { | ^~~~~~ main.cpp:8:1: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'? 7 | #include <unordered_set> +++ |+#include <cstring> 8 | main.cpp:85:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 85 | for (int j = 1; j < cuvinte[i].size(); j++) { | ~~^~~~~~~~~~~~~~~~~~~ Non zero exit status: 1

Ceva nu functioneaza?