Problem elephants
User Pan
Submission Time 2024-03-06 01:16:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

elephants.cpp:27:9: error: ‘pair’ does not name a type
27 | typedef pair<ld, ll> pd;
| ^~~~
elephants.cpp:28:9: error: ‘pair’ does not name a type
28 | typedef pair<string, ll> psl;
| ^~~~
elephants.cpp:29:9: error: ‘pair’ does not name a type
29 | typedef pair<ll, ll> pi;
| ^~~~
elephants.cpp:30:9: error: ‘pair’ does not name a type
30 | typedef pair<ll, pi> pii;
| ^~~~
elephants.cpp:33:1: error: ‘vector’ does not name a type
33 | vector<ll> x;
| ^~~~~~
elephants.cpp:34:1: error: ‘unordered_map’ does not name a type
34 | unordered_map<ll, ll> m;
| ^~~~~~~~~~~~~
elephants.cpp:38:1: error: ‘vector’ does not name a type
38 | vector<vector<ll> > groups;
| ^~~~~~
elephants.cpp:39:1: error: ‘vector’ does not name a type
39 | vector<vector<pi> > dp;
| ^~~~~~
e