Live2d Test Env
上一页 1 ··· 71 72 73 74 75 76 77 78 79 ··· 101 下一页
摘要: 问题: Ivan is fond of collecting. Unlike other people who collect post stamps, coins or other material stuff, he collects software bugs. When Ivan gets 阅读全文
posted @ 2017-12-08 12:21 nimphy 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 问题: You live in a village but work in another village. You decided to follow the straight path between your house (A) and the working place (B), but t 阅读全文
posted @ 2017-12-08 10:21 nimphy 阅读(1097) 评论(0) 推荐(0) 编辑
摘要: A substring of a string T is defined as: T( i, k)= TiTi +1... Ti+k -1, 1≤ i≤ i+k-1≤| T|. Given two strings A, B and one integer K, we define S, a set 阅读全文
posted @ 2017-12-06 22:35 nimphy 阅读(203) 评论(0) 推荐(0) 编辑
摘要: Once upon a time there was a famous actress. As you may expect, she played mostly Antique Comedies most of all. All the people loved her. But she was 阅读全文
posted @ 2017-12-06 17:31 nimphy 阅读(147) 评论(0) 推荐(0) 编辑
摘要: 时间限制:24000ms 单点时限:3000ms 内存限制:256MB 时间限制:24000ms 单点时限:3000ms 内存限制:256MB 描述 给定 n 和 k。计算有多少长度为 k 的数组 a1, a2, ..., ak,(0≤ai) 满足: a1 + a2 + ... + ak = n。 阅读全文
posted @ 2017-12-05 11:11 nimphy 阅读(367) 评论(0) 推荐(0) 编辑
摘要: 描述 小Hi和小Ho正在进行一项基因工程实验。他们要修改一段长度为N的DNA序列,使得这段DNA上最前面的K个碱基组成的序列与最后面的K个碱基组成的序列完全一致。 例如对于序列"ATCGATAC"和K=2,可以通过将第二个碱基修改为"C"使得最前面2个碱基与最后面两个碱基都为"AC"。当然还存在其他 阅读全文
posted @ 2017-12-05 10:07 nimphy 阅读(291) 评论(0) 推荐(0) 编辑
摘要: 题意: 给出一个矩阵,初始每个位置上的值都为0,然后有两种操作 一种是更改某个位置上的值 另一种是求某个位置附近曼哈顿距离不大于K的所有位置的值的总和 技巧: 坐标旋转,使得操作之后菱形变成方方正正的矩形,(即“曼哈顿距离”转化为“切比雪夫距离”)方便使用树状数组进行计算。 利用哈希进行离散,节约空 阅读全文
posted @ 2017-12-04 13:57 nimphy 阅读(350) 评论(0) 推荐(0) 编辑
摘要: 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 You are given an N × N matrix. At the beginning every element is 0. Write a 阅读全文
posted @ 2017-12-04 08:02 nimphy 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 Given a directed graph containing n vertice (numbered from 1 to n) and m edges. Can you tell us how many differ 阅读全文
posted @ 2017-12-03 21:53 nimphy 阅读(257) 评论(0) 推荐(1) 编辑
摘要: 问题: Squares and rectangles fascinated the famous Dutch painter Piet Mondriaan. One night, after producing the drawings in his 'toilet series' (where h 阅读全文
posted @ 2017-12-03 19:51 nimphy 阅读(576) 评论(0) 推荐(0) 编辑
上一页 1 ··· 71 72 73 74 75 76 77 78 79 ··· 101 下一页