首页
Python
Java
前端
数据库
Linux
Chatgpt专题
开发者工具箱
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
阅读更多...