0_0_36702239_7007.cpp: In member function 'spt::node* spt::join(spt::node*, spt::node*)':
0_0_36702239_7007.cpp:217:44: error: cast from 'spt::node*' to 'int' loses precision [-fpermissive]
if (!a || !b) return (node *)((int)a|(int)b);
^
0_0_36702239_7007.cpp:217:51: error: cast from 'spt::node*' to 'int' loses precision [-fpermissive]
if (!a || !b) return (node *)((int)a|(int)b);
^
0_0_36702239_7007.cpp: In function 'void work(char, int)':
0_0_36702239_7007.cpp:256:21: error: reference to 'pair' is ambiguous
path[data]=pair(a,b);
^
0_0_36702239_7007.cpp:240:9: note: candidates are: struct pair
struct pair
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_36702239_7007.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:96:12: note: template<class _T1, class _T2> struct std::pair
struct pair
^
0_0_36702239_7007.cpp:260:10: error: reference to 'pair' is ambiguous
pair t=path[n];
^
0_0_36702239_7007.cpp:240:9: note: candidates are: struct pair
struct pair
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_36702239_7007.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:96:12: note: template<class _T1, class _T2> struct std::pair
struct pair
^
0_0_36702239_7007.cpp:261:27: error: 't' was not declared in this scope
mysp->removefuck(t.first);
^
0_0_36702239_7007.cpp:268:10: error: reference to 'pair' is ambiguous
pair t=path[n];
^
0_0_36702239_7007.cpp:240:9: note: candidates are: struct pair
struct pair
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/utility:70:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_36702239_7007.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:96:12: note: template<class _T1, class _T2> struct std::pair
struct pair
^
0_0_36702239_7007.cpp:269:22: error: 't' was not declared in this scope
mysp->splay(t.second,mysp->root);
^
|