Borderou de evaluare (job #1672791)

Utilizator SilviuIIon Silviu SilviuI Data 3 aprilie 2016 07:58:54
Problema Numar3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: 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("numar3.in","r",stdin); ^ user.cpp:14:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("numar3.out","w",stdout); ^ user.cpp:16:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ",&n); ^ user.cpp:18:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s+1); ^ /tmp/cc1wtuwz.o: In function `main': user.cpp:(.text.startup+0x67): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbOK10
20ms252kbOK10
30ms252kbOK10
40ms864kbOK10
58msDepăşitMemory limit exceeded.0
68msDepăşitMemory limit exceeded.0
78msDepăşitMemory limit exceeded.0
88msDepăşitMemory limit exceeded.0
98msDepăşitMemory limit exceeded.0
108msDepăşitMemory limit exceeded.0
Punctaj total40

Ceva nu functioneaza?