跳到正文

Ranni_Carian

752952

Life Endures,Birth Continue.

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

资料

编号
752952
抓取

奖项

2025 CSP-J
二等奖
2025 CSP-S
三等奖

…The battle is over, I see.

I do solemnly swear.

To every living being, and every living soul.

Now cometh the age of the stars.

A thousand year voyage under the wisdom of the Moon.

Here beginneth the chill night that encompasses all, reaching the great beyond.

Into fear, doubt, and loneliness…

As the path stretcheth into darkness. Well then. Shall we?

…My dear consort, eternal.

共 2 篇
  1. 个人记录

    最短路问题——Floyd算法详解(附模板、解析注释)

    Floyd算法(弗洛伊德算法),又名插点法,基于贪心和动态规划思想。其核心通过三层循环枚举中转点、起点和终点,判断经中转点是否比直达更优,时间复杂度为O(n³)。该算法优势在于代码简洁、支持负权且能一次性求得所有点对最短路;劣势为效率低于同类算法且不支持负权回路。