码迷,mamicode.com
首页 >  
搜索关键字:until    ( 1173个结果
printf占位符
function <cstdio> printf int printf ( const char * format, ... ); Print formatted data to stdout Writes the C string pointed by format to the standard ...
分类:其他好文   时间:2017-09-29 22:47:30    阅读次数:241
258. Add Digits
Given a non-negative integer num, repeatedly add all its digits until the result has only one digit.For example:Given num = 38, the process is like: 3... ...
分类:其他好文   时间:2017-09-26 21:23:08    阅读次数:175
258. Add Digits
Given a non-negative integernum, repeatedly add all its digits until the result has only one digit. For example: Givennum = 38, the process is like:3 ...
分类:其他好文   时间:2017-09-26 20:57:35    阅读次数:177
自定义报告,用Java写一个html文件
因为testng不满足我们的展示,所以我们会自己定义一个报告,实施步骤是,把静态页面做好后,放在Java项目中,其实和生成一个日志文件类似,只是该了后缀,Java中需要使用到PrintStream,案例如下,我在静态页面中制作的静态网页 在代码中实现如下,就是把所有内容搬移过来 package un... ...
分类:编程语言   时间:2017-09-26 19:24:06    阅读次数:125
robotframework悬浮菜单定位问题
有些菜单是悬浮菜单,鼠标点上去下级元素才会显示。比如在第一个菜单中选择后会触发二级菜单的某事件,触发二级菜单又去点三级菜单。。 最开始就用click element去点击了,可是菜单会缩回去,就有时候点的到有时候点不到。。 后来使用Wait Until Element Is Enabled 、mou ...
分类:其他好文   时间:2017-09-25 22:56:07    阅读次数:563
Linux自学笔记——shell脚本编程
脚本文件格式:第一行,顶格:#!/bin/bash注释信息:#代码注释:缩进,适度添加空白行语言:编程语法格式,库,算法和数据结构;编程思想:问题空间à解空间变量:局部变量本地变量环境变量位置参数变量特殊变量数据类型:字符型、数值型弱类型:字符型;Bash中的算术运算:+,..
分类:系统相关   时间:2017-09-25 19:01:00    阅读次数:245
【转】VBA 入门 (一)
VBA语言的基础认识 由 vietdung90 创建,最后一次修改 2016-10-18 【转自W3CSCHOOL】 VBA语言的基础认识 VBA语言的基础认识 由 vietdung90 创建,最后一次修改 2016-10-18 【转自W3CSCHOOL】 第一节:标识符 一、定义 标识符是一种标识 ...
分类:编程语言   时间:2017-09-23 19:03:31    阅读次数:193
web自动化7-selenium等待方法
1. 等待方法 time模块的sleep方法 效率低 implicitly_wait() 设置webdriver等待时间 隐试等待 等所有元素都加载出来 WebDriverWait 等待条件满足或者超时后退出 显试等待 from selenium.webdriver.support.ui impor ...
分类:Web程序   时间:2017-09-23 10:53:08    阅读次数:296
KMeans and optimization
random sheme or say naive input: k, set of n points place k centroids at random locations 随机选 repeat the follow operations until convergence 重复到收敛 --f ...
分类:其他好文   时间:2017-09-23 10:44:38    阅读次数:196
for(scala)
for{ i <- 1 util n j <- 1 util i if isPrime(x+y)}yield(i,j) (1 until n)flatMap(i=> (1 until i)filter(j=> isPrime(i+j)) map(j=>(i,j))) i从1到n变化,对每一个i进行f ...
分类:其他好文   时间:2017-09-23 10:41:16    阅读次数:124
1173条   上一页 1 ... 51 52 53 54 55 ... 118 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!