随笔分类 -  OJ---Codeforces

摘要:题目链接:https://codeforces.com/problemset/problem/1398/C CSDN食用链接:https://blog.csdn.net/qq_43906000/article/details/108024507 You are given an array \(a_ 阅读全文
posted @ 2020-08-15 16:37 lonely_wind 阅读(538) 评论(0) 推荐(1)
摘要:题目链接:https://codeforces.com/problemset/problem/1395/C CSDN食用链接:https://blog.csdn.net/qq_43906000/article/details/107973093 Boboniu likes bit operation 阅读全文
posted @ 2020-08-13 10:13 lonely_wind 阅读(464) 评论(0) 推荐(0)
摘要:题目链接:https://codeforces.com/gym/102218/problem/D CSDN食用链接:https://blog.csdn.net/qq_43906000/article/details/107944082 Recently, a startup by a group o 阅读全文
posted @ 2020-08-11 20:53 lonely_wind 阅读(335) 评论(0) 推荐(0)
摘要:题目链接:https://codeforces.com/gym/102219/problem/H 博客园食用链接:https://blog.csdn.net/qq_43906000/article/details/107884811 Recently, the nation was shocked 阅读全文
posted @ 2020-08-08 20:08 lonely_wind 阅读(228) 评论(0) 推荐(0)
摘要:题目链接:https://codeforces.com/problemset/problem/950/D CSDN食用链接:https://blog.csdn.net/qq_43906000/article/details/107865886 Dima is a beginner programme 阅读全文
posted @ 2020-08-07 17:10 lonely_wind 阅读(189) 评论(0) 推荐(0)
摘要:题目链接:https://codeforces.com/problemset/problem/950/C CSDN食用链接:https://blog.csdn.net/qq_43906000/article/details/107863150 Oleg writes down the history 阅读全文
posted @ 2020-08-07 15:34 lonely_wind 阅读(210) 评论(0) 推荐(0)
摘要:题目链接:https://codeforces.com/problemset/problem/954/D CSDN食用链接:https://blog.csdn.net/qq_43906000/article/details/107856572 Little town Nsk consists of 阅读全文
posted @ 2020-08-07 11:43 lonely_wind 阅读(442) 评论(0) 推荐(0)
摘要:题目链接:https://codeforces.com/problemset/problem/954/C CSDN食用链接:https://blog.csdn.net/qq_43906000/article/details/107855257 There is a matrix A of size 阅读全文
posted @ 2020-08-07 09:51 lonely_wind 阅读(253) 评论(0) 推荐(0)
摘要:题目链接:https://codeforces.com/problemset/problem/595/C CSDN食用链接:https://blog.csdn.net/qq_43906000/article/details/107833685 In the official contest this 阅读全文
posted @ 2020-08-06 10:51 lonely_wind 阅读(195) 评论(0) 推荐(0)
摘要:题目链接:https://codeforces.com/problemset/problem/592/C CSDN食用链接:https://blog.csdn.net/qq_43906000/article/details/107831159 Vector Willman and Array Bol 阅读全文
posted @ 2020-08-06 09:33 lonely_wind 阅读(205) 评论(0) 推荐(0)
摘要:题目链接:https://codeforces.com/problemset/problem/592/D CSDN食用链接:https://blog.csdn.net/qq_43906000/article/details/107829517 Ari the monster is not an or 阅读全文
posted @ 2020-08-06 09:10 lonely_wind 阅读(241) 评论(0) 推荐(0)
摘要:题目链接:https://codeforces.com/problemset/problem/734/E CSDN食用链接:https://blog.csdn.net/qq_43906000/article/details/107738495 Anton is growing a tree in h 阅读全文
posted @ 2020-08-01 23:29 lonely_wind 阅读(171) 评论(0) 推荐(0)
摘要:题目链接:https://codeforces.com/problemset/problem/1114/F 题目大意:给你n个数,q次操作,类型1,将区间[l,r]中每个数乘以x,类型2,询问$\varphi (\prod_{i=l}^{r}a_i)$。其中初始的n个数每个小于等于300,x<=30 阅读全文
posted @ 2020-07-12 18:07 lonely_wind 阅读(192) 评论(0) 推荐(0)
摘要:题目链接:https://codeforces.com/contest/787/problem/D 题目大意:有n个星球,你有q个单向传送门 类型1,$u$ $v$ $w$,表示从$u$到$v$花费$w$ 类型2,$u$ $l$ $r$ $w$,表示从$u$到区间$[l,r]$中的任意的星球,花费$ 阅读全文
posted @ 2020-07-10 20:47 lonely_wind 阅读(195) 评论(0) 推荐(0)
摘要:题目链接:https://codeforces.com/problemset/problem/1136/E 题目大意:给你n个数$a_i$,n-1个附加值$k_i$,操作1,将第$x$位置的值加上$val$如果,此时$a_x+k_x>a_{x+1}$那么$a_{x+1}=a_x+k_x$以此类推直到 阅读全文
posted @ 2020-07-10 16:53 lonely_wind 阅读(169) 评论(0) 推荐(0)
摘要:题目链接:https://codeforces.com/problemset/problem/438/D 题目大意:给你n个数,有三种操作,一是对区间$[l,r]$求和,二是对区间$[l,r]$中每个数对$x$取模,三是单点修改。 Examples Input 5 51 2 3 4 52 3 5 4 阅读全文
posted @ 2020-07-10 00:23 lonely_wind 阅读(227) 评论(0) 推荐(0)
摘要:题目链接:https://codeforces.com/problemset/problem/91/B 题目大意:给你一个倒置的序列,让你找到每个数的前面离他最远的那个数和它中间隔了多少个数,如果没有,输出-1 Examples Input 610 8 5 3 50 45 Output 2 1 0 阅读全文
posted @ 2020-07-09 12:22 lonely_wind 阅读(397) 评论(0) 推荐(0)
摘要:题目链接:https://codeforces.com/problemset/problem/372/C 题目大意:有$n$个路段,$m$次放烟花,第$i$个烟花在第$t_i$时间在第$a_i$个路段燃放,可获得的价值为$b_i$,如果第$i$个烟花燃放的时候你在位置$x$那么,你将会获得$b_i- 阅读全文
posted @ 2020-07-09 10:59 lonely_wind 阅读(251) 评论(0) 推荐(1)
摘要:题目链接:https://codeforces.com/problemset/problem/253/D 题目大意:对于一个字符矩阵,找其中的子块,要求有两个其一子块中包含字符a的个数不超过k,其二子块的四个角的字符相同。且子块的行数大于等于2,列数大于等于2 Examples Input 3 4 阅读全文
posted @ 2020-07-08 21:42 lonely_wind 阅读(239) 评论(0) 推荐(0)
摘要:题目链接:https://codeforces.com/problemset/problem/687/C 题目大意:给你n个数,然后让这些数相加组合,然后在这些组合的数里可以再相加组合搞出给定 k,输出这些组合的数。 Examples Input 6 185 6 1 10 12 2 Output 1 阅读全文
posted @ 2020-07-08 00:04 lonely_wind 阅读(296) 评论(0) 推荐(1)