![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数学
文章平均质量分 84
「已注销」
不疯魔,不成活
展开
-
lightoj1095 Arrange the Numbers 组合数学
题目: Consider this sequence {1, 2, 3 ... N}, as an initial sequence of first N natural numbers. You can rearrange this sequence in many ways. There will be a total of N! arrangements. You have to ca原创 2017-04-13 01:01:20 · 393 阅读 · 0 评论 -
Educational Codeforces Round 20 C 数学
题目: C. Maximal GCD time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are given positive integer numbe原创 2017-04-29 11:24:37 · 527 阅读 · 0 评论 -
Codeforces Round #415 (Div. 2) C. Do you want a date? 数学
题目: C. Do you want a date? time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Leha decided to m原创 2017-05-22 01:45:10 · 364 阅读 · 0 评论 -
Codeforces Round #383 (Div. 2) B. Arpa’s obvious problem and Mehrdad’s terrible solution 数学
记住,当你觉得很苦很累的时候,你真的在进步!原创 2017-05-07 00:03:58 · 407 阅读 · 0 评论 -
51nod 1060 最复杂的数 数学&dfs剪枝
题意: 给你一个数n,求1到n中因子最多的那个数,如果有多个这样因子相同的数,取数字最小的那个。 做法: 这个题首先要有前置技能,反素数。 我们通过打表每个数的因子个数可以发现: 数因子的数量在来回摆动,有波峰也有波谷, 而对于任意i 反素数有两个性质: no1: 一个反素数的质因子必然是从2开始的连续若干质数。 no2:x=2^a *3^b *5^c*7^d...(分解定理qw原创 2017-07-23 10:11:33 · 445 阅读 · 0 评论