Started out with PE 090, but it's pretty hard

This commit is contained in:
2023-04-16 21:46:58 +02:00
parent a28244231a
commit ea301ea3cb
3 changed files with 25 additions and 0 deletions

7
projecteuler/090/Cargo.lock generated Normal file
View File

@@ -0,0 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "main"
version = "0.1.0"

View File

@@ -0,0 +1,8 @@
[package]
name = "main"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

View File

@@ -0,0 +1,10 @@
use std::time::Instant;
fn main() {
println!("Hello, this is Patrick!");
let now = Instant::now();
// We can't just loop through all possibilities because that would something in the order of
// (10*9*8*7*6*5)^2, which is a really big scary number
println!("Time passed: {:?}", Instant::now() - now);
}