Borderou de evaluare (job #1304855)

Utilizator gabrielinelusGabriel-Robert Inelus gabrielinelus Data 29 decembrie 2014 12:59:28
Problema PScPld2D Status done
Runda Happy Birthday Infoarena 2014 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void ManacherL(int)’: user.cpp:34:13: error: ‘DPL’ was not declared in this scope DPL[i][k] = mini(DPL[_i][k],right - i); ^ user.cpp:35:24: error: ‘DPL’ was not declared in this scope while(a[k][i - DPL[i][k] - 1] == a[k][i + DPL[i][k] + 1]) ^ user.cpp:37:16: error: ‘DPL’ was not declared in this scope if(i + DPL[i][k] > right){ ^ user.cpp: In function ‘void ManacherC(int)’: user.cpp:50:13: error: ‘DPC’ was not declared in this scope DPC[i][k] = mini(DPC[_i][k],right - i); ^ user.cpp:51:21: error: ‘DPC’ was not declared in this scope while(a[i - DPC[i][k] - 1][k] == a[i + DPC[i][k] + 1][k]) ^ user.cpp:53:16: error: ‘DPC’ was not declared in this scope if(i + DPC[i][k] > right){ ^ user.cpp: In function ‘void Prepare()’: user.cpp:99:22: error: ‘DPL’ was not declared in this scope v[i].Build(N,DPL[i]); ^ user.cpp:101:24: error: ‘DPC’ was not declared in this scope v[i+N].Build(N,DPC[i]); ^ user.cpp: In function ‘void Solve()’: user.cpp:126:26: error: ‘DPL’ was not declared in this scope int r = mini(DPL[j][i],DPC[i][j]); /// asta e raza ^ user.cpp:126:36: error: ‘DPC’ was not declared in this scope int r = mini(DPL[j][i],DPC[i][j]); /// asta e raza ^ user.cpp: In function ‘void Read()’: user.cpp:20:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&N); ^ user.cpp:24:35: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(a[i]+1,Nmax-1,stdin); ^ user.cpp: In function ‘int main()’: user.cpp:138:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pscpld2d.in","r",stdin); ^ user.cpp:139:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pscpld2d.out","w",stdout); ^

Ceva nu functioneaza?