Skip to content

Instantly share code, notes, and snippets.

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AdventOfCodeDay7
{
class Program
using System;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
namespace AdventOfCodeDay8
{
class Program
{
static void Main(string[] args)
using System;
namespace adventofcodeday7_2
{
class Program
{
const ushort ai = unchecked((ushort)(af & ah));
const ushort ll = unchecked((ushort)(~lk));
const ushort @is = unchecked((ushort)(hz >> 1));
const ushort gp = unchecked((ushort)(~go));
const ushort dv = unchecked((ushort)(du ^ dt));
using System;
using System.IO;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Linq;
namespace AdventOfCodeDay9
{
class MainClass
{
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.Linq;
using System.Text;
namespace AdventOfCodeDay10
{
class Program
{
static void Main(string[] args)
{
using System;
using System.Collections.Generic;
using System.Linq;
namespace AdventOfCodeDay11
{
class Program
{
static void Main(string[] args)
{
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.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace AdventOfCodeDay13
{
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
{