Rev 8002 | Rev 11375 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8002 | Rev 10914 | ||
---|---|---|---|
Line 49... | Line 49... | ||
49 | Mettre les planètes suivantes du système solaire dans le bon ordre, la plus proche |
49 | Mettre les planètes suivantes du système solaire dans le bon ordre, la plus proche |
50 | du Soleil en premier. |
50 | du Soleil en premier. |
51 | } |
51 | } |
52 | 52 | ||
53 | :%%%%%%%%%%%%%% Rien à modifier avant l'énoncé %%%%%%%%%%%%%%%% |
53 | :%%%%%%%%%%%%%% Rien à modifier avant l'énoncé %%%%%%%%%%%%%%%% |
54 | - | ||
- | 54 | \text{data=randomrow(\data)} |
|
55 | \integer{datacnt=items(\data)} |
55 | \integer{datacnt=items(\data)} |
56 | \integer{tot=min(20,min(\tot,\datacnt))} |
56 | \integer{tot=min(20,min(\tot,\datacnt))} |
57 | \if{\tot<\datacnt}{ |
57 | \if{\tot<\datacnt}{ |
58 | \text{sh=shuffle(\datacnt)} |
58 | \text{sh=shuffle(\datacnt)} |
59 | \text{sh=wims(sort numeric items \sh[1..\tot])} |
59 | \text{sh=wims(sort numeric items \sh[1..\tot])} |