随笔分类 - ——————————
摘要:2266: number时间限制: 1 Sec 内存限制: 128 MB提交: 76 解决: 31[提交][状态][讨论版][命题人:admin]题目描述某人刚学习了数位DP,他在某天忽然思考如下问题:给定n,问有多少数对满足: x, y∈[1, n], x ...
阅读全文
摘要: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...
阅读全文
摘要:A. Treasuretime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputMalek has recently fo...
阅读全文
摘要:C. Zebrastime limit per test1 secondmemory limit per test512 megabytesinputstandard inputoutputstandard outputOleg writes down the his...
阅读全文
摘要:C. Party Lemonadetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA New Year party...
阅读全文
摘要:B. Cells Not Under Attacktime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasya h...
阅读全文
摘要:GukiZ hates BoxesProfessor GukiZ is concerned about making his way to school, because massive piles of boxes are blocking his way.In t...
阅读全文
摘要: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...
阅读全文
摘要:C. Marco and GCD Sequencetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn a dre...
阅读全文
摘要:Wrathtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputHands that shed innocent bl...
阅读全文
摘要:B. Ralph And His Magic Fieldtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputRalph...
阅读全文
摘要: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 ...
阅读全文
摘要: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...
阅读全文
摘要:Union of Doubly Linked ListsDoubly linked list is one of the fundamental data structures. A doubly linked list is a sequence of elemen...
阅读全文
摘要: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...
阅读全文
摘要:C. K-Dominant Charactertime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are g...
阅读全文
摘要: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...
阅读全文
摘要: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...
阅读全文
摘要: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, ...
阅读全文
摘要:Planning Helen works in Metropolis airport. She is responsible for creating a departure schedule. There are n flights that must depart...
阅读全文

浙公网安备 33010602011771号