Loading

上一页 1 ··· 55 56 57 58 59 60 61 62 63 ··· 74 下一页
摘要: Adera是Microsoft应用商店中的一款解谜游戏。 异象石是进入Adera中异时空的引导物,在Adera的异时空中有一张地图。 这张地图上有N个点,有N-1条双向边把它们连通起来。 起初地图上没有任何异象石,在接下来的M个时刻中,每个时刻会发生以下三种类型的事件之一: 地图的某个点上出现了异象 阅读全文
posted @ 2020-04-10 17:42 脂环 阅读(238) 评论(0) 推荐(0) 编辑
摘要: Eugene likes working with arrays. And today he needs your help in solving one challenging task. An array cc is a subarray of an array bb if cc can be 阅读全文
posted @ 2020-04-09 19:43 脂环 阅读(290) 评论(0) 推荐(0) 编辑
摘要: Once again, Boris needs the help of Anton in creating a task. This time Anton needs to solve the following problem: There are two arrays of integers a 阅读全文
posted @ 2020-04-09 13:16 脂环 阅读(303) 评论(0) 推荐(0) 编辑
摘要: Young boy Artem tries to paint a picture, and he asks his mother Medina to help him. Medina is very busy, that's why she asked for your help. Artem wa 阅读全文
posted @ 2020-04-09 11:42 脂环 阅读(233) 评论(0) 推荐(0) 编辑
摘要: 题目描述 松鼠的新家是一棵树,前几天刚刚装修了新家,新家有nnn 个房间,并且有 n−1n-1n−1 根树枝连接,每个房间都可以相互到达,且俩个房间之间的路线都是唯一的。天哪,他居然真的住在“树”上。 松鼠想邀请****前来参观,并且还指定一份参观指南,他希望**能够按照他的指南顺序,先去 a1a_ 阅读全文
posted @ 2020-04-08 11:49 脂环 阅读(326) 评论(0) 推荐(0) 编辑
摘要: 链接:https://ac.nowcoder.com/acm/contest/549/C来源:牛客网 题目描述 小A最近开始沉迷买彩票,并且希望能够通过买彩票发家致富。已知购买一张彩票需要3元,而彩票中奖的金额分别为1,2,3,4元,并且比较独特的是这个彩票中奖的各种金额都是等可能的。现在小A连续购 阅读全文
posted @ 2020-04-06 21:09 脂环 阅读(225) 评论(0) 推荐(0) 编辑
摘要: Dreamoon likes coloring cells very much. There is a row of nn cells. Initially, all cells are empty (don't contain any color). Cells are numbered from 阅读全文
posted @ 2020-04-05 01:21 脂环 阅读(339) 评论(0) 推荐(1) 编辑
摘要: The sequence of mm integers is called the permutation if it contains all integers from 11 to mm exactly once. The number mm is called the length of th 阅读全文
posted @ 2020-04-04 13:02 脂环 阅读(253) 评论(0) 推荐(0) 编辑
摘要: Dreamoon is a big fan of the Codeforces contests. One day, he claimed that he will collect all the places from 11 to 5454 after two more rated contest 阅读全文
posted @ 2020-04-04 10:42 脂环 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Farmer John has installed a new system of N−1N-1N−1 pipes to transport milk between the NNN stalls in his barn (2≤N≤50,0002 \leq N \leq 50,0002≤N 阅读全文
posted @ 2020-04-03 15:40 脂环 阅读(186) 评论(0) 推荐(0) 编辑
上一页 1 ··· 55 56 57 58 59 60 61 62 63 ··· 74 下一页