Borderou de evaluare (job #1911523)

Utilizator delta_wolfAndrei Stoica delta_wolf Data 7 martie 2017 20:46:36
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:27:14: error: ‘c1’ was not declared in this scope ca1=(c1*P+a[i])%m1; ^ user.cpp:28:14: error: ‘c2’ was not declared in this scope ca2=(c2*P+a[i])%m2; ^ user.cpp:13: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:14: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:15:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a); ^ user.cpp:16:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(b); ^

Ceva nu functioneaza?