随笔分类 -  思维题

摘要:Pathfinding is a task of finding a route between two points. It often appears in many problems. For example, in a GPS navigation software where a driv 阅读全文
posted @ 2019-11-09 11:05 YLzcty 阅读(359) 评论(0) 推荐(0)
摘要:Gardener Alexey teaches competitive programming to high school students. To congratulate Alexey on the Teacher’s Day, the students have gifted him a c 阅读全文
posted @ 2019-11-09 10:51 YLzcty 阅读(269) 评论(0) 推荐(0)
摘要:The only difference between easy and hard versions is constraints. There are nn kids, each of them is reading a unique book. At the end of any day, th 阅读全文
posted @ 2019-11-09 10:39 YLzcty 阅读(317) 评论(0) 推荐(0)
摘要:As you might already know, space has always been a problem in ICPC Jakarta. To cope with this, ICPC Jakarta is planning to build two new buildings. Th 阅读全文
posted @ 2019-11-09 10:22 YLzcty 阅读(264) 评论(0) 推荐(0)
摘要:Danang and Darto are classmates. They are given homework to create a permutation of N integers from 1 to N. Danang has completed the homework and crea 阅读全文
posted @ 2019-11-09 09:32 YLzcty 阅读(244) 评论(0) 推荐(0)
摘要:【CodeForces 1251B Binary Palindromes】DescriptionA palindrome is a string t which reads the same backward as forward (formally, t[i]=t[|t|+1−i] for all 阅读全文
posted @ 2019-10-29 15:19 YLzcty 阅读(320) 评论(0) 推荐(0)
摘要:A. Integer PointsDescriptionDLS and JLS are bored with a Math lesson. In order to entertain themselves, DLS took a sheet of paper and drew n distinct 阅读全文
posted @ 2019-10-29 14:06 YLzcty 阅读(269) 评论(0) 推荐(0)
摘要:【CodeForces 1249A Yet Another Dividing into Teams】DescriptionYou are a coach of a group consisting of n students. The i-th student has programming ski 阅读全文
posted @ 2019-10-29 13:52 YLzcty 阅读(489) 评论(0) 推荐(0)
摘要:【CodeForces 1251A Broken Keyboard 】DescriptionRecently Polycarp noticed that some of the buttons of his keyboard are malfunctioning. For simplicity, w 阅读全文
posted @ 2019-10-29 13:21 YLzcty 阅读(718) 评论(0) 推荐(0)