From 8e05489be926768e2113f3ba88d446f09f9a6f75 Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Fri, 6 Sep 2024 18:06:03 +0200 Subject: [PATCH] feat: print solution on start --- src/challenge/c1.rs | 1 + src/challenge/c2.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/challenge/c1.rs b/src/challenge/c1.rs index 1d6a861..4f5c8f9 100644 --- a/src/challenge/c1.rs +++ b/src/challenge/c1.rs @@ -18,6 +18,7 @@ impl C1 {} #[async_trait] impl Challenge for C1 { fn new(config: Config, vault: VaultRef) -> Self { + info!("Solution: {}", Self::solution()); Self { config, vault } } diff --git a/src/challenge/c2.rs b/src/challenge/c2.rs index 9283b4a..bd85148 100644 --- a/src/challenge/c2.rs +++ b/src/challenge/c2.rs @@ -36,6 +36,7 @@ impl C2 { #[async_trait] impl Challenge for C2 { fn new(config: Config, vault: VaultRef) -> Self { + info!("Solution: {}", Self::solution()); Self { config, vault } }