احسب بأيسر طريقة

دفواراتي
\n \n `);t.document.close();t.print()}}const mathSystem=new MathExerciseSystem;function showStep(e,t,o){return mathSystem.showStep(e,t,o)}function resetExercise(e){return mathSystem.resetExercise(e)}document.addEventListener("DOMContentLoaded",function(){console.log("🎯 Page chargée - Système d'exercices prêt!");setTimeout(()=>{const e=mathSystem.getAllStats();console.log("📊 Statistiques initiales:",e);console.log("\n🔥 RACCOURCIS CLAVIER DISPONIBLES:\n• Alt + 1: Afficher le prochain indice\n• Alt + 2: Afficher la prochaine méthode \n• Alt + 3: Afficher la prochaine solution\n• Alt + R: Réinitialiser tous les exercices\n ")},1e3)});window.addEventListener("beforeunload",function(){mathSystem.config.autoSave&&mathSystem.saveProgress()});window.MathExerciseAPI={system:mathSystem,showAllHints:()=>mathSystem.showNextHint(),showAllMethods:()=>mathSystem.showNextMethod(),showAllSolutions:()=>mathSystem.showNextSolution(),resetAll:()=>mathSystem.resetAllExercises(),getStats:()=>mathSystem.displayStats(),exportStats:()=>mathSystem.exportStats(),clearProgress:()=>mathSystem.clearSavedProgress(),enableSound:e=>{mathSystem.config.enableSound=e},enableAnimation:e=>{mathSystem.config.enableAnimation=e}};console.log("🔧 API disponible via window.MathExerciseAPI");