摘要:
#include int main(){ int n; scanf("%d", &n); int num = 0, ans[5]; while( n!= 0){ // 将 n 的每一位存放到ans 数组中 ans[num++] = n%10; ... 阅读全文
摘要:
#include int main(){ ... 阅读全文
摘要:
#include int main(){ ... 阅读全文
摘要:
#include int main(){ int a[3], b[3], c[3]; scanf("%d.%d.%d %d.%d.%d",&a[0], &a[1], &a[2], &b[0], &b[1], &b[2]); int carry = 0; // 进位... 阅读全文
摘要:
#include int main(){ ... 阅读全文
摘要:
#include int main(){ ... 阅读全文
摘要:
#include char radix[13] = { //建立 0 ~ 13 与'0' ~ '9', 'A'~'C'的联系 '0', '1', '2', '3','4', '5', '6', '7', '8', '9', 'A', 'B', 'C'};int main()... 阅读全文
摘要:
#include char radix[13... 阅读全文
摘要:
#include char radix[13... 阅读全文
摘要:
#include bool Judge(int z[], int num){ // 判断数组z所存的数是否为回文数字,num为位数 for (int i=0; i=0; i--){ printf("%d", z[i]); if (i != 0)... 阅读全文