dna.cpp: In function 'int get_distance(int, int)':
dna.cpp:16:27: error: request for member 'size' in 'c', which is of non-class type 'int'
16 | for(int i=0;i<(int) c.size();i++){
| ^~~~
dna.cpp:17:13: error: invalid types 'int[int]' for array subscript
17 | if(c[i] == 'A'){
| ^
dna.cpp:20:18: error: invalid types 'int[int]' for array subscript
20 | else if(c[i] == 'C'){
| ^
dna.cpp:23:18: error: invalid types 'int[int]' for array subscript
23 | else if(c[i] == 'T'){
| ^
dna.cpp:40:14: error: expected primary-expression before '==' token
40 | if(y-x % == 0){
| ^~
dna.cpp:44:25: error: expected ';' before '}' token
44 | return (y-x+1)/2
| ^
| ;
45 | }
| ~