Created
November 18, 2011 04:35
-
-
Save geeksville/1375618 to your computer and use it in GitHub Desktop.
codeval bug report...
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
Fails | |
http://codeeval.com/open_challenge_scores/submissions/?tid=30435 | |
import scala.io._ | |
val fname = args(0) | |
Source.fromFile(fname).foreach { c => print(c.toLower) } | |
System.exit(0) | |
Passes: | |
http://codeeval.com/open_challenge_scores/submissions/?tid=30436 | |
import scala.io._ | |
object lowercase { | |
def main(args: Array[String]) { | |
val fname = args(0) | |
Source.fromFile(fname).foreach { c => print(c.toLower) } | |
System.exit(0) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment