consul.cpp: In function 'void solve(int)':
consul.cpp:8:5: error: 'map' was not declared in this scope
8 | map<int, int> mp;
| ^~~
consul.cpp:3:1: note: 'std::map' is defined in header '<map>'; did you forget to '#include <map>'?
2 | #include <grader.h>
+++ |+#include <map>
3 |
consul.cpp:8:9: error: expected primary-expression before 'int'
8 | map<int, int> mp;
| ^~~
consul.cpp:11:13: error: 'mp' was not declared in this scope
11 | if (mp.find(x)) {
| ^~
consul.cpp:14:9: error: 'mp' was not declared in this scope
14 | mp[x] = true;
| ^~