%% This file is generated by preprocessor!
%% Do not edit it by hand.
%% Edit the source file cpp/futur.cpp.

\language{es}
\author{XIAO Gang}
\email{xiao@unice.fr}
\format{html}






  \title{Futuro I-5}
  \integer{give=5}
\text{h=h}
\integer{more=random(6..57)}
\integer{size=120}
\integer{nowh=random(12..23)}
\integer{nowm=random(1..59)}
\integer{now=\nowh*60+\nowm}
\text{nowclock=slib(draw/clock \nowh:\nowm,\size,1,exactmin nosecond)}
\integer{fut=\now+\more}
\text{list=-\more,60,\more*2,-\more*2,
-\more-10,-\more-60,-\more-30,-\more-15,-\more-5,
-\more+5,-\more+10,-\more+15,-\more+20,-\more+30,
\more+2, \more-2, \more+3, \more-3,
\more+60,\more-60,\more+59,\more+61,\more-59,\more-61,
\more+10,\more-10,\more+5,\more-5,\more+30,\more-30,
\more+15,\more-15}
\integer{n=items(\list)}

 \text{list=shuffle(wims(values x+\now for x in \list))}
 \integer{fut=\now+\more}




\text{list=wims(listuniq \fut,item(1..\give,\list))}
\text{sh=shuffle(\give)}
\text{gp=wims(positionof item 1 in \sh)}
\text{bad=}
\text{mins=}
\for{i=1 to \give}{
 \integer{f=item(item(\i,\sh),\list)}
 \integer{fh=floor(\f/60)}
 \integer{fm=\f%60}
 \text{clock=slib(draw/clock \fh:\fm,\size,1,exactmin nosecond)}
 \text{dr=draw(\size,\size
\clock)}
 \text{bad=wims(append item <img align=middle src=\dr> to \bad)}
 \if{\i=\gp}{\text{good=<img align=middle src=\dr>}}
}
\statement{Arrastre el reloj correcto a la casilla vacía: <p>
<table border=0>
<tr><td nowrap>
Son las</td><td>

 \draw{\size,\size}{\nowclock}.
 </td><td nowrap>
 Dentro de \more minutos, serán las</td><td>
 \embed{reply 1,\size \size}






</td><td>.</td></tr>
</table></center>
}
\answer{El reloj correcto}{\good;\bad}{type=dragfill}
