import java.util.Scanner;/** * Created by Administrator on 14-5-13. * 计算斐波那契数列 * * Result M(Problem prob) { if () return ; // The problem cannot be so...
分类:
其他好文 时间:
2014-07-15 00:39:15
阅读次数:
408
呃,被坑了几个小时,后来发现,在调用setResult的时候,requestCode随便传了个Activity的RESULT_OK,而这个常量的值是-1,导致onActivityResult没有被调用。握了棵草啊。。。看看文档:requestCode If >= 0, this code will ...
分类:
其他好文 时间:
2014-07-15 00:30:06
阅读次数:
3307
1.4.1、编译过程在编译环境配置完成后就可以在CMD中进行编译编译命令:ant –buildfile build.xml如图上所示编译成功(备注,编译过程中,get-revision:[exec]Result:1与编译结果没多大影响,可以忽略)1.4.2、编译是否成功验证Test.html(不能放...
分类:
其他好文 时间:
2014-07-15 00:26:49
阅读次数:
263
form.submit({ url:"../addOrUpdatePack.shtml",method:'POST',success:function(f,action) {//f是代表formalert('rpackCode:'+action.result.rpackCode) }, ...
分类:
其他好文 时间:
2014-07-15 00:01:59
阅读次数:
262
Overcommits KVM allows for both memory and disk space overcommit. However, hard errors resulting from exceeding available resources will result in gue...
分类:
其他好文 时间:
2014-07-14 23:36:34
阅读次数:
385
namespace为空action指定class,将会执行Action::execute,返回一个字符串,然后根据字符串,寻找result,实现Action接口,继承ActionSupportnamespace 没有,那么交给welcome-liist这个文件href超级链接,--绝对路径 ,bas...
分类:
其他好文 时间:
2014-07-14 22:33:13
阅读次数:
351
How do I insert a space to a NSString.I need to add a space at index 5 into:NString * dir = @"abcdefghijklmno";To get this result:abcde fghijklmnowith...
分类:
其他好文 时间:
2014-07-14 21:12:21
阅读次数:
175
def say_goodnight(name) result ="Good night ." +name return resultenddef say_goodmorning(name) result ="Good morning .#{name}" return resultendde...
分类:
其他好文 时间:
2014-07-14 14:14:34
阅读次数:
189
【转】SAP FTP Function本文示例如何使用SAP FTP Function将文件从应用服务器传输到另外一个FTP服务器上。DATA: BEGIN OF ig_ftp_result OCCURS 0, line(100), END OF ig_ftp_result.DATA: l_path...
分类:
其他好文 时间:
2014-07-14 10:48:27
阅读次数:
249
批量创建用户read-p"请输入用户名的前缀:"userread-p"请输入用户的数目:"numcount=0if(($num>10))thenecho"最多只能同时新建10个用户"elseforiin$(seq$num)doifuseradd$user$ithencount=$(($count+1))echo"用户$user$i已经创建成功"fidoneecho"一共新建的用户数:$count个"fi..
分类:
其他好文 时间:
2014-07-13 14:26:38
阅读次数:
230