From bdc083c373aac42387a9bd0e33189b90cbdfb53c Mon Sep 17 00:00:00 2001 From: yesisi Date: Mon, 13 Feb 2023 10:53:42 +0800 Subject: [PATCH 1/3] 1111 --- node.js | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 node.js diff --git a/node.js b/node.js new file mode 100644 index 0000000..e69de29 -- Gitee From 5fab05dd9afd106641d525eb896b360ac43c49f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=B6=E6=80=9D=E6=80=9D?= <3242902095@qq.com> Date: Tue, 14 Feb 2023 09:21:09 +0000 Subject: [PATCH 2/3] 1111 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 叶思思 <3242902095@qq.com> --- ...40\345\207\217\344\271\230\351\231\244.js" | 19 +++++++++++++++++++ .../\346\265\213\350\257\225.js" | 5 +++++ 2 files changed, 24 insertions(+) create mode 100644 "\345\217\266\346\200\235\346\200\2352.14/\345\212\240\345\207\217\344\271\230\351\231\244.js" create mode 100644 "\345\217\266\346\200\235\346\200\2352.14/\346\265\213\350\257\225.js" diff --git "a/\345\217\266\346\200\235\346\200\2352.14/\345\212\240\345\207\217\344\271\230\351\231\244.js" "b/\345\217\266\346\200\235\346\200\2352.14/\345\212\240\345\207\217\344\271\230\351\231\244.js" new file mode 100644 index 0000000..5c934b3 --- /dev/null +++ "b/\345\217\266\346\200\235\346\200\2352.14/\345\212\240\345\207\217\344\271\230\351\231\244.js" @@ -0,0 +1,19 @@ +var a=6; +var b=7; +let obj={ + 'sum':function(){ + console.log(a+b); + + }, + 'subtract':function(){ + console.log(a-b); + + }, + 'multiply':function(){ + console.log(a*b); + }, + 'divide':function(){ + console.log(a/b); + }, +} +module.exports=obj; \ No newline at end of file diff --git "a/\345\217\266\346\200\235\346\200\2352.14/\346\265\213\350\257\225.js" "b/\345\217\266\346\200\235\346\200\2352.14/\346\265\213\350\257\225.js" new file mode 100644 index 0000000..e4fb2b9 --- /dev/null +++ "b/\345\217\266\346\200\235\346\200\2352.14/\346\265\213\350\257\225.js" @@ -0,0 +1,5 @@ +let add=require("./加减乘除") +add.sum(); +add.subtract(); +add.multiply(); +add.divide(); \ No newline at end of file -- Gitee From 2a5c09892116e6c4eea78a507983162f80e97fd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=B6=E6=80=9D=E6=80=9D?= <3242902095@qq.com> Date: Sun, 19 Feb 2023 11:33:59 +0000 Subject: [PATCH 3/3] 111 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 叶思思 <3242902095@qq.com> --- "\346\226\207\344\273\2662.16/file.js" | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 "\346\226\207\344\273\2662.16/file.js" diff --git "a/\346\226\207\344\273\2662.16/file.js" "b/\346\226\207\344\273\2662.16/file.js" new file mode 100644 index 0000000..c1b2803 --- /dev/null +++ "b/\346\226\207\344\273\2662.16/file.js" @@ -0,0 +1,21 @@ +'use strict'; +var fs=require('fs'); + +for(var i=1;i<=100;i++){ + let aa=Math.round(Math.random()*1000+1); + fs.writeFileSync(i+".txt",aa+"") +} +let max=0; +var name; +for(var j=1;j<=100;j++){ + let num=fs.readFileSync(j+".txt"); + console.log(num.toString()) + if(max