Borderou de evaluare (job #1402258)

Utilizator zikade9Irimia Rares zikade9 Data 26 martie 2015 13:53:09
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:12: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:13: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:14: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:17:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccAajpG8.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
10ms280kbOK10
240ms280kbOK10
3136ms288kbOK10
4Depăşit260kbTime limit exceeded.0
5Depăşit260kbTime limit exceeded.0
6Depăşit260kbTime limit exceeded.0
7Depăşit260kbTime limit exceeded.0
8Depăşit256kbTime limit exceeded.0
9Depăşit256kbTime limit exceeded.0
10Depăşit260kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?