Problem ping
User Reverberate
Submission Time 2024-02-11 21:19:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ping.cpp: In function ‘int rabbit(int)’:
ping.cpp:8:5: error: ‘unordered_map’ was not declared in this scope
8 | unordered_map<int,int>mp;
| ^~~~~~~~~~~~~
ping.cpp:8:5: note: suggested alternatives:
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 ping.h:1,
from ping.cpp:1:
/usr/include/c++/9/bits/unordered_map.h:102:11: note: ‘std::unordered_map’
102 | class unordered_map
| ^~~~~~~~~~~~~
In file included 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,