110,536
社区成员
发帖
与我相关
我的任务
分享
static int Acc(int[] arrInt)
{
int ret = 0;
for (int i = 0; i < arrInt.Length; ++i)
{
if(i%2==0)
ret += arrInt[i];
}
}