上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 30 下一页
摘要: Problem DescriptionThe contest is beginning! While preparing the contest, iSea wanted to print the teams' names separately on a single paper.Unfortuna... 阅读全文
posted @ 2015-12-04 09:29 Vmetrio 阅读(156) 评论(0) 推荐(0)
摘要: Problem Description十年前读大学的时候,中国每年都要从国外引进一些电影大片,其中有一部电影就叫《勇敢者的游戏》(英文名称:Zathura),一直到现在,我依然对于电影中的部分电脑特技印象深刻。今天,大家选择上机考试,就是一种勇敢(brave)的选择;这个短学期,我们讲的是博弈(ga... 阅读全文
posted @ 2015-12-04 08:46 Vmetrio 阅读(149) 评论(0) 推荐(0)
摘要: 原文链接:http://blog.polossk.com/201405/c-plus-plus-g-plus-plusG++?首先更正一个概念,C++是一门计算机编程语言,G++不是语言,是一款编译器中编译C++程序的命令而已。那么他们之间的区别是什么?在提交题目中的语言选项里,G++和C++都代表... 阅读全文
posted @ 2015-12-03 21:35 Vmetrio 阅读(306) 评论(0) 推荐(0)
摘要: Problem Description We all use cell phone today. And we must be familiar with the intelligent English input method on the cell phone. To be specific,... 阅读全文
posted @ 2015-12-03 21:21 Vmetrio 阅读(185) 评论(0) 推荐(0)
摘要: 描述小明得到了一张写有奇怪字符串的纸,他想知道一些字符串出现了多少次,但这些字符串太多了,他想找你帮忙,你能帮他吗?输入字符包括所有小写字母、‘@’、‘+’。输入第一行包含一个整数T(T 2 #include 3 #include 4 #include 5 #include 6 #inclu... 阅读全文
posted @ 2015-12-02 19:11 Vmetrio 阅读(239) 评论(0) 推荐(0)
摘要: Problem DescriptionGiven a list of phone numbers, determine if it is consistent in the sense that no number is the prefix of another. Let’s say the ph... 阅读全文
posted @ 2015-12-02 12:31 Vmetrio 阅读(213) 评论(0) 推荐(0)
摘要: 实体化代码运行图:实现代码: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #include 10 using namespace std;11 12... 阅读全文
posted @ 2015-12-01 21:12 Vmetrio 阅读(198) 评论(0) 推荐(0)
摘要: Problem DescriptionA hat’s word is a word in the dictionary that is the concatenation of exactly two other words in the dictionary.You are to find all... 阅读全文
posted @ 2015-12-01 21:06 Vmetrio 阅读(210) 评论(0) 推荐(0)
摘要: 题目链接:http://acm.hdu.edu.cn/status.php?user=NYNU_WMH&pid=1251&status=5Trie树的基本实现字母树的插入(Insert)、删除( Delete)和查找(Find)都非常简单,用一个一重循环即可,即第i 次循环找到前i 个字母所对应的子... 阅读全文
posted @ 2015-11-30 21:05 Vmetrio 阅读(238) 评论(0) 推荐(0)
摘要: Problem Description小时候,因为家里经济困难,小明从未去过游乐场,所以直到现在,他还心存遗憾。最近,杭州刚建了一座游乐场,为了弥补儿时的遗憾,小明带了一笔钱迫不及待地要去体验一番。由于是第一次来到这种地方,小明也不知哪些项目比较好玩,因此他想体验尽可能多的项目。来之前,小明还向朋友... 阅读全文
posted @ 2015-11-30 16:59 Vmetrio 阅读(158) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 30 下一页