Borderou de evaluare (job #1430454)

Utilizator eudanipEugenie Daniel Posdarascu eudanip Data 8 mai 2015 14:42:19
Problema Poveste Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void sterge_TOT()’: user.cpp:73:29: error: ‘memset’ was not declared in this scope memset(lcp,0,sizeof(lcp)); ^ user.cpp: In function ‘int main()’: user.cpp:81:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("poveste.in","r",stdin); ^ user.cpp:82:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("poveste.out","w",stdout); ^ user.cpp:84:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:87:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n",&n,&m); ^ user.cpp:90:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",s); ^

Ceva nu functioneaza?