Jump Game
Total Accepted: 18745 Total
Submissions: 68916My Submissions
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element...
分类:
其他好文 时间:
2014-09-09 12:43:49
阅读次数:
154
Ahypervisorcalculates the total number of processor cycles (the number of processor cycles of one or more physical processors) in a first length of ti...
分类:
其他好文 时间:
2014-09-09 11:47:48
阅读次数:
320
The 2014 ACM-ICPC Asia Mudanjiang Regional First Round - AThe HimalayasTime Limit: 2 Seconds Memory Limit: 65536 KBAs an artist, Bob usually need to t...
分类:
其他好文 时间:
2014-09-09 11:42:28
阅读次数:
332
1.the using of exception2.file oprationimport os>>> try: data = open('sketch.txt') for each in data: try: (role,message) = eac...
分类:
编程语言 时间:
2014-09-09 11:28:28
阅读次数:
189
Implement strStr().Returns a pointer to the first occurrence of needle in haystack, ornullif needle is not part of haystack.在文本串中查找模式串第一次出现的位置个人思路:1,暴...
分类:
其他好文 时间:
2014-09-09 10:48:38
阅读次数:
220
1.publish2.update print_lolPS:for Step 1.write the code in to a py file. put the py file into a folder named nester. new a py file named 'setup' and t...
分类:
编程语言 时间:
2014-09-09 10:44:28
阅读次数:
309
【A】The HimalayasTime Limit: 2 Seconds Memory Limit: 65536 KBAs an artist, Bob usually need to travel around the world. He made a lot of sketch of s...
分类:
其他好文 时间:
2014-09-09 10:30:58
阅读次数:
230
2014牡丹江网络赛C题 (第三水的题The 2014 ACM-ICPC Asia Mudanjiang Regional First Roundhttp://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3811Untrusted Pa...
分类:
其他好文 时间:
2014-09-08 10:50:16
阅读次数:
433
思路: 将4个串每个串都反向这样得到新的四个串一共8个串,对于母串每个位置检测这个串能不能放进去,hs或者后缀数组都可以。然后dp[i][j] (0#include#include#include#include#include#include#include#include#include#inc...
分类:
其他好文 时间:
2014-09-08 10:49:36
阅读次数:
314
前阵子有人问我MVVM模式下,在View中嵌套View,切换View。想一想还是写下来吧。主要就是用到 ContentControl 和 DataTemplate,这算是一种 ViewModel First 的思想吧。其实好多MVVM的框架,也都提供这样的功能。在ContentControl绑定Vi...
分类:
其他好文 时间:
2014-09-07 23:41:56
阅读次数:
303