2018湘潭邀请赛
文章平均质量分 85
柒梓木宀
敲代码真好玩 (掉发)
展开
-
2018湘潭邀请赛A题题解
2018湘潭邀请赛A题题解做题网址:点击打开链接下面是原题题目:A. Easy h-indexThe h-index of an author is the largest h where he has at least h papers with citations not less than h.Bobo has published many papers. Given a0, a1, a2,...原创 2018-05-16 20:52:28 · 553 阅读 · 0 评论 -
2018湘潭邀请赛F题题解
2018湘潭邀请赛F题题解F. SortingBobo has n tuples (a1, b1, c1), (a2, b2, c2), . . . , (an, bn, cn). He would like to find the lexicographically smallest permutation p1, p2, . . . , pn of 1, 2, . . . , n such ...原创 2018-05-16 21:17:39 · 281 阅读 · 0 评论 -
2018湘潭邀请赛G题题解
2018湘潭邀请赛G题题解G. String TransformationBobo has a string S = s1s2 . . . sn consists of letter a, b and c. He can transform the string by inserting or deleting substrings aa, bb and abab.Formally, A = u ...原创 2018-05-16 21:31:30 · 297 阅读 · 0 评论 -
2018湘潭邀请赛K题题解
2018湘潭邀请赛K题题解K. 2018Given a, b, c, d, find out the number of pairs of integers (x, y) where a x b, c y d and x y is a multiple of 2018. InputThe input consists of several test cases and is terminated ...原创 2018-05-16 22:04:41 · 531 阅读 · 0 评论