http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=1107Quoit DesignTime Limit:5 Seconds Memory Limit:32768 KBHave you ever played quoit in a p...
分类:
其他好文 时间:
2014-08-09 18:30:28
阅读次数:
323
For browsers that do not support HTML5, you can use Modernizr. Modernizr is an open-source JavaScript library that can detect whether a browser suppor...
分类:
Web程序 时间:
2014-08-09 13:18:57
阅读次数:
269
文本文件
i like china
i can play
just do it
i will cometrue my dream
come on!!!
源程序
/**
* 功能:2-5,2-6,2-7吧文件中的单词由后向前打印
* 时间:2014年7月30日21:27:12
* 作者:cutter_point
*/
#include
#include
#include
#i...
分类:
编程语言 时间:
2014-08-09 11:48:17
阅读次数:
231
Class:def scope_test(): def do_local(): spam = "local spam" def do_nonlocal(): nonlocal spam spam = "nonlocal spam" def ...
分类:
编程语言 时间:
2014-08-09 09:02:47
阅读次数:
254
While 和 Do-While //whileint i = 0;while (i < 10) { System.out.print(i++);}//do - while int i = 0;do { System.out.print(i++); } while ( i < 10 );For 和 ...
分类:
编程语言 时间:
2014-08-09 02:34:36
阅读次数:
281
原文:https://www.technovelty.org//linux/bash-arithmetic-evaluation-and-errexit-trap.html
在 "traps for new players" 一章:
count=0
things="0 1 0 0 1"
for i in $things;
do
if [ $i == "1" ]; then
...
分类:
其他好文 时间:
2014-08-08 21:33:46
阅读次数:
258
Problem C
If We Were a Child Again
Input: standard input
Output: standard output
Time Limit: 7 seconds
“Oooooooooooooooh!
If I could do the easy mathematics like my school days!!
I...
分类:
编程语言 时间:
2014-08-08 18:10:16
阅读次数:
281
#!/bin/sh#authbyyx20140808#purgenginxcacheCACHE_DIR="/data/web/cache"FILE="$*"if[$#-eq0];thenecho"pleaserun\"sh$0index.htmlindex.jsp....\""exitfiforiin`echo$FILE`dogrep-ra$i${CACHE_DIR}|awk-F":"‘{print$1}‘>./cache_list.txtforjin`cat./cache_list.txt`do rm..
分类:
其他好文 时间:
2014-08-08 16:33:27
阅读次数:
197
~~~~
两个题目大致类似,NYOJ上面那道题就是小白上的矩形嵌套啦。
都是先对长宽进行排序,然后逐层更新最大值(边更新边记录)。
好了,不说了。
题目链接:
http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=1093
http://acm.nyist.net/JudgeOnline/problem.php?p...
分类:
其他好文 时间:
2014-08-08 16:13:36
阅读次数:
193
What is Port Triggering?
If you have not read my explanation of port forwarding do so now. You can find it
here.
Port triggering is pretty simple once you know what port forwarding is. Port...
分类:
其他好文 时间:
2014-08-08 16:12:36
阅读次数:
362