Borderou de evaluare (job #2109262)

Utilizator AlexTheDagonBogdan Tudor AlexTheDagon Data 19 ianuarie 2018 14:42:57
Problema Facebook Search Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void adauga(char*, trie*, int)’: user.cpp:22:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(t->fiu[delta]==0) ^ user.cpp:23:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] t->fiu[delta]=new trie; ^ user.cpp:24:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] adauga(p+1,t->fiu[delta],nruser); ^ user.cpp: In function ‘void act(char*, trie*)’: user.cpp:37:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] act(p+1,t->fiu[delta]); ^ user.cpp:38:41: warning: array subscript has type ‘char’ [-Wchar-subscripts] t->maxval=max(t->maxval,t->fiu[delta]->maxval); ^ user.cpp: In function ‘int caut(char*, trie*)’: user.cpp:54:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(t->fiu[delta]!=0) ^ user.cpp:55:37: warning: array subscript has type ‘char’ [-Wchar-subscripts] return caut(p+1,t->fiu[delta]); ^ In file included from /usr/include/string.h:642:0, from /usr/include/c++/4.8/cstring:42, from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:48, from user.cpp:2: In function ‘void* memset(void*, int, size_t)’, inlined from ‘int main()’ at user.cpp:106:30: /usr/include/i386-linux-gnu/bits/string3.h:82:32: warning: call to ‘__warn_memset_zero_len’ declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters [enabled by default] __warn_memset_zero_len (); ^ /tmp/ccjNsLl4.o: In function `main': user.cpp:(.text.startup+0x22f): warning: memset used with constant zero length parameter; this could be due to transposed parameters
Test Timp executie Memorie folosita Mesaj Punctaj/test
1808ms130236kbIncorect0
Punctaj total0

Ceva nu functioneaza?