• 2024-07-16D. Gadgets for dollars and pounds
    原题链接题解1.如果限定在\(x\)天内买完,那么限定在\(x+1\)天内也能买完,二分浮现。2.如果要买\(type\1\),那么一定是在这\(x\)天内\(a\)价格最低的那天一次买齐,且优先买价格低的\(type\1\)3.优先买单价x汇率最低的那个code#include<bits/stdc++.h>#definell