0_0_20957181_8882.cpp:25:18: error: stray '#' in program
c=q[k].d+'0';
^
0_0_20957181_8882.cpp:26:14: error: stray '#' in program
tans+=c;
^
0_0_20957181_8882.cpp:34:22: error: stray '#' in program
for(i=1; i<=k; i++)
^
0_0_20957181_8882.cpp:34:27: error: stray '#' in program
for(i=1; i<=k; i++)
^
0_0_20957181_8882.cpp:43:16: error: stray '#' in program
q[++tail]=cur;
^
0_0_20957181_8882.cpp:43:21: error: stray '#' in program
q[++tail]=cur;
^
0_0_20957181_8882.cpp:58:26: error: stray '#' in program
for(i=1; i<=k; i++)
^
0_0_20957181_8882.cpp:58:31: error: stray '#' in program
for(i=1; i<=k; i++)
^
0_0_20957181_8882.cpp:60:27: error: stray '#' in program
tval=(nval*10+a[i])%n;
^
0_0_20957181_8882.cpp:64:30: error: stray '#' in program
cur.cnt=ncnt+1;
^
0_0_20957181_8882.cpp:68:20: error: stray '#' in program
q[++tail]=cur;
^
0_0_20957181_8882.cpp:68:25: error: stray '#' in program
q[++tail]=cur;
^
0_0_20957181_8882.cpp:71:14: error: stray '#' in program
head++;
^
0_0_20957181_8882.cpp:71:19: error: stray '#' in program
head++;
^
0_0_20957181_8882.cpp:83:26: error: stray '#' in program
for(i=1; i<=9; i++) // 先搜一个数能否组成n的倍数
^
0_0_20957181_8882.cpp:83:31: error: stray '#' in program
for(i=1; i<=9; i++) // 先搜一个数能否组成n的倍数
^
0_0_20957181_8882.cpp:103:26: error: stray '#' in program
for(i=0; i<=9; i++) // 再搜两个数
^
0_0_20957181_8882.cpp:103:31: error: stray '#' in program
for(i=0; i<=9; i++) // 再搜两个数
^
0_0_20957181_8882.cpp:106:21: error: stray '#' in program
for(j=i+1; j<=9; j++)
^
0_0_20957181_8882.cpp:106:36: error: stray '#' in program
for(j=i+1; j<=9; j++)
^
0_0_20957181_8882.cpp:106:41: error: stray '#' in program
for(j=i+1; j<=9; j++)
^
0_0_20957181_8882.cpp: In function 'void getans(int)':
0_0_20957181_8882.cpp:26:13: error: no match for 'operator&' (operand types are 'std::string {aka std::basic_string<char>}' and 'int')
tans+=c;
^
0_0_20957181_8882.cpp:26:13: note: candidates are:
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42:0,
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_20957181_8882.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:75:3: note: constexpr std::_Ios_Fmtflags std::operator&(std::_Ios_Fmtflags, std::_Ios_Fmtflags)
operator&(_Ios_Fmtflags __a, _Ios_Fmtflags __b)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:75:3: note: no known conversion for argument 1 from 'std::string {aka std::basic_string<char>}' to 'std::_Ios_Fmtflags'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:115:3: note: constexpr std::_Ios_Openmode std::operator&(std::_Ios_Openmode, std::_Ios_Openmode)
operator&(_Ios_Openmode __a, _Ios_Openmode __b)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:115:3: note: no known conversion for argument 1 from 'std::string {aka std::basic_string<char>}' to 'std::_Ios_Openmode'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:153:3: note: constexpr std::_Ios_Iostate std::operator&(std::_Ios_Iostate, std::_Ios_Iostate)
operator&(_Ios_Iostate __a, _Ios_Iostate __b)
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:153:3: note: no known conversion for argument 1 from 'std::string {aka std::basic_string<char>}' to 'std::_Ios_Iostate'
0_0_20957181_8882.cpp:26:18: error: expected primary-expression before '=' token
tans+=c;
^
0_0_20957181_8882.cpp: In function 'bool bfs(int)':
0_0_20957181_8882.cpp:34:25: error: expected ')' before ';' token
for(i=1; i<=k; i++)
^
0_0_20957181_8882.cpp:34:28: error: lvalue required as unary '&' operand
for(i=1; i<=k; i++)
^
0_0_20957181_8882.cpp:34:31: error: expected primary-expression before ')' token
for(i=1; i<=k; i++)
^
0_0_20957181_8882.cpp:58:29: error: expected ')' before ';' token
for(i=1; i<=k; i++)
^
0_0_20957181_8882.cpp:58:32: error: lvalue required as unary '&' operand
for(i=1; i<=k; i++)
^
0_0_20957181_8882.cpp:58:35: error: expected primary-expression before ')' token
for(i=1; i<=k; i++)
^
0_0_20957181_8882.cpp:71:20: error: lvalue required as unary '&' operand
head++;
^
0_0_20957181_8882.cpp: In function 'int main()':
0_0_20957181_8882.cpp:83:29: error: expected ')' before ';' token
for(i=1; i<=9; i++) // 先搜一个数能否组成n的倍数
^
0_0_20957181_8882.cpp:83:32: error: lvalue required as unary '&' operand
for(i=1; i<=9; i++) // 先搜一个数能否组成n的倍数
^
0_0_20957181_8882.cpp:83:35: error: expected primary-expression before ')' token
for(i=1; i<=9; i++) // 先搜一个数能否组成n的倍数
^
0_0_20957181_8882.cpp:103:29: error: expected ')' before ';' token
for(i=0; i<=9; i++) // 再搜两个数
^
0_0_20957181_8882.cpp:103:32: error: lvalue required as unary '&' operand
for(i=0; i<=9; i++) // 再搜两个数
^
0_0_20957181_8882.cpp:103:35: error: expected primary-expression before ')' token
for(i=0; i<=9; i++) // 再搜两个数
^
|