Subversion Repositories wimsdev

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
23 reyssat 1
 
2
<a name=ans>
3
!if $badask=yes
4
 !if $comment!=$empty
5
  Your request for $badname is illegal:
6
  $comment
7
 !else
8
  Your request for $badname is illegal, because this information does not make
9
  sense.
10
 !endif
11
 <p>Your work on this exercise is terminated by this illegal question.
12
 !exit
13
!endif
14
 
15
!if $speculate=yes
16
 You don't have enough information to solve the problem! Your answer is
17
 therefore not valid, and is considered as false.
18
 !exit
19
!else
20
 !read $deffile ans
21
!endif
22
 
23
!if $solution!=$empty and ($presentsol>1 or ($presentsol=1 and $thisscore<0.7))
24
 <p><b>Solution.</b> $solution
25
!endif
26
 
27
<p>
28
!if $gotcnt>$minask
29
 You could have solved the problem by asking only $minask
30
 !if $minask>1
31
  questions.
32
 !else
33
  question.
34
 !endif
35
!endif
36
 
37
!if $uselesscnt>0
38
 The following informations are useless: <b>$useless</b>.
39
!endif
40