扶桑与梅_
扶桑与梅_
全部文章
分类
归档
标签
去牛客网
登录
/
注册
扶桑与梅_的博客
全部文章
(共7篇)
题解 | #二进制转换#
function base10(str) { return parseInt(str,2); }
2023-02-07
0
270
题解 | #返回函数#
function functionFunction(str) { return f = function(str1){ return str + ", " + str1; } }
2023-02-07
1
222
题解 | #斐波那契数列#
let one = 1; let two = 1; let three; for (let i = 2; i < n ; i++) { three = one + two; one = two; two = three; ...
2023-02-07
3
321
题解 | #新数组#
const _delete = (array,index) => { // 补全代码 var arr = []; for(let i = 0; i < array.length; i++) {...
2023-02-03
2
222
题解 | #计数#
function count(arr, item) { let str = 0; for (let i = 0; i < arr.length; i++) { if (arr[i] == item){ ++str; } ...
2023-02-03
1
238
题解 | #分隔符#
{"css":"","js":"","html":"<!DOCTYPE html>\n<html>\n <head>\n <meta charset=utf-8>\n </head>\n <body&g...
2023-02-03
1
395
题解 | #直角三角形#
{"css":"","js":"","html":"<!DOCTYPE html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\">\n </head>...
2023-02-03
1
238