搜索资源列表
K-means算法源码
- kmeans This directory contains code implementing the K-means algorithm. Source code may be found in KMEANS.CPP. Sample data isfound in KM2.DAT. The KMEANS program accepts input consisting of vectors and calculates the given number of cluster centers
2D
- C code for \"Computational Geometry in C (Second Edition)\": Code function Chapter pointer directory ----------------------------------------------------- Triangulate Chapter 1, Code 1.14 /tri Convex Hull(2D) Chapter 3, Code 3.8 /graham Convex Hull(
kartrider
- 跑跑卡丁车 ★实验任务 有 n 辆卡丁车车牌号分别为 1,2,…,n 在高速公路上竞速。Coffee 是位跑跑卡丁车爱 好者,她在比赛的过程中拍摄了两张照片,在照片上可以清晰的看到每辆车的的车牌号。 给出两张照片上从第一名到最后一名的车牌号,请你编程计算这两张照片的拍摄时间段内 至少发生了几次超车。 ★数据输入 输入第一行包括一个正整数 n(1<=n<=50000),表示卡丁车数量。接下来两行,每行 包括 n 个整数,表示照片上从第一名到最后一名的车牌
