Borderou de evaluare (job #1569492)

Utilizator alex23alexandru andronache alex23 Data 15 ianuarie 2016 17:12:39
Problema String Repair Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main(int, const char**)’: user.cpp:19:22: error: ‘strlen’ was not declared in this scope int N = strlen(s1); ^ user.cpp:19:9: warning: unused variable ‘N’ [-Wunused-variable] int N = strlen(s1); ^ user.cpp:16:23: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(s1, NMAX, f); ^ user.cpp:17:23: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(s2, NMAX, f); ^

Ceva nu functioneaza?