摘要: 将来的你,一定会感谢现在奋斗的自己! 问题 I: 货币系统 时间限制: 1 Sec 内存限制: 128 MB 题目描述 在网友的国度中共有n种不同面额的货币,第i种货币的面额为a[i],你可以假设每一种货币都有无穷多张。为了方便,我们把货币种数为n、面额数组为a[1..n]的货币系统记作(n,a)。 阅读全文
posted @ 2021-08-14 16:39 梨花满地 阅读(125) 评论(0) 推荐(0)
摘要: #include<vector> #include<algorithm> #include<iostream> #include<cstring> using namespace std; const int N = 6e5 + 10; int cnt = 1; int e[N]; int main 阅读全文
posted @ 2021-08-14 15:23 梨花满地 阅读(83) 评论(0) 推荐(0)