想用下django admin后台更新下数据,突然忘记了密码了 看了下数据库,密码是加密的,所以直接从数据库获得是不可能了 那么就用Django shell: python manage.py shell 然后获取你的用户名,并且重设密码: from d...
分类:
其他好文 时间:
2014-07-30 10:14:43
阅读次数:
199
叠筐
Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 12124 Accepted Submission(s): 3123
Problem Description
需要的时候,就把一个个大小差一圈的筐叠上去,使得...
分类:
其他好文 时间:
2014-07-30 10:08:43
阅读次数:
203
/*
The Hardest Problem Ever
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 15859 Accepted Submission(s): 7331
Problem Description
Ju...
分类:
其他好文 时间:
2014-07-30 10:08:23
阅读次数:
371
题目的意思还是比较好看懂的。注意以下几点:
1.所有的{}与$$都是唯一匹配的啊,$$ $$这种情况按前两个一组后两个一组来算。
2.换行不会打破连续的空格。
3.{}与$$之间的不会有嵌套的形式。
4.中间计算过程有可能超int要用long long 来存。
The Great Pan
Time Limit: 2000/1000 MS (Java/Others) Mem...
分类:
其他好文 时间:
2014-07-30 10:08:03
阅读次数:
321
放苹果
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 25952
Accepted: 16509
Description
把M个同样的苹果放在N个同样的盘子里,允许有的盘子空着不放,问共有多少种不同的分法?(用K表示)5,1,1和1,5,1 是同一种分法。...
分类:
移动开发 时间:
2014-07-30 10:00:53
阅读次数:
262
Pseudoforest Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 1705 Accepted Submission(s): 653 P...
分类:
其他好文 时间:
2014-07-30 09:55:43
阅读次数:
213
题目:Say you have an array for which the ith element is the price of a given stock on day i.Design an algorithm to find the maximum profit. You may com....
分类:
编程语言 时间:
2014-07-30 05:35:13
阅读次数:
260
题目:Say you have an array for which the ith element is the price of a given stock on day i.Design an algorithm to find the maximum profit. You may com....
分类:
编程语言 时间:
2014-07-30 05:35:03
阅读次数:
309
题目:Say you have an array for which the ith element is the price of a given stock on day i.If you were only permitted to complete at most one transact....
分类:
编程语言 时间:
2014-07-30 05:34:13
阅读次数:
248
1.时钟相关的API函数原型#include<unistd.h>
unsignedintsleep(unsignedintseconds);
unsignedintalarm(unsignedintseconds);
intusleep(useconds_tusec);
#include<sys/time.h>
intgetitimer(intwhich,structitimerval*curr_value);
intsetitimer(intwhich,consts..
分类:
系统相关 时间:
2014-07-30 03:26:43
阅读次数:
363