今天才初二,昨天是回家这么长时间以来唯一放开了好好玩儿的一天,玩儿的很开心.开心之后又开始继续研究和复习.首先愿新的一年万事如意,心想事成,最主要身体健康 首先,谈谈如何获取下载资源的信息. NSString *url_string = @"http://box.dwstatic.com/s...
分类:
Web程序 时间:
2015-02-20 11:56:42
阅读次数:
260
UVALive - 3026
Period
Time Limit: 3000MS
Memory Limit: Unknown
64bit IO Format: %lld & %llu
Submit Status
Description
For each prefix of a given string S wit...
分类:
其他好文 时间:
2015-02-20 09:45:52
阅读次数:
139
139. Word Break leetcode链接:https://oj.leetcode.com/problems/word-break/ DP的思想。设置boolean数组存储,canBreak[i]表示0~i的字符是否满足public boolean wordBreak(String s, ...
分类:
其他好文 时间:
2015-02-20 08:38:59
阅读次数:
163
servletConfig--代表当前servlet在web.xml中的配置信息String getServletName() – 获取当前servlet在web.xml取的名字StringgetInitParameter(Stringname) 获取当前servlet指定名称的初始化参数的值 R....
分类:
其他好文 时间:
2015-02-19 21:50:04
阅读次数:
181
1.创建对象:类名 对象名=new 类名/构造方法();2.调用属性和方法:对象名.属性;对象名.方法();3.静态成员变量定义static string name;static{ name="邹萌彧";}调用的时候可以用类名.属性 或者 创建对象的方法来调用。
分类:
其他好文 时间:
2015-02-19 20:43:41
阅读次数:
150
Palindromes A regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string"ABCDEDCBA"is a palind...
分类:
其他好文 时间:
2015-02-19 18:38:16
阅读次数:
250
1.Spinner一个显示下拉列表的控件,控件内容由相应的Adapter提供。2.Spinner实现的步骤 存放内容的方式:1.main.xml里,android:entries=“@array/planets_array”;//内容为string.xml里的字符串数组。 2.使用ArrayAdap...
分类:
移动开发 时间:
2015-02-19 17:31:02
阅读次数:
148
/**
* 多项式求和
* 1 - 1/2 + 1/3 - 1/4 + 1/5 - 1/6 + ...
*/
import java.util.*;
public class acm2011{
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
...
分类:
其他好文 时间:
2015-02-19 14:00:29
阅读次数:
146
博客分类: Java综合 一:在JAVA中,有六个不同的地方可以存储数据: 1. 寄存器(register)。 这是最快的存储区,因为它位于不同于其他存储区的地方——处理器内部。但是寄存器的数量极其有限,所以寄存器由编译器根据需求进行分配。你不能直接控制,也不能在程序中感觉到寄存器存在的任何迹象.....
分类:
编程语言 时间:
2015-02-19 13:59:17
阅读次数:
175
括号匹配Given a string containing just the characters'(',')','{','}','['and']', determine if the input string is valid.The brackets must close in the corr...
分类:
其他好文 时间:
2015-02-19 13:58:09
阅读次数:
176