Light Mode
Dark Mode
Interpreter gives different output than results

From: http://www.checkio.org/mission/restricted-sum/solve/

The result in the interpreter is different from the result in the results pane. For checkio([2,2,2,2,2,2]) the results pane claims my answer is 18 (incorrect), while the interpreter outputs 12 (correct). My solution code is attached.

HTTP_USER_AGENT:

Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36
Attachment
  • feedback
Created: Jan. 9, 2016, 9:13 p.m.
Updated: Jan. 10, 2016, 8:50 p.m.
0
4
User avatar
mitchpolifka