Problem dna_ioi
User PlayVoltz
Submission Time 2023-09-23 21:08:05
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:12: error: ‘n’ was not declared in this scope
8 | a1.resize(n+1, 0);
| ^
dna_ioi.cpp:21:7: error: ‘s1’ was not declared in this scope; did you mean ‘t1’?
21 | if (s1[i]==s2[i]){
| ^~
| t1
dna_ioi.cpp:21:14: error: ‘s2’ was not declared in this scope; did you mean ‘t2’?
21 | if (s1[i]==s2[i]){
| ^~
| t2
dna_ioi.cpp:36:7: error: ‘s1’ was not declared in this scope; did you mean ‘t1’?
36 | if (s1[i]=='T' && s2[i]=='C'){
| ^~
| t1
dna_ioi.cpp:36:21: error: ‘s2’ was not declared in this scope; did you mean ‘t2’?
36 | if (s1[i]=='T' && s2[i]=='C'){
| ^~
| t2