327c专题

Codeforces 327C 快速幂+等比数列求和+乘法逆元

题目链接:http://codeforces.com/problemset/problem/327/C There is a long plate s containing n digits. Iahub wants to delete some digits (possibly none, but he is not allowed to delete all the digits) to f