master
gnomerd 5 years ago
parent 40c3551c03
commit 39249efab3
  1. 2
      2019/Day2/Part2.cs
  2. 2
      2019/Day2/Program.cs
  3. BIN
      2019/Day2/bin/Debug/netcoreapp2.2/Day2.dll
  4. BIN
      2019/Day2/bin/Debug/netcoreapp2.2/Day2.pdb
  5. 5
      2019/Day2/bin/Debug/netcoreapp2.2/Day2.runtimeconfig.dev.json
  6. 2
      2019/Day2/obj/Day2.csproj.nuget.cache
  7. 10
      2019/Day2/obj/Day2.csproj.nuget.dgspec.json
  8. 10
      2019/Day2/obj/Day2.csproj.nuget.g.props
  9. 4
      2019/Day2/obj/Day2.csproj.nuget.g.targets
  10. 9
      2019/Day2/obj/Debug/netcoreapp2.2/Day2.AssemblyInfo.cs
  11. BIN
      2019/Day2/obj/Debug/netcoreapp2.2/Day2.assets.cache
  12. 2
      2019/Day2/obj/Debug/netcoreapp2.2/Day2.csproj.CoreCompileInputs.cache
  13. 22
      2019/Day2/obj/Debug/netcoreapp2.2/Day2.csproj.FileListAbsolute.txt
  14. BIN
      2019/Day2/obj/Debug/netcoreapp2.2/Day2.csprojAssemblyReference.cache
  15. BIN
      2019/Day2/obj/Debug/netcoreapp2.2/Day2.dll
  16. BIN
      2019/Day2/obj/Debug/netcoreapp2.2/Day2.pdb
  17. 18
      2019/Day2/obj/project.assets.json

@ -10,7 +10,7 @@ namespace Part2 {
bool success = false;
int min = 0; // min and max for the input values
int max = 99; //
int max = 16; //
int maxcombos = Convert.ToInt16( Math.Pow( (double)(max + 1), 2.0 ) );
Part1.compile compile = new Part1.compile();

@ -37,7 +37,7 @@ namespace Day2 {
Part2.calcInputs calcInputs = new Part2.calcInputs();
int[] intcodes2 = intcodes; // make a new instance of it
int res;
res = calcInputs.bruteforce( intcodes2, 19690720, false );
res = calcInputs.bruteforce( intcodes2, 8, false );
Console.WriteLine( "Part 2 Result: {0}", res );
}
}

@ -1,8 +1,9 @@
{
"runtimeOptions": {
"additionalProbingPaths": [
"/home/elal/.dotnet/store/|arch|/|tfm|",
"/home/elal/.nuget/packages"
"C:\\Users\\elias.almqvist\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\elias.almqvist\\.nuget\\packages",
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
]
}
}

@ -1,5 +1,5 @@
{
"version": 1,
"dgSpecHash": "WGPy0F+3AX2FrBKpPAYLKoPyKm8mT9nvSxwf1DU0kcg+H41fJVNHn+vTzdr7A/b3qqioCrpqhVX0rXrCRgYD0A==",
"dgSpecHash": "H0DbvNjpCZs2cvc6af0z77m5cGcniJIbBq7nnRi0id7IoRVx0v2JL7kowsDAOzqGG1/wWgHq3BUepI0yrFWnmA==",
"success": true
}

@ -1,17 +1,17 @@
{
"format": 1,
"restore": {
"C:\\EliasPrograms\\adventofcode\\2019\\Day2\\Day2.csproj": {}
"C:\\EliasPrograms\\AdventOfCode\\2019\\Day2\\Day2.csproj": {}
},
"projects": {
"C:\\EliasPrograms\\adventofcode\\2019\\Day2\\Day2.csproj": {
"C:\\EliasPrograms\\AdventOfCode\\2019\\Day2\\Day2.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\EliasPrograms\\adventofcode\\2019\\Day2\\Day2.csproj",
"projectUniqueName": "C:\\EliasPrograms\\AdventOfCode\\2019\\Day2\\Day2.csproj",
"projectName": "Day2",
"projectPath": "C:\\EliasPrograms\\adventofcode\\2019\\Day2\\Day2.csproj",
"projectPath": "C:\\EliasPrograms\\AdventOfCode\\2019\\Day2\\Day2.csproj",
"packagesPath": "C:\\Users\\elias.almqvist\\.nuget\\packages\\",
"outputPath": "C:\\EliasPrograms\\adventofcode\\2019\\Day2\\obj\\",
"outputPath": "C:\\EliasPrograms\\AdventOfCode\\2019\\Day2\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"

@ -3,16 +3,16 @@
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">/home/elal/Projects/adventofcode/2019/Day2/obj/project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/elal/.nuget/packages/</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/elal/.nuget/packages/</NuGetPackageFolders>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\elias.almqvist\.nuget\packages\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">4.9.4</NuGetToolVersion>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.2.0</NuGetToolVersion>
</PropertyGroup>
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)microsoft.netcore.app/2.2.0/build/netcoreapp2.2/Microsoft.NETCore.App.props" Condition="Exists('$(NuGetPackageRoot)microsoft.netcore.app/2.2.0/build/netcoreapp2.2/Microsoft.NETCore.App.props')" />
<Import Project="C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.netcore.app\2.2.0\build\netcoreapp2.2\Microsoft.NETCore.App.props" Condition="Exists('C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.netcore.app\2.2.0\build\netcoreapp2.2\Microsoft.NETCore.App.props')" />
</ImportGroup>
</Project>

@ -4,7 +4,7 @@
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)netstandard.library/2.0.3/build/netstandard2.0/NETStandard.Library.targets" Condition="Exists('$(NuGetPackageRoot)netstandard.library/2.0.3/build/netstandard2.0/NETStandard.Library.targets')" />
<Import Project="$(NuGetPackageRoot)microsoft.netcore.app/2.2.0/build/netcoreapp2.2/Microsoft.NETCore.App.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.netcore.app/2.2.0/build/netcoreapp2.2/Microsoft.NETCore.App.targets')" />
<Import Project="C:\Program Files\dotnet\sdk\NuGetFallbackFolder\netstandard.library\2.0.3\build\netstandard2.0\NETStandard.Library.targets" Condition="Exists('C:\Program Files\dotnet\sdk\NuGetFallbackFolder\netstandard.library\2.0.3\build\netstandard2.0\NETStandard.Library.targets')" />
<Import Project="C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.netcore.app\2.2.0\build\netcoreapp2.2\Microsoft.NETCore.App.targets" Condition="Exists('C:\Program Files\dotnet\sdk\NuGetFallbackFolder\microsoft.netcore.app\2.2.0\build\netcoreapp2.2\Microsoft.NETCore.App.targets')" />
</ImportGroup>
</Project>

@ -1,10 +1,6 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// Generated by the MSBuild WriteCodeFragment class.
// </auto-generated>
//------------------------------------------------------------------------------
@ -18,6 +14,3 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyProductAttribute("Day2")]
[assembly: System.Reflection.AssemblyTitleAttribute("Day2")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class.

@ -1 +1 @@
f79d1ed33da9ca6da7e131988eb0964470e8edf6
ef1d77eae137f939d9813c710a8e37f5204edb6a

@ -1,14 +1,3 @@
C:/EliasPrograms/adventofcode/2019/Day2/obj/Debug/netcoreapp2.2/Day2.csprojAssemblyReference.cache
C:/EliasPrograms/adventofcode/2019/Day2/obj/Debug/netcoreapp2.2/Day2.csproj.CoreCompileInputs.cache
C:/EliasPrograms/adventofcode/2019/Day2/obj/Debug/netcoreapp2.2/Day2.AssemblyInfoInputs.cache
C:/EliasPrograms/adventofcode/2019/Day2/obj/Debug/netcoreapp2.2/Day2.AssemblyInfo.cs
C:/EliasPrograms/adventofcode/2019/Day2/bin/Debug/netcoreapp2.2/Day2.deps.json
C:/EliasPrograms/adventofcode/2019/Day2/bin/Debug/netcoreapp2.2/Day2.runtimeconfig.json
C:/EliasPrograms/adventofcode/2019/Day2/bin/Debug/netcoreapp2.2/Day2.runtimeconfig.dev.json
C:/EliasPrograms/adventofcode/2019/Day2/bin/Debug/netcoreapp2.2/Day2.dll
C:/EliasPrograms/adventofcode/2019/Day2/bin/Debug/netcoreapp2.2/Day2.pdb
C:/EliasPrograms/adventofcode/2019/Day2/obj/Debug/netcoreapp2.2/Day2.dll
C:/EliasPrograms/adventofcode/2019/Day2/obj/Debug/netcoreapp2.2/Day2.pdb
/home/elal/Projects/adventofcode/2019/Day2/bin/Debug/netcoreapp2.2/Day2.deps.json
/home/elal/Projects/adventofcode/2019/Day2/bin/Debug/netcoreapp2.2/Day2.runtimeconfig.json
/home/elal/Projects/adventofcode/2019/Day2/bin/Debug/netcoreapp2.2/Day2.runtimeconfig.dev.json
@ -20,3 +9,14 @@ C:/EliasPrograms/adventofcode/2019/Day2/obj/Debug/netcoreapp2.2/Day2.pdb
/home/elal/Projects/adventofcode/2019/Day2/obj/Debug/netcoreapp2.2/Day2.AssemblyInfo.cs
/home/elal/Projects/adventofcode/2019/Day2/obj/Debug/netcoreapp2.2/Day2.dll
/home/elal/Projects/adventofcode/2019/Day2/obj/Debug/netcoreapp2.2/Day2.pdb
C:\EliasPrograms\AdventOfCode\2019\Day2\bin\Debug\netcoreapp2.2\Day2.deps.json
C:\EliasPrograms\AdventOfCode\2019\Day2\bin\Debug\netcoreapp2.2\Day2.runtimeconfig.json
C:\EliasPrograms\AdventOfCode\2019\Day2\bin\Debug\netcoreapp2.2\Day2.runtimeconfig.dev.json
C:\EliasPrograms\AdventOfCode\2019\Day2\bin\Debug\netcoreapp2.2\Day2.dll
C:\EliasPrograms\AdventOfCode\2019\Day2\bin\Debug\netcoreapp2.2\Day2.pdb
C:\EliasPrograms\AdventOfCode\2019\Day2\obj\Debug\netcoreapp2.2\Day2.csprojAssemblyReference.cache
C:\EliasPrograms\AdventOfCode\2019\Day2\obj\Debug\netcoreapp2.2\Day2.csproj.CoreCompileInputs.cache
C:\EliasPrograms\AdventOfCode\2019\Day2\obj\Debug\netcoreapp2.2\Day2.AssemblyInfoInputs.cache
C:\EliasPrograms\AdventOfCode\2019\Day2\obj\Debug\netcoreapp2.2\Day2.AssemblyInfo.cs
C:\EliasPrograms\AdventOfCode\2019\Day2\obj\Debug\netcoreapp2.2\Day2.dll
C:\EliasPrograms\AdventOfCode\2019\Day2\obj\Debug\netcoreapp2.2\Day2.pdb

@ -688,24 +688,30 @@
]
},
"packageFolders": {
"/home/elal/.nuget/packages/": {}
"C:\\Users\\elias.almqvist\\.nuget\\packages\\": {},
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/home/elal/Projects/adventofcode/2019/Day2/Day2.csproj",
"projectUniqueName": "C:\\EliasPrograms\\AdventOfCode\\2019\\Day2\\Day2.csproj",
"projectName": "Day2",
"projectPath": "/home/elal/Projects/adventofcode/2019/Day2/Day2.csproj",
"packagesPath": "/home/elal/.nuget/packages/",
"outputPath": "/home/elal/Projects/adventofcode/2019/Day2/obj/",
"projectPath": "C:\\EliasPrograms\\AdventOfCode\\2019\\Day2\\Day2.csproj",
"packagesPath": "C:\\Users\\elias.almqvist\\.nuget\\packages\\",
"outputPath": "C:\\EliasPrograms\\AdventOfCode\\2019\\Day2\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
],
"configFilePaths": [
"/home/elal/.nuget/NuGet/NuGet.Config"
"C:\\Users\\elias.almqvist\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"netcoreapp2.2"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {

Loading…
Cancel
Save