Feng Shui
Time Limit: 2000MS
Memory Limit: 65536K
Total Submissions: 4185
Accepted: 1279
Special Judge
Description
Feng shui is the ancient Chinese practice of pl...
分类:
其他好文 时间:
2014-05-12 15:11:08
阅读次数:
380
response.buffer=false
'为防止程序陷入死循环,初始化一些最大重试值
Dim MaxPassLen,MaxPassAsc
MaxPassLen=20 '密码最大长度
MaxPassAsc=20
'==== 字符转换
Function bytes2BSTR(vIn)
strReturn = ""
For j = 1 To LenB(vIn)
Th...
分类:
其他好文 时间:
2014-05-12 14:47:40
阅读次数:
327
Given a string S and a string T, count the
number of distinct subsequences of T in S.A subsequence of a string is a new
string which is formed from th...
分类:
其他好文 时间:
2014-05-12 09:37:51
阅读次数:
287
Bridge Across Islands
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 8071
Accepted: 2364
Special Judge
Description
Thousands of thousands years ago th...
分类:
其他好文 时间:
2014-05-11 13:01:55
阅读次数:
454
1 ; *** Inno Setup version 5.5.0+ Chinese messages
*** 2 ; 3 ; To download user-contributed translations of this file, go to: 4 ;
http://www.jrso...
分类:
其他好文 时间:
2014-05-10 18:55:59
阅读次数:
614
新建两个本地环境变量:LANG=zh_CN.GBKNLS_LANG=SIMPLIFIED
CHINESE_CHINA.ZHS16GBK注:oracle的字符集:select * from
v$nls_parameters;1NLS_LANGUAGESIMPLIFIED CHINESE2NLS_TER...
分类:
数据库 时间:
2014-05-10 07:51:32
阅读次数:
598
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
判断文章中文字符数量
dim WINNT_CHINESE
WINNT_CHINESE = (len("论坛")=2)
function strLength(str)
ON ERROR RESUME NEXT
if WINNT_CHINESE then
dim l,t,c
dim i
l=len(str)
t=l
for i=1 to l
c=asc(mid(...
分类:
其他好文 时间:
2014-05-10 04:30:47
阅读次数:
266
Mr. Pote's shop sells beans now. He has N bags of beans in his warehouse, and he has numbered them with 1, 2, …, N according to their expired dates. The i-th bag contains Wi units of beans. For sellin...
分类:
其他好文 时间:
2014-05-09 22:41:06
阅读次数:
503
题意:
题意好复杂。。。
给定n个人,从左到右排好队。
他们依次从左到右离开队伍。
每个人有个权值d
当某个人是第k-th离开队伍的,那么不开心值为 d*(k-1)
有一个操作,对于一个子序列,可以把前面一段翻转。
问最小的不开心值和。
#include
#include
#include
#include
#include
#include
using namespace...
分类:
其他好文 时间:
2014-05-09 20:45:04
阅读次数:
288