0_0_32868651_2668.cpp:60:1: error: stray '\346' in program
斜率DP+二分查找:
^
0_0_32868651_2668.cpp:60:1: error: stray '\226' in program
0_0_32868651_2668.cpp:60:1: error: stray '\234' in program
0_0_32868651_2668.cpp:60:1: error: stray '\347' in program
0_0_32868651_2668.cpp:60:1: error: stray '\216' in program
0_0_32868651_2668.cpp:60:1: error: stray '\207' in program
0_0_32868651_2668.cpp:60:1: error: stray '\344' in program
0_0_32868651_2668.cpp:60:1: error: stray '\272' in program
0_0_32868651_2668.cpp:60:1: error: stray '\214' in program
0_0_32868651_2668.cpp:60:1: error: stray '\345' in program
0_0_32868651_2668.cpp:60:1: error: stray '\210' in program
0_0_32868651_2668.cpp:60:1: error: stray '\206' in program
0_0_32868651_2668.cpp:60:1: error: stray '\346' in program
0_0_32868651_2668.cpp:60:1: error: stray '\237' in program
0_0_32868651_2668.cpp:60:1: error: stray '\245' in program
0_0_32868651_2668.cpp:60:1: error: stray '\346' in program
0_0_32868651_2668.cpp:60:1: error: stray '\211' in program
0_0_32868651_2668.cpp:60:1: error: stray '\276' in program
0_0_32868651_2668.cpp:60:7: error: 'DP' does not name a type
斜率DP+二分查找:
^
0_0_32868651_2668.cpp:75:11: error: redefinition of 'const int MAX'
const int MAX=100000+10;
^
0_0_32868651_2668.cpp:15:11: note: 'const int MAX' previously defined here
const int MAX=100000+10;
^
0_0_32868651_2668.cpp:76:5: error: redefinition of 'int n'
int n,k;
^
0_0_32868651_2668.cpp:16:5: note: 'int n' previously declared here
int n,k;
^
0_0_32868651_2668.cpp:76:7: error: redefinition of 'int k'
int n,k;
^
0_0_32868651_2668.cpp:16:7: note: 'int k' previously declared here
int n,k;
^
0_0_32868651_2668.cpp:77:10: error: redefinition of 'int s [100010]'
int s[MAX],q[MAX];
^
0_0_32868651_2668.cpp:17:5: note: 'int s [100010]' previously declared here
int s[MAX],q[MAX];
^
0_0_32868651_2668.cpp:77:17: error: redefinition of 'int q [100010]'
int s[MAX],q[MAX];
^
0_0_32868651_2668.cpp:17:12: note: 'int q [100010]' previously declared here
int s[MAX],q[MAX];
^
0_0_32868651_2668.cpp:78:11: error: conflicting declaration 'LL sum [100010]'
LL sum[MAX];
^
0_0_32868651_2668.cpp:18:16: note: previous declaration as 'double sum [100010]'
double dp[MAX],sum[MAX];
^
0_0_32868651_2668.cpp: In function 'LL GetY(int, int)':
0_0_32868651_2668.cpp:80:20: error: ambiguating new declaration of 'LL GetY(int, int)'
LL GetY(int i,int j){
^
0_0_32868651_2668.cpp:20:8: note: old declaration 'double GetY(int, int)'
double GetY(int i,int j){
^
0_0_32868651_2668.cpp: In function 'int GetX(int, int)':
0_0_32868651_2668.cpp:84:5: error: redefinition of 'int GetX(int, int)'
int GetX(int i,int j){
^
0_0_32868651_2668.cpp:24:5: note: 'int GetX(int, int)' previously defined here
int GetX(int i,int j){
^
0_0_32868651_2668.cpp: In function 'double DP()':
0_0_32868651_2668.cpp:109:8: error: redefinition of 'double DP()'
double DP(){
^
0_0_32868651_2668.cpp:28:8: note: 'double DP()' previously defined here
double DP(){
^
0_0_32868651_2668.cpp: In function 'int input()':
0_0_32868651_2668.cpp:125:5: error: redefinition of 'int input()'
int input(){//加速外挂
^
0_0_32868651_2668.cpp:44:5: note: 'int input()' previously defined here
int input(){//加速外挂
^
0_0_32868651_2668.cpp: In function 'int main()':
0_0_32868651_2668.cpp:133:5: error: redefinition of 'int main()'
int main(){
^
0_0_32868651_2668.cpp:52:5: note: 'int main()' previously defined here
int main(){
^
|