摘要: 1 #include 2 #include 3 #include 4 #include 5 #define maxn 1000 6 using namespace std; 7 char str[maxn]; 8 9 int change(char *s)10 {11 int k=strlen(s);12 int pos;13 int sum=0;14 for(int i=0; i=0; i--)31 {32 sum+=(s[i]-'0')*pow(m,j);33 j++;34 }35 retu... 阅读全文
posted @ 2014-04-05 22:10 null1019 阅读(107) 评论(0) 推荐(0) 编辑