0_0_14867100_11350.cpp:8:1: error: stray '\251' in program
XiaoA lives in a village. Last year flood rained the village. So they decide to move the whole village to the mountain nearby this year. There is no spring in the mountain, so each household could only dig a well or build a water line from other household. If the household decide to dig a well, the money for the well is the height of their house multiplies X dollar per meter. If the household decide to build a water line from other household, and if the height of which supply water is not lower than the one which get water, the money of one water line is the Manhattan distance of the two households multiplies Y dollar per meter. Or if the height of which supply water is lower than the one which get water, a water pump is needed except the water line. Z dollar should be paid for one water pump. In addition,therelation of the households must be considered. Some households may do not allow some other households build a water line from there house. Now given the 3©\dimensional position (a, b, c) of every household the c of which means height, can you calculate the minimal money the whole village need so that every household has water, or tell the leader if it can¡¯t be done.
^
0_0_14867100_11350.cpp:8:1: error: stray '\' in program
0_0_14867100_11350.cpp:8:1: error: stray '\241' in program
0_0_14867100_11350.cpp:8:1: error: stray '\257' in program
0_0_14867100_11350.cpp:18:1: error: stray '\251' in program
b, c means the position of the i©\th households, none of them will
^
0_0_14867100_11350.cpp:18:1: error: stray '\' in program
0_0_14867100_11350.cpp:21:1: error: stray '\251' in program
households. The n+i+1©\th line describes the relation of the i©\th
^
0_0_14867100_11350.cpp:21:1: error: stray '\' in program
0_0_14867100_11350.cpp:21:1: error: stray '\251' in program
0_0_14867100_11350.cpp:21:1: error: stray '\' in program
0_0_14867100_11350.cpp:24:1: error: stray '\251' in program
i©\th household.
^
0_0_14867100_11350.cpp:24:1: error: stray '\' in program
0_0_14867100_11350.cpp:29:1: error: stray '\241' in program
One integer in one line for each case, the minimal money the whole village need so that every household has water. If the plan does not exist, print ¡°poor XiaoA¡± in one line.
^
0_0_14867100_11350.cpp:29:1: error: stray '\260' in program
0_0_14867100_11350.cpp:29:1: error: stray '\241' in program
0_0_14867100_11350.cpp:29:1: error: stray '\261' in program
0_0_14867100_11350.cpp:40:1: error: stray '\251' in program
In 3©\dimensional space Manhattan distance of point A (x1, y1, z1) and B(x2, y2, z2) is |x2©\x1|+|y2©\y1|+|z2©\z1|.
^
0_0_14867100_11350.cpp:40:1: error: stray '\' in program
0_0_14867100_11350.cpp:40:1: error: stray '\251' in program
0_0_14867100_11350.cpp:40:1: error: stray '\' in program
0_0_14867100_11350.cpp:40:1: error: stray '\251' in program
0_0_14867100_11350.cpp:40:1: error: stray '\' in program
0_0_14867100_11350.cpp:40:1: error: stray '\251' in program
0_0_14867100_11350.cpp:40:1: error: stray '\' in program
0_0_14867100_11350.cpp:46:2: error: stray '\241' in program
The 36th ACM/ICPC Asia Regional Dalian Site ¡ª¡ª Online Contest
^
0_0_14867100_11350.cpp:46:2: error: stray '\252' in program
0_0_14867100_11350.cpp:46:2: error: stray '\241' in program
0_0_14867100_11350.cpp:46:2: error: stray '\252' in program
0_0_14867100_11350.cpp:1:1: error: 'Transfer' does not name a type
Transfer water
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/exception:162:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:39,
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_14867100_11350.cpp:55:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/exception_ptr.h:95:30: error: field 'nullptr_t' has incomplete type 'std::__exception_ptr::exception_ptr'
exception_ptr(nullptr_t) noexcept
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/exception_ptr.h:95:30: error: expected ';' at end of member declaration
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/exception_ptr.h:95:32: error: expected unqualified-id before 'noexcept'
exception_ptr(nullptr_t) noexcept
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:62:0,
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_14867100_11350.cpp:55:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/type_traits.h:160:35: error: '__gnu_cxx::__is_null_pointer' declared as an 'inline' variable
__is_null_pointer(std::nullptr_t)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/type_traits.h:160:35: error: 'bool __gnu_cxx::__is_null_pointer' redeclared as different kind of symbol
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/type_traits.h:155:5: note: previous declaration 'template<class _Type> bool __gnu_cxx::__is_null_pointer(_Type)'
__is_null_pointer(_Type)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/type_traits.h:160:21: error: 'nullptr_t' is not a member of 'std'
__is_null_pointer(std::nullptr_t)
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
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_14867100_11350.cpp:55:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:294:31: error: 'std::size_t' has not been declared
template<typename _Tp, std::size_t _Size>
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:493:37: error: 'nullptr_t' is not a member of 'std'
struct __is_null_pointer_helper<std::nullptr_t>
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:493:37: error: 'nullptr_t' is not a member of 'std'
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:493:51: error: template argument 1 is invalid
struct __is_null_pointer_helper<std::nullptr_t>
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1336:32: error: 'size_t' is not a member of 'std'
: public integral_constant<std::size_t, __alignof__(_Tp)> { };
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1336:32: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/crtdefs.h:10:0,
from GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:9,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/cwchar:44,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:38,
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_14867100_11350.cpp:55:
GCC4.9.2/x86_64-w64-mingw32/include/_mingw.h:377:44: note: 'size_t'
__MINGW_EXTENSION typedef unsigned __int64 size_t;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
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_14867100_11350.cpp:55:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1336:32: error: 'size_t' is not a member of 'std'
: public integral_constant<std::size_t, __alignof__(_Tp)> { };
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1336:32: note: suggested alternative:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/crtdefs.h:10:0,
from GCC4.9.2/x86_64-w64-mingw32/include/wchar.h:9,
from GCC4.9.2/x86_64-w64-mingw32/include/c++
|