嗯枚举就可以了喵~ #include <algorithm> #include <array> #include <iostream> using namespace std; int a[6]; bool Check(int x, int y, int z) { array<int, 3> t; t[0] = a[x]; t[1] = a[y]; t[2] = a[z]; sort(t.begin(), t.end()); return t[0] + t[1] > t[2]; } void Solve() { for (int i = 0...