0_0_18468888_16896.cpp:5:1: error: 'LL' does not name a type
LL ans;
^
0_0_18468888_16896.cpp:7:33: error: 'LL' was not declared in this scope
unsigned operator()(const pair<LL,LL>&p)const {
^
0_0_18468888_16896.cpp:7:36: error: 'LL' was not declared in this scope
unsigned operator()(const pair<LL,LL>&p)const {
^
0_0_18468888_16896.cpp:7:38: error: template argument 1 is invalid
unsigned operator()(const pair<LL,LL>&p)const {
^
0_0_18468888_16896.cpp:7:38: error: template argument 2 is invalid
0_0_18468888_16896.cpp: In member function 'unsigned int hh::operator()(const int&) const':
0_0_18468888_16896.cpp:8:12: error: request for member 'first' in 'p', which is of non-class type 'const int'
return p.first^p.second>>3;
^
0_0_18468888_16896.cpp:8:20: error: request for member 'second' in 'p', which is of non-class type 'const int'
return p.first^p.second>>3;
^
0_0_18468888_16896.cpp: At global scope:
0_0_18468888_16896.cpp:11:20: error: 'LL' was not declared in this scope
unordered_set<pair<LL,LL>,hh>s;
^
0_0_18468888_16896.cpp:11:23: error: 'LL' was not declared in this scope
unordered_set<pair<LL,LL>,hh>s;
^
0_0_18468888_16896.cpp:11:25: error: template argument 1 is invalid
unordered_set<pair<LL,LL>,hh>s;
^
0_0_18468888_16896.cpp:11:25: error: template argument 2 is invalid
0_0_18468888_16896.cpp:11:29: error: template argument 1 is invalid
unordered_set<pair<LL,LL>,hh>s;
^
0_0_18468888_16896.cpp:11:29: error: template argument 3 is invalid
0_0_18468888_16896.cpp:11:29: error: template argument 4 is invalid
0_0_18468888_16896.cpp:11:31: error: invalid type in declaration before ';' token
unordered_set<pair<LL,LL>,hh>s;
^
0_0_18468888_16896.cpp: In function 'int main()':
0_0_18468888_16896.cpp:13:4: error: request for member 'reserve' in 's', which is of non-class type 'int'
s.reserve(377777);
^
0_0_18468888_16896.cpp:14:13: error: 'sd' was not declared in this scope
while (sd(n),n) {
^
0_0_18468888_16896.cpp:15:5: error: request for member 'clear' in 's', which is of non-class type 'int'
s.clear();
^
0_0_18468888_16896.cpp:17:13: error: 'sd3' was not declared in this scope
sd3(t,x,y);
^
0_0_18468888_16896.cpp:18:15: error: request for member 'emplace' in 's', which is of non-class type 'int'
if (t==1)s.emplace(x,y);
^
0_0_18468888_16896.cpp:20:7: error: request for member 'erase' in 's', which is of non-class type 'int'
s.erase({x,y});
^
0_0_18468888_16896.cpp:22:5: error: 'ans' was not declared in this scope
ans=LLONG_MIN;
^
0_0_18468888_16896.cpp:23:20: error: request for member 'begin' in 's', which is of non-class type 'int'
for (auto it=s.begin();it!=s.end();++it) {
^
0_0_18468888_16896.cpp:23:34: error: request for member 'end' in 's', which is of non-class type 'int'
for (auto it=s.begin();it!=s.end();++it) {
^
0_0_18468888_16896.cpp:24:39: error: 'Amax' was not declared in this scope
Amax(ans,it->first*x+it->second*y);
^
|