Borderou de evaluare (job #1414368)

Utilizator avaspAva Spataru avasp Data 2 aprilie 2015 16:00:20
Problema Diviz Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:8:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("diviz.in","r",stdin); ^ user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("diviz.out","w",stdout); ^ user.cpp:10:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d\n",&k,&am,&b); ^ user.cpp:11:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/cc5nJxZq.o: In function `main': user.cpp:(.text.startup+0x7f): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms444kbOK10
20ms432kbOK10
34ms504kbOK10
40ms448kbOK10
58ms456kbOK10
676ms496kbOK10
796ms492kbOK10
8Depăşit500kbTime limit exceeded.0
9Depăşit540kbTime limit exceeded.0
10Depăşit552kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?