import java.util.Scanner;public class Jiugongge { public static void main(String[] args) { Scanner s=new Scanner(System.in); int x...
分类:
其他好文 时间:
2015-05-25 23:46:15
阅读次数:
190
无参无返回值的方法,用public void 方法名,来声明;有参无返回值的方法,用public void 方法名,来声明;有参有返回值的方法,用public int 方法名(int i,int n),来声明(int 是参数的数据类型指定,也可以是其它数据类型,例如:String、char、doub...
分类:
编程语言 时间:
2015-05-25 23:43:53
阅读次数:
152
=============================CString================================== ?当有多个字串时,比如 ?? ? int ? n1 ? = ? 5; ?? ? int ? n2 ? = ? 10; ?? ? char ? sz1[] ? = ? "abcdefg"; ??...
分类:
其他好文 时间:
2015-05-25 22:39:26
阅读次数:
144
Given a string s, partition s such that every substring of the partition is a palindrome.
Return all possible palindrome partitioning of s.
For example, given s = "aab",
Return
[
["aa","...
分类:
其他好文 时间:
2015-05-25 22:36:35
阅读次数:
123
创建一个简单的UI界面这篇课程你会学到:1、一个UI布局标签Linear Layout的初体验2、在布局中使用一个输入框3、res文件夹下的String.xml初体验4、在布局中使用一个按钮5、让你的输入框变的更合适屏幕的宽度android的图形用户界面(简单的说就是你看到的app界面)是用一堆的V...
分类:
移动开发 时间:
2015-05-25 22:23:05
阅读次数:
200
这也算是设置标志位的经典例子了吧。class Solution {public: bool isExist(vector>& board,string wordsub,int h,int w, vector>&flag) { int direct[4][2]={{0,1},...
分类:
其他好文 时间:
2015-05-25 22:19:18
阅读次数:
153
申请审批示例: 1.请求类: public class Request { public string RequestType { get; set; } public string RequestContent { get; set; } ...
分类:
其他好文 时间:
2015-05-25 22:18:29
阅读次数:
165
string url = "http://pic.maizuo.com/usr/100002174/0e495857e71e57b9486aecec788d557e.tmp"; WebRequest wreq = WebRequest.Create(url); WebR...
分类:
Web程序 时间:
2015-05-25 22:18:22
阅读次数:
227
public static void Main(string[] args) { string s = GetMd5("123"); Console.WriteLine(s); Console.ReadK...
import javax.swing.*;public class MonkeyKing{ public static void main(String[] args){ String s; int n,k,m,n1; s=JOptionPane.sh...
分类:
其他好文 时间:
2015-05-25 22:09:10
阅读次数:
123