Subversion Repositories wimsdev

Rev

Rev 8901 | Rev 12325 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8901 Rev 8907
Line 15... Line 15...
15
 prec_got=$precgood
15
 prec_got=$precgood
16
 weightadjust=$[$weightadjust+$ans_w-1]
16
 weightadjust=$[$weightadjust+$ans_w-1]
17
 !read anstype/$ans_type $ans_2
17
 !read anstype/$ans_type $ans_2
18
 ans_this=$[$freegot-$ans_got]
18
 ans_this=$[$freegot-$ans_got]
19
 prec_this=$[$precgood-$prec_got]
19
 prec_this=$[$precgood-$prec_got]
20
!if $prec_this>0
20
 !if $prec_this>0
21
  ans_this=$[$precweight*$prec_this]
21
   ans_this=$[$precweight*$prec_this]
22
!endif
22
 !endif
23
 gotadjust=$[$gotadjust+$ans_this*($ans_w-1)]
23
 gotadjust=$[$gotadjust+$ans_this*($ans_w-1)]
24
!else
24
!else
25
 !read anstype/$ans_type $ans_2
25
 !read anstype/$ans_type $ans_2
26
!endif
26
!endif