genetics.cpp: In function 'int main()':
genetics.cpp:33:25: warning: array subscript has type 'char' [-Wchar-subscripts]
33 | rows[j][mpp[a[i][j]]] += h[i];
| ~~~~~~^
genetics.cpp:39:48: warning: array subscript has type 'char' [-Wchar-subscripts]
39 | list_row += all_rows - rows[j][mpp[a[i][j]]];
| ~~~~~~^
genetics.cpp:19:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
19 | freopen(task ".inp", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
genetics.cpp:20:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
20 | freopen(task ".out", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
genetics.cpp:29:10: warning: array subscript 65 is above array bounds of 'int [26]' [-Warray-bounds]
29 | mpp['A'] = 0, mpp['C'] = 1, mpp['T'] = 2, mpp['G'] = 3;
| ~~~~~~~^
genetics.cpp:10:5: note: while referencing 'mpp'
10 | int mpp[26];
| ^~~
genetics.cpp:29:24: warning: array subscript 67 is above array bounds of 'int [26]' [-Warray-bounds]
29 | mpp['A'] = 0, mpp['C'] = 1, mpp['T'] = 2, mpp['G'] = 3;
| ~~~~~~~^
genetics.cpp:10:5: note: while referencing 'mpp'
10 | int mpp[26];
| ^~~
genetics.cpp:29:38: warning: array subscript 84 is above array bounds of 'int [26]' [-Warray-bounds]
29 | mpp['A'] = 0, mpp['C'] = 1, mpp['T'] = 2, mpp['G'] = 3;
| ~~~~~~~^
genetics.cpp:10:5: note: while referencing 'mpp'
10 | int mpp[26];
| ^~~
genetics.cpp:29:52: warning: array subscript 71 is above array bounds of 'int [26]' [-Warray-bounds]
29 | mpp['A'] = 0, mpp['C'] = 1, mpp['T'] = 2, mpp['G'] = 3;
| ~~~~~~~^
genetics.cpp:10:5: note: while referencing 'mpp'
10 | int mpp[26];
| ^~~