Problem dna_ioi
User Xiaoyang
Submission Time 2023-01-06 18:53:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dna_ioi.cpp:3:1: error: ‘ll’ does not name a type
3 | ll at[111111],ac[111111],ca[111111],ct[111111],ta[111111],tc[111111];
| ^~
dna_ioi.cpp: In function ‘void init(std::string, std::string)’:
dna_ioi.cpp:5:6: error: ‘i’ was not declared in this scope
5 | rep(i,1,SZ(a)+1){
| ^
dna_ioi.cpp:5:10: error: ‘SZ’ was not declared in this scope
5 | rep(i,1,SZ(a)+1){
| ^~
dna_ioi.cpp:5:2: error: ‘rep’ was not declared in this scope
5 | rep(i,1,SZ(a)+1){
| ^~~
dna_ioi.cpp: In function ‘int get_distance(int, int)’:
dna_ioi.cpp:26:2: error: ‘ll’ was not declared in this scope
26 | ll AT=at[y]-at[x],AC=ac[y]-ac[x],CA=ca[y]-ca[x],CT=ct[y]-ct[x],TA=ta[y]-ta[x],TC=tc[y]-tc[x];
| ^~
dna_ioi.cpp:28:5: error: ‘AT’ was not declared in this scope
28 | if(AT+AC!=TA+CA)return -1;
| ^~
dna_ioi.cpp:28:8: error: ‘AC’ was not declared in this scope
28 | if(AT+AC!=T