本题要补充的知识是三目运算符:
在C++中,三目运算符(也称为条件运算符)是一种简洁的条件判断语法。其语法格式为:
题目描述:
给定一个整数数组 arr,请找出数组中的最大值及其在数组中的下标序列。
By signing up a CodeFun2000 universal account, you can submit code and join discussions in all online judging services provided by us.