function a(Int num) { for (Int i=0; i < num; ) { ret += i * 3 i += 2 } return ret }
求更优化的写法
这是你写的一个函数吗
你这是啥代码?