From 32c0b992952b2beb51fe3ac1d89bfcdcd970ef1a Mon Sep 17 00:00:00 2001 From: Ryosuke Tsurukai Date: Fri, 4 Feb 2022 14:53:18 +0000 Subject: [PATCH] =?UTF-8?q?=E3=83=A1=E3=83=A2=E3=81=AE=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app.js b/app.js index bba68419..df3bcea0 100644 --- a/app.js +++ b/app.js @@ -2,6 +2,7 @@ const memo = new Map(); memo.set(0, 0); memo.set(1, 1); +memo.set(2,1); function trib(n) { if (memo.has(n)) { return memo.get(n);