转自:http://blog.itpub.net/22990797/viewspace-750157/Oracle文档中用到了两种表达语法的方法,语法图和BNF。BNF, Backus-Naur Form,中文是巴科斯范式:,它是由约翰·巴科斯(John Backus)和彼得·诺尔(Peter Na...
分类:
数据库 时间:
2014-11-24 18:42:41
阅读次数:
175
Given two binary strings, return their sum (also a binary string).
For example,
a = "11"
b = "1"
Return "100".
#include
#include
char* addBinary(char a[], char b[]) {
int na=strlen(a);
...
分类:
其他好文 时间:
2014-11-24 17:13:45
阅读次数:
191
#includeint main (){ #ifdef ONLINE_JUDGE #else freopen ("in.txt","r",stdin); #endif int n,m; int a[101]; while(scanf("%d",&n)!=EOF&&(na[k+1])...
分类:
其他好文 时间:
2014-11-23 22:52:28
阅读次数:
245
---11g的是 周一到周五 22:00-2:00 周六周日 6:00-4:00
SELECT w.window_name, w.repeat_interval, w.duration, w.enabled
FROM dba_autotask_window_clients c, dba_scheduler_windows w
WHERE c.window_name = w.window_na...
分类:
数据库 时间:
2014-11-20 20:29:04
阅读次数:
284
grunt很强大,可以帮我我们解决很多繁琐的操作,虽然刚接触不久,但依然感受到其强大之处,这篇记录一下通过grunt.js实现事实刷新页面,省去了编码 -> 保存 -> F5..F5..F5..F5...n多个F5操作。首先看下项目目录:然后来看package.json配置:1 {2 "na...
分类:
Web程序 时间:
2014-11-19 18:32:39
阅读次数:
222
以前喜欢这样组织文件:myproject/src/moduleA放moduleA的所有cpp文件myproject/include/moduleA放moduleA的所有h文件对moduleB.C.D...类似的处理,但是仍然容易有name clashes最近发现在使用上述文件组织方式的情况下,用na...
分类:
编程语言 时间:
2014-11-18 23:34:07
阅读次数:
283
Caocao's BridgesTime Limit: 1000msMemory Limit: 32768KBThis problem will be judged onHDU. Original ID:473864-bit integer IO format:%I64d Java class na...
分类:
其他好文 时间:
2014-11-18 17:50:52
阅读次数:
333
[问题2014A08] 设 \(A=(a_{ij})\) 为数域 \(\mathbb{K}\) 上的 \(n\) 阶方阵, 定义函数 \[f(A)=\sum_{i,j=1}^na_{ij}^2.\] 设 \(P\) 为数域 \(\mathbb{K}\) 上的 \(n\) 阶非异阵, 满足: 对任意的...
分类:
其他好文 时间:
2014-11-15 12:46:04
阅读次数:
118
Here‘s my solution to make SOAP-headers based authentication. 1). First of all we define the decorator class for our service class: <?php
class?SOAP_Service_Secure
{
????protected?$class_na...
分类:
Web程序 时间:
2014-11-13 16:55:13
阅读次数:
250
近期有很多同学对nagios和cacti整合很是纠结,特写此文方便大家参考,解决大家在nagios和cacti整合的过程中遇到的问题。一、Cacti安装部署作为一名LinuxSA,日常最重要的就是保证网站正常稳定的运行,我们需要实时监控网站、服务器的运行状态,这时需要借助开源软件(cacti、na..
分类:
移动开发 时间:
2014-11-13 07:14:40
阅读次数:
352