码迷,mamicode.com
首页 >  
搜索关键字:size    ( 49122个结果
4. Median of Two Sorted Arrays
一、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
Fractions Again?! UVA - 10976
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
H5 pattern
pattern:正则表达式验证 例如: <input pattern="1[3578]\d{9}"> 可以省略^和$ 必须和required配合使用,否则在用户没有输入任何内容时,也会提交表单,不会去验证正则表达式 ...
分类:其他好文   时间:2017-05-24 21:11:21    阅读次数:148
『ORACLE』 DBLINK(11g)
使用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
ProjectRuler 算法练习之 位数组成字符串同样的整数
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
『ORACLE』 对永久表空间进行DML操作(11g)
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
(十)stm32 GPIO口复用,重映射 RCC_APB2Periph_AFIO
什么时候需要用到RCC_APB2Periph_AFIO--复用IO时钟的使用 需要用到外设的重映射功能时才需要使能AFIO的时钟 外部中断(EXTI)中与AFIO有关的寄存器是AFIO-EXTICR1、2、3,它们是用来选择EXTIx外部中断的输入脚之用 举例:重映射USART2 USART2的TX ...
分类:其他好文   时间:2017-05-24 20:15:41    阅读次数:344
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!