protagonist
摘要: Jam's balance Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 2915 Accepted Submission(s): 1121 P 阅读全文
posted @ 2019-10-14 23:47 czy-power 阅读(367) 评论(0) 推荐(0) 编辑
摘要: 问题 M: Mediocre String Problem 题目描述 Given two strings s and t, count the number of tuples (i, j, k) such that1. 1 ≤ i ≤ j ≤ |s|2. 1 ≤ k ≤ |t|.3. j − i 阅读全文
posted @ 2019-10-05 19:51 czy-power 阅读(394) 评论(0) 推荐(0) 编辑
摘要: 链接:https://ac.nowcoder.com/acm/contest/1091/D来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 524288K,其他语言1048576K 64bit IO Format: %lld 时间限制:C/C++ 1秒,其他语言2秒 空间 阅读全文
posted @ 2019-09-29 16:36 czy-power 阅读(384) 评论(0) 推荐(0) 编辑
摘要: 31.43% 1000ms 65536K A rhyme scheme is the pattern of rhymes at the end of each line of a poem or song. It is usually referred to by using letters to 阅读全文
posted @ 2019-09-15 23:53 czy-power 阅读(1059) 评论(0) 推荐(0) 编辑
摘要: 31.91% 3000ms 262144K CSL loves stone games. He has nn stones; each has a weight a_iai​. CSL wants to get some stones. The rule is that the pile he ge 阅读全文
posted @ 2019-09-15 22:35 czy-power 阅读(582) 评论(0) 推荐(0) 编辑
摘要: 23.7% 1000ms 262144K To seek candies for Maomao, Dudu comes to a maze. There are nn rooms numbered from 11 to nn and mm undirected roads. There are tw 阅读全文
posted @ 2019-09-14 23:38 czy-power 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 2623: 矩阵游戏 题目描述 小Q是一个非常聪明的孩子,除了国际象棋,他还很喜欢玩一个电脑益智游戏——矩阵游戏。矩阵游戏在一个N*N黑白方阵进行(如同国际象棋一般,只是颜色是随意的)。每次可以对该矩阵进行两种操作: 行交换操作:选择矩阵的任意两行,交换这两行(即交换对应格子的颜色) 列交换操作:选 阅读全文
posted @ 2019-09-13 14:20 czy-power 阅读(1109) 评论(0) 推荐(0) 编辑
摘要: 2557: Above the Median 题目描述 Farmer John has lined up his N (1 <= N <= 100,000) cows in a row to measure their heights; cow i has height H_i (1 <= H_i 阅读全文
posted @ 2019-09-13 14:02 czy-power 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 2401: Cow Rectangles 题目描述 The locations of Farmer John's N cows (1 <= N <= 500) are described by distinct points in the 2D plane. The cows belong to t 阅读全文
posted @ 2019-09-12 16:18 czy-power 阅读(373) 评论(0) 推荐(0) 编辑
摘要: 1342: [Baltic2007]Sound静音问题 Description 数字录音中,声音是用表示空气压力的数字序列描述的,序列中的每个值称为一个采样,每个采样之间间隔一定的 时间。 很多声音处理任务都需要将录到的声音分成由静音隔开的几段非静音段。为了避免分成过多或者过少的非 静音段,静音通常 阅读全文
posted @ 2019-09-12 00:46 czy-power 阅读(390) 评论(0) 推荐(0) 编辑