Subversion Repositories wimsdev

Rev

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

Rev 12325 Rev 12348
Line 14... Line 14...
14
  ans_got=$freegot
14
  ans_got=$freegot
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