dna.cpp: In function 'void init(std::string, std::string)':
dna.cpp:7:19: error: expected initializer before 'int'
7 | int paa[100005] int pac[100005]; int pat[100005]; int pca[100005];
| ^~~
dna.cpp:9:3: error: 'paa' was not declared in this scope; did you mean 'pta'?
9 | paa[0]=0;
| ^~~
| pta
dna.cpp:10:3: error: 'pac' was not declared in this scope; did you mean 'ptc'?
10 | pac[0]=0;
| ^~~
| ptc
dna.cpp: In function 'int get_distance(int, int)':
dna.cpp:45:12: error: 'paa' was not declared in this scope
45 | int n1 = paa[y] - paa[x-1];
| ^~~
dna.cpp:46:12: error: 'pac' was not declared in this scope
46 | int n2 = pac[y] - pac[x-1];
| ^~~
dna.cpp:47:12: error: 'pat' was not declared in this scope
47 | int n3 = pat[y] - pat[x-1];
| ^~~
dna.cpp:48:12: error: 'pca' was not declared in this scope
48 | int n4 = pca[y] - pca[x-1];
| ^~~
dna.cpp:49:12: error: 'pcc' was not declared in this scope
49 | int n5 = pcc[y] - pcc[x-1];
| ^~~
dna.cpp:50:12: error: 'pct' was not declared in this scope
50 | int n6 = pct[y] - pct[x-1];
| ^~~
dna.cpp:51:12: error: 'pta' was not declared in this scope
51 | int n7 = pta[y] - pta[x-1];
| ^~~
dna.cpp:52:12: error: 'ptc' was not declared in this scope; did you mean 'putc'?
52 | int n8 = ptc[y] - ptc[x-1];
| ^~~
| putc
dna.cpp:53:12: error: 'ptt' was not declared in this scope
53 | int n9 = ptt[y] - ptt[x-1];
| ^~~