码迷,mamicode.com
首页 >  
搜索关键字:inpu    ( 7831个结果
JavaSE---java.util---regex
1、Pattern A compiled representation of a regular expression.(一个正则表达式 编译表示) 无公共构造参数,可以通过static方法compile()创建实例 Pattern pattern = Pattern.compile("a"); 2 ...
分类:编程语言   时间:2020-10-18 16:32:26    阅读次数:21
151. Reverse Words in a String翻转一句话中的单词
Given an input string s, reverse the order of the words. A word is defined as a sequence of non-space characters. The words in s will be separated by ...
分类:其他好文   时间:2020-10-18 10:19:49    阅读次数:29
「联赛模拟测试18」「另类解」水滴
#简述: 给定序列,查询是否存在全部符合给定种类至少给定此种类数量的区间,并输出最小值 #解法: 氵题,当我知道T4是最简单的题但我选择了硬肛T1之后: 我在写尺取法 2min later,我写完尺取法了 几乎是尺取法板子,即同时移动左右指针,看是否存在合法序列,开个桶随便搞搞就行 不会尺取法的可以 ...
分类:其他好文   时间:2020-10-18 10:04:32    阅读次数:16
py调用另一个py
1 import os 2 3 #os.system('python hello1.py') 4 5 6 while 1: 7 print("****************\n") 8 print("****************\n") 9 num = input("please input ...
分类:其他好文   时间:2020-10-18 09:57:03    阅读次数:21
手机号码表单校验
html <input class="ipt space" placeholder="请输入您的手机号码" type="text" id="phone"> <p id="phone-wrong" class="form-checking">请输入正确的手机号码</p> css .ipt-checki ...
分类:移动开发   时间:2020-10-16 10:59:28    阅读次数:36
修改checkbox样式
css样式 input[type="checkbox"] { width: 16px; height: 16px; display: inline-block; text-align: center; vertical-align: middle; position: relative; margi ...
分类:其他好文   时间:2020-10-13 17:37:26    阅读次数:24
JS常见的API扩展形式(prototype、jquery、vue插件封装)以及怎样设计出易扩展的表单验证功能?
常见的API扩展形式 prototype 比如我现在有一个需求,给定一个字符串,给方法传递一个参数为数字类型来确定当前字符串重复次数,例如: 'abc'.repeatStringNumTimes(3) // abcabcabc 如果按照一般的思维就是我们把这个方法绑定到String的原型上,如下代码 ...
分类:Windows程序   时间:2020-10-13 17:33:50    阅读次数:26
画五角星
import turtle n = eval(input("请输入五角星的长度")) turtle.begin_fill() #开始填充颜色 i = 0 while i < 5: turtle.forward(n) turtle.right(180-36) i += 1 turtle.color(" ...
分类:其他好文   时间:2020-10-09 20:20:03    阅读次数:33
mybatis 数据库语句
mybatis 操作数据库增删改查 package com.school.mybatis.junit; import java.io.InputStream; import java.util.List; import org.apache.ibatis.io.Resources; import o ...
分类:数据库   时间:2020-10-08 19:19:06    阅读次数:37
利用函数指针数组写一个计算器
利用函数指针数组写一个计算器
分类:编程语言   时间:2020-10-08 19:11:46    阅读次数:24
7831条   上一页 1 ... 16 17 18 19 20 ... 784 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!