Borderou de evaluare (job #1663444)

Utilizator alex23alexandru andronache alex23 Data 25 martie 2016 23:34:50
Problema Interesant Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void add_to_solve_1(const char*)’: user.cpp:14:25: error: ‘strlen’ was not declared in this scope if (maxim < strlen(s)) { ^ user.cpp:16:22: error: ‘strcpy’ was not declared in this scope strcpy(sol, s); ^ user.cpp:31:26: error: ‘strcpy’ was not declared in this scope strcpy(sol, s); ^ user.cpp: In function ‘int main(int, const char**)’: user.cpp:41:25: error: ‘strtok’ was not declared in this scope strtok(str, "\n"); ^ user.cpp:38:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f, "%d %d\n", &V, &N); ^ user.cpp:40:32: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(str, STR_SIZE, f); ^

Ceva nu functioneaza?