Borderou de evaluare (job #2330923)

Utilizator DavidLDavid Lauran DavidL Data 28 ianuarie 2019 22:58:55
Problema Potrivirea sirurilor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void getSuffixArray()': main.cpp:37:19: error: 'A' was not declared in this scope P[0][i] = A[i] - '0'; ^ main.cpp: In function 'int cauta(int)': main.cpp:71:28: error: 'comp' was not declared in this scope int h = comp(V[mij]); ^ main.cpp:81:17: error: expected primary-expression before 'return' cum == -1 ? return dr : return st; ^~~~~~ main.cpp:81:17: error: expected ':' before 'return' main.cpp:81:17: error: expected primary-expression before 'return' main.cpp: In function 'int main()': main.cpp:86:11: error: 'M' was not declared in this scope fi >> M + 1 >> A + 1; ^ main.cpp:86:20: error: 'A' was not declared in this scope fi >> M + 1 >> A + 1; ^ main.cpp: In function 'bool ok(int)': main.cpp:32:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ main.cpp: In function 'int cauta(int)': main.cpp:82:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ Non zero exit status: 1

Ceva nu functioneaza?