Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Henning Thielemann <lemming <at> henning-thielemann.de>
Subject: uncommon IMO problem - toilet management
Newsgroups: gmane.comp.lang.haskell.cafe
Date: Friday 17th July 2009 20:25:48 UTC (over 8 years ago)
In the last two days I was invigilator at the International Mathematic 
Olympics 2009 in Bremen, Germany. There we got a problem different from 
the official math problems. :-) Eventually I solved it using Haskell. Read 
the detailed description at
   http://hackage.haskell.org/package/toilet-0.0.1

I think the problem is simple enough to be used in education of 
programming.

(I also think it would have been better to avoid monads and use lazy list 
processing.)
 
CD: 3ms