Borderou de evaluare (job #1736247)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 1 august 2016 14:33:58
Problema PScPld Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:167:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pscpld.in", "r", stdin); ^ user.cpp:168:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pscpld.out", "w", stdout); ^ user.cpp:170:9: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccneXxw3.o: In function `main': user.cpp:(.text.startup+0x54): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1348kbOK10
20ms2244kbOK10
34ms3204kbOK10
4100msDepăşitMemory limit exceeded.0
516ms12024kbOK10
652ms37128kbOK10
764ms46668kbOK10
892msDepăşitMemory limit exceeded.0
9100msDepăşitMemory limit exceeded.0
10100msDepăşitMemory limit exceeded.0
Punctaj total60

Ceva nu functioneaza?