摘要: 支离破碎 支离破碎 Time Limit: 4000/2000ms (Java/Others) Time Limit: 4000/2000ms (Java/Others) Problem Description: 远古时期有一位魔王想向一座宫殿里的公主求婚。为了考验魔王的智力,太后给了他这样一道题: 阅读全文
posted @ 2018-06-03 15:52 霜雪千年 阅读(174) 评论(0) 推荐(0)
摘要: Problem description Those days, many boys use beautiful girls' photos as avatars in forums. So it is pretty hard to tell the gender of a user at the f 阅读全文
posted @ 2018-06-03 13:10 霜雪千年 阅读(702) 评论(0) 推荐(0)
摘要: Problem description A soldier wants to buy w bananas in the shop. He has to pay k dollars for the first banana, 2k dollars for the second one and so o 阅读全文
posted @ 2018-06-03 12:53 霜雪千年 阅读(189) 评论(0) 推荐(0)
摘要: Problem description A guy named Vasya attends the final grade of a high school. One day Vasya decided to watch a match of his favorite hockey team. An 阅读全文
posted @ 2018-06-03 12:48 霜雪千年 阅读(489) 评论(0) 推荐(0)
摘要: Problem description A string is a palindrome if it reads the same from the left to the right and from the right to the left. For example, the strings 阅读全文
posted @ 2018-06-03 12:16 霜雪千年 阅读(427) 评论(0) 推荐(0)
摘要: Problem description Polycarpus is the director of a large corporation. There are n secretaries working for the corporation, each of them corresponds v 阅读全文
posted @ 2018-06-03 11:54 霜雪千年 阅读(229) 评论(0) 推荐(0)
摘要: Problem description Valera loves his garden, where n fruit trees grow. This year he will enjoy a great harvest! On the i-th tree bi fruit grow, they w 阅读全文
posted @ 2018-06-03 11:17 霜雪千年 阅读(298) 评论(0) 推荐(0)