随笔分类 -  比赛笔记

摘要:前言 我要嘲讽所有没有AK铜组的人! A. Roundabount Rounding 用时:思路 20s,调试 60min 注意到若首位小于 4,则两种方法都只能舍到 0;若首位大于 4,则两种方法都只能入到 10P。那么合法的数首位一定为 4 然后我们去掉 阅读全文
posted @ 2024-12-15 15:38 BluemoonQwQ 阅读(3) 评论(0) 推荐(0) 编辑
摘要:[ABC183A] ReLU 答案即 max(0,n) // BLuemoon_ #include <bits/stdc++.h> using namespace std; int n; int main() { cin >> n; cout << max(0, n) << '\n'; r 阅读全文
posted @ 2024-10-11 17:12 BluemoonQwQ 阅读(11) 评论(0) 推荐(0) 编辑
摘要:A - Plural Form 考虑直接判断字符串结尾 // BLuemoon #include <bits/stdc++.h> using namespace std; using LL = long long; using DB = double; const int kMaxN = 2e5 + 阅读全文
posted @ 2024-09-15 22:09 BluemoonQwQ 阅读(11) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示