Borderou de evaluare (job #1923692)

Utilizator andreigasparoviciAndrei Gasparovici andreigasparovici Data 11 martie 2017 21:43:58
Problema Potrivirea sirurilor Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:37:45: error: expected ‘)’ before ‘;’ token v1 = ((1LL * v1 * NR1 + a[i]) % MOD1; ^ user.cpp:38:45: error: expected ‘)’ before ‘;’ token v2 = ((1LL * v2 * NR2 + a[i]) % MOD2; ^ user.cpp:46:45: error: expected ‘)’ before ‘;’ token h1 = ((1LL * h1 * NR1 + b[i]) % MOD1; ^ user.cpp:47:45: error: expected ‘)’ before ‘;’ token h2 = ((1LL * h2 * NR2 + b[i]) % MOD2; ^ user.cpp:19:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("strmatch.in","r",stdin); ^ user.cpp:20:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("strmatch.out","w",stdout); ^ user.cpp:22:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a); ^ user.cpp:23:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(b); ^

Ceva nu functioneaza?