0_0_38573548_25296.cpp: In function 'bool dfs(int)':
0_0_38573548_25296.cpp:10:14: error: expected ';' before '{' token
for(int i=0;i{
^
;
0_0_38573548_25296.cpp:10:14: error: expected primary-expression before '{' token
0_0_38573548_25296.cpp:10:14: error: expected ')' before '{' token
for(int i=0;i{
~ ^
)
0_0_38573548_25296.cpp:11:14: error: reference to 'map' is ambiguous
if(!mark[i]&&map[x][i])
^~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/map:61,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/x86_64-w64-mingw32/bits/stdc++.h:81,
from 0_0_38573548_25296.cpp:1:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
class map
^~~
0_0_38573548_25296.cpp:5:13: note: 'int map [100010][11]'
int cap[11],map[N][11];
^~~
0_0_38573548_25296.cpp:14:10: error: expected ')' before '{' token
if(val[i] {
~ ^~
)
0_0_38573548_25296.cpp:19:13: error: 'j' was not declared in this scope
for(int j=0;j {
^
0_0_38573548_25296.cpp: In function 'bool Yes()':
0_0_38573548_25296.cpp:34:10: error: expected ';' before '{' token
for(i=0;i {
^~
;
0_0_38573548_25296.cpp:34:11: error: expected primary-expression before '{' token
for(i=0;i {
^
0_0_38573548_25296.cpp:34:10: error: expected ')' before '{' token
for(i=0;i {
~ ^~
)
0_0_38573548_25296.cpp: In function 'int main()':
0_0_38573548_25296.cpp:44:8: error: reference to 'map' is ambiguous
memset(map,0,sizeof(map));
^~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/map:61,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/x86_64-w64-mingw32/bits/stdc++.h:81,
from 0_0_38573548_25296.cpp:1:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
class map
^~~
0_0_38573548_25296.cpp:5:13: note: 'int map [100010][11]'
int cap[11],map[N][11];
^~~
0_0_38573548_25296.cpp:44:21: error: reference to 'map' is ambiguous
memset(map,0,sizeof(map));
^~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/map:61,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/x86_64-w64-mingw32/bits/stdc++.h:81,
from 0_0_38573548_25296.cpp:1:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
class map
^~~
0_0_38573548_25296.cpp:5:13: note: 'int map [100010][11]'
int cap[11],map[N][11];
^~~
0_0_38573548_25296.cpp:45:14: error: expected ';' before '{' token
for(int i=0;i {
^~
;
0_0_38573548_25296.cpp:45:15: error: expected primary-expression before '{' token
for(int i=0;i {
^
0_0_38573548_25296.cpp:45:14: error: expected ')' before '{' token
for(int i=0;i {
~ ^~
)
0_0_38573548_25296.cpp:46:14: error: expected ';' before '{' token
for(int j=0;j {
^~
;
0_0_38573548_25296.cpp:46:15: error: expected primary-expression before '{' token
for(int j=0;j {
^
0_0_38573548_25296.cpp:46:14: error: expected ')' before '{' token
for(int j=0;j {
~ ^~
)
0_0_38573548_25296.cpp:47:13: error: reference to 'map' is ambiguous
scanf("%d",&map[i][j]);
^~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/map:61,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/x86_64-w64-mingw32/bits/stdc++.h:81,
from 0_0_38573548_25296.cpp:1:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/stl_map.h:100:11: note: candidates are: 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
class map
^~~
0_0_38573548_25296.cpp:5:13: note: 'int map [100010][11]'
int cap[11],map[N][11];
^~~
0_0_38573548_25296.cpp:50:14: error: expected ';' before 'if'
for(int i=0;i if(Yes())
^~~
;
0_0_38573548_25296.cpp:50:15: error: expected primary-expression before 'if'
for(int i=0;i if(Yes())
^~
0_0_38573548_25296.cpp:50:14: error: expected ')' before 'if'
for(int i=0;i if(Yes())
~ ^~~
)
|