Borderou de evaluare (job #1251504)

Utilizator mihail.jianuJianu Mihail mihail.jianu Data 29 octombrie 2014 17:04:03
Problema Dictree Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void add(Node*, char*)’: user.cpp:30:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(node->v[c]==0){ ^ user.cpp:31:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] node->v[c]=new Node; ^ user.cpp:35:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] add(node->v[c],s+1); ^ user.cpp: In function ‘int main()’: user.cpp:40:36: 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:41:38: 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:42:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&N); ^ user.cpp:44:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/ccQJTWYC.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
140ms6160kbOK100
28ms2104kbOK10
34ms3236kbOK10
416msDepăşitMemory limit exceeded.0
516msDepăşitMemory limit exceeded.0
616msDepăşitMemory limit exceeded.0
716msDepăşitMemory limit exceeded.0
816msDepăşitMemory limit exceeded.0
916msDepăşitMemory limit exceeded.0
1016msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?