Borderou de evaluare (job #1644753)

Utilizator paunmatei7FMI Paun Matei paunmatei7 Data 10 martie 2016 09:12:42
Problema Dictree Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void add(Trie*, char*)’: user.cpp:19:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if(*s != 0) ^ user.cpp: In function ‘int main()’: user.cpp:30:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dictree.in", "r", stdin); ^ user.cpp:31:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dictree.out", "w", stdout); ^ user.cpp:33:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:35:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccwSpUuJ.o: In function `main': user.cpp:(.text.startup+0x7b): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
140ms5952kbOK100
28ms2052kbOK10
30ms252kbKilled by signal 11(SIGSEGV).0
40ms256kbKilled by signal 11(SIGSEGV).0
50ms256kbKilled by signal 11(SIGSEGV).0
60ms248kbKilled by signal 11(SIGSEGV).0
716msDepăşitMemory limit exceeded.0
80ms248kbKilled by signal 11(SIGSEGV).0
90ms260kbKilled by signal 11(SIGSEGV).0
100ms244kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?