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/6N10-5-FeIPQkYp.js
import{E as k,r as t,m as M,ax as b,h as L,o as v,c as E,l as F}from"./index-ajJ0B2-K.js";import{l as P}from"./Labyrinthe-bqsfcpkr.js";const D="Navigate a decimal number maze",q=!0,z="AMCOpen",O="9/12/2020",T="05/10/2022",_="80645",H="6N10-5";function I(){k.call(this),this.consigne="",this.niveau="6th",this.nbQuestions=1,this.nbQuestionsModifiable=!1,this.nbCols=1,this.nbColsCorr=1,this.pasDeVersionLatex=!1,this.pas_de_version_HMTL=!1,this.sup2=1,this.sup3=1,this.sup4=1,this.sup=!0,this.nouvelleVersion=function(){this.listeCorrections=[],this.listeQuestions=[],this.autoCorrection=[];const N=.7;let p,f;const h=this.sup3===1?t(2,8):Math.max(2,this.sup3),r=this.sup4===1?t(3,11-h):Math.max(3,this.sup4),e=P({nbLignes:h,nbColonnes:r});e.niveau=t(1,6);const u=e.choisitChemin(e.niveau);e.murs2d=e.construitMurs(u),e.chemin2d=e.traceChemin(u);const w=this.sup?["ten thousandths","thousandths","hundredths","tenths","units","tens","hundreds","units of a thousand","tens of thousands"]:["thousandths","hundredths","tenths","units","tens","hundreds","units of a thousand"];let i,n,c,o;this.niveau==="CM"?i=5:this.sup?i=8:i=6;const C=this.sup?[8,7,6,5,4,3,2,1,0]:[6,5,4,3,2,1,0];this.sup2=parseInt(this.sup2),this.sup2===3?(n=t(0,i),c=t(0,i,[n,C[n]])):this.sup2===2?(n=this.sup?t(0,3):t(0,2),c=this.sup?t(0,3,[n]):t(0,2,[n])):(n=this.sup?t(4,i):t(3,i),c=this.sup?t(4,i,[n]):t(3,i,[n]));const d=t(1,9);p=`Find the output by passing only the boxes containing a number whose ${w[n]} digit is a $${M(d,"black")}$.<br>`,f=`Here is the path in color and the output was the number $${M(h-u[u.length-1][1])}$.<br>`;const a=[],$=[C[n],C[c],c],x=[];for(let l=1;l<r*h;l++)for(let m=1;m<r*h;m++){for(let s=0;s<=i;s++)a[s]=t(0,9);a[n]=d,o=0;for(let s=0;s<=i;s++)o=this.sup?b(o+Math.pow(10,s-4)*a[s]):b(o+Math.pow(10,s-3)*a[s]);x.push(o)}const y=[];for(let l=1;l<r*h;l++)for(let m=1;m<r*h;m++){for(let s=0;s<=i;s++)a[s]=t(0,9);a[L($)]=d,a[n]=t(0,9,[d]),o=0;for(let s=0;s<=i;s++)o=this.sup?b(o+Math.pow(10,s-4)*a[s]):b(o+Math.pow(10,s-3)*a[s]);y.push(o)}e.nombres2d=e.placeNombres(u,x,y,N);const g={xmin:-4,ymin:0,xmax:5+3*r,ymax:2+3*h,pixelsParCm:20,scale:.7};p+=v(g,e.murs2d,e.nombres2d),f+=v(g,e.murs2d,e.nombres2d,e.chemin2d),E.isAmc&&(this.autoCorrection=[{enonce:p,propositions:[{statut:3,sanscadre:!0}]}]),this.listeQuestions.push(p),this.listeCorrections.push(f),F(this)},this.besoinFormulaireCaseACocher=["With tens of thousands and ten thousandths"],this.besoinFormulaire2Numerique=["What figure are you looking for?",3,` 1: Unity or above
 2: Below unity
 3: Doesn't matter`],this.besoinFormulaire3Numerique=["Number of lines in the maze (between 2 and 8 or 1 if you leave it to chance)",8],this.besoinFormulaire4Numerique=["Number of columns in the maze (between 2 and 8 or 1 if you leave it to chance)",8]}export{q as amcReady,z as amcType,T as dateDeModifImportante,O as dateDePublication,I as default,H as ref,D as titre,_ as uuid};
//# sourceMappingURL=6N10-5-FeIPQkYp.js.map