码迷,mamicode.com
首页 >  
搜索关键字:assume    ( 1858个结果
POJ 1183 反正切函数的应用 (推公式)
反正切函数的应用Time Limit:1000MSMemory Limit:10000KTotal Submissions:14468Accepted:5227Description反正切函数可展开成无穷级数,有如下公式(其中0 bc-1 = a(b+c) assume b=a+m and c=a....
分类:其他好文   时间:2014-08-24 17:58:42    阅读次数:175
【Leet Code】Longest Palindromic Substring ——传说中的Manacher算法
Longest Palindromic Substring  Total Accepted: 17474 Total Submissions: 84472My Submissions Given a string S, find the longest palindromic substring in S. You may assume that the maximum l...
分类:其他好文   时间:2014-08-24 16:46:02    阅读次数:190
Longest Palindromic Substring
Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:其他好文   时间:2014-08-23 21:35:21    阅读次数:264
LeetCode——3Sum Closest
Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each input would have exact...
分类:其他好文   时间:2014-08-23 16:51:01    阅读次数:184
王爽汇编实验十一
;实验11;把小写字母换成大写字母assume cs:code , ds:datadata segment db "Beginner's All-purpose Symbolic Instruction Code.",0 data endscode segmentstart: ...
分类:其他好文   时间:2014-08-21 18:59:14    阅读次数:224
实验10(1)
;实验10;1.显示字符串;表示要用到前面的,8,3数据好麻烦,但是最后还是用了,;不知道push,pop这么多寄存器干嘛,可能是因为题目要求;要保存子程序中要用到的寄存器吧~assume cs:code,ds:datadata segment db 'Welcome to masm!...
分类:其他好文   时间:2014-08-21 18:55:04    阅读次数:237
实验10(2)
;实验10;解决除法溢出的问题assume cs:code , ss:stackstack segment dd 0,0,0,0stack endscode segmentstart : mov ax,stack mov ss,ax mov s...
分类:其他好文   时间:2014-08-21 18:54:54    阅读次数:159
【Leetcode长征系列】Construct Binary Tree from Inorder and Postorder Traversal
原题: Given inorder and postorder traversal of a tree, construct the binary tree. Note: You may assume that duplicates do not exist in the tree. 思路:和上一题一样,后续我们可以通过最后一个值得到根的值,同样可以通过定位根的值得到左右子树的...
分类:其他好文   时间:2014-08-21 17:22:24    阅读次数:138
How good software makes us stupid?
How good software makes us stupid?科技是怎样让人变傻的?People assume that iPhones, laptops and Netflix are evidence of progress. In some ways, that's true. A mo...
分类:其他好文   时间:2014-08-21 07:21:43    阅读次数:260
Merge Sorted Array
Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that is greater or equal...
分类:其他好文   时间:2014-08-20 22:28:12    阅读次数:244
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!