Main.cc:62:1: error: ‘strcut’ does not name a type; did you mean ‘strcat’?
strcut node{
^~~~~~
strcat
Main.cc:76:2: error: ‘G’ does not name a type
}G,BS;
^
Main.cc:77:8: error: ‘node’ does not name a type; did you mean ‘modf’?
inline node QP(node A,int x){
^~~~
modf
Main.cc: In function ‘bool chk(long long int)’:
Main.cc:88:15: error: ‘G’ was not declared in this scope
return QP(G,k)==QP(G,k)*BS;
^
Main.cc:88:12: error: ‘QP’ was not declared in this scope
return QP(G,k)==QP(G,k)*BS;
^~
Main.cc:88:29: error: ‘BS’ was not declared in this scope
return QP(G,k)==QP(G,k)*BS;
^~
Main.cc:88:29: note: suggested alternative: ‘S’
return QP(G,k)==QP(G,k)*BS;
^~
S
Main.cc: In function ‘int main()’:
Main.cc:103:13: error: ‘G’ was not declared in this scope
G.A[u][v]=1;
^
Main.cc:139:9: error: ‘BS’ was not declared in this scope
BS=G;
^~
Main.cc:139:9: note: suggested alternative: ‘S’
BS=G;
^~
S
Main.cc:139:12: error: ‘G’ was not declared in this scope
BS=G;
^
Main.cc:145:22: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
int mid=l+r>>1;
~^~