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_31953656_23905.cpp:16:1: error: stray '\' in program
 const char str[] = { \'d\',\'u\',\'r\',\'l\' };
 ^
0_0_31953656_23905.cpp:16:1: error: missing terminating ' character
0_0_31953656_23905.cpp:42:2: error: stray '\' in program
  sr[start] = \"\";
  ^
0_0_31953656_23905.cpp:42:2: error: missing terminating " character
0_0_31953656_23905.cpp:82:3: error: stray '\' in program
   if (ch == \'x\')st.value[0] = 0;
   ^
0_0_31953656_23905.cpp:82:3: error: missing terminating ' character
0_0_31953656_23905.cpp:83:3: error: stray '\' in program
   else st.value[0] = ch - \'0\';
   ^
0_0_31953656_23905.cpp:83:3: error: missing terminating ' character
0_0_31953656_23905.cpp:87:4: error: stray '\' in program
    if (ch == \'x\')st.value[i] = 0;
    ^
0_0_31953656_23905.cpp:87:4: error: missing terminating ' character
0_0_31953656_23905.cpp:88:4: error: stray '\' in program
    else st.value[i] = ch - \'0\';
    ^
0_0_31953656_23905.cpp:88:4: error: missing terminating ' character
0_0_31953656_23905.cpp:96:3: error: stray '\' in program
   else cout << \"unsolvable\" << endl;
   ^
0_0_31953656_23905.cpp:96:3: error: missing terminating " character
0_0_31953656_23905.cpp:17:1: error: expected primary-expression before 'void'
 void init()
 ^
0_0_31953656_23905.cpp:17:1: error: expected '}' before 'void'
0_0_31953656_23905.cpp:17:1: error: expected ',' or ';' before 'void'
0_0_31953656_23905.cpp: In function 'void bfs()':
0_0_31953656_23905.cpp:36:7: error: 'init' was not declared in this scope
  init();
       ^
0_0_31953656_23905.cpp:42:12: error: no match for 'operator=' (operand types are 'std::string {aka std::basic_string<char>}' and 'void')
  sr[start] = \"\";
            ^
0_0_31953656_23905.cpp:42:12: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
                 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_31953656_23905.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:554:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(const std::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]
       operator=(const basic_string& __str) 
       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:554:7: note:   no known conversion for argument 1 from 'void' to 'const std::basic_string<char>&'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:562:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(const _CharT*) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]
       operator=(const _CharT* __s) 
       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:562:7: note:   no known conversion for argument 1 from 'void' to 'const char*'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:573:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(_CharT) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]
       operator=(_CharT __c) 
       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:573:7: note:   no known conversion for argument 1 from 'void' to 'char'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:589:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(std::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]
       operator=(basic_string&& __str)
       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:589:7: note:   no known conversion for argument 1 from 'void' to 'std::basic_string<char>&&'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:601:7: note: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(std::initializer_list<_Tp>) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]
       operator=(initializer_list<_CharT> __l)
       ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:601:7: note:   no known conversion for argument 1 from 'void' to 'std::initializer_list<char>'
0_0_31953656_23905.cpp: In function 'int main()':
0_0_31953656_23905.cpp:83:3: error: expected primary-expression before 'else'
   else st.value[0] = ch - \'0\';
   ^
0_0_31953656_23905.cpp:83:3: error: expected ')' before 'else'
0_0_31953656_23905.cpp:84:19: error: 'i' was not declared in this scope
   for (int i = 1; i<9; i++)
                   ^
0_0_31953656_23905.cpp:97:2: error: expected primary-expression before '}' token
  }
  ^


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-11-30 01:31:39, Gzip enabled