From 27ff16ddcdb576b5b73a2bdaea7925420a702809 Mon Sep 17 00:00:00 2001 From: Yukkku Date: Tue, 19 Aug 2025 10:41:05 +0900 Subject: [PATCH 1/4] =?UTF-8?q?=E6=95=B0=E5=AD=97=E3=82=92100=E3=81=BE?= =?UTF-8?q?=E3=81=A7=E6=95=B0=E3=81=88=E3=82=8B=E3=83=97=E3=83=AD=E3=82=B0?= =?UTF-8?q?=E3=83=A9=E3=83=A0=E3=82=92=E4=BD=9C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fizz.ts | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 fizz.ts diff --git a/fizz.ts b/fizz.ts new file mode 100644 index 0000000..4b44348 --- /dev/null +++ b/fizz.ts @@ -0,0 +1,3 @@ +for (let i = 1; i <= 100; ++i) { + console.log(i); +} \ No newline at end of file From 588846697ead71b860bc3337b0a65bbcc50a03c1 Mon Sep 17 00:00:00 2001 From: Yukkku Date: Tue, 19 Aug 2025 10:43:36 +0900 Subject: [PATCH 2/4] =?UTF-8?q?3=E3=81=AE=E5=80=8D=E6=95=B0=E3=81=AE?= =?UTF-8?q?=E3=81=A8=E3=81=8D=E3=81=AB=E3=82=A2=E3=83=9B=E3=81=AB=E3=81=AA?= =?UTF-8?q?=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fizz.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/fizz.ts b/fizz.ts index 4b44348..acf7435 100644 --- a/fizz.ts +++ b/fizz.ts @@ -1,3 +1,7 @@ for (let i = 1; i <= 100; ++i) { - console.log(i); + if (i % 3 == 0) { + console.log(i, "(アホ)"); + } else { + console.log(i); + } } \ No newline at end of file From 034683ba9f506ee5f30cdb3674f8ebb5185ff9a9 Mon Sep 17 00:00:00 2001 From: Yukkku Date: Tue, 19 Aug 2025 10:44:52 +0900 Subject: [PATCH 3/4] =?UTF-8?q?3=E3=81=8C=E4=BB=98=E3=81=8F=E6=95=B0?= =?UTF-8?q?=E3=81=A7=E3=82=A2=E3=83=9B=E3=81=AB=E3=81=AA=E3=82=8B=E3=82=88?= =?UTF-8?q?=E3=81=86=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fizz.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fizz.ts b/fizz.ts index acf7435..4eed627 100644 --- a/fizz.ts +++ b/fizz.ts @@ -1,5 +1,5 @@ for (let i = 1; i <= 100; ++i) { - if (i % 3 == 0) { + if (i % 3 == 0 || String(i).includes("3")) { console.log(i, "(アホ)"); } else { console.log(i); From 28c028a5c1ee0296face9099948a8c05e19f677d Mon Sep 17 00:00:00 2001 From: Yukkku Date: Tue, 19 Aug 2025 10:48:20 +0900 Subject: [PATCH 4/4] =?UTF-8?q?=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB?= =?UTF-8?q?=E3=81=AE=E6=9C=AB=E5=B0=BE=E3=81=AB=E6=94=B9=E8=A1=8C=E3=82=92?= =?UTF-8?q?=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fizz.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fizz.ts b/fizz.ts index 4eed627..9f1cb9a 100644 --- a/fizz.ts +++ b/fizz.ts @@ -4,4 +4,4 @@ for (let i = 1; i <= 100; ++i) { } else { console.log(i); } -} \ No newline at end of file +}