怎么今天都是compile error 呢,奇怪啊
我的代码
#include "iostream" #include "string.h" #include "queue" #include "math.h" #include "algorithm" using namespace std; struct Point{ char list[5]; int step; }; int chang(char list[5]){ int i,total=0; for(i=0;i<4;i++){ int a=(int)(list[i]-'0'); int b=pow(10,3-i); total+=a*b; } return total; } void chang1(int a,char list[5]){ for(int i=3;i>=0;i--){ list[i]='0'+a%10; a=a/10; } list[4]='