随笔分类 - ACM解题报告(石油)
摘要:题目描述 恰逢 HH H国国庆,国王邀请n nn 位大臣来玩一个有奖游戏。首先,他让每个大臣在左、右手上面分别写下一个整数,国王自己也在左、右手上各写一个整数。然后,让这 nnn 位大臣排成一排,国王站在队伍的最前面。排好队后,所有的大臣都会获得国王奖赏的若干金币,每位大臣获得的金币数分别是:排在该
阅读全文
摘要:问题 : 七夕祭 题目描述 七夕节因牛郎织女的传说而被扣上了「情人节」的帽子。于是TYVJ今年举办了一次线下七夕祭。Vani同学今年成功邀请到了cl同学陪他来共度七夕,于是他们决定去TYVJ七夕祭游玩。 TYVJ七夕祭和11区的夏祭的形式很像。矩形的祭典会场由N排M列共计N×M个摊点组成。虽然摊点种
阅读全文
摘要:TonyY是一个喜欢到处浪的男人,他的梦想是带着兰兰姐姐浪遍天朝的各个角落,不过在此之前,他需要做好规划。 现在他的手上有一份天朝地图,上面有n个城市,m条交通路径,每条交通路径都是单行道。他已经预先规划好了一些点作为旅游的起点和终点,他想选择其中一个起点和一个终点,并找出从起点到终点的一条路线亲身
阅读全文
摘要:Jingze is a big figure in California State University for his stubbornness. Because of his new failure in the last CET-4, he has decided not to solve
阅读全文
摘要:题目描述 九连环是一种源于中国的传统智力游戏。如图所示,九个圆环套在一把“剑”上,并且互相牵连。游戏的目标是把九个圆环从“剑”上卸下。 圆环的装卸需要遵守两个规则。 第一个(最右边)环任何时候都可以装上或卸下。 如果第k个环没有被卸下,且第k个环右边的所有环都被卸下,则第k+1个环(第k个环左边相邻
阅读全文
摘要:题目描述 There is a string s of length 3 or greater. No two neighboring characters in s are equal.Takahashi and Aoki will play a game against each other.
阅读全文
摘要:题目描述 You are given a string S consisting of lowercase English letters. Another string T is initially empty. Determine whether it is possible to obtain
阅读全文
摘要:题目描述 There are N towns located in a line, conveniently numbered 1 through N. Takahashi the merchant is going on a travel from town 1 to town N, buying
阅读全文
摘要:问题 J: Palindromic Password 题目描述 The IT department at your school decided to change their password policy. Each password will have to consist of N 6-di
阅读全文
摘要:Contest1290 - 2018组队训练赛第十五场
阅读全文

浙公网安备 33010602011771号