
CodeForces题解
文章平均质量分 95
CodeForces题解
努力的老周
一个老码农,中年大叔。打过工,做过老板。
现有神兽一枚,努力培养神兽中。
展开
-
Codeforces 题解 —— Codeforces Round #698 (Div. 1) —— A. Nezzar and Board —— 裴蜀定理
有时间刷个水题,防止抑郁。 题目相关 题目链接 Codeforces Round #698 (Div. 1),A 题,https://codeforces.com/contest/1477/problem/A。 Problem Statement nnn distinct integers x1,x2,…,xnx_1,x_2,…,x_nx1,x2,…,xn are written on the board. Nezzar can perform the following operation mult原创 2021-01-29 12:27:48 · 822 阅读 · 1 评论 -
Codeforces 题解 —— Row GCD —— 数学题
题目相关 题目链接 Codeforces Round #691 (Div. 1) https://codeforces.com/problemset/problem/1458/A。 Problem Statement You are given two positive integer sequences a1,…,ana_1, …, a_na1,…,an and b1,…,bmb_1, …, b_mb1,…,bm. For each j=1,…,mj=1, …, mj=1,…,m find the原创 2021-01-05 21:43:30 · 887 阅读 · 1 评论 -
CodeForce题解 —— Disjoint Sets Union 题集:D. Cutting a graph
题目相关 题目链接 CodeForce网站。DSU 题集,https://codeforces.com/edu/course/2/lesson/7/1/practice/contest/289390/problem/D。 题面 There is an undirected graph and a sequence of operations of two types in the following format: cut u v — remove edge u - v from the ...原创 2020-11-07 14:00:11 · 568 阅读 · 0 评论 -
CodeForce题解 —— Disjoint Sets Union 题集:C. Experience
题目相关 题目链接 CodeForce网站。https://codeforces.com/edu/course/2/lesson/7/1/practice/contest/289390/problem/C。 题面 In a novel online game, the players fight the monsters and get the experience, as usual. To fight monsters players join together in raid teams. A原创 2020-11-06 15:37:40 · 1059 阅读 · 0 评论 -
CodeForce题解——Thanos Sort
题目链接 CodeForce网站。http://codeforces.com/problemset/problem/1145/A。 我的小破站。http://47.110.135.197/problem.php?id=5113。 题面 Thanos Sortis a supervillain sorting algorithm, which works as follows: if th...原创 2019-12-02 14:17:58 · 7460 阅读 · 1 评论