摘要:
B. Buggy Painting Software I 我们发现显然可以让颜色数更多的在更上面的板子 然后,我们可以发现我们的板子数量理论应该为 \(\lfloor \frac a b \rfloor\) 最优 然后每一层尽量让颜色点数更多的点放在更上面的层 剩下的放不了单独一层的话,就直接使用画 阅读全文
摘要:
A. Table with Numbers code #include<bits/stdc++.h> using namespace std; const int NN = 108; int a[NN]; void solve(){ int n,h,l; cin >> n >> h >> l; if 阅读全文
摘要:
离散数学历年真题 formular adj. 恒等的 equivalence adj. 相等的 Which of the following formular pairs is NOT equivalence surjective n. 满射 Determine which of these fun 阅读全文
摘要:
ABC436 A. o-padding pad v. 覆盖 o-padding obtain v. 得到,获得 Print the string obtained by repeatedly adding the lowercase English letter o to the beginning 阅读全文
摘要:
A. Feet codes #include<bits/stdc++.h> using namespace std; int main(){ ios::sync_with_stdio(false),cin.tie(0); long long a,b; cin >> a >> b; cout << a 阅读全文
摘要:
A. o-padding code #include<bits/stdc++.h> using namespace std; int main(){ int n; string s,pre = ""; cin >> n >> s; for(int i = s.size()+1; i <= n; ++ 阅读全文