C++三目 使用方法 大概的框架是这样的: 条件 ? 如果为真返回这部分 : 如果为假返回这个 举例 此处求数组内最大值 #include <bits/stdc++.h> using namespace std; int main() { int a[5