链接:
https://www.nowcoder.com/acm/contest/102/H
来源:牛客网
来源:牛客网
时间限制:C/C++ 1秒,其他语言2秒
空间限制:C/C++ 32768K,其他语言65536K
64bit IO Format: %lld
空间限制:C/C++ 32768K,其他语言65536K
64bit IO Format: %lld
题目描述
As the end of the 2017/18 campaign approaches, football clubs across Europe will be assessing theirs quads and deciding which areas they need to improve when the summer transfer window opens. Clubs could sell and buy players as they want.
Aguin is a fan of Real Madrid, and he pays close attention to the summer transfer window.
Among the data he collected, Real Madrid only has P dollars for the transfer window with the financial