File: /home/mmtprep/public_html/mathzen.mmtprep.com/assets/CM010-3LLkHlOv.js
import{E as l,aW as x,aj as d,r as a,w as i,s as r,a as h,l as p}from"./index-hc8lvKav.js";const C="Tiers",L=!0,f=!0,m="mathLive",Q="AMCNum",T="6a3de",y="CM010";function k(){l.call(this),this.consigne="Calculer.",this.nbQuestions=10,this.nbCols=2,this.nbColsCorr=2,this.sup=1,this.tailleDiaporama=3,this.nouvelleVersion=function(){this.listeQuestions=[],this.listeCorrections=[];const $=x(4),u=d($,this.nbQuestions);for(let e=0,s,n,t,o,c=0;e<this.nbQuestions&&c<50;){switch(u[e]){case 1:t=a(2,9),s=`$\\text{Le tiers de }${t*3}$`,n=`$\\text{Le tiers de }${t*3} \\text{ est } ${t}$`,r(this,e,t),s+=h(this,e);break;case 2:t=a(2,9),s=`$\\text{Le tiers de }${i(t*3*100)}$`,n=`$\\text{Le tiers de }${i(t*3*100)} \\text{ est } ${i(t*100)}$`,r(this,e,t*100),s+=h(this,e);break;case 3:t=a(2,9),s=`$\\text{Le tiers de }${i(t*3*10)}$`,n=`$\\text{Le tiers de }${i(t*3*10)} \\text{ est } ${i(t*10)}$`,r(this,e,t*10),s+=h(this,e);break;case 4:t=a(2,9),o=a(2,9),s=`$\\text{Le tiers de }${i(t*3+o*3/100)}$`,n=`$\\text{Le tiers de }${i(t*3+o*3/100)} \\text{ est } ${i(t+o/100)}$`,r(this,e,t+o/100),s+=h(this,e);break}this.listeQuestions.indexOf(s)===-1&&(this.listeQuestions.push(s),this.listeCorrections.push(n),e++),c++}p(this)}}export{L as amcReady,Q as amcType,k as default,f as interactifReady,m as interactifType,y as ref,C as titre,T as uuid};
//# sourceMappingURL=CM010-3LLkHlOv.js.map