Borderou de evaluare (job #1819402)

Utilizator ducu34Albastroiu Radu Gabriel ducu34 Data 30 noiembrie 2016 16:23:32
Problema Potrivirea sirurilor Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:34:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < key_word.size(); i++) ^ user.cpp:53:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < key_word.size(); i++) ^ user.cpp:69:36: error: ‘i’ was not declared in this scope positions.emplace_back(int(i - key_word.size() + 1)); ^ user.cpp:72:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = int(key_word.size()); i < text.size(); i++) ^

Ceva nu functioneaza?