I tried "File.readlines", "ARGF.readlines" and "gets". All of them raise 
runtime errors when submitting solution.
Can someone advice how to properly read the input in practice mode?

I'm trying to solve Foregone Solution 
https://codingcompetitions.withgoogle.com/codejam/round/0000000000051705/0000000000088231
My source code is here 
https://gist.github.com/idanci/583f6908937ccaaf0e9c6e08271ae52a

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-code/5b82ec26-724d-4f04-8028-6c44729580f8%40googlegroups.com.

Reply via email to