Borderou de evaluare (job #1444629)

Utilizator andrei.arnautuAndi Arnautu andrei.arnautu Data 30 mai 2015 00:14:04
Problema SETI Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void Read_Text()’: user.cpp:20:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &n); ^ user.cpp:23:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(aux); ^ user.cpp: In function ‘void Query()’: user.cpp:98:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(aux, 20, stdin); ^ user.cpp: In function ‘int main()’: user.cpp:106:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(scanf("%d ", &m); m; --m) ^ /tmp/cctmrb8y.o: In function `Read_Text()': user.cpp:(.text+0x3b): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
164ms352kbOK10
24ms296kbOK10
3120msDepăşitMemory limit exceeded.0
4120msDepăşitMemory limit exceeded.0
5156msDepăşitMemory limit exceeded.0
6212msDepăşitMemory limit exceeded.0
7292msDepăşitMemory limit exceeded.0
8300msDepăşitMemory limit exceeded.0
9304msDepăşitMemory limit exceeded.0
10272ms15384kbOK10
Punctaj total30

Ceva nu functioneaza?