Borderou de evaluare (job #1402262)

Utilizator zikade9Irimia Rares zikade9 Data 26 martie 2015 13:55:11
Problema Logs Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("logs.in","r",stdin); ^ user.cpp:14:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("logs.out","w",stdout); ^ user.cpp:15:27: 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:18:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/cc4fGgWq.o: In function `main': user.cpp:(.text.startup+0x90): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbOK10
240ms280kbOK10
3140ms288kbOK10
4Depăşit256kbTime limit exceeded.0
5Depăşit256kbTime limit exceeded.0
6Depăşit264kbTime limit exceeded.0
7Depăşit264kbTime limit exceeded.0
8Depăşit260kbTime limit exceeded.0
9Depăşit264kbTime limit exceeded.0
10Depăşit260kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?