{"ScriptPreparationCode":"function is_only_eng_letters_and_digits(str) {\r\n for (let index = 0; index \u003C str.length; index\u002B\u002B) {\r\n const code = str.charCodeAt(index);\r\n if (!(code \u003E= 65 \u0026\u0026 code \u003C= 90) \u0026\u0026 !(code \u003E= 97 \u0026\u0026 code \u003C= 122) \u0026\u0026 !(code \u003E= 48 \u0026\u0026 code \u003C= 57)) {\r\n return false;\r\n }\r\n }\r\n return true;\r\n}\r\nvar eng_str = \u0022qwerty123\u0022;\r\nvar rus_str = \u0022qwerty\u0424\u042B\u0412\u0410123\u0022;","TestCases":[{"Name":"cycle eng_str","Code":"for (let index = 0; index \u003C 100000; index\u002B\u002B) {\r\n for (let i = 0; i \u003C eng_str.length; i\u002B\u002B) {\r\n const code = eng_str.charCodeAt(i);\r\n if (!(code \u003E= 65 \u0026\u0026 code \u003C= 90) \u0026\u0026 !(code \u003E= 97 \u0026\u0026 code \u003C= 122) \u0026\u0026 !(code \u003E= 48 \u0026\u0026 code \u003C= 57)) {\r\n break;\r\n }\r\n }\r\n }","IsDeferred":false},{"Name":"cycle rus_str","Code":"for (let index = 0; index \u003C 100000; index\u002B\u002B) {\r\n for (let i = 0; i \u003C rus_str.length; i\u002B\u002B) {\r\n const code = rus_str.charCodeAt(i);\r\n if (!(code \u003E= 65 \u0026\u0026 code \u003C= 90) \u0026\u0026 !(code \u003E= 97 \u0026\u0026 code \u003C= 122) \u0026\u0026 !(code \u003E= 48 \u0026\u0026 code \u003C= 57)) {\r\n break;\r\n }\r\n }\r\n\r\n }","IsDeferred":false},{"Name":"regex eng_str","Code":"for (let index = 0; index \u003C 100000; index\u002B\u002B) {\r\n /^[A-Z0-9]\u002B$/i.test(eng_str);\r\n }","IsDeferred":false},{"Name":"regex rus_str","Code":"for (let index = 0; index \u003C 100000; index\u002B\u002B) {\r\n /^[A-Z0-9]\u002B$/i.test(rus_str);\r\n }","IsDeferred":false}]}