sync with local: solve 48

This commit is contained in:
2025-08-30 10:31:32 +02:00
parent d50e643224
commit 5691c64899
4 changed files with 13 additions and 0 deletions

1
48/.envrc Normal file
View File

@@ -0,0 +1 @@
use nix

6
48/main.py Normal file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env python3
import numpy as np
x = range(1, 1001)
print(sum(map(lambda x: x**x, x)) % int(1e10))

1
48/main.ua Normal file
View File

@@ -0,0 +1 @@
/+ⁿ.+1⇡1000

5
48/shell.nix Normal file
View File

@@ -0,0 +1,5 @@
{ pkgs ? import <nixpkgs> { } }:
pkgs.mkShell {
packages =
[ (pkgs.python3.withPackages (python-pkgs: [ python-pkgs.numpy ])) ];
}