Borderou de evaluare (job #1192598)

Utilizator ctlin04UAIC.VlasCatalin ctlin04 Data 29 mai 2014 13:01:29
Problema Litere2 Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp:11:2: warning: ‘typedef’ was ignored in this declaration [enabled by default] }; ^ user.cpp: In function ‘void insereaza(char*, char*, int)’: user.cpp:23:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (aux->a[path[i]] == 0) { ^ user.cpp:24:17: warning: array subscript has type ‘char’ [-Wchar-subscripts] aux->a[path[i]] = new trie; ^ user.cpp:25:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] aux = aux->a[path[i]]; ^ user.cpp:27:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] else aux = aux->a[path[i]]; ^ user.cpp: In function ‘void dfs(trie*)’: user.cpp:36:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i<nod->cuv.size(); ++i) ^ user.cpp: In function ‘int main()’: user.cpp:46:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("litere2.in", "r", stdin); ^ user.cpp:47:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("litere2.out", "w", stdout); ^ user.cpp:49:9: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ /tmp/cc5sJntQ.o: In function `main': user.cpp:(.text.startup+0x67): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms256kbKilled by signal 11(SIGSEGV).00
28ms2212kbKilled by signal 11(SIGSEGV).0
34ms1196kbKilled by signal 11(SIGSEGV).0
44ms1196kbKilled by signal 11(SIGSEGV).0
54ms1204kbKilled by signal 11(SIGSEGV).0
64ms1208kbKilled by signal 11(SIGSEGV).0
74ms1196kbKilled by signal 11(SIGSEGV).0
84ms1200kbKilled by signal 11(SIGSEGV).0
94ms1212kbKilled by signal 11(SIGSEGV).0
104ms1208kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?