摘要: Description DT is a big fan of digital products. He writes posts about technological products almost everyday in his blog. But there is such few comme 阅读全文
posted @ 2016-02-05 19:43 水郁 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 题 Description 话说现在猪肉价格这么贵,著名的ACBoy 0068 也开始了养猪生活。说来也奇怪,他养的猪一出生第二天开始就能每天中午生一只小猪,而且生下来的竟然都是母猪。 不过光生小猪也不行,0068采用了一个很奇特的办法来管理他的养猪场: 对于每头刚出生的小猪,在他生下第二头小猪后立 阅读全文
posted @ 2016-02-05 19:05 水郁 阅读(703) 评论(0) 推荐(1) 编辑
摘要: 题 Andrea is a famous science fiction writer, who runs masterclasses for her beloved readers. The most popular one is the Alien Communication Mastercla 阅读全文
posted @ 2016-02-05 17:11 水郁 阅读(383) 评论(0) 推荐(0) 编辑
摘要: 题 Description FatMouse prepared M pounds of cat food, ready to trade with the cats guarding the warehouse containing his favorite food, JavaBean. The 阅读全文
posted @ 2016-02-05 16:08 水郁 阅读(357) 评论(0) 推荐(0) 编辑
摘要: 题 Description The cows don't use actual bowling balls when they go bowling. They each take a number (in the range 0..99), though, and line up in a sta 阅读全文
posted @ 2016-02-05 15:13 水郁 阅读(452) 评论(0) 推荐(0) 编辑
摘要: 题 Description 读入两个小于100的正整数A和B,计算A+B. 需要注意的是:A和B的每一位数字由对应的英文单词给出. 题 Description 读入两个小于100的正整数A和B,计算A+B. 需要注意的是:A和B的每一位数字由对应的英文单词给出. 读入两个小于100的正整数A和B,计 阅读全文
posted @ 2016-02-05 14:49 水郁 阅读(301) 评论(3) 推荐(1) 编辑
摘要: 题 Shi realized that he was almost out of money, even renting Shitalian lands. Shi was walking on a street, while thinking of a way to recover his fort 阅读全文
posted @ 2016-02-05 14:36 水郁 阅读(401) 评论(0) 推荐(0) 编辑
摘要: 题 SmallR is an archer. SmallR is taking a match of archer with Zanoes. They try to shoot in the target in turns, and SmallR shoots first. The probabil 阅读全文
posted @ 2016-02-05 12:44 水郁 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 题 Description In this problem your goal is to sort an array consisting of n integers in at most n swaps. For the given array find the sequence of swap 阅读全文
posted @ 2016-02-05 11:53 水郁 阅读(524) 评论(0) 推荐(0) 编辑
摘要: 题 Description Jerry is caught by Tom. He was penned up in one room with a door, which only can be opened by its code. The code is the answer of the su 阅读全文
posted @ 2016-02-05 11:52 水郁 阅读(349) 评论(0) 推荐(0) 编辑
摘要: 题 题意:给你一个大于等于12的数,要你用两个合数表示出来。//合数指自然数中除了能被1和本身整除外,还能被其他的数整除(不包括0)的数。 分析:我们知道偶数除了2都是合数,给你一个偶数,你减去一个偶数得到的就是偶数啦,因为n>=12,所以减去4的话,得到的是>=8的偶数,肯定也是合数,当然你也可以 阅读全文
posted @ 2016-01-28 01:19 水郁 阅读(610) 评论(0) 推荐(0) 编辑
摘要: http://acm.hust.edu.cn/vjudge/contest/view.action?cid=102419#problem/E Description An infinitely long railway has a train consisting of n cars, number 阅读全文
posted @ 2016-01-05 23:59 水郁 阅读(208) 评论(0) 推荐(0) 编辑
摘要: http://acm.hust.edu.cn/vjudge/contest/view.action?cid=102419#problem/D The famous Korean internet company has provided an internet-based photo service 阅读全文
posted @ 2016-01-05 22:21 水郁 阅读(182) 评论(0) 推荐(0) 编辑
摘要: http://acm.hust.edu.cn/vjudge/contest/view.action?cid=102419#problem/C Description I’ve bought an orchard and decide to plant some apple trees on it. 阅读全文
posted @ 2016-01-05 21:43 水郁 阅读(173) 评论(5) 推荐(0) 编辑
摘要: http://acm.hust.edu.cn/vjudge/contest/view.action?cid=102419#problem/B A regular palindrome is a string of numbers or letters that is the same forward 阅读全文
posted @ 2016-01-05 16:51 水郁 阅读(227) 评论(0) 推荐(0) 编辑
……