上一页 1 ··· 5 6 7 8 9
摘要: Ada, Bertrand and Charles often argue over which TV shows to watch, and to avoid some of their fights they have finally decided to buy a video tape re 阅读全文
posted @ 2018-07-26 17:38 JYRoy 阅读(319) 评论(0) 推荐(0) 编辑
摘要: 问题 D: Transit Tree Path 问题 D: Transit Tree Path You are given a tree with N vertices.Here, a tree is a kind of graph, and more specifically, a connect 阅读全文
posted @ 2018-07-25 09:56 JYRoy 阅读(385) 评论(0) 推荐(0) 编辑
摘要: 题目描述 4X概念体系,是指在PC战略游戏中一种相当普及和成熟的系统概念,得名自4个同样以“EX”为开头的英语单词。eXplore(探索)eXpand(拓张与发展)eXploit(经营与开发)eXterminate(征服)——维基百科今次我们着重考虑exploit部分,并将其模型简化:你驾驶着一台带 阅读全文
posted @ 2018-07-24 17:42 JYRoy 阅读(270) 评论(0) 推荐(0) 编辑
摘要: Problem Description “ 改革春风吹满地,不会AC没关系;实在不行回老家,还有一亩三分地。谢谢!(乐队奏乐)”话说部分学生心态极好,每天就知道游戏,这次考试如此简单的题目,也是云里雾里,而且,还竟然来这么几句打油诗。好呀,老师的责任就是帮你解决问题,既然想种田,那就分你一块。这块田 阅读全文
posted @ 2018-05-01 17:54 JYRoy 阅读(245) 评论(0) 推荐(0) 编辑
摘要: Problem Description 统计给定文本文件中汉字的个数。 Input 输入文件首先包含一个整数n,表示测试实例的个数,然后是n段文本。 Output 对于每一段文本,输出其中的汉字的个数,每个测试实例的输出占一行。[Hint:]从汉字机内码的特点考虑~ Sample Input 2 W 阅读全文
posted @ 2018-05-01 11:49 JYRoy 阅读(623) 评论(0) 推荐(0) 编辑
摘要: Given a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calculate the number of 1's in their binary representation and r 阅读全文
posted @ 2018-04-24 21:17 JYRoy 阅读(335) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9