Add AoC 2025 project structure and first solutions
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\AoC_2025\AoC_2025.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -0,0 +1,28 @@
|
||||
// See https://aka.ms/new-console-template for more information
|
||||
|
||||
using System.Globalization;
|
||||
using AoC_2025;
|
||||
|
||||
var day01 = new Day01();
|
||||
const string day01Path = @"C:\Users\p01004051\Documents\AoC-PuzzleInputs\2025\Prod\day01.txt";
|
||||
Console.WriteLine(day01.SolvePart1(day01Path));
|
||||
Console.WriteLine(day01.SolvePart2(day01Path));
|
||||
Console.WriteLine();
|
||||
|
||||
var day02 = new Day02();
|
||||
const string day02Path = @"C:\Users\p01004051\Documents\AoC-PuzzleInputs\2025\Prod\day02.txt";
|
||||
Console.WriteLine(day02.SolvePart1(day02Path));
|
||||
Console.WriteLine(day02.SolvePart2(day02Path));
|
||||
Console.WriteLine();
|
||||
|
||||
var day03 = new Day03();
|
||||
const string day03Path = @"C:\Users\p01004051\Documents\AoC-PuzzleInputs\2025\Prod\day03.txt";
|
||||
Console.WriteLine(day03.SolvePart1(day03Path));
|
||||
Console.WriteLine(day03.SolvePart2(day03Path));
|
||||
Console.WriteLine();
|
||||
|
||||
var day04 = new Day04();
|
||||
const string day04Path = @"C:\Users\p01004051\Documents\AoC-PuzzleInputs\2025\Prod\day04.txt";
|
||||
Console.WriteLine(day04.SolvePart1(day04Path));
|
||||
Console.WriteLine(day04.SolvePart2(day04Path));
|
||||
Console.WriteLine();
|
||||
Reference in New Issue
Block a user