Borderou de evaluare (job #1388374)

Utilizator cojocarugabiReality cojocarugabi Data 15 martie 2015 13:48:31
Problema Sir4 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:9: warning: variable ‘r’ set but not used [-Wunused-but-set-variable] int r; ^ user.cpp:8:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sir4.in","r",stdin); ^ user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sir4.out","w",stdout); ^ user.cpp:11:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d%d",&s[0],&a,&b,&m,&q); ^ user.cpp:22:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",c+1); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms448kbOK10
20ms464kbOK10
30ms444kbOK10
48msDepăşitMemory limit exceeded.0
58msDepăşitMemory limit exceeded.0
68msDepăşitMemory limit exceeded.0
78msDepăşitMemory limit exceeded.0
88msDepăşitMemory limit exceeded.0
98msDepăşitMemory limit exceeded.0
108msDepăşitMemory limit exceeded.0
Punctaj total30

Ceva nu functioneaza?