I just posted a program in Picat for the GCJ Watersheds problem. I am wondering how many lines a Python program would require. https://groups.google.com/forum/#!topic/picat-lang/1QC3KWwfyA8 Cheers, Neng-Fa