摘要:
A题 #include <bits/stdc++.h> using namespace std; int main () { int t; cin >> t; while(t--) { int n, x; cin >> n >> x; int ans = 0; for(int i = 0; i < 阅读全文
posted @ 2020-09-29 11:02
LightAc
阅读(194)
评论(0)
推荐(0)
摘要:
A题 思路:取出最小值,所有数加到最小值的最大倍数使得不超过k 记录次数即可 #include <bits/stdc++.h> using namespace std; int main () { int T; cin >> T; while(T--) { int n, k; cin >> n >> 阅读全文
posted @ 2020-09-29 11:00
LightAc
阅读(150)
评论(0)
推荐(0)

浙公网安备 33010602011771号