有n根棍子,棍子i的长度为ai想要从中选出三根棍子组成周长尽可能长的三角形。请输出最大的周长,若无法组成三角形则输出0。
3<=n<=100
1<=ai<=106
5
2 3 4 5 10
12
Anything about this OnlineJudge, Please Contact Administrator. Click add QQ
OJ system based on HUSTOJ Project , UI based on Twitter Bootstrap
Copyright 2016 ACM算法攻关部cnt: 49677
关于网站改版