Borderou de evaluare (job #1445813)

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

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:97: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:111: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:119: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/ccypQF4k.o: In function `Read_Text()': user.cpp:(.text+0x7b): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1148ms388kbOK10
228ms328kbOK10
3216ms35464kbOK10
4236ms35464kbOK10
5Depăşit62916kbTime limit exceeded.0
6Depăşit53712kbTime limit exceeded.0
7Depăşit40404kbTime limit exceeded.0
8Depăşit36576kbTime limit exceeded.0
9Depăşit37900kbTime limit exceeded.0
10Depăşit5288kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?