r/programming • u/SilasX • May 09 '15
"Real programmers can do these problems easily"; author posts invalid solution to #4
https://blog.svpino.com/2015/05/08/solution-to-problem-4
3.1k
Upvotes
r/programming • u/SilasX • May 09 '15
3
u/_exalt_ May 09 '15 edited May 09 '15
my oneliner: print(max([int(''.join(x)) for x in itertools.permutations(['56', '50', '5'])])) not efficient nor practical but i solved the problem in 5 seconds