随笔分类 -  数学/组合数学

 
L2-018. 多项式A除以B*
摘要:L2-018. 多项式A除以B 参考博客 阅读全文
posted @ 2018-03-31 07:09 Annetree 阅读(195) 评论(0) 推荐(0)
2016ICPC-大连 A Simple Math Problem (数学)
摘要:Given two positive integers a and b,find suitable X and Y to meet the conditions: X+Y=a Least Common Multiple (X, Y) =bInputInput includes multiple se 阅读全文
posted @ 2017-09-29 19:16 Annetree 阅读(196) 评论(0) 推荐(0)
2016ICPC-大连 To begin or not to begin (简单思维)
摘要:A box contains black balls and a single red ball. Alice and Bob draw balls from this box without replacement, alternating after each draws until the r 阅读全文
posted @ 2017-09-29 19:09 Annetree 阅读(379) 评论(0) 推荐(0)
2017ICPC北京赛区网络赛 Minimum(数学+线段树)
摘要:描述 You are given a list of integers a0, a1, …, a2^k-1. You need to support two types of queries: 1. Output Minx,y∈[l,r] {ax∙ay}. 2. Let ax=y. 输入 The f 阅读全文
posted @ 2017-09-25 20:35 Annetree 阅读(186) 评论(0) 推荐(0)
HDU 6143 17多校8 Killer Names(组合数学)
摘要:题目传送:Killer Names Problem Description > Galen Marek, codenamed Starkiller, was a male Human apprentice of the Sith Lord Darth Vader. A powerful Force- 阅读全文
posted @ 2017-08-23 15:05 Annetree 阅读(156) 评论(0) 推荐(0)
2017中国大学生程序设计竞赛 - 网络选拔赛 HDU 6154 CaoHaha's staff(几何找规律)
摘要:Problem Description "You shall not pass!"After shouted out that,the Force Staff appered in CaoHaha's hand.As we all know,the Force Staff is a staff wi 阅读全文
posted @ 2017-08-21 13:47 Annetree 阅读(527) 评论(0) 推荐(0)
HDU 6050 17多校2 Funny Function(数学+乘法逆元)
摘要:Problem Description Function Fx,ysatisfies:For given integers N and M,calculate Fm,1 modulo 1e9+7. Input There is one integer T in the first line.The 阅读全文
posted @ 2017-07-29 13:53 Annetree 阅读(390) 评论(0) 推荐(0)