{"id":59403,"student_id":45,"content":"function f(months){\n var a=0;\n var b=1;\nfor(var i=0;i\u003cmonths;i++){ \n var t=b;\n b=a+b;\n a=t;}\n return b; \n}\nfunction fib(months){\n if(months\u003e1){\n return fib(months-1)+fib(months-2)\n }else{return 1}\n}","created_at":"2019-03-16T13:46:43.380+08:00","updated_at":"2019-11-03T03:35:01.082+08:00","name":"兔子生兔子 副本","language":"javascript","screenshot":{"url":"https://cdn3.koding.school/uploads/project/screenshot/59403/b5859da1004d31735585e66eea0241f8.jpg"},"parent_id":32568,"plugin":"setBackdrop(\"black\");\nvar time = prompt(\"經過幾個月?\", \"0\");\n\nfunction fib (c) {\n}\n\nvar count = fib(time);\nforever(function(){\n print(`經過 ${time} 個月`, 50, 180, 'white', 50);\n print(`總共有 ${count} 隻兔子`, 50, 260, 'white', 50);\n});","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":59,"hashid":"36yswznp","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[]
橘蘋學習平台
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
1:1:1
1:1
full
幫助
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦