1 string jsonStr = "{\"data\": {\"ssoToken\": \"70abd3d8a6654ff189c482fc4842468c\",\"account\":\"admin\",\"userType\":\"platformAdmin\",\"realName\": ...
分类:
Web程序 时间:
2014-12-18 13:11:25
阅读次数:
156
Given an integer, convert it to a roman numeral.
Input is guaranteed to be within the range from 1 to 3999.
class Solution {
public:
string intToRoman(int num) {
char symbol[] = {'I', ...
分类:
其他好文 时间:
2014-12-18 12:03:50
阅读次数:
162
【题目】
Given a string S and a string T, count the number of distinct subsequences of T in S.
A subsequence of a string is a new string which is formed from the original string by deleting some (...
分类:
其他好文 时间:
2014-12-18 12:03:46
阅读次数:
118
继承总结:
class
{
public static void main(String[] args)
{
System.out.println("Hello World!");
}
}
class Fu
{
private int num = 9;
public void show1(){}
public void setNum(int num)
{
this...
分类:
编程语言 时间:
2014-12-18 11:57:57
阅读次数:
236
public class Test1 { /** * @param args */ public static void main(String[] args){ int a = 1000, b = 1000; System.out.print...
分类:
编程语言 时间:
2014-12-18 11:50:25
阅读次数:
201
Longest Valid ParenthesesGiven a string containing just the characters'('and')', find the length of the longest valid (well-formed) parentheses substr...
分类:
其他好文 时间:
2014-12-18 11:48:19
阅读次数:
158
我们常常会遇到将数字转换为金额字符串,方法很简单,比如: 1 class Program 2 { 3 static void Main(string[] args) 4 { 5 double num = 123.456; 6 ...
分类:
其他好文 时间:
2014-12-18 11:44:18
阅读次数:
213
架上图片了你就可以在画板上涂改了啊我要写多几个字上去 string str = "Baidu"; //写什么字? Font font = Font("宋体",30f); //字是什么样子的? Brush brush = Brushes.Red; //用红色涂上我的字吧; PointF point =...
分类:
Web程序 时间:
2014-12-18 11:41:53
阅读次数:
249
number类型与string类型比较,string会转换为number类型 '' == '0' //false 0 == ''//true; 0 == '0'//true ' \t\r\n '==0//truenull和undefined类型...
分类:
Web程序 时间:
2014-12-18 11:37:45
阅读次数:
191
//二维数组 int[,] second = new int[2,3]//有两个长度为三的一维数组 { {3,2,5}, {6,7,8} }; int[] shu=n...
分类:
编程语言 时间:
2014-12-18 11:35:06
阅读次数:
209