mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-01-15 00:18:06 -05:00
10 lines
229 B
TypeScript
10 lines
229 B
TypeScript
//! test_output(648)
|
|
|
|
import Range from "../helpers/Range.ts";
|
|
|
|
export default function main() {
|
|
const factorial100 = Range.numbers(2, 101).map(BigInt).bigProduct();
|
|
|
|
return Range.from(`${factorial100}`).map(Number).sum();
|
|
}
|