ACM
文章平均质量分 94
ACM
qianguch
这个作者很懒,什么都没留下…
展开
-
[UESTC 1805] 矩阵
题目描述:题目链接: UESTC 1805 矩阵原创 2020-04-08 20:47:34 · 707 阅读 · 0 评论 -
[CF 989C][思维题][构造题] A Mist of Florescence
题目描述:题目链接:Codeforces Round #487 (Div. 2) C题面:There are four kinds of flowers in the wood, Amaranths, Begonias, Centaureas and Dianthuses.The wood can be represented by a rectangular grid of n rows and m columns. In each cell of the grid, there is exact原创 2020-08-09 16:32:14 · 539 阅读 · 0 评论 -
[POJ 3150][矩阵快速幂] [循环矩阵]Cellular Automaton
题目描述:题目链接:POJ 3150 Cellular Automaton题面:A cellular automaton is a collection of cells on a grid of specified shape that evolves through a number of discrete time steps according to a set of rules that describe the new state of a cell based on the states原创 2020-08-06 16:53:28 · 250 阅读 · 0 评论 -
[CCPC 2019 哈尔滨 ][CF 102394 E] Exchanging Gifts
题目描述:题目链接: Codefoces E.Exchanging Gifts题面:After the dress rehearsal of CCPC Harbin Site 2019, m contestants are still in the contest arena. They are taking photos, discussing the problems, and exchanging gifts.Initially, everyone has exactly one gift i原创 2020-08-03 17:38:37 · 457 阅读 · 0 评论 -
[CF 976E][思维题] Well played!
题目描述:题目链接:Educational Codeforces Round 43 (Rated for Div. 2) E Well played!题面:Recently Max has got himself into popular CCG “BrainStone”. As “BrainStone” is a pretty intellectual game, Max has to solve numerous hard problems during the gameplay. Here i原创 2020-07-26 10:13:35 · 321 阅读 · 0 评论 -
[CF 343A][思维题]Rational Resistance
题目描述:题目链接: Codeforces Round #200 div1 A Rational Resistance题目大意:你有无穷多个阻值为1Ω的电阻,现通过多次串联、并联的方式,使得总阻值为ab\frac{a}{b}baΩ。请问最少需要多少个1Ω的电阻?输入格式:输入仅一行,为整数a和b(1 ≤ a, b ≤ 101810^{18}1018),保证ab\frac{a}{b}ba是不可再约分的,保证有解。输入格式:输出仅一行,即所求答案。样例输入输出:input1 1ou原创 2020-07-18 11:01:20 · 174 阅读 · 0 评论