uvaLive 3644:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=1645题意::每个化合物都是有两种元素组成的,如果车上存在k个简单...
分类:
其他好文 时间:
2014-07-27 09:59:12
阅读次数:
282
Jimmy Kimmel 美国talk show的主持人,最近特意做了一个搞笑的小测试,看看大家是多么喜欢Apple的产品,即使是一个用卡西欧手表,贴上Apple商标伪装的iWatch,大家都是很高兴拥有。这个要放在国内访问一下那些什么...
分类:
移动开发 时间:
2014-07-26 17:26:32
阅读次数:
613
一、接口接口是C#中很常见的工具,概念什么的就不说了,这里讲几个值得注意的小地方:1、接口内部只能有函数、属性和事件的声明:interface IParent{ void Show(); string Type { get; set; } e...
分类:
其他好文 时间:
2014-07-26 17:03:21
阅读次数:
347
1Set up vimdiffThe vimdiff as a merge tool will display several buffers to show the yours/theirs/original changes.The key point is to set up the vimdi...
分类:
其他好文 时间:
2014-07-26 14:39:01
阅读次数:
280
Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.click to show follow up.Follow up:Did you use extra space...
分类:
其他好文 时间:
2014-07-26 14:29:30
阅读次数:
183
题目:uva10400 - Game Show Math(回溯+剪枝)
题目大意:给出N个数,并且给出一个目标数值,要求用上面的数字(全部),并且顺序不能乱,然后用+-*/这些操作,问最终能不能得到目标数值。这里要注意给出的数会在【-32000,32000】之间, 并且要用除法的时候,只有在能整除的时候才能用。并且中间计算结果不能超过【-32000,32000】范围。如果超过这个操作不能...
分类:
其他好文 时间:
2014-07-26 02:30:46
阅读次数:
202
暴力解决。先把字典里的每个单词的长度存起来,在查找的时候,就比较长度,在多一个少一个之间找,
#include
#include
#include
#include
#include
#include
using namespace std;
char s[10005][20];
char h[20];
int w[10005],len;
int show(int a)
{
int i,...
分类:
其他好文 时间:
2014-07-26 02:27:57
阅读次数:
153
最终效果图,点击save会保存到文件中,点击show会从文件中读取出内容并显示。main.xml[xhtml]view plaincopyactivity代码[java]view plaincopypackagecn.com.file;importjava.io.ByteArrayOutputStr...
分类:
移动开发 时间:
2014-07-26 00:54:56
阅读次数:
345
uva11997:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&category=24&problem=3148&mosmsg=Submission+received+wi...
分类:
其他好文 时间:
2014-07-25 23:55:50
阅读次数:
541
EXEC sp_configure 'show advanced options', 1; RECONFIGURE;EXEC sp_configure 'xp_cmdshell', 1; EXEC sp_configure 'show advanced options', 0; RECONFI...
分类:
其他好文 时间:
2014-07-25 16:45:21
阅读次数:
272