pasha专题

Coder-Strike 2014 - Finals (Div. 2) A. Pasha and Hamsters

超简单的贪心题,就不用多说了吧... 先处理好第一个人的,在处理第二个人的,如果二者喜欢同一个苹果,给第一个人 代码如下: #include <map>#include <cmath>#include <vector>#include <string>#include <cstdio>#include <cstring>#include <cstdlib>#include

F - Pasha Maximizes

如有错误,欢迎大神指出!!! 题目: Pasha has a positive integer a without leading zeroes. Today he decided that the number is too small and he should make it larger. Unfortunately, the only operation Pasha can d