mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-01-13 15:38:06 -05:00
8 lines
160 B
TypeScript
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);
|
|
}
|