摘要: A .牛牛去购物 这道题目纯纯数学题,一遍一遍更新最小值,我们每一次都用a * i + b * j,计算出最小的答案 ACcode #include <bits/stdc++.h> #define int long long const int N = 1000010; int a[N]; usin 阅读全文
posted @ 2023-01-07 11:01 AK梦 阅读(58) 评论(0) 推荐(0)