随笔分类 -  数论——素数

摘要:https://nanti.jisuanke.com/t/A1413 AC代码 阅读全文
posted @ 2019-04-05 21:36 灬从此以后灬 阅读(328) 评论(0) 推荐(0)
摘要:https://codeforces.com/gym/102062/attachments/download/8213/2018-battle-of-brains-en.pdf https://codeforces.com/gym/102062 题意 对于一个数k 向自己的约数连一条无向边(不含1, 阅读全文
posted @ 2019-03-05 18:01 灬从此以后灬 阅读(305) 评论(0) 推荐(0)
摘要:1.每一个合数都可以由若干个素数相乘而得到 2.质因数知识 :求一个数因数的个数等于它的每个质因数的次数加一的和相乘的积因为质因数可以不用,所以要加一.例如6=2x3,两个质因数都是一次,如果两个质因数都不用,它的一个因数是1;只用因数2,它的第二个因数就是2;只用因数3,它的第三个因数就是3;两个 阅读全文
posted @ 2017-10-29 23:00 灬从此以后灬 阅读(204) 评论(0) 推荐(0)
摘要:Prime Distance Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 18731 Accepted: 5006 Description The branch of mathematics called number the 阅读全文
posted @ 2017-08-01 22:56 灬从此以后灬 阅读(142) 评论(0) 推荐(0)