Borderou de evaluare (job #2019035)

Utilizator bcrisBianca Cristina bcris Data 6 septembrie 2017 18:23:00
Problema Potrivirea sirurilor Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void make_prefix()’: user.cpp:37:19: error: ‘strlen’ was not declared in this scope int M = strlen(A); ^ user.cpp: In function ‘void search()’: user.cpp:51:18: error: ‘strlen’ was not declared in this scope int N = strlen(B); ^ user.cpp: In function ‘int main()’: user.cpp:81:36: 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:82:38: 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:85:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n", A); ^ user.cpp:86:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n", B); ^

Ceva nu functioneaza?