标签定义了当前文档与 Web 集合中其他文档的关系。link 元素是一个空元素,它仅包含属性。此元素只能存在于 head 部分,不过它可出现任何次数。在 HTML 中, 标签没有结束标签。在 XHTML 中, 标签必须被正确的关闭。
除了HTML的标准通用属性之外,link元素还包括很多可选属性: charset, href, hreflang, media, rel, rev, target,...
分类:
其他好文 时间:
2014-11-08 19:41:39
阅读次数:
256
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:
其他好文 时间:
2014-11-08 16:40:21
阅读次数:
187
-fobjc-arc,使ARC与非ARC一块工作ARC与非ARC在一个项目中同时使用,1,选择项目中的Targets,选中你所要操作的Target,2,选Build Phases,在其中Complie Sources中选择需要ARC的文件双击,并在输入框中输入:-fobjc-arc,如果不要ARC则...
分类:
其他好文 时间:
2014-11-08 10:24:20
阅读次数:
191
/*
看懂题意之后,给定target和大写字符串,即是:
把ABCDE……转换为12345……
在给定的不重复数之中找5个数,使得其
满足a-b^2+c^3-d^4+e^5等于给定的数target
由于数据量不大,最大为20个不重复大写字母,
不多说,5重for循环搞定
*/
#include
#include
#include
#include
#include
#...
分类:
其他好文 时间:
2014-11-08 00:56:28
阅读次数:
244
struct node{ int n; int value;};bool cmp(node a,node b){ return a.value twoSum(vector &numbers, int target) { vector a; vect...
分类:
其他好文 时间:
2014-11-08 00:48:23
阅读次数:
135
Follow up for "Search in Rotated Sorted Array":
What if duplicates are allowed?
Would this affect the run-time complexity? How and why?
Write a function to determine if a given target is in the...
分类:
其他好文 时间:
2014-11-07 19:10:51
阅读次数:
161