With Angular, most of the time you're specifying a templateUrl for your directives and states/routes. This means you need to make sure that you're loa...
分类:
Web程序 时间:
2015-09-08 18:35:30
阅读次数:
157
1057. Stack (30)时间限制100 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CHEN, YueStack is one of the most fundamental data structures, which is based on the ...
分类:
其他好文 时间:
2015-09-08 06:51:13
阅读次数:
217
Popular CowsTime Limit:2000MSMemory Limit:65536KTotal Submissions:27607Accepted:11109DescriptionEvery cow's dream is to become the most popular cow in...
分类:
其他好文 时间:
2015-09-07 21:17:37
阅读次数:
211
今天在mac电脑上安装python的mysql时出现如下问题:该安装时是使用sudo pip install MySQL-python来安装mysql模块,安装没有问题,但是在python中导入MySQLdb的时候出现Traceback (most recent call last): File "...
分类:
数据库 时间:
2015-09-07 21:16:01
阅读次数:
293
题意:寻找面积最大的挡板,面积等于 area=(j-i)*min(a[i],a[j]); 假设当前组成最大面积的是i和j,那么它具有如下性质:在i的左边没有更高的线,同理j的右边没有更高的线。那么,从数组的两边开始检索,假设为a[i]和a[j],如果a[i]<a[j], i++;否则 j-...
分类:
其他好文 时间:
2015-09-07 21:03:20
阅读次数:
137
题目链接 现在做这个题目真是千万只草泥马在心中路过 这个与上面一题差不多 这个题目是求e的第100个分数表达式中分子的各位数之和 What is most surprising is that the important mathematical constant,e = [2; 1,2,1, 1,...
分类:
其他好文 时间:
2015-09-06 19:51:48
阅读次数:
339
Longest Substring with At Most Two Distinct CharactersGiven a string, find the length of the longest substring T that contains at most 2 distinct char...
分类:
其他好文 时间:
2015-09-06 12:38:14
阅读次数:
178
?Find and Retain Passionate Problem SolversChad LaVignepuTTing TogETHER A TEAM of outstanding developers is one of the most important things you can do to ensure the success of a software project. Whil...
分类:
其他好文 时间:
2015-09-06 09:54:23
阅读次数:
208
今天在我的Centos6.5机器上安装 Django 开发环境,在安装完使用 “django-admin.py startproject myapp” 创建应用的时候报了下面的错误$ django-admin.py startproject myapp
Traceback (most recent call last):
File "/home/jhadmin/myenv/bin/django-...
分类:
其他好文 时间:
2015-09-05 22:21:59
阅读次数:
265
1.用del删除对对象的引用>>> a = 123>>> a123>>> del a>>> aTraceback (most recent call last): File "", line 1, in NameError : name 'a' is not defined2.整型(1)布尔型 .....
分类:
编程语言 时间:
2015-09-05 22:10:48
阅读次数:
295