This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace StdioComms | |
{ | |
class Program | |
{ | |
public static void Main(string[] args) | |
{ | |
if (args.Length > 0 && args[0] == "client") | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// -------------------------------------------------------------------------------------------------------------------- | |
// <copyright file="HeatMapSeries.cs" company="OxyPlot"> | |
// Copyright (c) 2014 OxyPlot contributors | |
// </copyright> | |
// <summary> | |
// Specifies how the heat map coordinates are defined. | |
// </summary> | |
// -------------------------------------------------------------------------------------------------------------------- | |
namespace OxyPlot.Series |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
namespace OfficeEscapeSolver | |
{ | |
public struct Vector | |
{ | |
public static Vector Zero = new Vector(0, 0); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Required Effort: 139 | |
Probability of Success: 0.503151054609375 | |
####################### | |
# = # | |
! = ! | |
# ! = # | |
#################= # | |
# # = # | |
# # = # | |
# # = # |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
if (args[0] == "gen") | |
GenerateRandom(); | |
else if (args[0] == "len") | |
Console.WriteLine(Measure().ToString("0.00")); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function stripcs { | |
$acc = ""; | |
foreach($l in $input) { | |
$k = $l; | |
$i = $k.IndexOf("//"); | |
if ($k.Contains("~lcom~")) { | |
$i = $k.LastIndexOf("//"); | |
} | |
if ($i -gt -1) { | |
$k = $k.SubString(0, $i); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Required Effort: 108 | |
Probability of Success: 0.37527553125 | |
Step Right | |
Step Right | |
Step Right | |
Step Right | |
Drop | |
Drop | |
Step Right | |
Step Right |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Required Effort: 139 | |
Step Right | |
Step Right | |
Kick Right | |
Crouch | |
Shuffle Right | |
Shuffle Right | |
Stand | |
Step Right | |
Clamber Up Right |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Can used with test.ps1 | |
# > . .\test.ps1 chrisstrap.ps1 | |
# Expects perl (5) to be installed, and chris.pl to be in the current directory | |
# | |
# You can investigate issues by first writing the solution to a file... | |
# > type .\testcase0.txt | . .\chrisstrap.ps1 > chrissol0.txt | |
# ... and then feeding it to OfficeEscapeSolver.exe | |
# > type .\testcase0.txt | . .\OfficeEscapeSolver.exe * .\chrissol0.txt | |
# Which will (hopefully) provide helpful information |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Required Effort: 108 | |
Probability of Success: 0.37527553125 | |
Step Right | |
Step Right | |
Step Right | |
Step Right | |
Drop | |
Drop | |
Step Right | |
Step Right |
OlderNewer