Borderou de evaluare (job #2678159)

Utilizator domistnSatnoianu Dominic Ioan domistn Data 28 noiembrie 2020 10:55:26
Problema Potrivirea sirurilor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:16:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < pat.length(); ++i) { ~~^~~~~~~~~~~~~~ main.cpp:23:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < pat.length(); ++i) ~~^~~~~~~~~~~~~~ main.cpp:29:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = pat.length(); i < txt.length(); ++i) { ~~^~~~~~~~~~~~~~ main.cpp:36:5: error: 'fout' was not declared in this scope fout<<v.size()<<"\n"; ^~~~ Non zero exit status: 1

Ceva nu functioneaza?