0_0_39084014_7895.cpp:26:18: error: 'int time [205]' redeclared as different kind of entity
26 | int low[N],time[N],pre[N];
| ^
In file included from gcc-13.1.0/x86_64-w64-mingw32/include/pthread.h:69,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/x86_64-w64-mingw32/bits/gthr-default.h:35,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/x86_64-w64-mingw32/bits/gthr.h:148,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ext/atomicity.h:35,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ios_base.h:39,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ios:44,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/ostream:40,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/iostream:41,
from 0_0_39084014_7895.cpp:1:
gcc-13.1.0/x86_64-w64-mingw32/include/time.h:256:34: note: previous declaration 'time_t time(time_t*)'
256 | static __inline time_t __CRTDECL time(time_t *_Time) { return _time64(_Time); }
| ^~~~
0_0_39084014_7895.cpp: In function 'bool spfa(int)':
0_0_39084014_7895.cpp:32:17: error: assignment of read-only location '*(time + ((sizetype)i))'
32 | time[i] = 0;
| ~~~~~~~~^~~
0_0_39084014_7895.cpp:36:11: error: lvalue required as increment operand
36 | time[s]++;
| ^
0_0_39084014_7895.cpp:43:19: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
43 | if(time[u]>n) low[u] = INF;
| ~~~~~~~^~
0_0_39084014_7895.cpp:48:36: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
48 | if(!vis[v]&&time[v]<=n){
| ~~~~~~~^~~
0_0_39084014_7895.cpp:51:27: error: lvalue required as increment operand
51 | time[v]++;
| ^
|