|Re: Does Python Take Import Itertools
||Sorry about this. This problem's testdata was directly uploaded from the COCI site, and contained carriage returns. I've removed these and rejudged your latest submission, which now gets AC.
Apr 26, 2015 - 12:54:41 am UTC
|Does Python Take Import Itertools
||I have a solution that works perfectly with the test cases. I used import itertools and generated all the permutations into one list, then looped through it to find correct answer. It works pretty wel...
Apr 23, 2015 - 10:47:21 pm UTC
|And thanks again :)!
||I wanted to avoid using itertools or a similar tool to brute force all the interesting combinations and then pick up the minimum, so I changed my point of view analyzing the input as a string and thin...
Nov 19, 2014 - 12:34:51 pm UTC