摘要:
[Codeforces Round #658 (Div. 1)] C. Mastermind(构造) In the game of Mastermind, there are two players — Alice and Bob. Alice has a secret code, which Bo 阅读全文
摘要:
F-Fraction Construction Problem 2020牛客暑期多校训练营(第三场)(构造,数论,exgcd) 思路: 分一下情况来讨论: 1、\(gcd(a,b)>1\): 令$k=gcd(a,b)\(,则\)\frac{a+k}-\frac=\frac{a/k+1}{b/k}-\ 阅读全文
摘要:
A B C D E F G H I J K 1 2 2 2 1 1 // 0 - unsolved 1- solved 2- solved-in-contest 其他题被队友补了,就没汇总题解。 Boundary 思路: 枚举这$\mathit n$个点的任意两个,然后与原点$(0,0)$三点若不共 阅读全文
摘要:
poj 1026 Cipher (置换群,循环节) POJ - 1026 题意: Bob and Alice started to use a brand-new encoding scheme. Surprisingly it is not a Public Key Cryptosystem, b 阅读全文