码迷,mamicode.com
首页 >  
搜索关键字:disk space checking    ( 21310个结果
[LeetCode 题解]: Linked List Cycle II
Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull.Follow up:Can you solve it without using extra space?题意:...
分类:其他好文   时间:2014-08-02 20:52:54    阅读次数:246
POJ 1808 + Ural 1132 平方剩余
链接:http://poj.org/problem?id=1808 http://acm.timus.ru/problem.aspx?space=1&num=1132 题意:两道题都是模板题,第一个是判断是否有平方剩余,第二个是计算平方剩余。 思路:平方剩余就是给定a,n(n为质数) 问 x^2 ≡ a (mod n) 是否有解,可以用a^((n - 1)/2) ≡ ±1(mod n) ...
分类:其他好文   时间:2014-08-02 10:03:33    阅读次数:306
G - UFOs
Description Vasya is a ufologist and his duties include observing Unidentified Flying Objects (UFOs) in the part of space bounded by a cube N × N ×N. The cube is divided into cubic sectors 1 ...
分类:其他好文   时间:2014-08-01 19:58:52    阅读次数:302
android自带的内存memory和第三方外部存储disk管理
android自带的内存memory和第三方外部存储disk管理...
分类:移动开发   时间:2014-08-01 19:55:42    阅读次数:299
中文输入法安装
平台:Ubuntu12.10在Ubuntu的中文系统中自带了中文输入法,通过Ctrl+Space可切换中英文输入法。这里我们主要说下Ubuntu英文系统中,中文输入法的安装。第一步,安装语言包。我们选择System Settings-->Language Support-->Install/Remo...
分类:其他好文   时间:2014-08-01 18:56:42    阅读次数:263
sql server 2012 数据库还原方法
USE master RESTORE DATABASE WSS_Content FROM DISK = N'D:\bak\contentbak.bak' WITH REPLACE, NORECOVERY ,MOVE 'WSS_Content' TO N'D:\bak3\WSS_Content.mdf' ,MOVE 'WSS_Content_LOG' TO N'D:\bak3\WSS_Con...
分类:数据库   时间:2014-08-01 16:07:01    阅读次数:235
Palindrome Number
Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could negative integers be palindromes? (i...
分类:其他好文   时间:2014-08-01 12:49:41    阅读次数:186
poj 1696 Space Ant (极角排序)
链接:http://poj.org/problem?id=1696Space AntTime Limit:1000MSMemory Limit:10000KTotal Submissions:3077Accepted:1965DescriptionThe most exciting space di...
分类:其他好文   时间:2014-08-01 10:39:13    阅读次数:247
ubifs文件系统简介
一、Flash文件系统设计思路为flash 设计的文件系统要求异地更新(out-of-place update)。这是因为flash 在写之前必须要先擦除,且再次擦除之前只能写一次。如果擦除块(eraseblocks)很小且可以快速擦除,那么可以将它们看作磁盘扇区(disk sector),但是实际...
分类:其他好文   时间:2014-08-01 10:32:41    阅读次数:344
Leetcode--Remove Duplicates from Sorted Array
Problem Description: Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra space for another array, you ...
分类:其他好文   时间:2014-08-01 00:08:50    阅读次数:274
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!