chore: remove comments
This commit is contained in:
+12
-12
@@ -1,19 +1,19 @@
|
|||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
|
||||||
// if (args.Length is 0)
|
if (args.Length is 0)
|
||||||
// {
|
{
|
||||||
// Console.WriteLine("Please provide a path to the input file.");
|
Console.WriteLine("Please provide a path to the input file.");
|
||||||
// return;
|
return;
|
||||||
// }
|
}
|
||||||
//
|
|
||||||
// if (File.Exists(args[0]) is false)
|
if (File.Exists(args[0]) is false)
|
||||||
// {
|
{
|
||||||
// Console.WriteLine("The provided file does not exist.");
|
Console.WriteLine("The provided file does not exist.");
|
||||||
// return;
|
return;
|
||||||
// }
|
}
|
||||||
|
|
||||||
var isPart2 = args.Length is 2 && args[1] is "part2";
|
var isPart2 = args.Length is 2 && args[1] is "part2";
|
||||||
var input = await File.ReadAllLinesAsync(Path.Combine(AppContext.BaseDirectory, "INPUT.txt"));
|
var input = await File.ReadAllLinesAsync(args[0]);
|
||||||
|
|
||||||
var stopwatch = new Stopwatch();
|
var stopwatch = new Stopwatch();
|
||||||
stopwatch.Start();
|
stopwatch.Start();
|
||||||
|
|||||||
Reference in New Issue
Block a user