Tasks: a) Description of triangle problem: Function triangle takes three integers a,b,c which are length of triangle sides; calculates whether the tri Read More
1 左边的程序fault是for中 i>0;右边fault是for中数组从头至尾循环 和 return -1 放在了for里面。 2 左边test:x[3,5,2]; y=2 expected=2. 右边test:x=[0,1,1] expected=0; 3 左边test:x[3,5,2]; y= Read More