HEX
Server: Apache
System: Linux vps.mmtprep.com 4.18.0-477.21.1.el8_8.x86_64 #1 SMP Thu Aug 10 13:51:50 EDT 2023 x86_64
User: mmtprep (1001)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/mmtprep/public_html/mathzen.mmtprep.com/assets/CM021-hJR-LimA.js
import{E as f,ag as L,aj as d,aX as k,r as c,ay as n,ai as m,l as g}from"./index-XCg2QAX4.js";const C="Le compte est bon original",Q="bd6ff",v="CM021";function q(){f.call(this),this.consigne="Trouve le résultat en utilisant les quatre opérations et les nombres du tirage (une seule fois).",this.nbQuestions=5,this.nbCols=2,this.nbColsCorr=2,this.sup=1,this.nouvelleVersion=function(){let e,s,t,o,i,$;const h=L({saisie:this.sup,max:3,defaut:4,melange:4,nbQuestions:this.nbQuestions}),u=d(k(5),this.nbQuestions);this.listeQuestions=[],this.listeCorrections=[];for(let r=0,b,a,p=0;r<this.nbQuestions&&p<50;){switch(h[r]){case 1:switch(e=c(2,9),s=c(2,8,e),t=c(1,9,[e,s]),o=c(1,9,[e,s,t]),u[r]){case 1:i=n(e*100+s*10+t+o),$=m([100,10,e,s,t,o]),a=`Le compte est bon : $${i}=100\\times${e}+10\\times${s}+${t}+${o}$`;break;case 2:i=n(e*100+s*10+t-o),$=m([100,10,e,s,t,o]),a=`Le compte est bon : $${i}=100\\times${e}+10\\times${s}+${t}-${o}$`;break;case 3:i=n(e*100-s*10+t+o),$=m([100,10,e,s,t,o]),a=`Le compte est bon : $${i}=100\\times${e}-10\\times${s}+${t}+${o}$`;break;case 4:i=n(e*100-s*10+t-o),$=m([100,10,e,s,t,o]),a=`Le compte est bon : $${i}=100\\times${e}-10\\times${s}+${t}-${o}$`;break;default:i=n(e*100+(s+t)*10+o),$=m([100,10,e,s,t,o]),a=`Le compte est bon : $${i}=100\\times${e}+10\\times(${s}+${t})+${o}$`}break;case 2:switch(e=c(3,9),s=c(3,8,e),t=c(3,9,[e,s]),u[r]){case 1:i=n(e*100+s*10+t),$=m([50,50,10,e,s,t]),a=`Le compte est bon : $${i}=(50+50)\\times${e}+10\\times${s}+${t}$`;break;case 2:i=n(e*100+s*10-t),$=m([50,50,10,e,s,t]),a=`Le compte est bon : $${i}=(50+50)\\times${e}+10\\times${s}-${t}$`;break;case 3:i=n(e*100-s*10+t),$=m([50,50,10,e,s,t]),a=`Le compte est bon : $${i}=(50+50)\\times${e}-10\\times${s}+${t}$`;break;case 4:i=n(e*100-s*10-t),$=m([50,2,10,e,s,t]),a=`Le compte est bon : $${i}=2\\times50\\times${e}-10\\times${s}-${t}$`;break;default:i=n(e*100+s*10-t),$=m([25,4,10,e,s,t]),a=`Le compte est bon : $${i}=4\\times25\\times${e}+10\\times${s}-${t}$`}break;case 3:switch(e=c(2,5),s=c(3,8,e),t=c(3,9,[e,s]),u[r]){case 1:i=n(e*(100+s*10)+t),$=m([50,2,10,e,s,t]),a=`Le compte est bon : $${i}=${e}\\times(50\\times2+10\\times${s})+${t}$`;break;case 2:i=n(e*(100+s*10)-t),$=m([50,2,10,e,s,t]),a=`Le compte est bon : $${i}=${e}\\times(50\\times2+10\\times${s})-${t}$`;break;case 3:i=n(e*(100+s*10)+t),$=m([25,4,10,e,s,t]),a=`Le compte est bon : $${i}=${e}\\times(25\\times4+10\\times${s})+${t}$`;break;case 4:i=n(e*(100+s*10)-t),$=m([25,4,10,e,s,t]),a=`Le compte est bon : $${i}=${e}\\times(25\\times4+10\\times${s})-${t}$`;break;default:i=n(e*(100+s*10)+t),$=m([25,75,10,e,s,t]),a=`Le compte est bon : $${i}=${e}\\times((25+75)+10\\times${s})+${t}$`}break}b="Voici le tirage : ";for(let l=0;l<5;l++)b+=`${$[l]} ; `;b+=`${$[5]}.<br>`,b+=`Et le nombre à trouver est : ${i}.`,this.questionJamaisPosee(r,u[r],e,s,t)&&(this.listeQuestions.push(b),this.listeCorrections.push(a),r++),p++}g(this)},this.besoinFormulaireTexte=["Niveaux de difficultés nombres de 1 à 3 séparés par des tirets",`1: Avec 10 et 100
2 : Avec 10 et de quoi faire facilement 100
3 : Avec des calculs imbriqués
4 : Mélange`]}export{q as default,v as ref,C as titre,Q as uuid};
//# sourceMappingURL=CM021-hJR-LimA.js.map