摘要: 1 #include <iostream> 2 #include <iomanip> 3 #include <cmath> 4 using namespace std; 5 6 int main() 7 { 8 double num; 9 cin>>num; 10 num=sqrt(num); 11 阅读全文
posted @ 2020-06-01 13:15 Conan-jine 阅读(367) 评论(0) 推荐(0) 编辑
摘要: 探索合数世纪 问题描述 若一个世纪的100年号中不存在一个素数,则称这个世纪为合数世纪。求第n个合数世纪(公元0年起始)。 输入描述 输入n,为整数 输出描述 输出合数世纪起始与结束年份,用空格隔开 样例输入 1 样例输出 1671800 1671899 这道题是一道遍历题,遍历0-99,没有合数世 阅读全文
posted @ 2020-05-30 10:59 Conan-jine 阅读(1108) 评论(0) 推荐(0) 编辑
摘要: Lingo下载安装破解(英文) 一. 前言 百度云的下载链接依旧让人头疼,要我直接发文件可以私我QQ2940119526 二. 安装破解链接 https://www.cnblogs.com/LiT-26647879-510087153/p/9721052.html 阅读全文
posted @ 2020-05-26 23:26 Conan-jine 阅读(805) 评论(0) 推荐(0) 编辑
摘要: Matlab R2019a Win64位(中文) 一. 迅雷下载链接 magnet:?xt=urn:btih:733DFBA6CCC23DB9FFD6287C169A15664897E78D 打开迅雷,电脑复制此代码即可弹出下载框,实在不行在迅雷中点击添加下载链接复制进去即可 二. 安装 阅读全文
posted @ 2020-05-24 13:37 Conan-jine 阅读(2843) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 3 using namespace std; 4 5 class Shape 6 { 7 public: 8 virtual double printArea()=0; 9 virtual void printName()=0; 10 11 }; 12 阅读全文
posted @ 2020-04-30 09:30 Conan-jine 阅读(524) 评论(0) 推荐(1) 编辑
摘要: 1 #include <iostream> 2 3 using namespace std; 4 5 class Matrix 6 { 7 private: 8 int a,b; 9 int arr[100][100]; 10 public: 11 Matrix() 12 { 13 for(int 阅读全文
posted @ 2020-04-29 20:53 Conan-jine 阅读(475) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 3 using namespace std; 4 5 class Complex 6 { 7 private: 8 double real; 9 double image; 10 public: 11 Complex(){real=0;image=0; 阅读全文
posted @ 2020-04-29 10:30 Conan-jine 阅读(281) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 #include <string> 3 4 using namespace std; 5 6 class Pet 7 { 8 private: 9 string name; 10 int age; 11 string color; 12 public: 阅读全文
posted @ 2020-04-29 00:14 Conan-jine 阅读(618) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 3 using namespace std; 4 5 class Pet 6 { 7 public: 8 virtual void Speak(){cout<<"How does a pet speak?"<<endl;} 9 }; 10 11 cla 阅读全文
posted @ 2020-04-28 23:30 Conan-jine 阅读(291) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 #include <cstring> 3 4 using namespace std; 5 6 class Person 7 { 8 private: 9 char Name[10]; 10 char Sex; 11 int Age; 12 publi 阅读全文
posted @ 2020-04-21 21:38 Conan-jine 阅读(679) 评论(0) 推荐(0) 编辑