5 ms·
Simple solution in Mathematica: http://i.imgur.com/2iBIRwN.png http://i.imgur.com/2iBIRwN.png
by raffy 11y ago
Simple solution in Mathematica: http://i.imgur.com/2iBIRwN.png http://i.imgur.com/2iBIRwN.png
- jdiez17 11y agoI like this solution the most. Some questions on @wacnt (like this one) can't be answered because Wolfram Alpha's NLP fails to recognize the algorithm implicit in the question, but if it was able to translate the problem statement into a machine-readable form, this would be very close to it. Edit: Some background on @wacnt: https://docs.google.com/document/d/17me2A-SG5Z0Mr9Xd-a1kT1HQlWZL5rw3r6Hls6XPfO4 https://docs.google.com/document/d/17me2A-SG5Z0Mr9Xd-a1kT1HQ...