posted @ 2016-03-21 15:42
咸_鱼
Views(83)
Comments(0)
Diggs(0)
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
posted @ 2016-03-18 19:34
咸_鱼
Views(159)
Comments(0)
Diggs(0)
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
posted @ 2016-03-17 23:37
咸_鱼
Views(152)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号