上一页 1 2 3 4 5 6 ··· 9 下一页
摘要: 1004 坪厕鸡 一道模拟题喵,直接模拟就好了喵 code #include <bits/stdc++.h> #define ll long long using namespace std; struct dat { int a, b, c; } ; struct submit { ll st; 阅读全文
posted @ 2026-07-26 17:38 ricky_lin 阅读(23) 评论(0) 推荐(0)
摘要: 1001 小丑牌 简单的结论题,就是把第一类和第二类牌里面的最大最小值找出来就行,乘积最大啊 所有情况枚举一遍,求最大值即可 code #include<bits/stdc++.h> using namespace std; const int NN = 1e5 + 8; long long x,y 阅读全文
posted @ 2026-07-26 15:36 ricky_lin 阅读(14) 评论(0) 推荐(0)
摘要: A. chmin code #include<bits/stdc++.h> using namespace std; int a[1000000]; int main(){ int N,X; cin >> N >> X; for(int i = 1; i <= N; ++i){ cin >> a[i 阅读全文
posted @ 2026-03-09 00:07 ricky_lin 阅读(29) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2026-02-22 19:11 ricky_lin 阅读(0) 评论(0) 推荐(0)
摘要: B. Buggy Painting Software I 我们发现显然可以让颜色数更多的在更上面的板子 然后,我们可以发现我们的板子数量理论应该为 \(\lfloor \frac a b \rfloor\) 最优 然后每一层尽量让颜色点数更多的点放在更上面的层 剩下的放不了单独一层的话,就直接使用画 阅读全文
posted @ 2026-02-06 14:26 ricky_lin 阅读(68) 评论(0) 推荐(0)
摘要: 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 阅读全文
posted @ 2026-01-30 14:34 ricky_lin 阅读(60) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2026-01-25 23:56 ricky_lin 阅读(2) 评论(0) 推荐(0)
摘要: 离散数学历年真题 formular adj. 恒等的 equivalence adj. 相等的 Which of the following formular pairs is NOT equivalence surjective n. 满射 Determine which of these fun 阅读全文
posted @ 2026-01-24 22:40 ricky_lin 阅读(21) 评论(0) 推荐(1)
摘要: 1 阅读全文
posted @ 2026-01-24 22:39 ricky_lin 阅读(25) 评论(0) 推荐(0)
摘要: 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 阅读全文
posted @ 2026-01-21 14:03 ricky_lin 阅读(28) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 9 下一页