![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
构造
Dejavu1z
做题,总结,不断的学习
展开
-
codeforces 1384A(构造)
题意描述The length of the longest common prefix of two strings s=s1s2…sn and t=t1t2…tm is defined as the maximum integer k (0≤k≤min(n,m)) such that s1s2…sk equals t1t2…tk.Koa the Koala initially has n+1 strings s1,s2,…,sn+1.For each i (1≤i≤n) she calculated原创 2020-07-25 08:21:38 · 241 阅读 · 0 评论 -
codeforces 509B(构造,思维)
题意描述There are n piles of pebbles on the table, the i-th pile contains a i pebbles. Your task is to paint each pebble using one of the k given colors so that for each color c and any two piles i and j the difference between the number of pebbles of color c原创 2020-07-23 16:14:48 · 142 阅读 · 0 评论