Borderou de evaluare (job #1203093)

Utilizator azkabancont-vechi azkaban Data 30 iunie 2014 17:33:31
Problema Secventa Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:16:29: error: ‘strlen’ was not declared in this scope for(int i=0;i<strlen(buffer);i++){ ^ user.cpp:12:12: warning: unused variable ‘best’ [-Wunused-variable] long long best = -(1<<30); ^ user.cpp:13:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(cin,"%d%d\n",&n,&k); ^ user.cpp:14:25: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(buffer,1<<30,cin); ^

Ceva nu functioneaza?