![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数学
文章平均质量分 81
_FSMM
这个作者很懒,什么都没留下…
展开
-
【CodeForces 476B】 Dreamoon and WiFi(组合概率)
B. Dreamoon and WiFi time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Dreamoon is standing at the position原创 2017-03-10 21:28:13 · 534 阅读 · 0 评论 -
【CodeForces 765D】 Artsem and Saunders(数学,构造)
D. Artsem and Saunders time limit per test 2 seconds memory limit per test 512 megabytes input standard input output standard output Artsem has a friend Saunders fro原创 2017-03-24 20:26:21 · 336 阅读 · 0 评论 -
【CodeForces 804B】Minimum number of steps(思维+数学)
B. Minimum number of steps time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output We have a string of letters 'a' and原创 2017-05-10 08:17:40 · 385 阅读 · 0 评论 -
【HDU 6038】Function(图+组合数学)
题目链接:hdu6038 题目大意:a数组有n个元素(0 ~ n-1),b数组有m个元素(0 ~ m-1),定义一个函数 f ,使 f(i) = b[f(ai)],求满足条件的 f 函数有多少种 例如 3 2 a 1 0 2 f (0) = b [f(1)原创 2017-07-25 23:34:17 · 239 阅读 · 0 评论 -
【HDU 2048】神、上帝以及老天爷(错位排序)
神、上帝以及老天爷 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 43826 Accepted Submission(s): 17904 Problem Description HDU 2006'10 AC原创 2017-11-29 18:26:07 · 325 阅读 · 1 评论 -
【Codeforces 983A】Finite or not?(数学)
A. Finite or not?Description求 p / q 的小数部分用 b 进制表示是否是有限小数Input输入n (1 ≤ n ≤ 1e5)n次查询p q b (0 ≤ p ≤ 1e18,1 ≤ q ≤ 1e18,2 ≤ b ≤ 1e18)Output是否为有限小数Sample Input 6 6 12 10 4 3 10 1 1 2 9 36 2 ...原创 2018-05-22 16:40:44 · 411 阅读 · 0 评论