Borderou de evaluare (job #2868195)

Utilizator cadmium_Voicu Mihai Valeriu cadmium_ Data 10 martie 2022 19:40:24
Problema Rps Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void Trie::insert(char*, Trie::ts)': main.cpp:44:21: warning: array subscript has type 'char' [-Wchar-subscripts] 44 | if(node -> v[s[0]] == nil) | ~~~^ main.cpp:45:20: warning: array subscript has type 'char' [-Wchar-subscripts] 45 | node -> v[s[0]] = new Trie; | ~~~^ main.cpp:46:32: warning: array subscript has type 'char' [-Wchar-subscripts] 46 | insert(s + 1, node -> v[s[0]]); | ~~~^ main.cpp: In function 'void Trie::print(Trie::ts, int)': main.cpp:58:32: warning: array subscript has type 'char' [-Wchar-subscripts] 58 | cout << (char)decr[node -> print]; | ~~~~~~~~^~~~~ main.cpp:62:31: warning: array subscript has type 'char' [-Wchar-subscripts] 62 | print(node -> v[node -> print], iter + 1); | ~~~~~~~~^~~~~ main.cpp: In function 'int main()': main.cpp:79:30: warning: array subscript has type 'char' [-Wchar-subscripts] 79 | cin >> ch, s[i] = encr[ch]; | ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms184kbKilled by Signal 40
22ms184kbKilled by Signal 40
32ms184kbKilled by Signal 40
42ms184kbKilled by Signal 40
52ms184kbKilled by Signal 40
62ms184kbKilled by Signal 40
72ms184kbKilled by Signal 40
82ms184kbKilled by Signal 40
92ms184kbKilled by Signal 40
102ms184kbKilled by Signal 40
112ms262kbKilled by Signal 40
122ms184kbKilled by Signal 40
132ms184kbKilled by Signal 40
142ms184kbKilled by Signal 40
152ms184kbKilled by Signal 40
162ms184kbKilled by Signal 40
172ms184kbKilled by Signal 40
182ms184kbKilled by Signal 40
192ms184kbKilled by Signal 40
202ms184kbKilled by Signal 40
Punctaj total0

Ceva nu functioneaza?