lang.cpp: In function 'void excerpt(int*)':
lang.cpp:8:5: error: 'set' was not declared in this scope
set <int> s;
^~~
lang.cpp:8:5: note: suggested alternative:
In file included from /usr/include/c++/7/set:61:0,
from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:87,
from lang.cpp:1:
/usr/include/c++/7/bits/stl_set.h:93:11: note: 'std::set'
class set
^~~
lang.cpp:8:10: error: expected primary-expression before 'int'
set <int> s;
^~~
lang.cpp:12:9: error: 's' was not declared in this scope
s.insert (E[i]);
^
lang.cpp:20:23: error: 's' was not declared in this scope
for (int j : s) {
^
lang.cpp:30:5: error: 'language' was not declared in this scope
language (x);
^~~~~~~~
lang.cpp:34:15: error: invalid types 'int [100000][int*]' for array subscript
a[x][E][i]++;
^