博客
关于我
25:求特殊自然数
阅读量:625 次
发布时间:2019-03-13

本文共 738 字,大约阅读时间需要 2 分钟。

#include
int ten_to_nine(long int n,long n1){ int a=n,number=0;//a=n是为了保存10进制,然后输出 int i=0,N=0,i1=0,N1=0; int temp[3]={ 0},temp1[3]={ 0}; while(n!=0)//8-14行用数组来保存9进制数 { temp[i]=n%9; n=n/9; i++; } N=i; while(n1!=0)//16-22行用数组来保存9进制数 { temp1[i1]=n1%7; n1=n1/7; i1++; } N1=i1; for(i=0;i
//using namespace std;//int main()//{ // int i;// for (i = 65; i <= 342; i++) // { // if ((i % 9 == i / 49) &&// (i / 9 % 9 == i / 7 % 7) &&// (i / 81 == i % 7)) // { // cout << i << endl;// cout << i / 49 << i / 7 % 7 << i % 7 << endl;// cout << i / 81 << i / 9 % 9 << i % 9 << endl;// break;// }// }// return 0;//}

转载地址:http://avkaz.baihongyu.com/

你可能感兴趣的文章
MySql-2019-4-21-复习
查看>>
mysql-5.6.17-win32免安装版配置
查看>>
mysql-5.7.18安装
查看>>
MySQL-Buffer的应用
查看>>
mysql-cluster 安装篇(1)---简介
查看>>
mysql-connector-java.jar乱码,最新版mysql-connector-java-8.0.15.jar,如何愉快的进行JDBC操作...
查看>>
mysql-connector-java各种版本下载地址
查看>>
mysql-EXPLAIN
查看>>
MySQL-Explain的详解
查看>>
mysql-group_concat
查看>>
MySQL-redo日志
查看>>
MySQL-【1】配置
查看>>
MySQL-【4】基本操作
查看>>
Mysql-丢失更新
查看>>
Mysql-事务阻塞
查看>>
Mysql-存储引擎
查看>>
mysql-开启慢查询&所有操作记录日志
查看>>
MySQL-数据目录
查看>>
MySQL-数据页的结构
查看>>
MySQL-架构篇
查看>>