语言 : c#
int[] num = { 9, 8, 56, 12, 7, 44, 99, 45, 5, 4, 2, 10, 89, 63, 6, 3, 78, 24, 37, 18 };
int index = 0;
for (int i = 0; i < num.Length; i++)
{
if (num[i] == 4)
{
index = i + 1;
break;
}
}
//index就是要取得次序
问题不详细
56