Borderou de evaluare (job #1445811)

Utilizator andrei.arnautuAndi Arnautu andrei.arnautu Data 31 mai 2015 02:07:57
Problema SETI Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘void ins(Trie*, char*, int)’: user.cpp:62:9: warning: unused variable ‘i’ [-Wunused-variable] int i, nr = val(*s); ^ user.cpp: In function ‘int Count(Trie*, char*)’: user.cpp:99:9: warning: unused variable ‘i’ [-Wunused-variable] int i, nr = val(*s); ^ user.cpp: In function ‘void Read_Text()’: user.cpp:21:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &n); ^ user.cpp:24: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:114: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:122: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/cc4N7MlC.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
176ms364kbOK10
28ms308kbOK10
3136ms23720kbOK10
4156ms23720kbOK10
5300ms45504kbOK10
6Depăşit55824kbTime limit exceeded.0
7Depăşit42760kbTime limit exceeded.0
8Depăşit42100kbTime limit exceeded.0
9Depăşit41308kbTime limit exceeded.0
10296ms3716kbOK10
Punctaj total60

Ceva nu functioneaza?