Problem dna_ioi
User PlayVoltz
Submission Time 2023-09-23 21:08:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dna_ioi.cpp: In function ‘void init(std::string, std::string)’:
dna_ioi.cpp:8:2: error: ‘n’ was not declared in this scope
8 | n = a.size();
| ^
dna_ioi.cpp:22:7: error: ‘s1’ was not declared in this scope; did you mean ‘t1’?
22 | if (s1[i]==s2[i]){
| ^~
| t1
dna_ioi.cpp:22:14: error: ‘s2’ was not declared in this scope; did you mean ‘t2’?
22 | if (s1[i]==s2[i]){
| ^~
| t2
dna_ioi.cpp:37:7: error: ‘s1’ was not declared in this scope; did you mean ‘t1’?
37 | if (s1[i]=='T' && s2[i]=='C'){
| ^~
| t1
dna_ioi.cpp:37:21: error: ‘s2’ was not declared in this scope; did you mean ‘t2’?
37 | if (s1[i]=='T' && s2[i]=='C'){
| ^~
| t2