0_0_25044801_27597.cpp:1:1: error: stray '\301' in program
链接:https://www.nowcoder.com/questionTerminal/c0c4710b3c2d4409881a7461b00147d9
^
0_0_25044801_27597.cpp:1:1: error: stray '\264' in program
0_0_25044801_27597.cpp:1:1: error: stray '\275' in program
0_0_25044801_27597.cpp:1:1: error: stray '\323' in program
0_0_25044801_27597.cpp:1:1: error: stray '\243' in program
0_0_25044801_27597.cpp:1:1: error: stray '\272' in program
0_0_25044801_27597.cpp:2:1: error: stray '\300' in program
来源:牛客网
^
0_0_25044801_27597.cpp:2:1: error: stray '\264' in program
0_0_25044801_27597.cpp:2:1: error: stray '\324' in program
0_0_25044801_27597.cpp:2:1: error: stray '\264' in program
0_0_25044801_27597.cpp:2:1: error: stray '\243' in program
0_0_25044801_27597.cpp:2:1: error: stray '\272' in program
0_0_25044801_27597.cpp:2:1: error: stray '\305' in program
0_0_25044801_27597.cpp:2:1: error: stray '\243' in program
0_0_25044801_27597.cpp:2:1: error: stray '\277' in program
0_0_25044801_27597.cpp:2:1: error: stray '\315' in program
0_0_25044801_27597.cpp:2:1: error: stray '\315' in program
0_0_25044801_27597.cpp:2:1: error: stray '\370' in program
0_0_25044801_27597.cpp:1:7: error: 'https' does not name a type
链接:https://www.nowcoder.com/questionTerminal/c0c4710b3c2d4409881a7461b00147d9
^
0_0_25044801_27597.cpp:8:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_25044801_27597.cpp:10:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_25044801_27597.cpp:14:9: error: use of deleted function 'node::node()'
} a[1000];
^
0_0_25044801_27597.cpp:11:8: note: 'node::node()' is implicitly deleted because the default definition would be ill-formed:
struct node
^
0_0_25044801_27597.cpp:11:8: error: uninitialized reference member in 'struct node'
0_0_25044801_27597.cpp:13:2: note: 'int& node::nbsp' should be initialized
double x , y; int time;
^
0_0_25044801_27597.cpp:15:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_25044801_27597.cpp:18:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_25044801_27597.cpp: In function 'int cmp(node, node)':
0_0_25044801_27597.cpp:21:2: error: 'nbsp' was not declared in this scope
if (p.time < q.time) return 1;
^
0_0_25044801_27597.cpp: At global scope:
0_0_25044801_27597.cpp:24:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_25044801_27597.cpp: In function 'double dist(int, int)':
0_0_25044801_27597.cpp:27:2: error: 'nbsp' was not declared in this scope
return sqrt( (a[p].x - a[q].x) * (a[p].x - a[q].x) + (a[p].y - a[q].y) * (a[p].y - a[q].y));
^
0_0_25044801_27597.cpp: At global scope:
0_0_25044801_27597.cpp:29:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_25044801_27597.cpp: In function 'void pre_deal()':
0_0_25044801_27597.cpp:32:2: error: 'nbsp' was not declared in this scope
int i , j;
^
0_0_25044801_27597.cpp: In function 'void deal()':
0_0_25044801_27597.cpp:39:2: error: 'nbsp' was not declared in this scope
int i , j , k , ans1; double ans2 , t;
^
0_0_25044801_27597.cpp: In function 'void init()':
0_0_25044801_27597.cpp:76:2: error: 'nbsp' was not declared in this scope
int i;
^
0_0_25044801_27597.cpp: At global scope:
0_0_25044801_27597.cpp:84:6: error: expected constructor, destructor, or type conversion before ';' token
^
0_0_25044801_27597.cpp: In function 'int main()':
0_0_25044801_27597.cpp:87:2: error: 'nbsp' was not declared in this scope
^
0_0_25044801_27597.cpp:92:28: error: 'i' was not declared in this scope
printf("Case %d: " , i);
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62:0,
from 0_0_25044801_27597.cpp:7:
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<int (*)(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<int (*)(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<int (*)(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 = int (*)(node, node)]'
0_0_25044801_27597.cpp:82:28: 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_25044801_27597.cpp:11:8: note: 'node& node::operator=(node&&)' is implicitly deleted because the default definition would be ill-formed:
struct node
^
0_0_25044801_27597.cpp:11: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_25044801_27597.cpp:7:
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<int (*)(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<int (*)(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<int (*)(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<int (*)(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<int (*)(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 = int (*)(node, node)]'
0_0_25044801_27597.cpp:82:28: 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<int (*)(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<int (*)(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<int (*)(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<int (*)(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<int (*)(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<int (*)(node, node)>]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bit
|