Problem | applefarm |
---|---|
User | grapecoder |
Submission Time | 2023-01-28 16:09:20 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
applefarm.cpp:8:27: error: wrong number of template arguments (1, should be 2)
8 | #define piii pair<lli, pii>
| ^
applefarm.cpp:14:8: note: in expansion of macro ‘piii’
14 | vector<piii> adj_list[100010];
| ^~~~
In file included from /usr/include/c++/9/bits/stl_algobase.h:64,
from /usr/include/c++/9/bits/specfun.h:45,
from /usr/include/c++/9/cmath:1927,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from applefarm.cpp:1:
/usr/include/c++/9/bits/stl_pair.h:208:12: note: provided for ‘template<class _T1, class _T2> struct std::pair’
208 | struct pair
| ^~~~
applefarm.cpp:14:12: error: template argument 1 is invalid
14 | vector<piii> adj_list[100010];
| ^
applefarm.cpp:14:12: error: template argument 2 is invalid
applefarm.cpp: In function