The best i could manage is 71 in python. Here's the source code:
for i in range(10):
b=1
for i in raw_input():
if i in'LFTD':b*=2
print b
If anyone has better solution please share :)
PS : Here i am attaching the code with score of 77 because i think that its size can be reduced. If you want the 71 char. code then reply back.
No comments:
Post a Comment