dna.cpp: In function 'int solve(str, str, int)':
dna.cpp:20:1: warning: no return statement in function returning non-void [-Wreturn-type]
20 | }
| ^
dna.cpp: In function 'int get_distance(int, int)':
dna.cpp:26:6: warning: unused variable 'n' [-Wunused-variable]
26 | int n = a1.length(), c = 0;
| ^
dna.cpp:26:23: warning: unused variable 'c' [-Wunused-variable]
26 | int n = a1.length(), c = 0;
| ^
dna.cpp:28:6: warning: unused variable 'as' [-Wunused-variable]
28 | int as = count(a1.begin(), a1.end(), 'A');
| ^~
dna.cpp:29:6: warning: unused variable 'cs' [-Wunused-variable]
29 | int cs = count(a1.begin(), a1.end(), 'C');
| ^~
dna.cpp:30:6: warning: unused variable 'ts' [-Wunused-variable]
30 | int ts = count(a1.begin(), a1.end(), 'T');
| ^~