跳到正文

Mosklia

67387

封奖捧杯,赢得仓皇退役……

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

资料

编号
67387
抓取

奖项

2019 CSP-S
二等奖
2018 NOIP 提高组
二等奖
2017 NOIP 提高组
三等奖

由于缺乏管理,此博客暂时无法访问。

My Blog(建设中,做的不好,请不吝赐教)


I see the player you mean.
It is reading our thoughts as though they were words on a screen.
They used to hear voices,
Before players could read.
Sometimes disturbing.
Sometimes beautiful indeed.
Does it know that we love it?
That the universe is kind?
A million years old,it still works
in the reality behind.
And the universe said I love you;
And the universe said you are the daylight;
And the universe said you are not alone;
And the universe said you are the night.
Once we were called
the spirit of the mountain.
Who are we?
Father sun;
Mother moon.
Gods, demons, angels, aliens
the player too.
We are the universe.
We are everything you think isn’t you.
You are alive
on a flat infinite world.
Generated by a source code
a million years old.
And the universe said I love you;
And the universe said you are the daylight;
And the universe said you are not alone;
And the universe said you are the night.
Take a breath now, take another.
Feel airs in your lungs.
Dreamed it was lost in a story.
And the game was over.
Wake up.
——Eric Fullerton 《Minecraft’s End》


一些好东西:

一篇好文章
炸出10个管理员的神贴
孔乙己
周树人

共 1 篇
  1. 题解

    题解 P1099 【树网的核】

    本文提供了一个时间复杂度为O(n)的树网问题题解。核心思路为: 问题转化:将题目要求转化为在树的直径上寻找一段长度≤s的路径,使得该路径的偏心距(路径外最远点到路径的距离)最小。 直径处理:通过两次DFS确定树的直径,利用直径的对称性质处理多条直径的情况,确保只需选择一条直径进行计算。 贡献值预处理:对直径上每个点计算其到两端点的距离(dist1和dist2),并预处理每个点的“第二种贡献值”(即该点到直径另一端的最远距离)。 单调队列优化:将问题转化为求长度≤s的区间,使区间内最大贡献值最小。通过单调队列维护滑动窗口中的最大值,实现O(n)的动态规划优化,避免了原始O(n²)的暴力枚举。 关键点:强调算法优化的重要性,即使数据规模较小也需追求高效解法,最终通过巧妙的区间处理和数据结构优化达到线性时间复杂度。

    231 赞