Borderou de evaluare (job #1747665)

Utilizator bogdi1bogdan bancuta bogdi1 Data 25 august 2016 12:38:15
Problema Next Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:78:34: 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:79:36: 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:81:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:82:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld", &k); ^ /tmp/ccPaY4zs.o: In function `main': user.cpp:(.text.startup+0x59): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms8088kbOK10
212ms8084kbOK10
30ms288kbOK10
416ms8100kbOK10
520ms8124kbOK10
640ms8184kbOK10
748msDepăşitMemory limit exceeded.0
8104msDepăşitMemory limit exceeded.0
9136msDepăşitMemory limit exceeded.0
10148msDepăşitMemory limit exceeded.0
Punctaj total60

Ceva nu functioneaza?