Borderou de evaluare (job #971642)

Utilizator danalex97Dan H Alexandru danalex97 Data 9 iulie 2013 19:38:38
Problema Potrivire Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void solve(char*, char*, int, int)’: user.cpp:26:14: error: too few arguments to function ‘void make_prefix(char*, char*, int, int)’ make_prefix(); ^ user.cpp:10:6: note: declared here void make_prefix(char A[],char B[],int N,int M) ^ user.cpp:28:7: error: ‘i’ was not declared in this scope for (i = 1; i <= N; ++i) ^ user.cpp:30:10: error: ‘q’ was not declared in this scope while (q && (! ( A[q+1] == B[i] || A[q+1] == '*' )) ) ^ user.cpp:32:9: error: ‘q’ was not declared in this scope if (A[q+1] == B[i] || A[q+1] == '*') ^ user.cpp:34:7: error: ‘q’ was not declared in this scope if (q == M) ^ user.cpp:36:4: error: ‘pair’ was not declared in this scope pair<int,int> P; ^ user.cpp:36:9: error: expected primary-expression before ‘int’ pair<int,int> P; ^ user.cpp:36:9: error: expected ‘;’ before ‘int’ user.cpp:37:4: error: ‘P’ was not declared in this scope P.first=i-M+1; ^ user.cpp:39:11: error: return-statement with a value, in function returning 'void' [-fpermissive] return P; ^ user.cpp: In function ‘int main()’: user.cpp:46:9: warning: unused variable ‘q’ [-Wunused-variable] int i, q = 0; ^

Ceva nu functioneaza?