PlanttPastes

euler 40

Jun 25th, 2026
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. let cifri = Array(200000).fill(0).map((_, i) => i).join("");
  2. console.log(cifri[1] * cifri[10] * cifri[100] * cifri[1e3] * cifri[1e4] * cifri[1e5] * cifri[1e6]);
Advertisement
Add Comment
Please, Sign In to add comment