Borderou de evaluare (job #3347493)
| Utilizator | Data | 16 martie 2026 20:26:35 | |
|---|---|---|---|
| Problema | Sub | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void insert_word(std::string&, int, int, int)':
main.cpp:28:25: error: invalid types 'int[int]' for array subscript
28 | if(last_index[w][node] != index) {
| ^
main.cpp:29:19: error: invalid types 'int[int]' for array subscript
29 | cnt[w][node]++;
| ^
main.cpp:31:22: error: invalid types 'int[int]' for array subscript
31 | last_index[w][node] = index;
| ^
main.cpp: In function 'void DFS(int, int)':
main.cpp:43:14: error: invalid types 'int[int]' for array subscript
43 | if(cnt[0][node0] == n && !node1) {
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
