0_0_27010989_29588.cpp: In function 'void up(node*)':
0_0_27010989_29588.cpp:48:58: error: 'struct node' has no member named 'id'
t->size=getsize(t->son[0])+getsize(t->son[1])+num[t->id].len;
^
0_0_27010989_29588.cpp: In function 'node* get_kth(node*, int)':
0_0_27010989_29588.cpp:110:29: error: 'struct node' has no member named 'id'
if(k>tmp&&k<=tmp+num[t->id].len) return t;
^
0_0_27010989_29588.cpp:112:21: error: 'struct node' has no member named 'id'
if(k>tmp+num[t->id].len) return get_kth(t->son[1],k-tmp-num[t->id].len);
^
0_0_27010989_29588.cpp:112:68: error: 'struct node' has no member named 'id'
if(k>tmp+num[t->id].len) return get_kth(t->son[1],k-tmp-num[t->id].len);
^
0_0_27010989_29588.cpp: In function 'node* getpre(node*)':
0_0_27010989_29588.cpp:117:22: error: conversion from 'node*' to non-scalar type 'node' requested
node tmp=t->son[0];
^
0_0_27010989_29588.cpp:118:11: error: no match for 'operator==' (operand types are 'node' and 'long long int')
if(tmp==NULL) return NULL;
^
0_0_27010989_29588.cpp:118:11: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:51:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_27010989_29588.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.tcc:2030:5: note: template<class _RealType1> bool std::operator==(const std::normal_distribution<_RealType>&, const std::normal_distribution<_RealType>&)
operator==(const std::normal_distribution<_RealType>& __d1,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.tcc:2030:5: note: template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/stdint.h:32:0,
from GCC4.9.2/lib/gcc/x86_64-w64-mingw32/4.9.2/include/stdint.h:9,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdint:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:380,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_27010989_29588.cpp:1:
0_0_27010989_29588.cpp:118:13: note: 'node' is not derived from 'const std::normal_distribution<_RealType>'
if(tmp==NULL) return NULL;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/vector:64:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/random.h:34,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:49,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_27010989_29588.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1511:5: note: template<class _Tp, class _Alloc> bool std::operator==(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&)
operator==(const vector<_Tp, _Alloc>& __x, const vector<_Tp, _Alloc>& __y)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_vector.h:1511:5: note: template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/stdint.h:32:0,
from GCC4.9.2/lib/gcc/x86_64-w64-mingw32/4.9.2/include/stdint.h:9,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdint:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:380,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_27010989_29588.cpp:1:
0_0_27010989_29588.cpp:118:13: note: 'node' is not derived from 'const std::vector<_Tp, _Alloc>'
if(tmp==NULL) return NULL;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_facets.h:48:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_ios.h:37,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:44,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_27010989_29588.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/streambuf_iterator.h:204:5: note: template<class _CharT, class _Traits> bool std::operator==(const std::istreambuf_iterator<_CharT, _Traits>&, const std::istreambuf_iterator<_CharT, _Traits>&)
operator==(const istreambuf_iterator<_CharT, _Traits>& __a,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/streambuf_iterator.h:204:5: note: template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/stdint.h:32:0,
from GCC4.9.2/lib/gcc/x86_64-w64-mingw32/4.9.2/include/stdint.h:9,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdint:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:380,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_27010989_29588.cpp:1:
0_0_27010989_29588.cpp:118:13: note: 'node' is not derived from 'const std::istreambuf_iterator<_CharT, _Traits>'
if(tmp==NULL) return NULL;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_27010989_29588.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2538:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*)
operator==(const basic_string<_CharT, _Traits, _Alloc>& __lhs,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2538:5: note: template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/stdint.h:32:0,
from GCC4.9.2/lib/gcc/x86_64-w64-mingw32/4.9.2/include/stdint.h:9,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdint:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:380,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_27010989_29588.cpp:1:
0_0_27010989_29588.cpp:118:13: note: 'node' is not derived from 'const std::basic_string<_CharT, _Traits, _Alloc>'
if(tmp==NULL) return NULL;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_27010989_29588.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2526:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator==(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&)
operator==(const _CharT* __lhs,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2526:5: note: template argument deduction/substitution failed:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/stdint.h:32:0,
from GCC4.9.2/lib/gcc/x86_64-w64-mingw32/4.9.2/include/stdint.h:9,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdint:41,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:380,
|