for(int i =0; i{if(a[i] == temp) //temp为要查找 的元素return i; //i为该元素在数组中的位置}请采纳答案,支持我一下。
假如矩阵式m*n。 i = 66. j = 65时。 在B中的位置为(66-1)*m+65.
195,这个是三对角矩阵吧