{"ScriptPreparationCode":null,"TestCases":[{"Name":"mm","Code":"var j = \u0022MSKU947765\u0022;\r\nvar s = 0;\r\nvar r = [1,2,4,8,16,32,64,128,256,512];\r\nfor (var e=0;e\u003C4;e\u002B\u002B) {\r\n\tvar c = j.charCodeAt(e)-55;\r\n\ts\u002B=(Math.floor(c/10.2)\u002Bc)*r[e];\r\n};\r\nfor (var e=4;e\u003C10;e\u002B\u002B){\r\n\ts\u002B=(j.charCodeAt(e)-48)*r[e];\r\n};\r\nvar d = s % 11 % 10;\r\nreturn d;","IsDeferred":false},{"Name":"oo","Code":"var j = \u0022MSKU947765\u0022;\r\nvar sum = 0;\r\nfor (var i = 0; i \u003C 10; i\u002B\u002B) {\r\n\tvar m = j.charCodeAt(i);\r\n\tif (i \u003C 4) {\r\n\t\tm -= 55;\r\n\t\tm \u002B= parseInt(m / 11);\r\n\t} else {\r\n\t\tm -= 48;\r\n\t}\r\n\t\tsum \u002B= m * Math.pow(2, i);\r\n}\r\nvar d = sum % 11;\r\nif (d === 10) d = 0;\r\nreturn d;","IsDeferred":false},{"Name":"compiled first only","Code":"var j = \u0022MSKU947765\u0022;\r\nvar s = 0;\r\nvar r = [1,2,4,8,16,32,64,128,256,512];\r\nvar c = j.charCodeAt(0)-55;\r\ns\u002B=(Math.floor(c/10.2)\u002Bc)*r[0];\r\nvar c = j.charCodeAt(1)-55;\r\ns\u002B=(Math.floor(c/10.2)\u002Bc)*r[1];\r\nvar c = j.charCodeAt(2)-55;\r\ns\u002B=(Math.floor(c/10.2)\u002Bc)*r[2];\r\nvar c = j.charCodeAt(3)-55;\r\ns\u002B=(Math.floor(c/10.2)\u002Bc)*r[3];\r\nfor (var e=4;e\u003C10;e\u002B\u002B){\r\n\ts\u002B=(j.charCodeAt(e)-48)*r[e];\r\n};\r\nvar d = s % 11 % 10;\r\nreturn d;","IsDeferred":false},{"Name":"compiled both","Code":"var j = \u0022MSKU947765\u0022;\r\nvar s = 0;\r\nvar r = [1,2,4,8,16,32,64,128,256,512];\r\nvar c = j.charCodeAt(0)-55;\r\ns\u002B=(Math.floor(c/10.2)\u002Bc)*r[0];\r\nvar c = j.charCodeAt(1)-55;\r\ns\u002B=(Math.floor(c/10.2)\u002Bc)*r[1];\r\nvar c = j.charCodeAt(2)-55;\r\ns\u002B=(Math.floor(c/10.2)\u002Bc)*r[2];\r\nvar c = j.charCodeAt(3)-55;\r\ns\u002B=(Math.floor(c/10.2)\u002Bc)*r[3];\r\ns\u002B=(j.charCodeAt(4)-48)*r[4];\r\ns\u002B=(j.charCodeAt(5)-48)*r[5];\r\ns\u002B=(j.charCodeAt(6)-48)*r[6];\r\ns\u002B=(j.charCodeAt(7)-48)*r[7];\r\ns\u002B=(j.charCodeAt(8)-48)*r[8];\r\ns\u002B=(j.charCodeAt(9)-48)*r[9];\r\nvar d = s % 11 % 10;\r\nreturn d;","IsDeferred":false}]}