atitit.表单验证的dsl 本质跟 easyui ligerui比较
1. DSL 声明验证 1
2. 自定义规则 1
3. 正则表达式验证,可以扩展实现 2
4. 犯错误消息提示,generic canBeEmpty is good 3
5. Prevent the form to submit when invalid 3
6. 为空则不验证,不为空则验证,的实现 5
...
分类:
其他好文 时间:
2014-07-26 15:09:30
阅读次数:
316
A - 卡特兰数
Time Limit:1000MS Memory Limit:30000KB 64bit IO Format:%I64d & %I64u
Submit Status
Description
This is a small but ancient game. You are supposed to write down the num...
分类:
其他好文 时间:
2014-07-26 15:07:50
阅读次数:
216
1022: [SHOI2008]小约翰的游戏JohnTime Limit: 1 SecMemory Limit: 162 MBSubmit: 1189Solved: 734[Submit][Status]Description小约翰经常和他的哥哥玩一个非常有趣的游戏:桌子上有n堆石子,小约翰和他的哥...
分类:
其他好文 时间:
2014-07-26 14:27:40
阅读次数:
255
G - 中国剩余定理
Time Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
Some people believe that there are three cycles in a person's life t...
分类:
其他好文 时间:
2014-07-26 02:46:17
阅读次数:
292
2754: [SCOI2012]喵星球上的点名Time Limit:20 SecMemory Limit:128 MBSubmit:662Solved:310[Submit][Status]Descriptiona180285幸运地被选做了地球到喵星球的留学生。他发现喵星人在上课前的点名现象非常有趣...
分类:
其他好文 时间:
2014-07-26 00:10:16
阅读次数:
387
#pragma warning(disable:4996)
#include <cstdio>
#include <Windows.h>
#include <tchar.h>
/*
submit time : 3
1. Time Limit Exceeded
23, 12
request :
A robot is located at the top-left corn...
分类:
其他好文 时间:
2014-07-25 11:40:41
阅读次数:
315
#pragma warning(disable:4996)
#include <cstdio>
#include <Windows.h>
#include <tchar.h>
/*
submit time : 4
can not remember
request :
Given a list, rotate the list to the right by k places,...
分类:
其他好文 时间:
2014-07-25 00:04:04
阅读次数:
197
1406: [AHOI2007]密码箱
Time Limit: 5 Sec Memory Limit:
64 MB
Submit: 670 Solved: 376
[Submit][Status]
Description
在一次偶然的情况下,小可可得到了一个密码箱,听说里面藏着一份古代流传下来的藏宝图,只要能破解密码就能打开箱子,而箱子背面刻着的古代图标,就是对密码的提示。经过艰...
分类:
其他好文 时间:
2014-07-24 23:33:23
阅读次数:
209
SequenceCrawling in process...
Crawling failed
Time Limit:3000MS
Memory Limit:65536KB 64bit IO Format:%I64d & %I64u
Submit
Status
Practice
URAL 1528
Description
You are...
分类:
其他好文 时间:
2014-07-24 23:31:53
阅读次数:
263
#pragma warning(disable:4996)
#include <Windows.h>
#include <tchar.h>
#include <cstdio>
#include <vector>
using namespace std;
/*
submit time : 1
request :
Given a set of non-overlapping inte...
分类:
其他好文 时间:
2014-07-24 12:32:05
阅读次数:
238