摘要:
A #include "bits/stdc++.h" using namespace std; #define all(v) (v).begin(), (v).end() #define io ios::sync_with_stdio(0) #define rep(i, a, b) for (int 阅读全文
摘要:
A 计算出总的stick数目tot, ⌈(tot-1)/(k-1)⌉即可 #include "bits/stdc++.h" using namespace std; #define all(v) (v).begin(), (v).end() #define io ios::sync_with_std 阅读全文