F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_27645954_6252.cpp:8:8: error: redeclaration of 'int& ssss::nbsp'
     int time,number;  
        ^
0_0_27645954_6252.cpp:8:2: note: previous declaration 'int& ssss::nbsp'
     int time,number;  
  ^
0_0_27645954_6252.cpp:8:14: error: redeclaration of 'int& ssss::nbsp'
     int time,number;  
              ^
0_0_27645954_6252.cpp:8:2: note: previous declaration 'int& ssss::nbsp'
     int time,number;  
  ^
0_0_27645954_6252.cpp:8:37: error: redeclaration of 'int& ssss::nbsp'
     int time,number;  
                                     ^
0_0_27645954_6252.cpp:8:2: note: previous declaration 'int& ssss::nbsp'
     int time,number;  
  ^
0_0_27645954_6252.cpp:9:2: error: redeclaration of 'int& ssss::nbsp'
     char name[10];  
  ^
0_0_27645954_6252.cpp:8:2: note: previous declaration 'int& ssss::nbsp'
     int time,number;  
  ^
0_0_27645954_6252.cpp:9:8: error: redeclaration of 'int& ssss::nbsp'
     char name[10];  
        ^
0_0_27645954_6252.cpp:8:2: note: previous declaration 'int& ssss::nbsp'
     int time,number;  
  ^
0_0_27645954_6252.cpp:9:14: error: redeclaration of 'int& ssss::nbsp'
     char name[10];  
              ^
0_0_27645954_6252.cpp:8:2: note: previous declaration 'int& ssss::nbsp'
     int time,number;  
  ^
0_0_27645954_6252.cpp:9:35: error: redeclaration of 'int& ssss::nbsp'
     char name[10];  
                                   ^
0_0_27645954_6252.cpp:8:2: note: previous declaration 'int& ssss::nbsp'
     int time,number;  
  ^
0_0_27645954_6252.cpp:10:9: error: use of deleted function 'ssss::ssss()'
 }ss[1111];
         ^
0_0_27645954_6252.cpp:6:8: note: 'ssss::ssss()' is implicitly deleted because the default definition would be ill-formed:
 struct ssss
        ^
0_0_27645954_6252.cpp:6:8: error: uninitialized reference member in 'struct ssss'
0_0_27645954_6252.cpp:8:2: note: 'int& ssss::nbsp' should be initialized
     int time,number;  
  ^
0_0_27645954_6252.cpp: In function 'bool cmp(const ssss&, const ssss&)':
0_0_27645954_6252.cpp:13:2: error: 'nbsp' was not declared in this scope
     if(a.number>b.number||a.number==b.number&&a.time<b.time)return 1;
  ^
0_0_27645954_6252.cpp: In function 'int main()':
0_0_27645954_6252.cpp:18:2: error: 'nbsp' was not declared in this scope
     int n,m,i,j,k,k1,k2,l,a;
  ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
                 from 0_0_27645954_6252.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 = ssss*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(const ssss&, const ssss&)>]':
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 = ssss*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(const ssss&, const ssss&)>]'
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 = ssss*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(const ssss&, const ssss&)>]'
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 = ssss*; _Compare = bool (*)(const ssss&, const ssss&)]'
0_0_27645954_6252.cpp:37:60:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:1851:17: error: use of deleted function 'ssss& ssss::operator=(ssss&&)'
        *__first = _GLIBCXX_MOVE(__val);
                 ^
0_0_27645954_6252.cpp:6:8: note: 'ssss& ssss::operator=(ssss&&)' is implicitly deleted because the default definition would be ill-formed:
 struct ssss
        ^
0_0_27645954_6252.cpp:6:8: error: non-static reference member 'int& ssss::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_27645954_6252.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 = ssss*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(const ssss&, const ssss&)>]':
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 = ssss*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(const ssss&, const ssss&)>]'
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 = ssss*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(const ssss&, const ssss&)>]'
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 = ssss*; _Size = long long int; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(const ssss&, const ssss&)>]'
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 = ssss*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(const ssss&, const ssss&)>]'
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 = ssss*; _Compare = bool (*)(const ssss&, const ssss&)]'
0_0_27645954_6252.cpp:37:60:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_heap.h:244:17: error: use of deleted function 'ssss& ssss::operator=(ssss&&)'
       *__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 = ssss*; _Distance = long long int; _Tp = ssss; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(const ssss&, const ssss&)>]':
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 = ssss*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(const ssss&, const ssss&)>]'
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 = ssss*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(const ssss&, const ssss&)>]'
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 = ssss*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(const ssss&, const ssss&)>]'
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 = ssss*; _Size = long long int; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(const ssss&, const ssss&)>]'
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 = ssss*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(const ssss&, const ssss&)>]'
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 = ssss*; _Compare = bool (*)(const ssss&, const ssss&)]'
0_0_27645954_6252.cpp:37:60:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_heap.h:218:29: error: use of deleted function 'ssss& ssss::operator=(ssss&&)'
    *(__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 'ssss& ssss::operator=(ssss&&)'
    *(__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/


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-12-01 12:48:23, Gzip enabled