0_0_39545509_18823.cpp: In function 'void insert(std::string&)':
0_0_39545509_18823.cpp:12:20: error: 'tr' was not declared in this scope; did you mean 'tm'?
12 | if(tr[p][x] == 0)tr[p][x] = ++idx;
| ^~
| tm
0_0_39545509_18823.cpp:12:47: error: 'idx' was not declared in this scope
12 | if(tr[p][x] == 0)tr[p][x] = ++idx;
| ^~~
0_0_39545509_18823.cpp:13:21: error: 'tr' was not declared in this scope; did you mean 'tm'?
13 | p = tr[p][x];
| ^~
| tm
0_0_39545509_18823.cpp:15:9: error: 'cnt' was not declared in this scope; did you mean 'int'?
15 | cnt[p]++;
| ^~~
| int
0_0_39545509_18823.cpp: In function 'int find(std::string&)':
0_0_39545509_18823.cpp:21:21: error: 'tr' was not declared in this scope; did you mean 'tm'?
21 | p = tr[p][x];
| ^~
| tm
0_0_39545509_18823.cpp:22:20: error: 'cnt' was not declared in this scope; did you mean 'int'?
22 | if(cnt[p] == 1){
| ^~~
| int
|