发表评论取消回复
相关阅读
相关 Codeforces Round #619 (Div2) D. Shortest and Longest LIS
[D. Shortest and Longest LIS][] 题意:最长上升子序数。 给你一个数组长度n,数据为1-n,一个长度为n-1的字符串,这个字符串只有>或<
相关 Codeforces Round #620 (Div. 2):Shortest and Longest LIS
Discription Gildong recently learned how to find the longest increasing subsequence (L
相关 Codeforces Round #620 (Div. 2):Air Conditioner
Discription Gildong owns a bulgogi restaurant. The restaurant has a lot of customers,
相关 Codeforces Round #620 (Div. 2):B. Longest Palindrome
Discription Returning back to problem solving, Gildong is now studying about palindrom
相关 Codeforces Round #620 (Div. 2):A. Two Rabbits
Discription Being tired of participating in too many Codeforces rounds, Gildong decide
相关 Codeforces Round #746 (Div. 2) C. Bakry and Partitioning
本文首发于微信公众号:"算法与编程之美",欢迎关注,及时了解更多此系列文章。 前言 题目来源 :Codeforces Round\746 (Div. 2) 链
相关 Codeforces Round #324 (Div. 2) B. Kolya and Tanya
思路:因为题目说只要存在组ai?+?ai?+?n?+?ai?+?2n?≠?6就令人满意,也就是不满意的情况就是所有ai?+?ai?+?n?+?ai?+?2n?都等于6 那就用
相关 Codeforces Round #533(Div. 2) B.Zuhair and Strings
链接:https://codeforces.com/contest/1105/problem/B 题意: 给一个字符串和k,连续k个相同的字符,可使等级x加1,
相关 Codeforces Round #554 Div.2 E - Neko and Flashback
欧拉路径 神题啊神题!这道题的突破口就是后两个数组每个元素是一一对应的。 也就是说,对于一个p的排列,b'和c'取得每一个元素的下标在p中都是一样的。 根据b和c数组
相关 Codeforces Round #580 (Div. 2) D Shortest Cycle(最小环)
题意:给你n个数,如果每两个数且(and)不为0,可以连无向边,求最小环。 分析:最小环可以利用Floyd来搞,n太大,如果n很小就可以直接搞了,考虑把n缩小,因为最小
还没有评论,来说两句吧...