一、Description: There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run tim ...
分类:
其他好文 时间:
2017-05-24 22:41:38
阅读次数:
224
It is easy to see that for every fraction in the form 1k(k > 0), we can always find two positive integersx and y, x ≥ y, such that:1k=1x+1yNow our que ...
分类:
其他好文 时间:
2017-05-24 22:38:56
阅读次数:
244
方法一:使用数组指针用new开辟空间 <span style="font-size:18px;">#include<iostream> using namespace std; #define ROW 3 #define COL 4 void main() { int(*p)[COL] = new ...
分类:
编程语言 时间:
2017-05-24 22:38:26
阅读次数:
203
name = "my name is fix zhang" 1、首字母大写 结果: 2、统计字符串中的数量 结果: 3、自动补全剩余字符,文字位于中间 结果: 4、判断字符串以什么结尾 结果: 5、扩充标签长度 name = "my name is \tfix zhang" 结果: 6、查找字符串中 ...
分类:
其他好文 时间:
2017-05-24 22:27:11
阅读次数:
222
pattern:正则表达式验证 例如: <input pattern="1[3578]\d{9}"> 可以省略^和$ 必须和required配合使用,否则在用户没有输入任何内容时,也会提交表单,不会去验证正则表达式 ...
分类:
其他好文 时间:
2017-05-24 21:11:21
阅读次数:
148
使用tnsnames.ora SQL> grant create database link to scott; Grant succeeded. SQL> conn scott/tigerConnected. SQL> create database link lk connect to hr i ...
分类:
数据库 时间:
2017-05-24 21:07:26
阅读次数:
191
Problem :It can be seen that the number, 125874, and its double, 251748, contain exactly the same digits, but in a different order.Find the smallest p ...
分类:
编程语言 时间:
2017-05-24 21:02:13
阅读次数:
249
SQL> create tablespace ts_users datafile '/u01/app/oracle/oradata/enmo1/ts01.dbf' size 10m autoextend on maxsize 20m, '/u01/app/oracle/oradata/enmo1/t ...
分类:
数据库 时间:
2017-05-24 20:19:36
阅读次数:
252
鹧鸪天·端午怀屈原 暗诵怀沙默苦仃,独醒皆醉眼还明。浊云遮日清无迹, 犹自行吟叹楚赓。 乾坤转,泪纵横,国殇忠魄亮恒星。楚山湘水诗音漫, 思寄骚魂浪底宁。 ...
分类:
其他好文 时间:
2017-05-24 20:16:11
阅读次数:
120
什么时候需要用到RCC_APB2Periph_AFIO--复用IO时钟的使用 需要用到外设的重映射功能时才需要使能AFIO的时钟 外部中断(EXTI)中与AFIO有关的寄存器是AFIO-EXTICR1、2、3,它们是用来选择EXTIx外部中断的输入脚之用 举例:重映射USART2 USART2的TX ...
分类:
其他好文 时间:
2017-05-24 20:15:41
阅读次数:
344