This blog post introduces the problem with
Globals, Side Effect when Forgetting var, Access the Global Object, Single var
Pattern and Hoisting: A prob...
分类:
编程语言 时间:
2014-05-20 01:30:31
阅读次数:
404
Given a binary tree, determine if it is
height-balanced.For this problem, a height-balanced binary tree is defined as a
binary tree in which the depth...
分类:
其他好文 时间:
2014-05-19 20:40:55
阅读次数:
278
/************************************************************** Problem: 2631
User: wangyucheng Language: C++ Result: Accepted Time:184...
分类:
其他好文 时间:
2014-05-19 11:27:24
阅读次数:
320
We use the pt-pmp (a variety for pmp
!http://poormansprofiler.org/! by Percona) tool a lot to analyze our online
MySQL problem.But when we execute the...
分类:
其他好文 时间:
2014-05-18 20:04:54
阅读次数:
425
Lucky Light
Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 272 Accepted Submission(s): 74
Problem Description
We have a (point)...
分类:
其他好文 时间:
2014-05-18 18:44:16
阅读次数:
273
Machine learning with python Linear Regression
数据来自 cs229 Problem Set 1 (pdf)Data:q1x.dat,q1y.dat,q2x.dat,q2y.datPS1 Solution
(pdf)从左上往右下 batchG...
分类:
编程语言 时间:
2014-05-17 23:05:44
阅读次数:
525
原题链接:http://acm.csu.edu.cn/OnlineJudge/problem.php?id=1425
DP题。 f[i][j]表示当前数字为i,分解式中最大质数为j的方案数,那么,状态转移方程为: f[i][j] = sum(f[i-j][k]) 其中...
分类:
其他好文 时间:
2014-05-17 20:41:17
阅读次数:
296
看了张一飞大神的论文,开始找题做,上面提到的一个就是ecnu上的题链接:http://www.acm.cs.ecnu.edu.cn/problem.php?problemid=1328题目大意:给定red、green、blue三种长度分别为c、z、n的矩形条纹,要求用这三种矩形条纹来cover大小为...
分类:
其他好文 时间:
2014-05-17 18:23:23
阅读次数:
292
http://acm.fzu.edu.cn/problem.php?pid=2169 Problem
DescriptionYL 是shadow国的国王,shadow国有N个城市。为了节省开支,shadow国只有N-1条道路,这N-1条道路使得N个城市连通。某一
年,shadow国发生了叛乱,叛军占...
分类:
其他好文 时间:
2014-05-17 14:55:32
阅读次数:
225
Yukari's Birthday
Time Limit: 12000/6000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 2549 Accepted Submission(s): 522
Problem Description
Today is...
分类:
其他好文 时间:
2014-05-16 01:51:29
阅读次数:
284