摘要: #include <iostream>using namespace std; // 100-999的水仙花数// 水仙花数:M=A*A*A+B*B*A+C*C*Cvoid Daffodil(){ int m=0,n = 0; printf("100-999的所有水仙花数如下:\n"); for ( 阅读全文
posted @ 2020-01-11 23:18 TyranRex 阅读(339) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>#include <stdio.h>#define INF 100000000000using namespace std; // 文件输入输出小应用int main(){ FILE* fin, * fout;// 定义两个文件类型指针 fin = fopen( 阅读全文
posted @ 2020-01-11 22:53 TyranRex 阅读(370) 评论(0) 推荐(0) 编辑