
codefroces
Puppet__
努力想变得更好
展开
-
Codeforces Round #449 (Div. 2) B. Chtholly's request
B. Chtholly's requesttime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard output— Thanks a lot for today.— I experienced so many great things.— You gave原创 2017-12-03 00:43:41 · 240 阅读 · 0 评论 -
CodeForces 844A Diversity (超级超级水唯一需要想得就是开个标记数组吧)
**A. Diversity** time limit per test :1 second memory limit per test: 256 megabytes input: standard input output: standard outputCalculate the minimum number of原创 2017-10-30 18:50:22 · 594 阅读 · 0 评论 -
CodeForces 875B ( Sorting the Coins) 难度蛮大的一道题目 题目说了一堆主要还是找规律
B. Sorting the Coins time limit per test: 1 second memory limit per test: 512 megabytes input: standard input output: standard outputRecently, Dima met原创 2017-10-30 19:24:10 · 825 阅读 · 0 评论 -
Codefroces 916A Jamie and Alarm Snooze
Jamie loves sleeping. One day, he decides that he needs to wake up at exactly hh: mm. However, he hates waking up, so he wants to make waking up less painful by setting the alarm at a lucky time. He wi原创 2018-01-21 20:02:05 · 615 阅读 · 0 评论 -
Codeforces 932A Palindromic Supersequence (超级水)
题目:You are given a string A. Find a string B, where B is a palindrome and A is a subsequence of B.A subsequence of a string is a string that can be derived from it by deleting some (not necessarily con原创 2018-02-19 23:47:53 · 935 阅读 · 0 评论 -
Codeforces 939A Love Triangle(三角恋问题)
题目:As you could know there are no male planes nor female planes. However, each plane on Earth likes some other plane. There are n planes on Earth, numbered from 1 to n, and the plane with number i like原创 2018-02-19 23:59:49 · 1243 阅读 · 0 评论 -
Codeforces 918A Eleven(水的不能在水的打表题)
题目:Eleven wants to choose a new name for herself. As a bunch of geeks, her friends suggested an algorithm to choose a name for her. Eleven wants her name to have exactly n characters. Her friend sug原创 2018-02-20 22:21:25 · 358 阅读 · 0 评论 -
Codeforces 939B(Hamster Farm)
这道题目很明显的就是一道翻译题 很简单没有坑 这里就不详细解释了,详解请看代码。题目:Dima has a hamsters farm. Soon N hamsters will grow up on it and Dima will sell them in a city nearby.Hamsters should be transported in boxes. If some box is原创 2018-02-21 22:35:42 · 571 阅读 · 0 评论 -
Codeforces 919B (Prefect Number)
We consider a positive integer perfect, if and only if the sum of its digits is exactly 10. Given a positive integer k, your task is to find the k-th smallest perfect positive integer.Input A single l原创 2018-02-21 23:09:28 · 399 阅读 · 0 评论 -
Codeforces 919A (Supermarket)
题目时空门We often go to supermarkets to buy some fruits or vegetables, and on the tag there prints the price for a kilo. But in some supermarkets, when asked how much the items are, the clerk will say that原创 2018-02-21 23:34:49 · 485 阅读 · 0 评论 -
Codeforces 915B (Browser)
题目时空门Luba is surfing the Internet. She currently has n opened tabs in her browser, indexed from 1 to n from left to right. The mouse cursor is currently located at the pos-th tab. Luba needs to use the原创 2018-02-22 15:42:52 · 429 阅读 · 0 评论 -
Codeforces 908A (New Year and Counting Cards)914A(Perfect Squares)
题目时空门Your friend has n cards.You know that each card has a lowercase English letter on one side and a digit on the other.Currently, your friend has laid out the cards on a table so only one side of eac原创 2018-02-22 21:45:04 · 597 阅读 · 0 评论 -
(CodeForces 883A) The Meaningless Game 纯正的数学思维题(有点卡cin时间)
**A. The Meaningless Game** time limit per test: 1 second memory limit per test:256 megabytes input: standard input output: standard outputSlastyona and her loy原创 2017-10-30 18:01:03 · 484 阅读 · 0 评论