Borderou de evaluare (job #1224058)

Utilizator roxana.istratePoenaru Roxana roxana.istrate Data 29 august 2014 15:55:11
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:23:18: error: ‘strlen’ was not declared in this scope np = strlen(patt); ^ user.cpp:55:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < ans.size() && i < 1000; i++){ ^ user.cpp:20: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:21: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:22:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s %s", patt, str); ^

Ceva nu functioneaza?