0_0_30766081_10134.cpp:43:50: error: template declaration of 'node<T2> e [1000003]'
struct node{public:point u;T2 v;int next;}e[maxsz];
^
0_0_30766081_10134.cpp:56:3: error: 'T2' does not name a type
T2 operator()(point u){
^
0_0_30766081_10134.cpp: In member function 'void hash_map::operator[](point)':
0_0_30766081_10134.cpp:48:28: error: 'e' was not declared in this scope
for(int i=head[hs];i;i=e[i].next)
^
0_0_30766081_10134.cpp:54:5: error: 'e' was not declared in this scope
e[++nume]=(node){u,1,head[hs]},head[hs]=nume;
^
0_0_30766081_10134.cpp:54:20: error: missing template arguments before ')' token
e[++nume]=(node){u,1,head[hs]},head[hs]=nume;
^
0_0_30766081_10134.cpp:54:35: error: expected primary-expression before ',' token
e[++nume]=(node){u,1,head[hs]},head[hs]=nume;
^
0_0_30766081_10134.cpp: At global scope:
0_0_30766081_10134.cpp:67:3: error: 'hash_map' is not a template
};hash_map<int> mpn;
^
0_0_30766081_10134.cpp: In function 'int main()':
0_0_30766081_10134.cpp:90:42: error: no match for call to '(hash_map) (point)'
ans[i]+=mpn(point(dy,-dx));
^
0_0_30766081_10134.cpp:107:42: error: no match for call to '(hash_map) (point)'
ans[j]+=mpn(point(dy,-dx))+mpn(point(-dy,dx));
^
0_0_30766081_10134.cpp:107:61: error: no match for call to '(hash_map) (point)'
ans[j]+=mpn(point(dy,-dx))+mpn(point(-dy,dx));
^
|