随笔分类 -  ——————————

摘要:2266: number时间限制: 1 Sec 内存限制: 128 MB提交: 76 解决: 31[提交][状态][讨论版][命题人:admin]题目描述某人刚学习了数位DP,他在某天忽然思考如下问题:给定n,问有多少数对满足: x, y∈[1, n], x ... 阅读全文
posted @ 2018-04-24 20:13 _大美 阅读(182) 评论(0) 推荐(0)
摘要:Two bears are playing tic-tac-toe via mail. It's boring for them to play usual tic-tac-toe game, so they are a playing modified versio... 阅读全文
posted @ 2018-04-01 21:12 _大美 阅读(261) 评论(0) 推荐(0)
摘要:A. Treasuretime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputMalek has recently fo... 阅读全文
posted @ 2018-03-30 21:24 _大美 阅读(156) 评论(0) 推荐(0)
摘要:C. Zebrastime limit per test1 secondmemory limit per test512 megabytesinputstandard inputoutputstandard outputOleg writes down the his... 阅读全文
posted @ 2018-03-12 20:37 _大美 阅读(159) 评论(0) 推荐(0)
摘要:C. Party Lemonadetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA New Year party... 阅读全文
posted @ 2018-01-16 21:01 _大美 阅读(437) 评论(0) 推荐(0)
摘要:B. Cells Not Under Attacktime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya h... 阅读全文
posted @ 2018-01-11 08:28 _大美 阅读(187) 评论(0) 推荐(0)
摘要:GukiZ hates BoxesProfessor GukiZ is concerned about making his way to school, because massive piles of boxes are blocking his way.In t... 阅读全文
posted @ 2017-12-03 14:11 _大美 阅读(208) 评论(0) 推荐(0)
摘要:k-roundingFor a given positive integer n denote its k-rounding as the minimum positive integer x, such that x ends with k or more zero... 阅读全文
posted @ 2017-12-03 10:46 _大美 阅读(211) 评论(0) 推荐(0)
摘要:C. Marco and GCD Sequencetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn a dre... 阅读全文
posted @ 2017-12-03 10:09 _大美 阅读(151) 评论(0) 推荐(0)
摘要:Wrathtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputHands that shed innocent bl... 阅读全文
posted @ 2017-12-02 21:39 _大美 阅读(210) 评论(0) 推荐(0)
摘要:B. Ralph And His Magic Fieldtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputRalph... 阅读全文
posted @ 2017-12-02 21:34 _大美 阅读(202) 评论(0) 推荐(0)
摘要:ACM ICPCIn a small but very proud high school it was decided to win ACM ICPC. This goal requires to compose as many teams of three as ... 阅读全文
posted @ 2017-12-02 21:17 _大美 阅读(197) 评论(0) 推荐(0)
摘要:From Y to Y From beginning till end, this message has been waiting to be conveyed.For a given unordered multiset of n lowercase Englis... 阅读全文
posted @ 2017-12-02 21:10 _大美 阅读(196) 评论(0) 推荐(0)
摘要:Union of Doubly Linked ListsDoubly linked list is one of the fundamental data structures. A doubly linked list is a sequence of elemen... 阅读全文
posted @ 2017-12-02 20:59 _大美 阅读(182) 评论(0) 推荐(0)
摘要:Two TVsPolycarp is a great fan of television.He wrote down all the TV programs he is interested in for today. His list contains n sho... 阅读全文
posted @ 2017-12-02 20:55 _大美 阅读(281) 评论(0) 推荐(0)
摘要:C. K-Dominant Charactertime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are g... 阅读全文
posted @ 2017-11-15 11:14 _大美 阅读(192) 评论(0) 推荐(0)
摘要:Luba And The TicketLuba has a ticket consisting of 6 digits. In one move she can choose digit in any position and replace it with arbi... 阅读全文
posted @ 2017-11-14 21:36 _大美 阅读(293) 评论(0) 推荐(0)
摘要:Five Dimensional PointsYou are given set of n points in 5-dimensional space. The points are labeled from 1 to n. No two points coinci... 阅读全文
posted @ 2017-11-13 10:46 _大美 阅读(182) 评论(0) 推荐(0)
摘要:Arpa and an exam about geometryArpa is taking a geometry exam. Here is the last problem of the exam.You are given three points a, b, ... 阅读全文
posted @ 2017-11-13 10:35 _大美 阅读(159) 评论(0) 推荐(0)
摘要:Planning Helen works in Metropolis airport. She is responsible for creating a departure schedule. There are n flights that must depart... 阅读全文
posted @ 2017-11-13 10:18 _大美 阅读(191) 评论(0) 推荐(0)