![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ACM
axiqia
这个作者很懒,什么都没留下…
展开
-
CodeForces - 515A Drazil and Date
CodeForces - 515ADrazil and DateDescriptionSomeday, Drazil wanted to go on date with Varda. Drazil and Varda live on Cartesian plane. Drazil's home is located in point (0, 0) and原创 2015-03-28 23:55:18 · 558 阅读 · 0 评论 -
HDU - 4505 小Q系列故事――电梯里的爱情
HDU - 4505小Q系列故事――电梯里的爱情Description 细心的同事发现,小Q最近喜欢乘电梯上上下下,究其原因,也许只有小Q自己知道:在电梯里经常可以遇到他心中的女神HR。 电梯其实是个很暧昧的地方,只有在电梯里,小Q才有勇气如此近距离接近女神,虽然觉得有点不自在,但次数多了,女神也习惯了小Q的存在,甚至熟悉到仿佛不说上句话自己也都觉得不原创 2015-03-28 23:29:49 · 549 阅读 · 0 评论 -
HDU 3787 A+B
HDU - 3787A+BDescription给定两个整数A和B,其表示形式是:从个位开始,每三位数用逗号","隔开。 现在请计算A+B的结果,并以正常形式输出。 Input输入包含多组数据数据,每组数据占一行,由两个整数A和B组成(-10^9 Output请计算A+B的结果,原创 2015-03-28 23:27:35 · 384 阅读 · 0 评论 -
POJ - 3673 Cow Multiplication
POJ - 3673Cow MultiplicationDescriptionBessie is tired of multiplying pairs of numbers the usual way, so she invented her own style of multiplication. In her style, A*B is equa原创 2015-03-28 23:26:02 · 376 阅读 · 0 评论 -
POJ - 1218 THE DRUNK JAILER
POJ - 1218THE DRUNK JAILERDescriptionA certain prison contains a long hall of n cells, each right next to each other. Each cell has a prisoner in it, and each cell is locked. One原创 2015-03-28 23:20:46 · 424 阅读 · 0 评论 -
CodeForces - 522A
CodeForces - 522ARepostsDescriptionOne day Polycarp published a funny picture in a social network making a poll about the color of his handle. Many of his friends started reposti原创 2015-03-22 23:13:14 · 757 阅读 · 0 评论 -
UVa 1584 - Circular Sequence
UVA - 1584Circular SequenceDescriptionSome DNA sequences exist in circular forms as in the following figure, which shows a circular sequence ``CGAGTCAGCT", that is, the原创 2015-03-16 22:30:50 · 403 阅读 · 0 评论 -
UVa 401 - Palindromes
PalindromesDescriptionA regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string "ABCDEDCBA" is a palindrome because it is the same wh原创 2015-03-16 22:04:43 · 414 阅读 · 0 评论 -
POJ - 1852 Ants
Ants DescriptionAn army of ants walk on a horizontal pole of length l cm, each with a constant speed of 1 cm/s. When a walking ant reaches an end of the pole, it immediatelly falls off it. Whe原创 2015-03-15 16:33:12 · 561 阅读 · 0 评论 -
UVA - 10082 WERTYU
/* coder: Shawn_Xue date: 2015.3.10 result: AC description: UVA - 10082 WERTYU*/#include #include int main(){ char str[] ="`1234567890-=QWERTYUIOP[]\\ASDFGHJKL;'ZXCVBNM,./";原创 2015-03-10 21:22:37 · 532 阅读 · 0 评论 -
UVA - 10115 Automatic Editing
A - ADescriptionText-processing tools like awk and sed allow you to automatically perform a sequence of editing operations based on a script. For this problem we consider the specific原创 2015-03-09 23:52:32 · 498 阅读 · 0 评论 -
UVA - 272 TEX Quotes
TEX QuotesDescriptionTeX is a typesetting language developed by Donald Knuth. It takes source text together with a few typesetting instructions and produces, one hopes, a beautiful document.原创 2015-03-08 18:39:46 · 700 阅读 · 0 评论 -
ZOJ - 1403 Safecracker
ZOJ - 1403SafecrackerDescription=== Op tech briefing, 2002/11/02 06:42 CST ==="The item is locked in a Klein safe behind a painting in the second-floor library. Klein safes are extreme原创 2015-03-28 23:41:50 · 728 阅读 · 0 评论 -
HDU - 2046 骨牌铺方格
HDU - 2046骨牌铺方格Description在2×n的一个长方形方格中,用一个1× 2的骨牌铺满方格,输入n ,输出铺放方案的总数. 例如n=3时,为2× 3方格,骨牌的铺放方案有三种,如下图: Input输入数据由多行组成,每行包含一个整数n,表示该测试实例的长方形方格的规格是2×n (0原创 2015-03-28 23:50:10 · 368 阅读 · 0 评论 -
CodeForces - 523C Name Quest
CodeForces - 523CName QuestDescriptionA Martian boy is named s — he has got this name quite recently from his parents for his coming of age birthday. Now he enjoys looking for his na原创 2015-03-28 23:51:45 · 612 阅读 · 0 评论 -
POJ1163 The Triangle
Description73 88 1 02 7 4 44 5 2 6 5(Figure 1)Figure 1 shows a number triangle. Write a program that calculates the highest sum of numbers passed on a route that原创 2015-04-04 19:50:59 · 395 阅读 · 0 评论 -
HDU 1158 Common Subsequence
DescriptionA subsequence of a given sequence is the given sequence with some elements (possible none) left out. Given a sequence X = another sequence Z = is a subsequence of X if there exists原创 2015-04-04 19:48:39 · 347 阅读 · 0 评论 -
UVA - 10815 Andy's First Dictionary
DescriptionProblem B: Andy's First DictionaryTime limit: 3 secondsAndy, 8, has a dream - he wants to produce his very own dictionary. This is not an easy task原创 2015-04-04 14:53:45 · 552 阅读 · 0 评论 -
UVA - 101 The Blocks Problem
DescriptionBackground Many areas of Computer Science use simple, abstract domains for both analytical and empirical studies. For example, an early AI study of planning and robotics (STRIPS原创 2015-04-04 14:50:26 · 496 阅读 · 0 评论 -
uva-10474 - Where is the Marble?
/* Coder: Shawn_Xue Date: 2015.4.4 Result: AC*/#include #include #include using namespace std;const int maxn = 10000;int main(){ int n, q, x, a[maxn], kase = 0; while(cin原创 2015-04-04 14:48:32 · 323 阅读 · 0 评论 -
HDU1240:Asteroids
DescriptionYou're in space. You want to get home. There are asteroids. You don't want to hit them. InputInput to this problem will consist of a (non-empty) series of up to原创 2015-04-04 14:27:56 · 531 阅读 · 0 评论 -
PKU 1562 Oil Deposit
DescriptionThe GeoSurvComp geologic survey company is responsible for detecting underground oil deposits. GeoSurvComp works with one large rectangular region of land at a time, and creates a grid原创 2015-04-04 14:23:34 · 447 阅读 · 0 评论 -
HDOJ 1238:Substrings
DescriptionYou are given a number of case-sensitive strings of alphabetic characters, find the largest string X, such that either X, or its inverse can be found as a substring of any of the given原创 2015-04-04 14:20:34 · 397 阅读 · 0 评论 -
CodeForces - 513A Game
CodeForces - 513AGameDescriptionTwo players play a simple game. Each player is provided with a box with balls. First player's box contains exactly n1 balls and second player's box co原创 2015-03-29 00:05:46 · 735 阅读 · 0 评论 -
CodeForces - 514A Chewbaсca and Number
CodeForces - 514AChewbaсca and NumberDescriptionLuke Skywalker gave Chewbacca an integer number x. Chewbacca isn't good at numbers but he loves inverting digits in them. Inverting原创 2015-03-29 00:03:12 · 822 阅读 · 0 评论 -
CodeForces - 515B Drazil and His Happy Friends
CodeForces - 515BDrazil and His Happy FriendsDescriptionDrazil has many friends. Some of them are happy and some of them are unhappy. Drazil wants to make all his friends become happy.原创 2015-03-28 23:57:56 · 481 阅读 · 0 评论 -
UVa 340 Master-Mind Hints
Master-Mind HintsMasterMind is a game for two players. One of them, Designer, selects a secret code. The other, Breaker, tries to break it. A code is no more than a row of colored dots. At the原创 2015-01-17 22:31:29 · 594 阅读 · 0 评论