雪荆 发表于 2012-3-1 15:33 
希望大家帮帮忙!
不是不帮忙。而是我没有理解你的意图。
1. if Result_1y =1 then incident =0, new =fol_3y;
2. if result_2y =1 then incident =1, new =fol_1y;
3. if result_3y =1 then incident =1, new =fol_2y;
4. if result_iy =0 for all i, then incident =0, new =fol_3y;
这是我所理解的题意。但是从你的回答好像不符合我的思路。
京剧