摘要: 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 阅读全文
posted @ 2020-09-16 22:42 Minun 阅读(133) 评论(1) 推荐(0) 编辑
摘要: 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 阅读全文
posted @ 2020-09-16 11:12 Minun 阅读(121) 评论(0) 推荐(0) 编辑