dna.cpp: In function 'void init(std::string, std::string)':
dna.cpp:12:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | for(int i = 1; i < a.size(); i++){
| ~~^~~~~~~~~~
dna.cpp:13:21: warning: array subscript has type 'char' [-Wchar-subscripts]
13 | cnt[hsh[a[i]]][i]++, cnt[hsh[b[i]]][i]--;
| ^
dna.cpp:13:42: warning: array subscript has type 'char' [-Wchar-subscripts]
13 | cnt[hsh[a[i]]][i]++, cnt[hsh[b[i]]][i]--;
| ^
dna.cpp:15:25: warning: array subscript has type 'char' [-Wchar-subscripts]
15 | cnt[hsh[a[i]]][i] += cnt[hsh[a[i]]][i - 1];
| ^
dna.cpp:15:46: warning: array subscript has type 'char' [-Wchar-subscripts]
15 | cnt[hsh[a[i]]][i] += cnt[hsh[a[i]]][i - 1];
| ^
dna.cpp:22:21: warning: array subscript has type 'char' [-Wchar-subscripts]
22 | tbl[hsh[a[i]]][hsh[b[i]]][i]++;
| ^
dna.cpp:22:32: warning: array subscript has type 'char' [-Wchar-subscripts]
22 | tbl[hsh[a[i]]][hsh[b[i]]][i]++;
| ^