lang.cpp:5:1: error: 'map' does not name a type
map<ll, int> mp[56];
^~~
lang.cpp: In function 'int excerpt(int*)':
lang.cpp:6:5: error: ambiguating new declaration of 'int excerpt(int*)'
int excerpt(int* a) {
^~~~~~~
In file included from lang.cpp:1:0:
lang.h:1:6: note: old declaration 'void excerpt(int*)'
void excerpt(int *E);
^~~~~~~
lang.cpp:14:12: error: 'mp' was not declared in this scope
if(mx < mp[j][val])
^~
lang.cpp:14:12: note: suggested alternative: 'mx'
if(mx < mp[j][val])
^~
mx
lang.cpp:18:12: error: 'max_element' was not declared in this scope
int ret = max_element(cnt, cnt+56) - cnt;
^~~~~~~~~~~
lang.cpp:18:12: note: suggested alternative: 'max_align_t'
int ret = max_element(cnt, cnt+56) - cnt;
^~~~~~~~~~~
max_align_t
lang.cpp:24:3: error: 'mp' was not declared in this scope
mp[ans][val]++;
^~
lang.cpp:26:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^