sync with local: solve 48
This commit is contained in:
6
48/main.py
Normal file
6
48/main.py
Normal 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
1
48/main.ua
Normal file
@@ -0,0 +1 @@
|
||||
/+ⁿ.+1⇡1000
|
||||
5
48/shell.nix
Normal file
5
48/shell.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{ pkgs ? import <nixpkgs> { } }:
|
||||
pkgs.mkShell {
|
||||
packages =
|
||||
[ (pkgs.python3.withPackages (python-pkgs: [ python-pkgs.numpy ])) ];
|
||||
}
|
||||
Reference in New Issue
Block a user