跳到正文

WorldHim

165609

I am because you are | AFO | https://github.com/WorldHim

在洛谷打开
资料、奖项与版本

资料

编号
165609
抓取

隐藏

Page Views Count

个人信息


时间轴

2018/12/42018/12/4 注册洛谷账号

2022/5/232022/5/23 绿名暨\color{green}绿名暨

2022/6/92022/6/9 AC100AC100 题暨

2022/6/132022/6/13 AC100AC100 入门\color{red}入门暨 (水

2022/7/12022/7/1 AC150AC150 题暨

2022/7/?2022/7/? AC200AC200 题暨

2022/8/?2022/8/? AC250AC250 题暨

2022/8/?2022/8/? AC150AC150 入门\color{red}入门暨 (水

2022/8/222022/8/22 橙名暨\color{orange}橙名暨

2022/9/52022/9/5 掉绿暨\color{green}掉绿暨

2022/9/72022/9/7 AC300AC300 题暨

2022/10/102022/10/10 橙名暨\color{orange}橙名暨

2022/10/292022/10/29 CSP−J/SCSP-J/S 普及二等普及二等

2023/2/?2023/2/? 掉绿暨\color{green}掉绿暨


留言板


—『时空无垠地延长』—— Time and space extend endlessly —\color{#2CA9E1}—『时空无垠地延长』 —\\\scriptsize\mathsf{— \ Time \ and \ space \ extend \ endlessly \ —} —『维度被悄悄埋葬』—— Dimensions are quietly buried —\color{#2CA9E1}—『维度被悄悄埋葬』— \\\scriptsize\mathsf{— \ Dimensions \ are \ quietly \ buried \ —} —『歌者在星空的边缘吟唱』—— The singer chanted at the edge of the starry sky —\color{#2CA9E1}—『歌者在星空的边缘吟唱』— \\\scriptsize\mathsf{— \ The \ singer \ chanted \ at \ the \ edge \ of \ the \ starry \ sky \ —} —『永恒的毁灭乐章』—— Eternal music of destruction —\color{#2CA9E1}—『永恒的毁灭乐章』— \\\scriptsize\mathsf{— \ Eternal \ music \ of \ destruction \ —} —『在文明挣扎万年的地方』—— In a place where civilization has struggled for thousands of years —\color{#2CA9E1}—『在文明挣扎万年的地方』— \\\scriptsize\mathsf{— \ In \ a \ place \ where \ civilization \ has \ struggled \ for \ thousands \ of \ years \ —} —『三颗恒星布撒不恒定的光』—— Three stars cast non−constant light —\color{#2CA9E1}—『三颗恒星布撒不恒定的光』— \\\scriptsize\mathsf{— \ Three \ stars \ cast \ non-constant \ light \ —} —『乐土般的天堂』—— Paradise —\color{#2CA9E1}—『乐土般的天堂』— \\\scriptsize\mathsf{— \ Paradise \ —} —『卑微的虫子企图染指神之权杖』—— The lowly bugs attempt to infect the scepter of God —\color{#2CA9E1}—『卑微的虫子企图染指神之权杖』— \\\scriptsize\mathsf{— \ The \ lowly \ bugs \ attempt \ to \ infect \ the \ scepter \ of \ God \ —} —『天真的孩子手握烛棒』—— Naive children hold candlesticks in their hands —\color{#2CA9E1}—『天真的孩子手握烛棒』— \\\scriptsize\mathsf{— \ Naive \ children \ hold \ candlesticks \ in \ their\ hands \ —} —『黑暗森林中的穿行』—— Walk through the dark forest —\color{#2CA9E1}—『黑暗森林中的穿行』— \\\scriptsize\mathsf{— \ Walk \ through \ the \ dark \ forest \ —} —『满眼皆是骸骨与伤』—— Eyes full of skeletons and wounds —\color{#2CA9E1}—『满眼皆是骸骨与伤』— \\\scriptsize\mathsf{— \ Eyes \ full \ of \ skeletons \ and \ wounds \ —} —『熄灭的火光蔓延着恐惧与凄凉』—— The extinguished flame spread fear and desolation —\color{#2CA9E1}—『熄灭的火光蔓延着恐惧与凄凉』— \\\scriptsize\mathsf{— \ The \ extinguished \ flame \ spread \ fear \ and \ desolation \ —} —『童话的世界被绘进画里』—— The world of fairy tales is painted in the painting —\color{#E4671E}—『童话的世界被绘进画里』— \\\scriptsize\mathsf{— \ The \ world \ of \ fairy \ tales \ is \ painted \ in \ the \ painting \ —} —『被迫远走的游子在时间之外流浪』—— The wanderer , forced to go away , wanders outside of time —\color{#E4671E}—『被迫远走的游子在时间之外流浪』— \\\scriptsize\mathsf{— \ The \ wanderer\ , \ forced \ to \ go \ away\ , \ wanders \ outside \ of \ time \ —} —『在无尽的星河浩渺里』—— In the vastness of the endless galaxy —\color{#E4671E}—『在无尽的星河浩渺里』— \\\scriptsize\mathsf{— \ In \ the \ vastness \ of \ the \ endless \ galaxy \ —} —『孤独迷航』—— Lonely Trek —\color{#E4671E}—『孤独迷航』— \\\scriptsize\mathsf{— \ Lonely \ Trek \ —} —『人类的墓碑』—— Man′s tombstone —\color{#E4671E}—『人类的墓碑』— \\\scriptsize\mathsf{— \ Man's \ tombstone \ —} —『被印拓在宇宙最低的地方』—— It is in the lowest place in the universe —\color{#E4671E}—『被印拓在宇宙最低的地方』— \\\scriptsize\mathsf{— \ It \ is \ in \ the \ lowest \ place \ in\ the \ universe \ —} —『永远尘封的文明』—— A civilization that will always be dusty —\color{#E4671E}—『永远尘封的文明』— \\\scriptsize\mathsf{— \ A \ civilization \ that \ will \ always \ be \ dusty \ —} —『陪葬着二维的太阳』—— Buried with the two−dimensional sun —\color{#E4671E}—『陪葬着二维的太阳』— \\\scriptsize\mathsf{— \ Buried \ with \ the \ two-dimensional \ sun \ —} —『正在死去的宇宙』—— The universe that is dying —\color{#E4671E}—『正在死去的宇宙』— \\\scriptsize\mathsf{— \ The \ universe \ that \ is \ dying \ —} —『归零重生的希望』—— The hope of zero rebirth —\color{#E4671E}—『归零重生的希望』— \\\scriptsize\mathsf{— \ The \ hope \ of \ zero \ rebirth \ —} —『散逸的死线曲率的逃亡』—— The escape of the loose dead−line curvature —\color{#E4671E}—『散逸的死线曲率的逃亡』— \\\scriptsize\mathsf{— \ The \ escape \ of \ the \ loose \ dead-line \ curvature \ —} —『宇宙之外的宇宙人性却悄然绽放』—— The humanity of the universe outside the universe has quietly blossomed —\color{#E4671E}—『宇宙之外的宇宙人性却悄然绽放』— \\\scriptsize\mathsf{— \ The \ humanity \ of \ the \ universe \ outside \ the \ universe \ has \ quietly \ blossomed \ —} —『当时间消融了一切印记』—— When time dissolves all imprints —\color{#E4671E}—『当时间消融了一切印记』— \\\scriptsize\mathsf{— \ When \ time \ dissolves \ all \ imprints \ —} —『爱情却横跨了亿万年的离殇』—— Love spans hundreds of millions of years of death —\color{#E4671E}—『爱情却横跨了亿万年的离殇』— \\\scriptsize\mathsf{— \ Love \ spans \ hundreds \ of \ millions \ of \ years \ of \ death \ —}
共 6 篇
  1. 题解

    P8932 [JRKSJ R7] Clock Paradox 题解

    该题要求通过插入字符串S的子串,将T变形为每个字符重复两次的形式(如aabc→aabbcc),且每次插入的子串需由两段相同字符构成。关键在于计算满足条件的子串数量,最终答案为该数量的上取整除以2。 原始解法通过遍历整个字符串计算段数(相邻字符不同的位置),但时间复杂度为O(|S|·q),无法通过全部测试点。优化思路是维护段数cnt,仅在每次修改时调整受影响的局部区域。具体方法为: 计算段数:初始时统计字符串中相邻字符不同的段数。 局部更新:当修改位置p-1的字符时,仅需检查其与前一个字符(p-2)和后一个字符(p)的差异,调整cnt值。 边界处理:原代码未处理p=1或p=n的边界情况,导致越界访问错误。例如,当p=1时,p-2为-1,需避免无效索引。 最终优化代码通过局部更新减少计算量,但需补充边界条件判断以确保正确性。

  2. 个人记录

    T230132 [愚人节比赛 2022] 等待 题解

    不会有人真的傻等 1 小时吧 题目 看到这玩意就知道应该是一张动图(废话)。 查看页面源代码,就能直接找到下载链接。 下载之后发现是个 svg 文件,这玩意其实就是 html,于是就直接文本编辑器打开,拉到最后就能看到答案

  3. 个人记录

    博文推荐

    洛谷日报目录汇总了多篇与编程竞赛及C++技术相关的优质文章,涵盖内容包括:CSP初赛知识点梳理、C++语法糖演进、文件IO操作、打表技巧、区间排名解法、IO优化方法、随机数生成器使用指南、Testlib出题工具介绍、Win32 API图形界面开发、C++未定义行为解析、宏应用、UVa OJ使用技巧、OI环境配置、NOI Linux 2.0使用指南、Codeforces比赛辅助工具、Vim编辑器使用、ssh与gdb高级调试、Powershell应用、服务器功能探索、博客搭建教程以及Overleaf笔记写作工具等。部分文章因反馈问题被撤稿,整体内容聚焦于编程竞赛实战技巧、语言特性深度解析及开发工具使用指导,为参赛者和开发者提供全面的学习资源。

  4. 个人记录

    旧个人主页

    该文本是一份资源导航清单,主要分为“功能区”、“OI 必备”和“游戏专区”三个板块,分别提供了用户操作入口(如签到、新手村)、编程工具推荐(如小熊猫 Cpp)及多款在线小游戏的链接。

  5. 个人记录

    进化 | Evolve

    游戏简介 An incremental game about evolving a civilization | 关于进化文明的增量游戏 开始游戏 原版 - Github 访问可能较慢 个人搭建 - Gitee 推荐,访问快 个人搭建 - Netlify 访问较快 个人搭建 - …

  6. 个人记录

    洛谷用户数据卡片 | Luogu-Card

    该项目是由cyrxdzj/luogu-stats-card复制过来并加以二次开发的的,感谢TA的贡献。 注意:为了不滥用洛谷服务器流量,本项目利用 vercel 的边缘缓存功能缓存了 12 小时数据,即同一个用户卡片 24 小时内最多只会向洛谷服务器请求 2 次数据,并且只有在用…

    3 赞