HTML/CSS/JavaScript 解法, 执行用时: 1680ms, 内存消耗: 77792KB, 提交时间: 2022-02-09
{"css":"","js":"function _search(string,value) {\n // 补全代码\n return string.indexOf(value)===-1?false:true\n}","html":"","libs":[]}
HTML/CSS/JavaScript 解法, 执行用时: 1682ms, 内存消耗: 77804KB, 提交时间: 2022-02-09
{"css":"","js":"function _search(string,value) {\n // 补全代码\n return string.includes(value);\n}","html":"","libs":[]}
HTML/CSS/JavaScript 解法, 执行用时: 1736ms, 内存消耗: 77904KB, 提交时间: 2021-12-06
{"css":"","js":"function _search(string,value) {\n // 补全代码\n return string.search(value)>0?true:false;\n}","html":"","libs":[]}
HTML/CSS/JavaScript 解法, 执行用时: 1738ms, 内存消耗: 77772KB, 提交时间: 2021-11-30
{"css":"","js":"function _search(string,value) {\n // 补全代码\n return (string.indexOf(value)===-1?false:true)\n}","html":"","libs":[]}
HTML/CSS/JavaScript 解法, 执行用时: 1739ms, 内存消耗: 77772KB, 提交时间: 2021-12-06
{"css":"","js":"function _search(string,value) {\n // 补全代码\n return string.indexOf(value)>0?true:false\n}","html":"","libs":[]}