0_0_24314653_7511.cpp:10:18: error: 'int exit [250][250]' redeclared as different kind of symbol
int exit[250][250];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdlib:72:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/string_conversions.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2850,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_24314653_7511.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/stdlib.h:306:32: note: previous declaration 'void exit(int)'
void __cdecl __MINGW_NOTHROW exit(int _Code) __MINGW_ATTRIB_NORETURN;
^
0_0_24314653_7511.cpp: In function 'int main()':
0_0_24314653_7511.cpp:21:45: error: assignment of read-only location '*(exit + ((((sizetype)dot[i].Node::x) + ((sizetype)dot[i].Node::y)) + 200u))'
exit[dot[i].x+100][dot[i].y+100]=1;
^
0_0_24314653_7511.cpp:21:45: error: cannot convert 'int' to 'void(int)' in assignment
0_0_24314653_7511.cpp:32:42: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(exit[x1+100][y1+100]==1&&exit[x2+100][y2+100]==1)
^
0_0_24314653_7511.cpp:32:67: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(exit[x1+100][y1+100]==1&&exit[x2+100][y2+100]==1)
^
0_0_24314653_7511.cpp:38:42: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(exit[x1+100][y1+100]==1&&exit[x2+100][y2+100]==1)
^
0_0_24314653_7511.cpp:38:67: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if(exit[x1+100][y1+100]==1&&exit[x2+100][y2+100]==1)
^
|