0_0_17201863_12760.cpp:67:1: error: stray '\345' in program
}再贴一个dfs的代码:#include <iostream>
^
0_0_17201863_12760.cpp:67:1: error: stray '\206' in program
0_0_17201863_12760.cpp:67:1: error: stray '\215' in program
0_0_17201863_12760.cpp:67:1: error: stray '\350' in program
0_0_17201863_12760.cpp:67:1: error: stray '\264' in program
0_0_17201863_12760.cpp:67:1: error: stray '\264' in program
0_0_17201863_12760.cpp:67:1: error: stray '\344' in program
0_0_17201863_12760.cpp:67:1: error: stray '\270' in program
0_0_17201863_12760.cpp:67:1: error: stray '\200' in program
0_0_17201863_12760.cpp:67:1: error: stray '\344' in program
0_0_17201863_12760.cpp:67:1: error: stray '\270' in program
0_0_17201863_12760.cpp:67:1: error: stray '\252' in program
0_0_17201863_12760.cpp:67:1: error: stray '\347' in program
0_0_17201863_12760.cpp:67:1: error: stray '\232' in program
0_0_17201863_12760.cpp:67:1: error: stray '\204' in program
0_0_17201863_12760.cpp:67:1: error: stray '\344' in program
0_0_17201863_12760.cpp:67:1: error: stray '\273' in program
0_0_17201863_12760.cpp:67:1: error: stray '\243' in program
0_0_17201863_12760.cpp:67:1: error: stray '\347' in program
0_0_17201863_12760.cpp:67:1: error: stray '\240' in program
0_0_17201863_12760.cpp:67:1: error: stray '\201' in program
0_0_17201863_12760.cpp:67:1: error: stray '\357' in program
0_0_17201863_12760.cpp:67:1: error: stray '\274' in program
0_0_17201863_12760.cpp:67:1: error: stray '\232' in program
0_0_17201863_12760.cpp:67:29: error: stray '#' in program
}再贴一个dfs的代码:#include <iostream>
^
0_0_17201863_12760.cpp:67:14: error: 'dfs' does not name a type
}再贴一个dfs的代码:#include <iostream>
^
0_0_17201863_12760.cpp:81:17: error: conflicting declaration 'long long int ans [1100][1100]'
__int64 ans[N][N];
^
0_0_17201863_12760.cpp:16:11: note: previous declaration as 'long long int ans [1001]'
long long ans[maxn],a[maxn][maxn];
^
0_0_17201863_12760.cpp: In function 'void prime()':
0_0_17201863_12760.cpp:84:12: error: 'void prime()' redeclared as different kind of symbol
void prime()
^
0_0_17201863_12760.cpp:17:5: note: previous declaration 'int prime [1001]'
int prime[maxn],primeNumber,flag[maxn];
^
0_0_17201863_12760.cpp: In function 'long long int dp(int, int, int)':
0_0_17201863_12760.cpp:98:16: error: invalid types 'long long int[int]' for array subscript
if(ans[n][i]!=-1) return ans[n][i];
^
0_0_17201863_12760.cpp:98:38: error: invalid types 'long long int[int]' for array subscript
if(ans[n][i]!=-1) return ans[n][i];
^
0_0_17201863_12760.cpp:99:28: error: invalid types 'long long int[int]' for array subscript
if(i>m) return ans[n][i] = 1;
^
0_0_17201863_12760.cpp:100:13: error: invalid types 'long long int[int]' for array subscript
ans[n][i] = dp(m, n, i+1);//首先是第i个质数不存在的情况
^
0_0_17201863_12760.cpp:104:17: error: invalid types 'long long int[int]' for array subscript
ans[n][i] += dp(m, n-k, i+1);//然后枚举他的幂次数存在
^
0_0_17201863_12760.cpp:107:20: error: invalid types 'long long int[int]' for array subscript
return ans[n][i];
^
0_0_17201863_12760.cpp: In function 'int main()':
0_0_17201863_12760.cpp:110:5: error: redefinition of 'int main()'
int main()
^
0_0_17201863_12760.cpp:61:5: note: 'int main()' previously defined here
int main(){
^
0_0_17201863_12760.cpp:113:11: error: 'prime' cannot be used as a function
prime();
^
|