摘要: 本人发现20017002是“山无棱,天地合,乃敢与君绝”的数学表示。为什么呢?首先,从形上看,1和7是咬合的,然后头尾是回环的。其次,从性质上看,20017002可分解为2x3x3336167,取3336167,3336167是第239293个素数,239293是第21165个素数,21165分解成 阅读全文
posted @ 2021-12-01 19:29 飞凤颖悟绝伦 阅读(163) 评论(0) 推荐(0) 编辑

摘要: #include <iostream> #include <cstdlib> #include <ctime> using namespace std; /* run this program using the console pauser or add your own getch, syste 阅读全文
posted @ 2021-11-07 18:46 飞凤颖悟绝伦 阅读(155) 评论(0) 推荐(0) 编辑

摘要: #include <iostream> #include <cstdlib> #include <ctime> #include <fstream> using namespace std; const int n = 40; const int m = 66; const int lenth = 阅读全文
posted @ 2021-10-08 09:10 飞凤颖悟绝伦 阅读(80) 评论(0) 推荐(0) 编辑

摘要: #include <iostream> #include <cmath> #include <fstream> using namespace std; /* run this program using the console pauser or add your own getch, syste 阅读全文
posted @ 2021-08-21 14:16 飞凤颖悟绝伦 阅读(142) 评论(0) 推荐(0) 编辑

摘要: 首先,我们要下载ygopro,进入到里面的pics目录。 可以看到这里的卡片是用编号命名的,我们的目的是要弄到图片的编号,因为有编号就能通过编号查到那张卡。 我们新建一个txt文档,输入如下代码: dir /a-d /b>scr.txt echo Topbook 文件名已导出! pause 然后把该 阅读全文
posted @ 2021-08-01 06:42 飞凤颖悟绝伦 阅读(221) 评论(0) 推荐(0) 编辑

摘要: 突然想到一个数学问题,一串数字经过折叠后,可能会出现连连看的情况,那么如何用最小步数判断这串数字经过不同的折叠后有多少种会出现连连看的情况? #include <iostream> #include <cmath> #include <time.h> using namespace std; con 阅读全文
posted @ 2021-04-02 14:47 飞凤颖悟绝伦 阅读(59) 评论(0) 推荐(0) 编辑

摘要: 探究有一道数学题不知道,是否能从而知道全部。上代码: #include <cstdlib> #include <iostream> #include <ctime> #include <sstream> using namespace std; #define random(a,b) (rand() 阅读全文
posted @ 2020-10-12 10:49 飞凤颖悟绝伦 阅读(144) 评论(0) 推荐(0) 编辑

摘要: 三门问题(换门): #include <iostream> #include <cstdlib> #include <ctime> #define random(a,b) (rand() % (b-a+1))+ a using namespace std; int main() { srand((i 阅读全文
posted @ 2020-05-21 11:08 飞凤颖悟绝伦 阅读(675) 评论(0) 推荐(0) 编辑

摘要: 背景:在一个很大的方形透明容器内,从某个位置放入适量的蚊子,等待几分钟后观察蚊子的分布. #include <iostream> #include <cstdlib> #include <ctime> #define random(a,b) (rand() % (b-a+1))+ a using n 阅读全文
posted @ 2020-05-02 16:36 飞凤颖悟绝伦 阅读(327) 评论(0) 推荐(0) 编辑

摘要: #include <iostream> #include <cmath> using namespace std; const int n = 10000; int isPrime(int n); int main() { for(int i = 2; i < n;++ i) {//产生10000个 阅读全文
posted @ 2020-04-30 12:42 飞凤颖悟绝伦 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 一、一个变换 One transformation 实际场景:一排小方块排成一排,然后对折,把不能对折的小方块取出来。重复这项操作,直到小方块两两排成一列,这个过程中取出来的小方块就是这个变换的结果。 Real condition: Some small squares are arranged i 阅读全文
posted @ 2020-04-30 12:27 飞凤颖悟绝伦 阅读(472) 评论(0) 推荐(0) 编辑

2021年10月17日

摘要: 把数字看成是年份,然后根据生肖赋值。这里把鼠年赋值为1,牛年赋值为2,虎年赋值为3,兔年赋值为4,龙年赋值为5,蛇年赋值为6,马年赋值为7,羊年赋值为8,猴年赋值为9,鸡年赋值为10,狗年赋值为11,猪年赋值为12。比如数字1,我们把它看成是公元1年,公元1年是鸡年,赋值10,用1和10做差得绝对值 阅读全文
posted @ 2021-10-17 11:30 飞凤颖悟绝伦 阅读(562) 评论(0) 推荐(1) 编辑

2021年8月19日

摘要: <style> #dv1{ width:60px; height:36px; margin:0 auto; background-color:orange; display:none; } #dv2{ width:120px; height:62px; margin:0 auto; backgrou 阅读全文
posted @ 2021-08-19 10:19 飞凤颖悟绝伦 阅读(39) 评论(0) 推荐(0) 编辑

2021年8月9日

摘要: #include <iostream> #include <time.h> #include <stdlib.h> #include <cmath> using namespace std; #define random(a,b) (rand() % (b-a+1))+ a /* run this 阅读全文
posted @ 2021-08-09 17:22 飞凤颖悟绝伦 阅读(210) 评论(0) 推荐(0) 编辑

2021年8月5日

摘要: 观察生活,我们不难发现,吃饭的时候,有时候左边的东西会到右边来,这是为什么呢?就是舌头的作用了。 下面的代码将模拟舌头的运动: #include <iostream> #include <cstdlib> #include <time.h> #define random(a,b) (rand()%( 阅读全文
posted @ 2021-08-05 12:02 飞凤颖悟绝伦 阅读(56) 评论(0) 推荐(0) 编辑

导航