####题目连接:
https://www.nowcoder.com/questionTerminal/4b9d1cde452d43a282fad4ff8b2559ea?answerType=1&f=discussion
####解题思路:
将数组先进行快速排序,从小到大
然后得到排序后的数组,
如果数组的长度大于等于3,
就取出后三个较大的数,如果两个相对较大的数的和大于最大的数就继续递归判读剩下的数,
此时判断数在数组中对应的下标值会减去已经判断的数
如果当前取出的三个数中两个较小的数的和小于或等于最大的数就返回false;
如果当前每判断的数组中的个数小于三了,直接返回true
public class l022402 {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String n=scanner.nextLine();
int num = Integer.parseInt(n);
while (num>0){
String l=scanner.nextLine();
int len=Integer.parseInt(l);
String s = scanner.nextLine();
String[] split = s.split(" ");
int[] nums=new int[split.length