In Django parlance, a project is the final product,
and it assembles one or more applications together.Manage.py is a pointer back
to Django-admin.py ...
分类:
其他好文 时间:
2014-05-10 07:56:19
阅读次数:
480
1、后台连接数据库,取到数据string sql =
".......................................";string one =
OracleHelperTools.ExecuteScalar(sql); //这里图省事用的oraclehelperstring fl...
分类:
Web程序 时间:
2014-05-10 06:15:07
阅读次数:
405
原题地址:http://www.cnblogs.com/x1957/p/3373994.html题意:Given
an array of integers, every element appearstwiceexcept for one. Find that single
one.要求:线性时间复...
分类:
编程语言 时间:
2014-05-10 05:22:27
阅读次数:
408
Pat1076代码
题目描述:
Weibo is known as the Chinese version of Twitter. One user on Weibo may have many followers, and may follow many other users as well. Hence a social network is formed with foll...
分类:
其他好文 时间:
2014-05-10 04:50:24
阅读次数:
403
Problem DescriptionA tree is a well-known data
structure that is either empty (null, void, nothing) or is a set of one or more
nodes connected by dire...
分类:
其他好文 时间:
2014-05-10 03:18:52
阅读次数:
374
原题地址:http://oj.leetcode.com/problems/single-number-ii/题意:Given
an array of integers, every element appearsthreetimes except for one. Find that
single ...
分类:
编程语言 时间:
2014-05-10 03:01:41
阅读次数:
413
Deferred 框架下的AA
前面说过Deferred 框架下无法使用硬件AA,这句话不严谨:
Deferred Shading在G-Buffer之后,物体几何信息全被抛弃了,导致后续每个像素都独立计算,所以不能使用硬件AA;
但是:Deferred Lighting,在Shading Pass阶段,物体会被再次渲染一遍,此时打开硬件MSAA,肯定是能用的(尽管光照部分取自li...
分类:
其他好文 时间:
2014-05-09 22:29:22
阅读次数:
868
题意:
题意好复杂。。。
给定n个人,从左到右排好队。
他们依次从左到右离开队伍。
每个人有个权值d
当某个人是第k-th离开队伍的,那么不开心值为 d*(k-1)
有一个操作,对于一个子序列,可以把前面一段翻转。
问最小的不开心值和。
#include
#include
#include
#include
#include
#include
using namespace...
分类:
其他好文 时间:
2014-05-09 20:45:04
阅读次数:
288
题目:
Description
People in Silverland use coins.They have coins of value A1,A2,A3...An Silverland dollar.One day Tony opened his money-box and found there were some coins.He decided to buy a very n...
分类:
其他好文 时间:
2014-05-09 15:00:55
阅读次数:
345
恭喜万同学克服一切困难(身体发高烧、机架故障)于北京一次PASSSPCCIE。致敬!!
分类:
其他好文 时间:
2014-05-09 14:21:36
阅读次数:
233