码迷,mamicode.com
首页 >  
搜索关键字:html5 input    ( 47367个结果
CCF2019-09-Python题解
小明种树 试题编号: 201909-1 试题名称: 小明种苹果 时间限制: 2.0s 内存限制: 512.0MB 题解:模拟一下,记录坏果数量和对应的果树的序号,排下序 3 3 73 -8 -6 -4 76 -5 -10 -8 80 -6 -15 0 1 n,m=map(int, input().s ...
分类:编程语言   时间:2021-04-06 14:37:49    阅读次数:0
python开发基础(三)字符串格式化
# %s 全能 print('I am %s my hobby is %s' %('A','alex')) print('I am %s , I`m %s year old' %('A',1)) # %d 整型 # name = input('你的姓名:') # age = int(input('你 ...
分类:编程语言   时间:2021-04-05 12:51:05    阅读次数:0
linux防火墙常用命令
一、iptables常用命令 #查看已有的防火墙规则链 iptables -L #清空已有的防火墙规则链 iptables -F #把 INPUT 规则链的默认策略设置为拒绝 iptables -P INPUT DROP #向 INPUT 链中添加允许 ICMP 流量进入的策略规则 iptables ...
分类:系统相关   时间:2021-04-05 11:55:37    阅读次数:0
内置函数input
input(): 接收用户输入的内容 示例代码: result = input('请输入内容:') print(result) # 用户输入的是什么内容就打印什么内容 ...
分类:其他好文   时间:2021-04-05 11:54:27    阅读次数:0
174. Dungeon Game
问题: 勇士救公主问题。 勇士从左上角[0,0]出发,要到达右下角[n-1,m-1]公主所在。 只能向右or向下移动。 格子上的数字代表:加减血。 若到达某个格子勇士血量<1那么,勇士立即死亡。游戏失败。 求,至少在出发时,勇士的初始血量是多少。 Example 1: Input: dungeon ...
分类:其他好文   时间:2021-04-02 13:09:41    阅读次数:0
form表单提交时,不会提交disabled属性的input标签
<form role="form" class="form-horizontal" action="{:url('xxx/xxx')}" method="post"> <div class="row"> <div class="col-sm-4"> <div class="form-group dr ...
分类:其他好文   时间:2021-04-01 12:59:43    阅读次数:0
303. Range Sum Query - Immutable
问题: 给定一个数组,求任意区间[left, right]的元素和。 Example 1: Input ["NumArray", "sumRange", "sumRange", "sumRange"] [[[-2, 0, 3, -5, 2, -1]], [0, 2], [2, 5], [0, 5]] ...
分类:其他好文   时间:2021-04-01 12:58:58    阅读次数:0
12121212
export function formatInput(data: string) { console.log(data) var reg = /[^\d\.\,]/g; return data.replace(reg,'') // return data.replace(/^\,*^\D*(\d* ...
分类:其他好文   时间:2021-03-31 12:27:10    阅读次数:0
Django框架之forms组件
forms组件之校验字段 # 第一步:定义一个类,继承forms.Form # 第二步:在类中写字段,要校验的字段,字段属性就是校验规则 # 第三步:实例化得到一个Form对象,把要校验的数据传入 # 第四步:调用register_form.is_valid()校验,校验通过就是True # 第五步 ...
分类:其他好文   时间:2021-03-30 13:27:09    阅读次数:0
codeforces CF981C Useful Decomposition 菊花图性质
博客迁移计划12 \(\rightarrow\) 戳我看CF原题 C. Useful Decomposition time limit per test: 1 second memory limit per test: 256 megabytes input: standard input outp ...
分类:其他好文   时间:2021-03-30 13:14:19    阅读次数:0
47367条   上一页 1 ... 20 21 22 23 24 ... 4737 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!