Borderou de evaluare (job #1674668)

Utilizator lupvasileLup Vasile lupvasile Data 4 aprilie 2016 19:54:18
Problema Dragon Ball Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void GiveValue(int*, char*)’: user.cpp:15:20: error: ‘strlen’ was not declared in this scope a[0] = strlen(s); ^ user.cpp: In function ‘int main()’: user.cpp:111:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dragonball.in","r",stdin); ^ user.cpp:114:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d ",&n,&t); ^ user.cpp:115:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",s); ^ user.cpp:119:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",s); ^

Ceva nu functioneaza?