0_0_18749828_28996.cpp:60:11: error: redefinition of 'const int INF'
const int INF=0x3f3f3f3f;
^
0_0_18749828_28996.cpp:12:11: note: 'const int INF' previously defined here
const int INF=0x3f3f3f3f;
^
0_0_18749828_28996.cpp:63:12: error: redefinition of 'int dir [][2]'
int dir[][2]= {1,0,-1,0,0,1,0,-1};
^
0_0_18749828_28996.cpp:15:5: note: 'int dir [4][2]' previously defined here
int dir[][2]= {1,0,-1,0,0,1,0,-1};
^
0_0_18749828_28996.cpp:64:11: error: redefinition of 'const int MAXN'
const int MAXN=1 << 5;
^
0_0_18749828_28996.cpp:16:11: note: 'const int MAXN' previously defined here
const int MAXN=1 << 5;
^
0_0_18749828_28996.cpp:68:12: error: redefinition of 'char a [22]'
char a[20+2];
^
0_0_18749828_28996.cpp:20:6: note: 'char a [22]' previously declared here
char a[20+2];
^
0_0_18749828_28996.cpp: In function 'll change(char*, int, int)':
0_0_18749828_28996.cpp:69:4: error: redefinition of 'll change(char*, int, int)'
ll change(char s[],int l,int r)
^
0_0_18749828_28996.cpp:21:4: note: 'll change(char*, int, int)' previously defined here
ll change(char s[],int l,int r)
^
0_0_18749828_28996.cpp: In function 'int main()':
0_0_18749828_28996.cpp:76:5: error: redefinition of 'int main()'
int main()
^
0_0_18749828_28996.cpp:28:5: note: 'int main()' previously defined here
int main()
^
|