Neighbors

『做题记录』[AGC032B] Balanced Neighbors

[AGC032B] Balanced Neighbors Description 给定整数 \(N\) ,构造一个从 \(1\) 到 \(N\) 编号的 \(N\) 个节点的无向图,使得: 该图不含有重边和自环,并且是连通的。 每个节点的所有邻接节点的编号之和相同。 \(N \leq 100\) S ......
Neighbors Balanced 032B AGC 032

[LeetCode] 1334. Find the City With the Smallest Number of Neighbors at a Threshold Distance

There are n cities numbered from 0 to n-1. Given the array edges where edges[i] = [fromi, toi, weighti] represents a bidirectional and weighted edge b ......
the Neighbors Threshold LeetCode Distance

机器学习算法(三):基于horse-colic数据的KNN近邻(k-nearest neighbors)预测分类

机器学习算法(三):基于horse-colic数据的KNN近邻(k-nearest neighbors)预测分类 项目链接参考:https://www.heywhale.com/home/column/64141d6b1c8c8b518ba97dcc 1 KNN的介绍和应用 1.1 KNN的介绍 k ......
共3篇  :1/1页 首页上一页1下一页尾页