Borderou de evaluare (job #1106205)

Utilizator CosminRusuCosmin Rusu CosminRusu Data 12 februarie 2014 17:17:35
Problema Cifru 2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:77:13: error: ‘st’ was not declared in this scope if(!st[a[i]].empty()) { ^ user.cpp:81:9: error: ‘st’ was not declared in this scope st[a[i]].push(i); ^ user.cpp:86:16: error: ‘st’ was not declared in this scope while(!st[a[i]].empty()) ^ user.cpp:95:13: error: ‘st’ was not declared in this scope if(!st[b[i]].empty()) { ^ user.cpp:99:9: error: ‘st’ was not declared in this scope st[b[i]].push(i); ^ user.cpp: In function ‘int KMP(const int*, const int*)’: user.cpp:69:1: warning: control reaches end of non-void function [-Wreturn-type] } ^

Ceva nu functioneaza?