第一次正式参加常规赛想想有些小激动的呢然后第一题就被hack了 心痛_(:зゝ∠)_tle点在于越界 因此结束循环条件从乘变为除 done//等等 这题没过总评 让我静静........//改天再来改吧.......#include int main(){ long long l, r, k;...
分类:
其他好文 时间:
2016-01-15 06:24:19
阅读次数:
192
DELIMITER $$CREATE DEFINER=`root`@`%` PROCEDURE `pro_cre_childlist`(IN rootId varchar(50),IN nDepth int, IN vdesc varchar(45))BEGIN DECLARE done INT ....
分类:
数据库 时间:
2016-01-10 20:00:36
阅读次数:
233
NSFileManager判断一个给定路劲是否为文件夹[self.fileManagerfileExistsAtPath:isDirectory:];用于执行一般的文件系统操作 (reading and writing is done via NSData, et. al.).主要功能包括:从一个文...
分类:
其他好文 时间:
2016-01-08 13:05:36
阅读次数:
215
Title Page Well done! You successfully read...
分类:
其他好文 时间:
2016-01-06 14:07:29
阅读次数:
167
CSStickyHeaderFlowLayouthttps://github.com/jamztang/CSStickyHeaderFlowLayoutParallax, Sticky Headers, Growing image heading, done right in one UIColle...
分类:
Web程序 时间:
2015-12-30 23:35:29
阅读次数:
301
点击阅读原文对于我这种 git 命令行小白来说, git 自带的对比工具各种水土不服,想念以前的 svn 小乌龟 + beyondCompare 的日子。。。纠结完 gitHub client 未果之后,终于研究到。。 原来 git 的对比也可以调用第三方工具的, well done!下面来科普下 ...
分类:
其他好文 时间:
2015-12-28 01:00:15
阅读次数:
1038
[root@PXE1]#catmv.sh#!/bin/bashforfilein`ls*.jpg`do/bin/mv$file`echo"${file%finished*}.jpg"`done[root@PXE1]#lltotal8-rw-r--r--1rootroot106Dec2605:33a.log-rw-r--r--1rootroot90Dec2605:39mv.sh-rw-r--r--1rootroot0Dec2605:34stu_102999_1_finished.jpg-rw-r--r--1ro..
分类:
系统相关 时间:
2015-12-26 23:42:16
阅读次数:
305
Activity.finish()Call this when your activity is done and should be closed.在你的activity动作完成的时候,或者Activity需要关闭的时候,调用此方法。当你调用此方法的时候,系统只是将最上面的Activity移出了栈...
分类:
移动开发 时间:
2015-12-26 09:58:28
阅读次数:
158
【前言】练习shell,提高逻辑能力。【脚本】三角形与菱形均通过几个for循环实现,当然也可以用while。下面是脚本内容:[三角形]#!/bin/bash
read-p"pleaseinputthelongs:"long
for((i=1;i<=$long;i++))
do
for((j=$long;j>i;j--))#控制空格输出
do
echo-n""
done
formin`..
分类:
系统相关 时间:
2015-12-24 10:48:09
阅读次数:
1007
for dir in `find ./ -type d ` ;do echo -n "$dir " ;find $dir -type f | wc -l ;echo "" ;done;./4336694 59./0630088 38./0001667 196./3545234 5./3840810 ...
分类:
系统相关 时间:
2015-12-23 14:21:32
阅读次数:
163