Skip to content

Instantly share code, notes, and snippets.

using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace AdventOfCodeDay17
{
class Program
{
static void Main(string[] args)
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
namespace AdventOfCodeDay16
{
class Program
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace AdventOfCodeDay15
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace AdventOfCodeDay14
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace AdventOfCodeDay13
{
var input = [1,"red",5];
var hasRedProperty = function(obj)
{
for (var property in obj)
{ console.log(property + " " + obj[property]);
if(obj[property] === "red") return true;
}
return false;
};
using System;
using System.Collections.Generic;
using System.Linq;
namespace AdventOfCodeDay11
{
class Program
{
static void Main(string[] args)
{
using System;
using System.Linq;
using System.Text;
namespace AdventOfCodeDay10
{
class Program
{
static void Main(string[] args)
{
using System;
using System.Collections.Generic;
using System.Linq;
namespace AdventOfCodeDay9
{
public static class Extensions
{
public static IEnumerable<IEnumerable<T>> Permute<T>(this IEnumerable<T> sequence)
{
using System;
using System.IO;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Linq;
namespace AdventOfCodeDay9
{
class MainClass
{