Loading

摘要: B - Foreign Exchange 难度: ⭐ 题目大意 现在有1~n总共n种货币, 对于第i种货币小莫有Ai个, 并且可以花费Si张i货币兑换为Ti个i + 1货币; 请问最后小莫最多能用多少n货币; 解题思路 模拟就行, 能换就换; 神秘代码 #include<bits/stdc++.h> 阅读全文
posted @ 2024-02-22 00:45 mostimali 阅读(26) 评论(0) 推荐(0) 编辑