Skip to content

Instantly share code, notes, and snippets.

@Xmerr
Xmerr / Simplifying_Fractions.cs
Last active November 29, 2016 17:50
Simplify Fractions
using System;
using System.IO;
using System.Threading;
namespace Simplifying_Fractions
{
class Program
{
static void Main(string[] args)
{
@Xmerr
Xmerr / Bomb_Defusing.cs
Last active November 29, 2016 18:24
Reddit Easy Challenge #293
using System;
using System.Collections.Generic;
namespace BombDefusing
{
class Program
{
static Dictionary<string, Predicate<string>> boomConditions = new Dictionary<string, Predicate<string>>
{
{ "white", cut => cut != "white" && cut != "black" },
@Xmerr
Xmerr / Kaprekar_Numbers.cs
Created December 1, 2016 13:35
Easy Reddit Challenge 290
using System;
using System.Collections.Generic;
namespace Kaprekar_Numbers
{
class Program
{
static void Main(string[] args)
{
string line;
@Xmerr
Xmerr / Kaprekars_Routine.cs
Created December 2, 2016 13:47
For Reddit Easy Challenge 287
using System;
using System.Linq;
namespace Kaprekars_Routine
{
class Program
{
const int KAPREKAR_CONSTANT = 6174;
static void Main(string[] args)
@Xmerr
Xmerr / Reverse_Factorial.cs
Created December 5, 2016 13:22
For Reddit Easy Challenge 286
using System;
namespace Reverse_Factorial
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Enter Number: ");
int input = Convert.ToInt32(Console.ReadLine());
@Xmerr
Xmerr / Wandering_Fingers.cs
Created December 5, 2016 17:10
For Reddit Easy Challenge 284
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Wandering_Fingers
{
class Program
{
static void Main(string[] args)
@Xmerr
Xmerr / ScrabbleCheat.cs
Created December 6, 2016 13:57
For Reddit Easy Challenge 294: Rack Management 1
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Rack_Management_1
{
class Program
{
static Tuple<string, string>[] scrabbleLetters =
@Xmerr
Xmerr / AnagramMaker.cs
Created December 7, 2016 13:56
For Reddit Intermediate Challenge 280
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Anagram_Maker
{
class Program
{
static string remainingLetters;
@Xmerr
Xmerr / Rack_Management_2.cs
Last active December 8, 2016 18:44
For Reddit Intermediate Challenge 294
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Rack_Management_2
{
class Program
{
static string[] highestPointLetters =
@Xmerr
Xmerr / Rack_Management_3.cs
Last active December 9, 2016 14:30
For Reddit Hard Challenge 294
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace Rack_Management_3
{
class Program
{