Borderou de evaluare (job #1542752)

Utilizator SilviuIIon Silviu SilviuI Data 5 decembrie 2015 17:09:27
Problema Next Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:55:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("next.in","r",stdin); ^ user.cpp:56:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("next.out","w",stdout); ^ user.cpp:57:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ user.cpp:58:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&x); ^ /tmp/ccSkzuVU.o: In function `main': user.cpp:(.text.startup+0x5e): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
112msDepăşitMemory limit exceeded.0
212msDepăşitMemory limit exceeded.0
38ms7916kbOK10
48ms7916kbOK10
512msDepăşitMemory limit exceeded.0
616msDepăşitMemory limit exceeded.0
732msDepăşitMemory limit exceeded.0
88msDepăşitMemory limit exceeded.0
98msDepăşitMemory limit exceeded.0
108msDepăşitMemory limit exceeded.0
Punctaj total20

Ceva nu functioneaza?