1 package util; 2 3 import java.awt.Component; 4 import java.awt.Image; 5 import java.awt.MediaTracker; 6 import java.awt.image.CropImageFilte...
分类:
编程语言 时间:
2015-05-19 18:18:38
收藏:
0 评论:
0 赞:
0 阅读:
106
题目传送门 1 /* 2 题意:比较型号的大小 3 模拟:坑点在长度可能为5,此时设为'A' 4 */ 5 #include 6 #include 7 #include 8 #include 9 #include 10 #include 11 #include 12 #inc...
分类:
移动平台 时间:
2015-05-19 18:18:28
收藏:
0 评论:
0 赞:
0 阅读:
269
题意:给一串数字,在其间加入若干加号和一个等号,问使等式成立的方案总数if the digits serial is "1212", you can get 2 equations, they are "12=12" and "1+2=1+2".一看就是搜索,但是不太好写,还是参考了kuang神和这...
分类:
其他 时间:
2015-05-19 18:18:17
收藏:
0 评论:
0 赞:
0 阅读:
274
做Android布局是件很享受的事,这得益于他良好的xml方式。使用xml可以快速有效的为软件定义界面。可是有时候我们总感觉官方定义的一些基本组件不够用,自定义组件就不可避免了。那么如何才能做到像官方提供的那些组件一样用xml来定义他的属性呢?现在我们就来讨论一下他的用法。一、在res/values...
分类:
移动平台 时间:
2015-05-19 18:17:55
收藏:
0 评论:
0 赞:
0 阅读:
234
Spring中Template模式与callback的结合使用浅析
分类:
编程语言 时间:
2015-05-19 18:17:45
收藏:
0 评论:
0 赞:
0 阅读:
230
CSS 派生选择器:比方说,你希望列表中的 strong 元素变为斜体字,而不是通常的粗体字,可以这样定义一个派生选择器:li strong { font-style: italic; font-weight: normal; ...
分类:
Web开发 时间:
2015-05-19 18:17:35
收藏:
0 评论:
0 赞:
0 阅读:
272
关于 C# 中 Exception 对象的属性,在程序出现异常时,需要记录异常的信息,并把信息保存起来或输出,以方便准确定位异常的根源,以下是 Exception 对象的属性名称 说明公共属性 Data 获取一个提供用户定义的其他异常信息的键/值对的集合。公共属性 HelpLink 获取...
分类:
Windows开发 时间:
2015-05-19 18:17:25
收藏:
0 评论:
0 赞:
0 阅读:
360
循环嵌套:在外面的大循环里再套上小循环案列一、九九乘法表思路:九九乘法表就是在一个大循环里在套一个小循环,外面的大循环每循环一次,里面的小循环不能大于外面大循环的次数,定义外面大循环的循环次数是i,小循环是k,大循环总共循环9次,所以i小于等于9,k小于等于i案例二、打印各种图形1、正方形思路:打印...
分类:
其他 时间:
2015-05-19 18:17:15
收藏:
0 评论:
0 赞:
0 阅读:
173
一. SelectNodes,SelectSingleNode总是返回NULL 下面以一个简单的xml为例: Invalid Login 下面尝试读取error节点的内容XmlNode errorNode = xmldoc.SelectSingleNode("/message/error"); .....
分类:
Windows开发 时间:
2015-05-19 18:16:55
收藏:
0 评论:
0 赞:
0 阅读:
392
Throughout this Handbook we will be investing certain terms with specific meanings.在这本手册整个我们会定下某些条款具有特定的含义。Requiremen需求A required feature or function ...
分类:
其他 时间:
2015-05-19 18:16:37
收藏:
0 评论:
0 赞:
0 阅读:
223
html5提供了很多存储的功能,诸如localStorage,sessionStorage,indexedDB,还有离线缓存等,本次主要介绍离线缓存跟本地存储。离线缓存使用离线存储可以缓存部分文件在本地,当网络断开的时候还可以照常使用,这个需要一个配置文件,一般这么写: 然后你需要在你的文件te.....
分类:
Web开发 时间:
2015-05-19 18:16:27
收藏:
0 评论:
0 赞:
0 阅读:
301
(function ($) { $.fn.Search = function (options) { var defaults = { inputid: "search", divid: "searchDiv", ...
分类:
其他 时间:
2015-05-19 18:16:18
收藏:
0 评论:
0 赞:
0 阅读:
75
AndroidManifest.xml布局文件:activity_main.xml MainActivity.java点击登录按钮:if(nameET!=null&&!nameET.getText().toString().equals(...
分类:
移动平台 时间:
2015-05-19 18:16:08
收藏:
0 评论:
0 赞:
0 阅读:
877
http://acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=34870求n内的素数个数。 1 /* *********************************************** 2 Author : zch ...
分类:
其他 时间:
2015-05-19 18:15:58
收藏:
0 评论:
0 赞:
0 阅读:
288
单例模式在实际开发中的应用
分类:
其他 时间:
2015-05-19 18:15:47
收藏:
0 评论:
0 赞:
0 阅读:
201
MyEclipse 导入项目之后 运行“Could not find main class. Program wll exit.”报错:bad version number in .class filejdk版本问题修改成一致Window --> Preferences -->Java --> co...
分类:
其他 时间:
2015-05-19 18:15:38
收藏:
0 评论:
0 赞:
0 阅读:
415
Step 1.Make sure the SOCKS tunnel on your work computer allows LAN connections so your iPhone/iPod Touch can connect to it.ssh -N -g -D 1080 user@doma...
分类:
系统服务 时间:
2015-05-19 18:15:29
收藏:
0 评论:
0 赞:
0 阅读:
398
If a page contains frames, each frame has its own window object and is stored in the frames collection. Within the frames collection, the window obj.....
分类:
Windows开发 时间:
2015-05-19 18:15:19
收藏:
0 评论:
0 赞:
0 阅读:
284
Problem DescriptionTom and Jerry are playing a game with tubes and pearls. The rule of the game is:1) Tom and Jerry come up together with a number K.2...
分类:
其他 时间:
2015-05-19 18:15:00
收藏:
0 评论:
0 赞:
0 阅读:
230
树状数组/前缀和 Orz lct1999 好神的做法。。。 先看下暴力的做法:对于区间[l,r],我们依次扫过去,如果这个数是第一次出现,那么我们种类数+1。 我们发现:区间中相同的几个数,只有最左边那个才对答案有贡献。 那么我们O(n)预处理一个next数组,满足a[i]=a[next[...
分类:
其他 时间:
2015-05-19 18:14:42
收藏:
0 评论:
0 赞:
0 阅读:
167