Labfans是一个针对大学生、工程师和科研工作者的技术社区。 | 论坛首页 | 联系我们(Contact Us) |
![]() |
![]() |
#3 |
初级会员
注册日期: 2009-04-18
年龄: 36
帖子: 2
声望力: 0 ![]() |
![]()
for j=rightbutton(circle,1):rightbutton(circle,2)
flag=0; for i=lefttop(circle,1):lefttop(circle,2) if flag==0 & P(i,j)<10 f1=0; for temp=1:k-1 if u(temp)==i & v(temp)==j f1=1; end end if f1==0 u(k)=i; v(k)=j; k=k+1; flag=1; end 里面的temp是干什么用的 而且f1的作用是什么呢? |
![]() |
![]() |