求个Graham 的凸包 或者zoj3234 我要pascal ..恩

[复制链接]
查看11 | 回复1 | 2012-3-7 20:20:05 | 显示全部楼层 |阅读模式
program Graham; consteps = 0.000001;typeTPoint = record
x, y: extended;end;TVector = TPoint;varn: longint;a: array[1..10000] of TPoint;stack: array[1..10000] of TVector;i, j: longint;t, l: longint;total: extended; function dis(const a, b: TPoint): extended;begin
dis := sqrt(sqr(a....
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行