-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
39 lines (34 loc) · 1.54 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<html>
<head>
<title>排列組合計算機</title>
<script src="combination.js"></script>
<link rel="stylesheet" href="style.css">
<script src="utils.js" defer></script>
</head>
<body>
<div class="container">
<h1>排列組合計算機</h1>
<h3><a href="https://github.com/lancatlin/combine_generator">GitHub 使用說明</a><br></h3>
<label for="">從幾個元素:<input type="number" name="" id="n"></label>
<label for="">取出幾個項目:<input type="number" name="" id="k"></label>
<label for="repeated"><input type="checkbox" name="" id="repeating">重複</label>
<label><input type="checkbox" id="grouping">組合</label>
<label><input type="checkbox" id="no_zero_begin">首項非0</label>
<label for=""><input type="checkbox" name="" id="use_filter">自訂篩選器:</label>
<textarea id="filter" cols="30">
(array) => {
// array is an array of number
// return true will keep the result
return true
}</textarea><br>
<button onclick="main()">計算</button><br>
<label for="">結果:<input type="text" name="" id="result" readonly></label>
<textarea name="" id="area" cols="80" rows="10" readonly></textarea>
<h3>對你有幫助嗎?拍手鼓勵我!</h3>
<iframe class="LikeCoin" height="235"
src="https://button.like.co/in/embed/wancatserver/button?referrer=https://lancatlin.github.io/combine_generator/"
width="100%" frameborder=0></iframe>
</div>
</body>
</html>