0_0_39545302_30227.cpp:5:8: error: wrong number of template arguments (1, should be at least 2)
5 | map<int> mark;
| ^
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/map:63,
from .\stdc++.h:152:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_map.h:100:11: note: provided for 'template<class _Key, class _Tp, class _Compare, class _Alloc> class std::map'
100 | class map
| ^~~
0_0_39545302_30227.cpp: In function 'int main()':
0_0_39545302_30227.cpp:18:40: error: invalid types 'int[long long int]' for array subscript
18 | if(mark[now]==1)
| ^
0_0_39545302_30227.cpp:21:37: error: invalid types 'int[long long int]' for array subscript
21 | mark[now]=1;
| ^
|