题目链接
分类:模拟
【模拟/字符串】DRM Messages
DRM Encryption is a new kind of encryption. Given an encrypted string (which we’ll call a DRM message), the de…
【思维/快速幂】PUPU
There is an island called PiLiPaLa.In the island there is a wild animal living in it, and you can call them Pu…
【思维/模拟】Self Numbers
传送门:POJ1316 In 1949 the Indian mathematician D.R. Kaprekar discovered a class of numbers called self-numbers. …
【思维/模拟】Reorder the Books
传送门:这里 题意:一摞书,无序,可以把某本书抽到最顶上,问最少抽几次可以使书有序。
【区间查询】Crawling in process
传送门:这里 Given an array with n integers, and you are given two indices i and j (i ≠ j) in the array. You have to…
codeforces-1037D Berland Fair
题目链接:点我点我w~ XXI Berland Annual Fair is coming really soon! Traditionally fair consists of nn booths, arranged …