Problem flip
User JustKitkat
Submission Time 2024-10-26 11:47:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flip.cpp: In function ‘long long int dijkstra(long long int)’:
flip.cpp:12:18: error: wrong number of template arguments (1, should be at least 2)
12 | #define int long long
| ^~~~
flip.cpp:67:17: note: in expansion of macro ‘int’
67 | vector<umap<int>> vis(nn+5);
| ^~~
In file included from /usr/include/c++/9/unordered_map:47,
from /usr/include/c++/9/functional:61,
from /usr/include/c++/9/pstl/glue_algorithm_defs.h:13,
from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from flip.cpp:4:
/usr/include/c++/9/bits/unordered_map.h:102:11: note: provided for ‘template<class _Key, class _Tp, class _Hash, class _Pred, class _Alloc> class std::unordered_map’
102 | class unordered_map
| ^~~~~~~~~~~~~
flip.cpp:67:20: error: tem