下例的循环正确吗? QUOTE: Vector <int>list(n);//n is some positive integer <code which assigns values to all entries in list> int k,indexMax; indexMax =0; for(k 1;k<list.length();k++){ if (list[k]list[indexMax]) indexMax k; }下例的循环正确吗? QUOTE: Vector <int> list(n); // n is some positive integer <code which assigns values to all entries in list> int k, indexMax; indexMax = 0; for(k = 1; k < list.length(); k++){ if (list[k] > list[indexMax]) indexMax = k; }