
构造
龍木
若人生为棋,我愿为卒,漫漫征途,谁曾见我后退半步
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
D2. Sage‘s Birthday (hard version)
链接:https://codeforces.com/problemset/problem/1419/D2 This is the hard version of the problem. The difference between the versions is that in the easy version all pricesaiaiare different. You can make hacks if and only if you solved both versions of the ..原创 2020-10-01 14:35:54 · 241 阅读 · 0 评论 -
G. A/B Matrix
链接:https://codeforces.ml/contest/1360/problem/G You are given four positive integersnn,mm,aa,bb(1≤b≤n≤501≤b≤n≤50;1≤a≤m≤501≤a≤m≤50). Find any such rectangular matrix of sizen×mn×mthat satisfies all of the following conditions: each row of the matr...原创 2020-05-26 15:58:51 · 345 阅读 · 0 评论 -
B. Count Subrectangles
链接:https://codeforces.ml/contest/1323/problem/B You are given an arrayaaof lengthnnand arraybbof lengthmmboth consisting of only integers00and11. Consider a matrixccof sizen×mn×mformed ...原创 2020-03-08 12:11:03 · 507 阅读 · 0 评论 -
C. Primitive Primes
链接:https://codeforces.ml/contest/1316/problem/C It is Professor R's last class of his teaching career. Every time Professor R taught a class, he gave a special problem for the students to solve. You ...原创 2020-03-05 08:42:57 · 366 阅读 · 0 评论 -
G. Running in Pairs
链接:https://codeforces.com/contest/1244/problem/G Demonstrative competitions will be held in the run-up to the20NN20NNBerlatov Olympic Games. Today is the day for the running competition! Berlatov ...原创 2019-10-15 12:43:36 · 305 阅读 · 0 评论