0_0_13702523_1957.cpp:60:1: error: stray '\320' in program
斜率DP+二分查找:
^
0_0_13702523_1957.cpp:60:1: error: stray '\261' in program
0_0_13702523_1957.cpp:60:1: error: stray '\302' in program
0_0_13702523_1957.cpp:60:1: error: stray '\312' in program
0_0_13702523_1957.cpp:60:1: error: stray '\266' in program
0_0_13702523_1957.cpp:60:1: error: stray '\376' in program
0_0_13702523_1957.cpp:60:1: error: stray '\267' in program
0_0_13702523_1957.cpp:60:1: error: stray '\326' in program
0_0_13702523_1957.cpp:60:1: error: stray '\262' in program
0_0_13702523_1957.cpp:60:1: error: stray '\351' in program
0_0_13702523_1957.cpp:60:1: error: stray '\325' in program
0_0_13702523_1957.cpp:60:1: error: stray '\322' in program
0_0_13702523_1957.cpp:60:5: error: 'DP' does not name a type
斜率DP+二分查找:
^
0_0_13702523_1957.cpp:75:11: error: redefinition of 'const int MAX'
const int MAX=100000+10;
^
0_0_13702523_1957.cpp:15:11: note: 'const int MAX' previously defined here
const int MAX=100000+10;
^
0_0_13702523_1957.cpp:76:5: error: redefinition of 'int n'
int n,k;
^
0_0_13702523_1957.cpp:16:5: note: 'int n' previously declared here
int n,k;
^
0_0_13702523_1957.cpp:76:7: error: redefinition of 'int k'
int n,k;
^
0_0_13702523_1957.cpp:16:7: note: 'int k' previously declared here
int n,k;
^
0_0_13702523_1957.cpp:77:10: error: redefinition of 'int s [100010]'
int s[MAX],q[MAX];
^
0_0_13702523_1957.cpp:17:5: note: 'int s [100010]' previously declared here
int s[MAX],q[MAX];
^
0_0_13702523_1957.cpp:77:17: error: redefinition of 'int q [100010]'
int s[MAX],q[MAX];
^
0_0_13702523_1957.cpp:17:12: note: 'int q [100010]' previously declared here
int s[MAX],q[MAX];
^
0_0_13702523_1957.cpp:78:11: error: conflicting declaration 'LL sum [100010]'
LL sum[MAX];
^
0_0_13702523_1957.cpp:18:16: note: previous declaration as 'double sum [100010]'
double dp[MAX],sum[MAX];
^
0_0_13702523_1957.cpp: In function 'LL GetY(int, int)':
0_0_13702523_1957.cpp:80:20: error: ambiguating new declaration of 'LL GetY(int, int)'
LL GetY(int i,int j){
^
0_0_13702523_1957.cpp:20:8: note: old declaration 'double GetY(int, int)'
double GetY(int i,int j){
^
0_0_13702523_1957.cpp: In function 'int GetX(int, int)':
0_0_13702523_1957.cpp:84:5: error: redefinition of 'int GetX(int, int)'
int GetX(int i,int j){
^
0_0_13702523_1957.cpp:24:5: note: 'int GetX(int, int)' previously defined here
int GetX(int i,int j){
^
0_0_13702523_1957.cpp: In function 'double DP()':
0_0_13702523_1957.cpp:109:8: error: redefinition of 'double DP()'
double DP(){
^
0_0_13702523_1957.cpp:28:8: note: 'double DP()' previously defined here
double DP(){
^
0_0_13702523_1957.cpp: In function 'int input()':
0_0_13702523_1957.cpp:125:5: error: redefinition of 'int input()'
int input(){//加速外挂
^
0_0_13702523_1957.cpp:44:5: note: 'int input()' previously defined here
int input(){//加速外挂
^
0_0_13702523_1957.cpp: In function 'int main()':
0_0_13702523_1957.cpp:133:5: error: redefinition of 'int main()'
int main(){
^
0_0_13702523_1957.cpp:52:5: note: 'int main()' previously defined here
int main(){
^
|