随笔分类 -  codeforces

上一页 1 2 3 4 5 6 ··· 10 下一页
摘要:Mahmoud wrote a message s of length n. He wants to send it as a birthday present to his friend Moaz who likes strings. He wrote it on a magical paper 阅读全文
posted @ 2017-07-26 01:22 樱花落舞 阅读(157) 评论(0) 推荐(0) 编辑
摘要:Mahmoud has n line segments, the i-th of them has length ai. Ehab challenged him to use exactly 3 line segments to form a non-degenerate triangle. Mah 阅读全文
posted @ 2017-07-26 01:14 樱花落舞 阅读(150) 评论(0) 推荐(0) 编辑
摘要:While Mahmoud and Ehab were practicing for IOI, they found a problem which name was Longest common subsequence. They solved it, and then Ehab challeng 阅读全文
posted @ 2017-07-26 01:11 樱花落舞 阅读(183) 评论(0) 推荐(0) 编辑
摘要:All our characters have hobbies. The same is true for Fedor. He enjoys shopping in the neighboring supermarket. The goods in the supermarket have uniq 阅读全文
posted @ 2017-07-24 01:11 樱花落舞 阅读(154) 评论(0) 推荐(0) 编辑
摘要:Ilya is an experienced player in tic-tac-toe on the 4 × 4 field. He always starts and plays with Xs. He played a lot of games today with his friend Ar 阅读全文
posted @ 2017-07-24 01:00 樱花落舞 阅读(286) 评论(0) 推荐(0) 编辑
摘要:One spring day on his way to university Lesha found an array A. Lesha likes to split arrays into several parts. This time Lesha decided to split the a 阅读全文
posted @ 2017-07-24 00:58 樱花落舞 阅读(248) 评论(0) 推荐(0) 编辑
摘要:Moriarty has trapped n people in n distinct rooms in a hotel. Some rooms are locked, others are unlocked. But, there is a condition that the people in 阅读全文
posted @ 2017-07-23 00:49 樱花落舞 阅读(265) 评论(0) 推荐(0) 编辑
摘要:Molly Hooper has n different kinds of chemicals arranged in a line. Each of the chemicals has an affection value, The i-th of them has affection value 阅读全文
posted @ 2017-07-23 00:27 樱花落舞 阅读(262) 评论(0) 推荐(0) 编辑
摘要:Sherlock has a new girlfriend (so unlike him!). Valentine's day is coming and he wants to gift her some jewelry. He bought n pieces of jewelry. The i- 阅读全文
posted @ 2017-07-23 00:17 樱花落舞 阅读(263) 评论(0) 推荐(0) 编辑
摘要:Our beloved detective, Sherlock is currently trying to catch a serial killer who kills a person each day. Using his powers of deduction, he came to kn 阅读全文
posted @ 2017-07-23 00:12 樱花落舞 阅读(262) 评论(0) 推荐(0) 编辑
摘要:There are n people taking part in auction today. The rules of auction are classical. There were n bids made, though it's not guaranteed they were from 阅读全文
posted @ 2017-07-23 00:08 樱花落舞 阅读(230) 评论(0) 推荐(0) 编辑
摘要:There are n employees in Alternative Cake Manufacturing (ACM). They are now voting on some very important question and the leading world media are try 阅读全文
posted @ 2017-07-22 23:53 樱花落舞 阅读(189) 评论(0) 推荐(0) 编辑
摘要:Long time ago Alex created an interesting problem about parallelogram. The input data for this problem contained four integer points on the Cartesian 阅读全文
posted @ 2017-07-22 00:45 樱花落舞 阅读(231) 评论(0) 推荐(0) 编辑
摘要:Bachgold problem is very easy to formulate. Given a positive integer n represent it as a sum of maximum possible number of prime numbers. One can prov 阅读全文
posted @ 2017-07-22 00:38 樱花落舞 阅读(299) 评论(0) 推荐(0) 编辑
摘要:Vova again tries to play some computer card game. The rules of deck creation in this game are simple. Vova is given an existing deck of n cards and a 阅读全文
posted @ 2017-07-07 23:46 樱花落舞 阅读(628) 评论(0) 推荐(1) 编辑
摘要:Alice and Bob got very bored during a long car trip so they decided to play a game. From the window they can see cars of different colors running past 阅读全文
posted @ 2017-07-07 23:30 樱花落舞 阅读(187) 评论(0) 推荐(0) 编辑
摘要:There are n students who have taken part in an olympiad. Now it's time to award the students. Some of them will receive diplomas, some wiil get certif 阅读全文
posted @ 2017-07-07 22:54 樱花落舞 阅读(275) 评论(0) 推荐(0) 编辑
摘要:Description Heidi's friend Jenny is asking Heidi to deliver an important letter to one of their common friends. Since Jenny is Irish, Heidi thinks tha 阅读全文
posted @ 2017-06-09 00:07 樱花落舞 阅读(344) 评论(0) 推荐(0) 编辑
摘要:Description The marmots have prepared a very easy problem for this year's HC2 – this one. It involves numbers n, k and a sequence of n positive intege 阅读全文
posted @ 2017-06-09 00:02 樱花落舞 阅读(249) 评论(0) 推荐(0) 编辑
摘要:Description Your search for Heidi is over – you finally found her at a library, dressed up as a human. In fact, she has spent so much time there that 阅读全文
posted @ 2017-06-08 23:59 樱花落舞 阅读(299) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 10 下一页
点击右上角即可分享
微信分享提示