Files
ValueScript/inputs/passing/projEuler/p16.ts
Andrew Morris d2c437a9b6 BigInt
2023-03-20 17:59:07 +11:00

8 lines
160 B
TypeScript

// test_output! 1366
import plus from "./helpers/plus.ts";
export default function main() {
return Array.from(`${2n ** 1000n}`).map(Number).reduce(plus);
}