- 博客(5)
- 问答 (1)
- 收藏
- 关注
转载 [转]64位gcc编译32位汇编
本文转载自:http://www.cnblogs.com/chobits/p/4264724.html由于使用as和ld来编译链接汇编程序,在使用C库的时候比较麻烦,需要输入比较多的指令,所以使用gcc进行编译链接。由于书中内容是32位汇编程序,但是机器使用的是64位操作系统,自带的gcc也是64位的,导致编译生成的程序,一运行就会Segment Fault。经过查询之后,发现...
2016-07-05 15:58:00 321
转载 LeetCode Problem 4.Median of Two Sorted Arrays
There are two sorted arraysnums1andnums2of size m and n respectively.Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)).Example 1:nums1 = [...
2016-06-26 14:37:00 93
转载 LeetCode Problem 3.Longest Substring Without Repeating Characters
Given a string, find the length of thelongest substringwithout repeating characters.Examples:Given"abcabcbb", the answer is"abc", which the length is 3.Given"bbbbb", the answer is"b",...
2016-06-25 22:17:00 78
转载 LeetCode Problem 2.Add Two Numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a...
2016-06-24 11:32:00 85
转载 LeetCode Problem 1.Two Sum
Given an array of integers, returnindicesof the two numbers such that they add up to a specific target.You may assume that each input would haveexactlyone solution.Example:Given nums = ...
2016-06-24 10:00:00 94
空空如也
表T(A)包含正整数,可能有重复,构造一个SQL语句查询不在表T中的最小正整数
2015-01-18
TA创建的收藏夹 TA关注的收藏夹
TA关注的人