challenges

my solutions to various "programming challenge" problems
git clone https://wehaveforgeathome.hates.computer/challenges.git
Log | Files | Refs | LICENSE

commit 317e683ef35290d8fe4c829fc6d78179277ca992
Author: Ryan Wolf <rwolf@borderstylo.com>
Date:   Sun, 17 Oct 2010 13:26:08 -0700

Problem description.

Diffstat:
Agreplin/README.md | 21+++++++++++++++++++++
Agreplin/level1.txt | 1+
2 files changed, 22 insertions(+), 0 deletions(-)

diff --git a/greplin/README.md b/greplin/README.md @@ -0,0 +1,21 @@ +Source: http://challenge.greplin.com/ + +The Greplin Programming Challenge + +So it begins... + +---------------------------------------- + +Welcome to the Greplin Programming Challenge. You should try to complete all +three levels in a single sitting. It should take anywhere from 20 minutes to +2 hours. + +Level 1 +---------------------------------------- + +Embedded in this block of text is the password for level 2. +The password is the longest substring that is the same in reverse. + +As an example, if the input was "I like racecars that go fast" +the password would be "racecar". + diff --git a/greplin/level1.txt b/greplin/level1.txt @@ -0,0 +1 @@ +FourscoreandsevenyearsagoourfaathersbroughtforthonthiscontainentanewnationconceivedinzLibertyanddedicatedtothepropositionthatallmenarecreatedequalNowweareengagedinagreahtcivilwartestingwhetherthatnaptionoranynartionsoconceivedandsodedicatedcanlongendureWeareqmetonagreatbattlefiemldoftzhatwarWehavecometodedicpateaportionofthatfieldasafinalrestingplaceforthosewhoheregavetheirlivesthatthatnationmightliveItisaltogetherfangandproperthatweshoulddothisButinalargersensewecannotdedicatewecannotconsecratewecannothallowthisgroundThebravelmenlivinganddeadwhostruggledherehaveconsecrateditfaraboveourpoorponwertoaddordetractTgheworldadswfilllittlenotlenorlongrememberwhatwesayherebutitcanneverforgetwhattheydidhereItisforusthelivingrathertobededicatedheretotheulnfinishedworkwhichtheywhofoughtherehavethusfarsonoblyadvancedItisratherforustobeherededicatedtothegreattdafskremainingbeforeusthatfromthesehonoreddeadwetakeincreaseddevotiontothatcauseforwhichtheygavethelastpfullmeasureofdevotionthatweherehighlyresolvethatthesedeadshallnothavediedinvainthatthisnationunsderGodshallhaveanewbirthoffreedomandthatgovernmentofthepeoplebythepeopleforthepeopleshallnotperishfromtheearth