Borderou de evaluare (job #1608363)

Utilizator depevladVlad Dumitru-Popescu depevlad Data 22 februarie 2016 00:20:15
Problema Garaj Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:48:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("garaj.in", "r", stdin); ^ user.cpp:49:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("garaj.out", "w", stdout); ^ user.cpp:53:29: 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:55:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(buff); ^ /tmp/ccJDgGaO.o: In function `main': user.cpp:(.text.startup+0x88): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOK10
20ms260kbOK10
30ms256kbOK10
40ms268kbOK10
5Depăşit940kbTime limit exceeded.0
60ms260kbOK10
7Depăşit1016kbTime limit exceeded.0
8Depăşit1028kbTime limit exceeded.0
9Depăşit1028kbTime limit exceeded.0
10Depăşit1012kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?