0_0_17596886_16941.cpp:19:5: error: stray '\' in program
if(num==0) return \'d\';
^
0_0_17596886_16941.cpp:19:5: error: missing terminating ' character
0_0_17596886_16941.cpp:20:5: error: stray '\' in program
else if(num==1) return \'u\';
^
0_0_17596886_16941.cpp:20:5: error: missing terminating ' character
0_0_17596886_16941.cpp:21:5: error: stray '\' in program
else if(num==2) return \'r\';
^
0_0_17596886_16941.cpp:21:5: error: missing terminating ' character
0_0_17596886_16941.cpp:22:5: error: stray '\' in program
else return \'l\';
^
0_0_17596886_16941.cpp:22:5: error: missing terminating ' character
0_0_17596886_16941.cpp:66:5: error: stray '\' in program
shuchu[1]==\"\";
^
0_0_17596886_16941.cpp:66:5: error: missing terminating " character
0_0_17596886_16941.cpp:72:5: error: stray '\' in program
while(scanf(\"%c\",&ch)==1)
^
0_0_17596886_16941.cpp:72:5: error: missing terminating " character
0_0_17596886_16941.cpp:74:9: error: stray '\' in program
if(ch==\'x\')
^
0_0_17596886_16941.cpp:74:9: error: missing terminating ' character
0_0_17596886_16941.cpp:79:13: error: stray '\' in program
p=(ch-\'0\');
^
0_0_17596886_16941.cpp:79:13: error: missing terminating ' character
0_0_17596886_16941.cpp:80:9: error: stray '\' in program
while(scanf(\"%c\",&ch)==1)
^
0_0_17596886_16941.cpp:80:9: error: missing terminating " character
0_0_17596886_16941.cpp:82:13: error: stray '\' in program
if(ch==\' \') continue;
^
0_0_17596886_16941.cpp:82:13: error: missing terminating ' character
0_0_17596886_16941.cpp:87:17: error: stray '\' in program
if(ch==\'x\')
^
0_0_17596886_16941.cpp:87:17: error: missing terminating ' character
0_0_17596886_16941.cpp:90:21: error: stray '\' in program
p+=ch-\'0\';
^
0_0_17596886_16941.cpp:90:21: error: missing terminating ' character
0_0_17596886_16941.cpp:98:9: error: stray '\' in program
else puts(\"unsolvable\");
^
0_0_17596886_16941.cpp:98:9: error: missing terminating " character
0_0_17596886_16941.cpp:13:7: error: 'dx' does not name a type
const dx[]={-1,1,0,0};
^
0_0_17596886_16941.cpp:14:7: error: 'dy' does not name a type
const dy[]={0,0,-1,1};
^
0_0_17596886_16941.cpp: In function 'char f(int)':
0_0_17596886_16941.cpp:20:5: error: expected primary-expression before 'else'
else if(num==1) return \'u\';
^
0_0_17596886_16941.cpp:20:5: error: expected ';' before 'else'
0_0_17596886_16941.cpp:21:5: error: expected primary-expression before 'else'
else if(num==2) return \'r\';
^
0_0_17596886_16941.cpp:21:5: error: expected ';' before 'else'
0_0_17596886_16941.cpp:22:5: error: expected primary-expression before 'else'
else return \'l\';
^
0_0_17596886_16941.cpp:22:5: error: expected ';' before 'else'
0_0_17596886_16941.cpp:23:1: error: expected primary-expression before '}' token
}
^
0_0_17596886_16941.cpp:23:1: error: expected ';' before '}' token
0_0_17596886_16941.cpp: In function 'void bfs(std::map<int, int>&)':
0_0_17596886_16941.cpp:37:21: error: 'dx' was not declared in this scope
int X=x+dx[d];
^
0_0_17596886_16941.cpp:38:21: error: 'dy' was not declared in this scope
int Y=y+dy[d];
^
0_0_17596886_16941.cpp: In function 'int main()':
0_0_17596886_16941.cpp:66:14: error: no match for 'operator==' (operand types are 'std::string {aka std::basic_string<char>}' and 'int')
shuchu[1]==\"\";
^
0_0_17596886_16941.cpp:66:14: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/iosfwd:40:0,
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_17596886_16941.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:216:5: note: template<class _StateT> bool std::operator==(const std::fpos<_StateT>&, const std::fpos<_StateT>&)
operator==(const fpos<_StateT>& __lhs, const fpos<_StateT>& __rhs)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:216:5: note: template argument deduction/substitution failed:
0_0_17596886_16941.cpp:67:5: note: 'std::string {aka std::basic_string<char>}' is not derived from 'const std::fpos<_StateT>'
len=1;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64: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_17596886_16941.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:214:5: note: template<class _T1, class _T2> constexpr bool std::operator==(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
operator==(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:214:5: note: template argument deduction/substitution failed:
0_0_17596886_16941.cpp:67:5: note: 'std::string {aka std::basic_string<char>}' is not derived from 'const std::pair<_T1, _T2>'
len=1;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67: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_17596886_16941.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:292:5: note: template<class _Iterator> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&)
operator==(const reverse_iterator<_Iterator>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:292:5: note: template argument deduction/substitution failed:
0_0_17596886_16941.cpp:67:5: note: 'std::string {aka std::basic_string<char>}' is not derived from 'const std::reverse_iterator<_Iterator>'
len=1;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67: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_17596886_16941.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:342:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_IteratorR>&)
operator==(const reverse_iterator<_IteratorL>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:342:5: note: template argument deduction/substitution failed:
0_0_17596886_16941.cpp:67:5: note: 'std::string {aka std::basic_string<char>}' is not derived from 'const std::reverse_iterator<_Iterator>'
len=1;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67: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_17596886_16941.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1048:5: note: template<class _IteratorL, class _IteratorR> bool std::operator==(const std::move_iterator<_Iterator>&, const std::move_iterator<_IteratorR>&)
operator==(const move_iterator<_IteratorL>& __x,
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_iterator.h:1048:5: note: template argument deduction/substitution failed:
0_0_17596886_16941.cpp:67:5: note: 'std::string {aka std::basic_string<char>}' is not derived from 'const std::move_iterator<_Iterator>'
len=1;
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:67: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_17596886_16941.cpp:2:
D:/HDOJ/
|