0_0_15718389_23761.cpp:18:34: error: 'int round' redeclared as different kind of symbol
int stamp, vis[N][N], col[N][N], round, rvis[N][N], cstamp, cvis[N * N], pre[N * N];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:44:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_15718389_23761.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/math.h:874:25: note: previous declaration 'double round(double)'
extern double __cdecl round (double);
^
0_0_15718389_23761.cpp: In function 'int calc(std::vector<std::pair<int, int> >&)':
0_0_15718389_23761.cpp:40:4: error: no pre-increment operator for type
++round;
^
0_0_15718389_23761.cpp:45:14: error: cannot resolve overloaded function 'round' based on conversion to type 'int'
rvis[x][y] = round;
^
0_0_15718389_23761.cpp:54:67: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator!='
if (tx < 0 || tx >= n || ty < 0 || ty >= m || rvis[tx][ty] != round) {
^
|