加载中...
avatar
文章
67
标签
17
分类
14
首页
文章
  • 归档
  • 标签
  • 分类
休闲
  • 八音盒
  • 影院
  • 游戏
八宝箱
  • 画廊
  • 动画
  • 网址导航
社交
  • 朋友圈
  • 留言板
  • 友人帐
网站
  • 网站统计
  • 文章统计
  • 旧时光
个人
  • 唠叨
  • 恋爱小屋
  • 关于
Konglb🥝Codeforces Round 1006 (Div. 3)
搜索
首页
文章
  • 归档
  • 标签
  • 分类
休闲
  • 八音盒
  • 影院
  • 游戏
八宝箱
  • 画廊
  • 动画
  • 网址导航
社交
  • 朋友圈
  • 留言板
  • 友人帐
网站
  • 网站统计
  • 文章统计
  • 旧时光
个人
  • 唠叨
  • 恋爱小屋
  • 关于

Codeforces Round 1006 (Div. 3)

发表于2025-02-27|更新于2025-02-28|技能积累
|浏览量:

C. Creating Keys for StORages Has Become My Main Skill

文章作者: Konglb
文章链接: https://www.konglb.top/2025/02/27/Codeforces-Round-1006-Div-3/
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 Konglb🥝!
技能积累
赞助
  • wechat
    wechat
  • alipay
    alipay
cover of previous post
上一篇
2025牛客寒假算法基础集训营1
寒假营第一场题解官方题解 Easy:A、B、D、G Mid:E、H、J、M Hard:C、F、I AK:K、L A 茕茕孑立之影https://ac.nowcoder.com/acm/contest/95323/A 这一题如果出现1那么一定没有结果,否则就选择一个较大质数如1e9+7 1234567891011121314151617181920212223242526272829303132333435363738#include<bits/stdc++.h>using namespace std;using u32 = unsigned;#define i128 __int128using ll = long long;//#define int llusing u64 = unsigned long long;const ll inf = 1e9;const ll INF = 1e18;void solve(){ int n; cin>>n; int ok=0; while(n--) { ...
cover of next post
下一篇
线段树
相关推荐
cover
2025-04-03
2024蓝桥杯 c++ A组
P10385 [蓝桥杯 2024 省 A] 艺术与篮球填空题,考的闰年知识。 https://www.luogu.com.cn/problem/P10385 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596#include<bits/stdc++.h>using namespace std;#define int long long using ll =long long;int s[11]={13,1,2,3,5,4,4,2,2,2};signed main(){ ios::sync_with_stdio(0); cin.tie(0); int i=2000,j=1,k=1; int cnt=0; ...
cover
2025-03-11
2025牛客寒假算法基础集训营6
random fact:难度预期: A K L B C I J F G H D E, 好像预期的相对顺序没有太大问题,但BCIJ这档比出题人想象的要难很多就是了( random fact:DEL出题人:Wildfire032;其它题出题人:fried-chicken。 random fact:本场的 gpt-o3-mini-high 战绩是 9/12,没做出来的是 D(-1)E(-4)H(-4) 三题。在AC的题目中,gpt在F题有两发罚时、J题有一发罚时(但gpt写的是可以做 x,y≤109x,y\leq 10^9x,y≤109 的做法)、L题有一发罚时,此外所有题都是一发过。我们AI真是太牛了。 A....
cover
2025-03-21
AtCoder Beginner Contest 394
https://www.bilibili.com/video/BV1E2ASeiE8b/?spm_id_from=333.337.search-card.all.click&vd_source=6759ab7a746b50893c564c06fbc6a752 C - Debughttps://atcoder.jp/contests/abc394/tasks/abc394_c 纯模拟 12345678910111213141516171819202122232425262728293031323334#include<bits/stdc++.h>using namespace std;using u32 = unsigned;#define i128 __int128;using ll = long long;//#define int llusing u64 = unsigned long long;const ll inf = 1e9;const ll INF = 1e18;signed main(){ ...
cover
2025-03-21
AtCoder Beginner Contest 395
https://atcoder.jp/contests/abc395 https://www.bilibili.com/video/BV1vE98YDEXA/?vd_source=6759ab7a746b50893c564c06fbc6a752 C - Shortest Duplicate Subarrayhttps://atcoder.jp/contests/abc395/tasks/abc395_c 这一题很简单 1234567891011121314151617181920212223242526272829303132333435#include<bits/stdc++.h>using namespace std;using u32 = unsigned;#define i128 __int128;using ll = long long;//#define int llusing u64 = unsigned long long;const ll inf = 1e9;const ll INF = 1e18;signed main(){ ...
cover
2025-04-22
acm一些需要记的语法规则
priority_queue,map,set自定义排序规则STL 算法(如 sort)和容器(如 priority_queue)要求比较器是类型而非函数,std::greater<int> 满足这一要求。 std::greater<int> 是一个类模板(定义在 <functional> 头文件中)。 priority_queuepriority_queue 的第三个模板参数需要是一个类型(Type),而不是一个函数或函数对象实例。 ==错误代码== 1priority_queue<node, vector<node>, compare()> pq; // 错误:compare() 是函数调用 方法 1:使用函数对象类型(decltype + 函数指针)将 compare 函数的地址作为模板参数,并通过 decltype 推导类型: 1priority_queue<node, vector<node>, decltype(&compare)>...
cover
2025-06-29
github使用指南
仓库检索如何高效地在网上找开源项目做!(CodeSheep) github进阶搜索 github进阶搜索官方文档

评论
avatar
Konglb
Future is now 🍭🍭🍭
文章
67
标签
17
分类
14
Follow Me
公告
There is nothing noble in being superior to your fellow man; true nobility is being superior to your former self. ——Ernest Miller Hemingway
目录
  1. 1. C. Creating Keys for StORages Has Become My Main Skill
最新文章
github使用指南
github使用指南2025-06-29
装电脑必备软件插件好用工具合集
装电脑必备软件插件好用工具合集2025-04-27
acm一些需要记的语法规则
acm一些需要记的语法规则2025-04-22
2024蓝桥杯 c++ A组
2024蓝桥杯 c++ A组2025-04-03
使用data studio连接openGauss数据库
使用data studio连接openGauss数据库2025-04-02
©2024 - 2025 By Konglb
I wish you to become your own sun, no need to rely on who's light.

       

搜索
数据加载中