码迷,mamicode.com
首页 >  
搜索关键字:until    ( 1173个结果
[LeetCode] 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: ...
分类:其他好文   时间:2017-07-12 13:37:36    阅读次数:156
【pwnable.kr】cmd2
这道题是上一个cmd1的升级版 ssh cmd2@pwnable.kr -p2222 (pw:mommy now I get what PATH environmentis for :)) 登录之后,还是审计一下源代码: 可以看到,比上一次的命令过滤要严格,过滤了“/”,这样一来,上一次的paylo ...
分类:其他好文   时间:2017-07-10 20:45:46    阅读次数:471
Leetcode -- 258 数位相加
258. 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 ...
分类:其他好文   时间:2017-07-09 23:10:22    阅读次数:163
Sort it
You want to processe a sequence of n distinct integers by swapping two adjacent sequence elements until the sequence is sorted in ascending order. The ...
分类:其他好文   时间:2017-07-07 22:47:24    阅读次数:281
Android 内存泄露总结(附内存检测工具)
https://segmentfault.com/a/1190000006852540 主要是分三块: 静态储存区:编译时就分配好,在程序整个运行期间都存在。它主要存放静态数据和常量。 栈区:当方法执行时,会在栈区内存中创建方法体内部的局部变量,方法结束后自动释放内存。 堆区:通常存放 new 出来 ...
分类:移动开发   时间:2017-07-03 19:58:11    阅读次数:304
PowerShell【do while篇】
1 $num=0 2 do 3 { 4 $num 5 $num+=1 6 } 7 while($num -le 10) 或是用until 或是用until 结果 ...
分类:系统相关   时间:2017-06-30 18:55:51    阅读次数:253
while与unile
当型循环和直到型循环语法while条件句语法:while条件do指令...doneuntil条件句语法:until条件do指令...done范例1:每隔2秒记录一次系统负载情况#!/bin/bash whiletrue do uptime sleep2 done 执行结果: 16:28:15up7days,6:47,2users,loadaverage:0.06,0.03,0.00 16:28:17up..
分类:其他好文   时间:2017-06-29 22:29:45    阅读次数:227
postgresql recovery.conf改变需要重启吗
之前在研究pgpoll时,发现trigger_file参数指定的文件存在后,会自动将standby节点提升为可写节点。不需要手动执行pg_ctl promote,但是这个时间一般有延迟,因为进程会定期检查复制过程。 今天发现primary_conninfo信息改变,复制过程不会变化,需要重启stan ...
分类:数据库   时间:2017-06-28 20:38:34    阅读次数:600
UVa 12525 Boxes and Stones (dp 博弈)
Boxes and Stones Paul and Carole like to play a game with S stones and B boxes numbered from 1 to B. Beforebeginning the game they arbitrarily distrib ...
分类:其他好文   时间:2017-06-27 10:01:44    阅读次数:177
(thinkPHP)PHP常用函数大全
usleep() 函数延迟代码执行若干微秒。unpack() 函数从二进制字符串对数据进行解包。uniqid() 函数基于以微秒计的当前时间,生成一个唯一的 ID。time_sleep_until() 函数延迟代码执行直到指定的时间。time_nanosleep() 函数延迟代码执行若干秒和纳秒。s ...
分类:Web程序   时间:2017-06-26 15:35:35    阅读次数:256
1173条   上一页 1 ... 58 59 60 61 62 ... 118 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!