Loading

上一页 1 ··· 51 52 53 54 55 56 57 58 59 ··· 74 下一页
摘要: Phoenix has a string ss consisting of lowercase Latin letters. He wants to distribute all the letters of his string into kk non-empty strings a1,a2,…, 阅读全文
posted @ 2020-05-02 15:13 脂环 阅读(328) 评论(0) 推荐(0) 编辑
摘要: Phoenix loves beautiful arrays. An array is beautiful if all its subarrays of length kk have the same sum. A subarray of an array is any sequence of c 阅读全文
posted @ 2020-05-02 14:56 脂环 阅读(462) 评论(0) 推荐(0) 编辑
摘要: Phoenix has nn coins with weights 21,22,…,2n21,22,…,2n. He knows that nn is even. He wants to split the coins into two piles such that each pile has e 阅读全文
posted @ 2020-05-02 14:48 脂环 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 比赛链接:https://www.jisuanke.com/contest/8290?view=challenges A. You are playing a game in which a group of players take turns saying animal names. The a 阅读全文
posted @ 2020-05-01 21:03 脂环 阅读(284) 评论(2) 推荐(0) 编辑
摘要: You are given an undirected unweighted graph consisting of nn vertices and mm edges (which represents the map of Bertown) and the array of prices pp o 阅读全文
posted @ 2020-04-23 16:05 脂环 阅读(227) 评论(0) 推荐(0) 编辑
摘要: You are given an array aa consisting of nn integers (it is guaranteed that nn is even, i.e. divisible by 22 ). All aiai does not exceed some integer k 阅读全文
posted @ 2020-04-22 16:50 脂环 阅读(239) 评论(0) 推荐(0) 编辑
摘要: Recall that the sequence bb is a a subsequence of the sequence aa if bb can be derived from aa by removing zero or more elements without changing the 阅读全文
posted @ 2020-04-22 10:13 脂环 阅读(360) 评论(0) 推荐(0) 编辑
摘要: You are given a positive integer nn , it is guaranteed that nn is even (i.e. divisible by 22 ). You want to construct the array aa of length nn such t 阅读全文
posted @ 2020-04-22 09:44 脂环 阅读(296) 评论(0) 推荐(0) 编辑
摘要: Recently Vova found nn candy wrappers. He remembers that he bought xx candies during the first day, 2x2x candies during the second day, 4x4x candies d 阅读全文
posted @ 2020-04-22 09:29 脂环 阅读(502) 评论(0) 推荐(0) 编辑
摘要: 题目背景 我是源点,你是终点。我们之间有负权环。 ——小明 题目描述 在小明和小红的生活中,有 NNN 个关键的节点。有 MMM 个事件,记为一个三元组 (Si,Ti,Wi)(S_i,T_i,W_i)(Si​,Ti​,Wi​),表示从节点 SiS_iSi​ 有一个事件可以转移到 TiT_iTi​,事 阅读全文
posted @ 2020-04-21 23:29 脂环 阅读(222) 评论(0) 推荐(0) 编辑
上一页 1 ··· 51 52 53 54 55 56 57 58 59 ··· 74 下一页