0_0_27645953_31732.cpp:22:9: error: redeclaration of 'int& node::nbsp'
int a,b;
^
0_0_27645953_31732.cpp:22:2: note: previous declaration 'int& node::nbsp'
int a,b;
^
0_0_27645953_31732.cpp:23:2: error: redeclaration of 'int& node::nbsp'
int t1,t2;
^
0_0_27645953_31732.cpp:22:2: note: previous declaration 'int& node::nbsp'
int a,b;
^
0_0_27645953_31732.cpp:23:9: error: redeclaration of 'int& node::nbsp'
int t1,t2;
^
0_0_27645953_31732.cpp:22:2: note: previous declaration 'int& node::nbsp'
int a,b;
^
0_0_27645953_31732.cpp:24:10: error: use of deleted function 'node::node()'
}s[100000];
^
0_0_27645953_31732.cpp:21:8: note: 'node::node()' is implicitly deleted because the default definition would be ill-formed:
struct node{
^
0_0_27645953_31732.cpp:21:8: error: uninitialized reference member in 'struct node'
0_0_27645953_31732.cpp:22:2: note: 'int& node::nbsp' should be initialized
int a,b;
^
0_0_27645953_31732.cpp: In function 'bool cmp1(node, node)':
0_0_27645953_31732.cpp:29:2: error: 'nbsp' was not declared in this scope
int t1=A.a-A.b;
^
0_0_27645953_31732.cpp:32:15: error: 'else' without a previous 'if'
else
^
0_0_27645953_31732.cpp:35:29: error: 'else' without a previous 'if'
else return A.t1<B.t1;
^
0_0_27645953_31732.cpp: In function 'int main()':
0_0_27645953_31732.cpp:44:2: error: 'nbsp' was not declared in this scope
//freopen("1.txt","r",stdin);
^
0_0_27645953_31732.cpp:50:50: error: 'i' was not declared in this scope
cin>>s[i].a>>s[i].b;
^
0_0_27645953_31732.cpp:64:46: error: 'i' was not declared in this scope
if(i==n-1) cout<<s[i].t1<<endl;
^
0_0_27645953_31732.cpp:64:68: error: 'i' was not declared in this scope
if(i==n-1) cout<<s[i].t1<<endl;
^
0_0_27645953_31732.cpp:65:43: error: 'else' without a previous 'if'
else cout<<s[i].t1<<" ";
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
from 0_0_27645953_31732.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h: In instantiation of 'void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = node*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(node, node)>]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1884:70: required from 'void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = node*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(node, node)>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1970:55: required from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = node*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(node, node)>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4716:78: required from 'void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = node*; _Compare = bool (*)(node, node)]'
0_0_27645953_31732.cpp:53:44: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1851:17: error: use of deleted function 'node& node::operator=(node&&)'
*__first = _GLIBCXX_MOVE(__val);
^
0_0_27645953_31732.cpp:21:8: note: 'node& node::operator=(node&&)' is implicitly deleted because the default definition would be ill-formed:
struct node{
^
0_0_27645953_31732.cpp:21:8: error: non-static reference member 'int& node::nbsp', can't use default assignment operator
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:61:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_27645953_31732.cpp:4:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_heap.h: In instantiation of 'void std::__pop_heap(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = node*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(node, node)>]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1676:50: required from 'void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = node*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(node, node)>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1932:59: required from 'void std::__partial_sort(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = node*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(node, node)>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1947:59: required from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = node*; _Size = long long int; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(node, node)>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1969:11: required from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = node*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(node, node)>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4716:78: required from 'void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = node*; _Compare = bool (*)(node, node)]'
0_0_27645953_31732.cpp:53:44: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_heap.h:244:17: error: use of deleted function 'node& node::operator=(node&&)'
*__result = _GLIBCXX_MOVE(*__first);
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_heap.h: In instantiation of 'void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = node*; _Distance = long long int; _Tp = node; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(node, node)>]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_heap.h:334:15: required from 'void std::__make_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = node*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(node, node)>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1673:49: required from 'void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = node*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(node, node)>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1932:59: required from 'void std::__partial_sort(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = node*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(node, node)>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1947:59: required from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = node*; _Size = long long int; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(node, node)>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1969:11: required from 'void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = node*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(node, node)>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:4716:78: required from 'void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = node*; _Compare = bool (*)(node, node)]'
0_0_27645953_31732.cpp:53:44: required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_heap.h:218:29: error: use of deleted function 'node& node::operator=(node&&)'
*(__first + __holeIndex) = _GLIBCXX_MOVE(*(__first + __secondChild));
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_heap.h:224:29: error: use of deleted function 'node& node::operator=(node&&)'
*(__first + __holeIndex) = _GLIBCXX_MOVE(*(__first
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
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_27645953_31732.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h: In instantiation of 'void std::swap(_Tp&, _Tp&) [with _Tp = node]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:148:22: required from 'void std::iter_swap(_ForwardIterator1, _ForwardIterator2) [with _ForwardIterator1 =
|