Skip to content

Commit

Permalink
算术题生成器
Browse files Browse the repository at this point in the history
  • Loading branch information
JiYouMCC authored Aug 26, 2024
1 parent 65071b1 commit fdcea8c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions _posts/2024-08-23-107.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -23,27 +23,27 @@ issue: 45
<div class="input-group col-sm-10">
<input id="input_problem_count" type="number" value="10" step="1" min="1" class="form-control">
</div>
<div class="alert alert-warning" role="alert">为了保证出的题目不重复,这里数字不要填太大,不然会随机不出来</div>
<div class="alert alert-warning" role="alert">为了保证出的题目不重复,这里数字不要填太大,不然会随机不出来。对于加法来说,最大值是P(N,2),对于减法来说是C(N,2),乘法除法需要根据积的最大值来遍历</div>
</div>
<div class="form-group">
<label for="input_max_int" class="col-sm-2 control-label">题目最大数</label>
<label for="input_max_int" class="col-sm-2 control-label">运算最大数</label>
<div class="input-group col-sm-10">
<input id="input_max_int" type="number" value="10" step="1" min="1" class="form-control">
</div>
<div class="alert alert-warning" role="alert">意思是运算数最大值,比如说10以内加减法,加数/减数的最大值</div>
<div class="alert alert-warning" role="alert">意思是运算数最大值,比如说10以内加减法,加数/减数的最大值就是9。</div>
</div>
<div class="form-group">
<label for="input_max_result" class="col-sm-2 control-label">结果最大数</label>
<div class="input-group col-sm-10">
<input id="input_max_result" type="number" value="20" step="1" min="1" class="form-control">
</div>
<div class="alert alert-warning" role="alert">意思是运算结果最大值,比如说10以内加减法最后和会超过10</div>
<div class="alert alert-warning" role="alert">意思是结果最大值,指的是和/差/积/商最大值。</div>
</div>
<div class="text-center">
<input id="check_plus" type="checkbox" checked> 加
<input id="check_minus" type="checkbox" checked> 减
<input id="check_minus" type="checkbox" checked> 减(差会控制为必须大于0)
<input id="check_times" type="checkbox"> 乘
<input id="check_divide" type="checkbox" > 除
<input id="check_divide" type="checkbox" > 除(商会控制为必须是整数)
</div>
</div>
<div class="text-center">
Expand Down

0 comments on commit fdcea8c

Please sign in to comment.