js(function(A,w){function ma(){if(!c.isReady){try{s.documentElement.doScroll("left")}catch(a){setTimeout(ma,1);return}c.ready()}}function Qa(a,b){b.sr...
分类:
其他好文 时间:
2014-08-15 17:25:49
阅读次数:
369
Problem Description
FSF is addicted to a stupid tower defense game. The goal of tower defense games is to try to stop enemies from crossing a map by building traps to slow them down and towers whic...
分类:
其他好文 时间:
2014-08-15 14:42:48
阅读次数:
188
题意:从一个点n到达另外一个点m, 移动的方式有三种,*2,+1, -1。求最少到达的步数。
策略:如题。
wa了好几次。。。
只输入一组数据,用队列的时候最好吧队列声明放在函数外面否则用g++递交有可能wa(亲身体验)。但是用c++可以过的。
代码1(队列声明放在函数的外面,用c++和g++都可以a):
#include
#include
#include
using namespac...
分类:
其他好文 时间:
2014-08-15 12:57:38
阅读次数:
242
//在列表根目录下创建文件夹 public static string CreatFolderToSPDocLib(string strFolderName, string strDocLibName) { string FolderPath = string.Empty; try { using ...
分类:
其他好文 时间:
2014-08-15 12:11:08
阅读次数:
159
第一步,安装yii和wp:第二步,创建protected/components/ExceptionHandler.php文件statusCode == 404) { try { Yii::app()->runCo...
分类:
其他好文 时间:
2014-08-15 08:16:37
阅读次数:
239
baksmali首先执行的第一个main函数publicstaticvoidmain(String[]args)throwsIOException{
Localelocale=newLocale("en","US");
Locale.setDefault(locale);
CommandLineParserparser=newPosixParser();
CommandLinecommandLine;
try{
commandLine=parser.parse(options,args..
分类:
其他好文 时间:
2014-08-15 02:53:47
阅读次数:
261
public static void main(String[] args) { String subjectDN = "CN=duwenlei"; String algorithm = ""; try { KeyPairGenerat...
分类:
其他好文 时间:
2014-08-14 20:12:39
阅读次数:
175
import java.io.IOException;import java.util.Scanner;public class Sum { public static void main(String[] args) throws IOException { try { ...
分类:
其他好文 时间:
2014-08-14 20:11:09
阅读次数:
206
/** * * 方法名称: exportUtil|描述: 导出指定格式的数据* @param projPlanList* @return */public String exportUtil(List projPlanList){try{HSSFWorkbook workbook = new HSS...
分类:
其他好文 时间:
2014-08-14 19:27:59
阅读次数:
310
import java.io.File;import java.io.FileOutputStream;public class Creat { public static void main(String[] args){ try { File f = n...
分类:
其他好文 时间:
2014-08-14 15:59:18
阅读次数:
165