摘要:
description: Two strings \(a,b\) are nonempty strings.We can replace a char, delete a char or add a char, so how many edition are needed to make the t 阅读全文
摘要:
Link:https://codeforces.com/problemset/problem/1487/E description: \(4\) kinds of dishes, each has \(n_i\) courses for \(i\in \{1,2,3,4\}\), we have t 阅读全文
摘要:
description: How many pairs \(<a,b>\), s.t. \(a\mod b=\lfloor\frac{a}{b}\rfloor\), for \(1\leqslant a\leqslant x\), $1\leqslant b\leqslant y $ ? solut 阅读全文
摘要:
Link:https://codeforces.com/problemset/problem/1490/E description: There are \(n\) players, every player has a power value. Every round, two players a 阅读全文
摘要:
Link:https://codeforces.com/problemset/problem/1487/D description: Find the numbers of triples$(a,b,c)$s.t.$a2+b2=c^2$and \(a^2=b+c\), where 1≤a≤b≤c≤n 阅读全文
摘要:
Link: https://codeforces.com/problemset/problem/1487/B description: Cat A sleep from \(n\) downto 1 per hour, while cat B sleep from 1 to n per hour i 阅读全文