Day3 added
This commit is contained in:
parent
c847f7ecf4
commit
b87d5f820d
|
@ -0,0 +1,13 @@
|
|||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Rider ignored files
|
||||
/.idea.Day3.iml
|
||||
/contentModel.xml
|
||||
/projectSettingsUpdater.xml
|
||||
/modules.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="DiscordProjectSettings">
|
||||
<option name="show" value="PROJECT_FILES" />
|
||||
<option name="description" value="" />
|
||||
</component>
|
||||
</project>
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="UserContentModel">
|
||||
<attachedFolders />
|
||||
<explicitIncludes />
|
||||
<explicitExcludes />
|
||||
</component>
|
||||
</project>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$/../../.." vcs="Git" />
|
||||
</component>
|
||||
</project>
|
|
@ -0,0 +1,10 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
|
@ -0,0 +1,16 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Day3", "Day3.csproj", "{097D408C-BA93-416B-8F2C-3B61A729F20D}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{097D408C-BA93-416B-8F2C-3B61A729F20D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{097D408C-BA93-416B-8F2C-3B61A729F20D}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{097D408C-BA93-416B-8F2C-3B61A729F20D}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{097D408C-BA93-416B-8F2C-3B61A729F20D}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -0,0 +1,38 @@
|
|||
namespace Day3;
|
||||
|
||||
public class Part1
|
||||
{
|
||||
private static int _sum = 0;
|
||||
public static void Part1Solver()
|
||||
{
|
||||
string[] backpacks = File.ReadAllText("input.txt").Split('\n');
|
||||
List<char> duplicates = new List<char>();
|
||||
|
||||
foreach (string backpack in backpacks)
|
||||
{
|
||||
int compartmentSize = backpack.Length / 2;
|
||||
List<char> itemsInCompartment1 = new List<char>();
|
||||
List<char> itemsInCompartment2 = new List<char>();
|
||||
|
||||
for (int i = 0; i < compartmentSize; i++)
|
||||
itemsInCompartment1.Add(backpack[i]);
|
||||
for (int i = compartmentSize; i < compartmentSize * 2; i++)
|
||||
itemsInCompartment2.Add(backpack[i]);
|
||||
|
||||
char duplicatedItem = itemsInCompartment1.Intersect(itemsInCompartment2).FirstOrDefault();
|
||||
duplicates.Add(duplicatedItem);
|
||||
}
|
||||
|
||||
duplicates.RemoveAt(300);
|
||||
|
||||
foreach (char duplicate in duplicates)
|
||||
{
|
||||
if (Char.IsUpper(duplicate))
|
||||
_sum += Convert.ToInt16(duplicate) - 38;
|
||||
else
|
||||
_sum += Convert.ToInt16(duplicate) - 96;
|
||||
}
|
||||
|
||||
Console.WriteLine($"Sum is {_sum}");
|
||||
}
|
||||
}
|
|
@ -0,0 +1,48 @@
|
|||
namespace Day3;
|
||||
|
||||
public class Part2
|
||||
{
|
||||
private static int _sum = 0;
|
||||
public static void Part2Solver()
|
||||
{
|
||||
string[] backpacks = File.ReadAllText("input.txt").Split('\n');
|
||||
List<List<string>> groups = new List<List<string>>();
|
||||
|
||||
for (int i = 0; i < backpacks.Length; i+=3)
|
||||
{
|
||||
List<string> group = new List<string>();
|
||||
|
||||
for (int x = 0; x < 3; x++)
|
||||
{
|
||||
try
|
||||
{
|
||||
group.Add(backpacks[i + x]);
|
||||
}
|
||||
catch
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (group.All(x => x != ""))
|
||||
groups.Add(group);
|
||||
}
|
||||
|
||||
List<char> duplicates = new List<char>();
|
||||
foreach (List<string> group in groups)
|
||||
{
|
||||
string[] groupArray = group.ToArray();
|
||||
duplicates.Add(groupArray[0].Intersect(groupArray[1].Intersect(groupArray[2])).FirstOrDefault());
|
||||
}
|
||||
|
||||
foreach (char duplicate in duplicates)
|
||||
{
|
||||
if (Char.IsUpper(duplicate))
|
||||
_sum += Convert.ToInt16(duplicate) - 38;
|
||||
else
|
||||
_sum += Convert.ToInt16(duplicate) - 96;
|
||||
}
|
||||
|
||||
Console.WriteLine($"Sum is {_sum}");
|
||||
}
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
namespace Day3;
|
||||
|
||||
internal class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
=> Part2.Part2Solver();
|
||||
}
|
||||
|
Binary file not shown.
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v6.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v6.0": {
|
||||
"Day3/1.0.0": {
|
||||
"runtime": {
|
||||
"Day3.dll": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"Day3/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net6.0",
|
||||
"framework": {
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "6.0.0"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,300 @@
|
|||
dtddvvhwttHJhwdhJPddhwJGppmGjgpQgTjQplQpTljwpg
|
||||
BfzSzRSVVMVNRMDDNBSNSnfBmbrglGQbmNpQggFjpgpbQlQb
|
||||
ZSBffLnVZdCCPJjhhL
|
||||
RGCZpWWWFlHQQbgvFssg
|
||||
jLnMzjnrnjjNjhrjdwbHscsVVgDVQPvPwh
|
||||
nfJnLMLzjJMtnjNnnBbZtBWBqqbTTTBRpT
|
||||
nddlhBtqTBqTVSlBtmCmVcRVmZggfWbcZc
|
||||
jDjvPrPSNPwrDNRWbbgWCjRRCcWm
|
||||
DzDwSpFrvrvFPQLzQnsqztBthTJnGJqlsJ
|
||||
gssGmzwgRgsNmTsqgDnDJnbDHHhhzFdDDh
|
||||
WQVFjMWrVQrVvVVjVctSSLSMZhnJZPBnbdnhbnHZZBDJBh
|
||||
VCtcccVQLrfvrSlGmfTfNgfmlFgm
|
||||
DsmfsBbNNZhDWsbmWmNbbPDHLFjcctjjGcnZGzncnctcGH
|
||||
SwVQJrjVwpgSVRpjpVRrlTMCFFCLCFFcHzzGMcHrtHHH
|
||||
ppVwTwSwpwvSlSlJTjVVbPhsvvBssWsNfsqWPvWs
|
||||
BJwqwJtqqDDDrGDnPFzPFfpphD
|
||||
TgZscCHQLSHgZcfMzpjFFjzsshfj
|
||||
LcNlTVQCCVLLZTLNvpRtpvBBvRJmNB
|
||||
bDBGQBBCTTNPGPPwPzcHfVHrDtLWLVrWVjjHWr
|
||||
gpssqqsqlMFfLZQWftjVpr
|
||||
lvqq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
||||
dBTtFLTtVmpdLhMprSRSWMRSMR
|
||||
QvJvQbjbCgCQRBhzzRsNWNBC
|
||||
bjgGqQGbQnjGQgnQgbGgjJnDLHLdfPVtdDmLZdBFVVZttdTf
|
Binary file not shown.
|
@ -0,0 +1,60 @@
|
|||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"/home/tiagorg/repos/advent-of-code-2022/days1-5/day3/Day3/Day3.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"/home/tiagorg/repos/advent-of-code-2022/days1-5/day3/Day3/Day3.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/tiagorg/repos/advent-of-code-2022/days1-5/day3/Day3/Day3.csproj",
|
||||
"projectName": "Day3",
|
||||
"projectPath": "/home/tiagorg/repos/advent-of-code-2022/days1-5/day3/Day3/Day3.csproj",
|
||||
"packagesPath": "/home/tiagorg/.nuget/packages/",
|
||||
"outputPath": "/home/tiagorg/repos/advent-of-code-2022/days1-5/day3/Day3/obj/",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/home/tiagorg/.nuget/NuGet/NuGet.Config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net6.0"
|
||||
],
|
||||
"sources": {
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net6.0": {
|
||||
"targetAlias": "net6.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net6.0": {
|
||||
"targetAlias": "net6.0",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "/usr/lib/dotnet/sdk/6.0.111/RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/tiagorg/.nuget/packages/</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/tiagorg/.nuget/packages/</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.3.1</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="/home/tiagorg/.nuget/packages/" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -0,0 +1,2 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
|
|
@ -0,0 +1,4 @@
|
|||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")]
|
|
@ -0,0 +1,22 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Day3")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("Day3")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("Day3")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
|
@ -0,0 +1 @@
|
|||
0dac98bec9329467876de2744db541b9695c4a5a
|
|
@ -0,0 +1,10 @@
|
|||
is_global = true
|
||||
build_property.TargetFramework = net6.0
|
||||
build_property.TargetPlatformMinVersion =
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = Day3
|
||||
build_property.ProjectDir = /home/tiagorg/repos/advent-of-code-2022/days1-5/day3/Day3/
|
|
@ -0,0 +1,8 @@
|
|||
// <auto-generated/>
|
||||
global using global::System;
|
||||
global using global::System.Collections.Generic;
|
||||
global using global::System.IO;
|
||||
global using global::System.Linq;
|
||||
global using global::System.Net.Http;
|
||||
global using global::System.Threading;
|
||||
global using global::System.Threading.Tasks;
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
c934cb40fbc3b9f9ef1ef028f4547779ca0dc8b7
|
|
@ -0,0 +1,15 @@
|
|||
/home/tiagorg/repos/advent-of-code-2022/days1-5/day3/Day3/bin/Debug/net6.0/Day3
|
||||
/home/tiagorg/repos/advent-of-code-2022/days1-5/day3/Day3/bin/Debug/net6.0/Day3.deps.json
|
||||
/home/tiagorg/repos/advent-of-code-2022/days1-5/day3/Day3/bin/Debug/net6.0/Day3.runtimeconfig.json
|
||||
/home/tiagorg/repos/advent-of-code-2022/days1-5/day3/Day3/bin/Debug/net6.0/Day3.dll
|
||||
/home/tiagorg/repos/advent-of-code-2022/days1-5/day3/Day3/bin/Debug/net6.0/ref/Day3.dll
|
||||
/home/tiagorg/repos/advent-of-code-2022/days1-5/day3/Day3/bin/Debug/net6.0/Day3.pdb
|
||||
/home/tiagorg/repos/advent-of-code-2022/days1-5/day3/Day3/obj/Debug/net6.0/Day3.csproj.AssemblyReference.cache
|
||||
/home/tiagorg/repos/advent-of-code-2022/days1-5/day3/Day3/obj/Debug/net6.0/Day3.GeneratedMSBuildEditorConfig.editorconfig
|
||||
/home/tiagorg/repos/advent-of-code-2022/days1-5/day3/Day3/obj/Debug/net6.0/Day3.AssemblyInfoInputs.cache
|
||||
/home/tiagorg/repos/advent-of-code-2022/days1-5/day3/Day3/obj/Debug/net6.0/Day3.AssemblyInfo.cs
|
||||
/home/tiagorg/repos/advent-of-code-2022/days1-5/day3/Day3/obj/Debug/net6.0/Day3.csproj.CoreCompileInputs.cache
|
||||
/home/tiagorg/repos/advent-of-code-2022/days1-5/day3/Day3/obj/Debug/net6.0/Day3.dll
|
||||
/home/tiagorg/repos/advent-of-code-2022/days1-5/day3/Day3/obj/Debug/net6.0/ref/Day3.dll
|
||||
/home/tiagorg/repos/advent-of-code-2022/days1-5/day3/Day3/obj/Debug/net6.0/Day3.pdb
|
||||
/home/tiagorg/repos/advent-of-code-2022/days1-5/day3/Day3/obj/Debug/net6.0/Day3.genruntimeconfig.cache
|
Binary file not shown.
|
@ -0,0 +1 @@
|
|||
b0fc49afd48396266b0092be0971ac33419bc314
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,65 @@
|
|||
{
|
||||
"version": 3,
|
||||
"targets": {
|
||||
"net6.0": {}
|
||||
},
|
||||
"libraries": {},
|
||||
"projectFileDependencyGroups": {
|
||||
"net6.0": []
|
||||
},
|
||||
"packageFolders": {
|
||||
"/home/tiagorg/.nuget/packages/": {}
|
||||
},
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "/home/tiagorg/repos/advent-of-code-2022/days1-5/day3/Day3/Day3.csproj",
|
||||
"projectName": "Day3",
|
||||
"projectPath": "/home/tiagorg/repos/advent-of-code-2022/days1-5/day3/Day3/Day3.csproj",
|
||||
"packagesPath": "/home/tiagorg/.nuget/packages/",
|
||||
"outputPath": "/home/tiagorg/repos/advent-of-code-2022/days1-5/day3/Day3/obj/",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"/home/tiagorg/.nuget/NuGet/NuGet.Config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net6.0"
|
||||
],
|
||||
"sources": {
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net6.0": {
|
||||
"targetAlias": "net6.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net6.0": {
|
||||
"targetAlias": "net6.0",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "/usr/lib/dotnet/sdk/6.0.111/RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "SGqlPf0wubHSWwcSZ0jprpsQ9rem/2WmpE08sIupTKB5jkCBb5vuu+Z4+5QFffM+Sg3girwRA18dQk+VytUMyg==",
|
||||
"success": true,
|
||||
"projectFilePath": "/home/tiagorg/repos/advent-of-code-2022/days1-5/day3/Day3/Day3.csproj",
|
||||
"expectedPackageFiles": [],
|
||||
"logs": []
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
"restore":{"projectUniqueName":"/home/tiagorg/repos/advent-of-code-2022/days1-5/day3/Day3/Day3.csproj","projectName":"Day3","projectPath":"/home/tiagorg/repos/advent-of-code-2022/days1-5/day3/Day3/Day3.csproj","outputPath":"/home/tiagorg/repos/advent-of-code-2022/days1-5/day3/Day3/obj/","projectStyle":"PackageReference","originalTargetFrameworks":["net6.0"],"sources":{"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net6.0":{"targetAlias":"net6.0","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]}}"frameworks":{"net6.0":{"targetAlias":"net6.0","imports":["net461","net462","net47","net471","net472","net48"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"/usr/lib/dotnet/sdk/6.0.111/RuntimeIdentifierGraph.json"}}
|
|
@ -0,0 +1 @@
|
|||
16701827419364493
|
Loading…
Reference in New Issue