{"id":296786,"student_id":3311,"content":"{\"html\":\"\u003c!DOCTYPE html\u003e\\n\u003chtml\u003e\\n\u003chead\u003e\\n\\t\u003ctitle\u003eDocument\u003c/title\u003e\\n\\t\u003cscript src=\\\"https://code.jquery.com/jquery-3.2.1.min.js\\\"\u003e\u003c/script\u003e\\n\u003c/head\u003e\\n\u003cbody\u003e\\n \u003cinput id=\\\"math\\\"\u003e\\n \u003cbutton id=\\\"swan\\\"\u003e算\u003c/button\u003e\\n\u003c/body\u003e\\n\u003c/html\u003e\",\"css\":\"input {\\r\\n height: 40px;\\r\\n padding: 5px;\\r\\n font-size: 16px;\\r\\n text-align: right;\\r\\n\\r\\n border-width: 0px;\\r\\n border-bottom: 2px solid #777777;\\r\\n outline: none;\\r\\n transition: 1s;\\r\\n }\",\"js\":\"package al; \\npublic class CollatzConjecture { \\n private int i = 1; \\n public static void main(String[] args) { \\n long l = 9999999; \\n System.out.println(\\\"l is \\\"+ l); \\n CollatzConjecture cc = new CollatzConjecture(); \\n cc.Collatz(l); \\n } \\n \\n /** \\n * 至今尚未有人能證明其正確性。有趣的是,目前也尚未檢查出任何反例。 \\n * 猜想的內容是這樣的:有一個整數,如果是偶數,就除以 2 ; \\n * 如果是奇數,就乘以 3 再加 1 。 \\n * 一個整數不斷這樣操作下去,最後一定會變成 1 。 \\n * 這個操作的過程就是一種迭代。 \\n * @author \\n * @param param 初始輸入的數字 \\n */ \\n private void Collatz(long param) { \\n System.out.println(\\\"After \\\" + i + \\\" time we get result \\\" + param); \\n if(param \u003e 1) { \\n i++; \\n if (param%2 == 0) { \\n Collatz(param/2); \\n } else { \\n Collatz(3*param + 1); \\n } \\n } \\n } \\n} \"}","created_at":"2021-09-07T21:30:43.337+08:00","updated_at":"2021-09-10T19:33:36.537+08:00","name":"冰雹猜想","language":"web","screenshot":{"url":null},"parent_id":3,"plugin":"","description":null,"note":null,"status":"public","like_student_ids":[],"is_featured":false,"views":143,"hashid":"p93skvdj6","is_content_changed":false,"review_status":"unsubmitted","submitted_at":null,"reviewed_at":null,"advise":null,"is_deleted":false}
[{"id":5968436,"file_name":"koding.png","project_id":296786,"asset_id":302342,"created_at":"2021-09-07T21:30:43.343+08:00","updated_at":"2021-09-07T21:30:43.343+08:00"}]
橘蘋學習平台
我的作品
檢視專案頁
匯出
複製
匯入
刪除
下載 Android APP (APK)
截圖
前往網站頁面
繁中
简中
English
日本語
1:1:1
1:1
全寬
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦
用手機掃描下方 QRCode 進行安裝
或您也可以
下載 APK
到這台電腦