码迷,mamicode.com
首页 >  
搜索关键字:space    ( 18273个结果
TortoiseGit 安装与配置
2. TortoiseGit安装与配置 标签: TortoiseGit安装配置Windows 2014 12 01 15:25 135739人阅读 评论(10) 收藏 举报 .embody{ padding:10px 10px 10px; margin:0 20px; border bottom:s ...
分类:其他好文   时间:2018-02-18 17:04:36    阅读次数:191
Java实现单链表的快速排序和归并排序
本文描述了LeetCode 148题 "sort list" 的解法。 题目描述如下: Sort a linked list in O(n log n) time using constant space complexity. 题目要求我们在O(n log n)时间复杂度下完成对单链表的排序,我们 ...
分类:编程语言   时间:2018-02-18 17:03:33    阅读次数:201
9. Palindrome Number(判断整型数字是否是回文,直接暴力即可)
Determine whether an integer is a palindrome. Do this without extra space. 暴力的时候,注意奇数偶数。 ...
分类:其他好文   时间:2018-02-18 15:40:08    阅读次数:156
poj 3666 Making the Grade
题意:给你一个序列,让你变成一个不递增或者一个不递减序列(ps:不递增就是可以不严格,这样说还真是绕口QAQ) 思路:之前没想到状态是怎么定义的,看了几篇题解,发现大家定义的都是长度和变化的值,我最开始一直以为是dp【n】【3】(但我好像懂了,因为【3】只能代表加减和不变,并不知道你变了多少,所以取 ...
分类:其他好文   时间:2018-02-18 15:38:58    阅读次数:164
Linux磁盘管理
df命令df - report file system disk space usage #汇报文件系统的磁盘空间使用情况[root@apenglinux-001 ~]# df -h  文件系统        容量  已用  可用 
分类:系统相关   时间:2018-02-18 14:45:58    阅读次数:208
Linux学习—MBR和GPT
MSDOS(MBR)和GPT--早期的Linux系统采用MBR的方式来处理开机引导程序和分区表,这些通常放在磁盘的第一个扇区(512字节)中,但是MBR分区只能抓取2TB的容量等等的限制,新的分区格式GPT因此产生一、MBRMBR位于整个磁盘的的第一个扇区,总体分为三部分:bootloader:主要作用是把内核加载到内存中,引导系统加载分区表DPT(16字节*4):保存着磁盘的分区信息,由于DPT
分类:系统相关   时间:2018-02-18 11:14:05    阅读次数:230
LeetCode 774. Minimize Max Distance to Gas Station
原题链接在这里:https://leetcode.com/problems/minimize-max-distance-to-gas-station/description/ 题目: On a horizontal number line, we have gas stations at posit ...
分类:其他好文   时间:2018-02-18 11:13:54    阅读次数:215
[模板]树状数组1/ZKW线段树
https://www.luogu.org/problemnew/show/P3374 1 #include <iostream> 2 #include <cstdio> 3 using namespace std; 4 #define rson (o<<1|1) 5 #define lson (o ...
分类:编程语言   时间:2018-02-18 10:35:08    阅读次数:199
[模板]并查集
https://www.luogu.org/problemnew/show/P3367 //据说根本不用按秩合并,随机将x合并到y/y合并到x就可以了 1 // luogu-judger-enable-o2 2 #include<bits/stdc++.h> 3 using namespace st ...
分类:其他好文   时间:2018-02-18 10:34:19    阅读次数:188
bzoj4833
$数论$ $这个题已经忘了怎么做了,也不想知道了,只记得看了3个小时$ $对于有gcd(f_i, f_j) = f_{gcd(i, j)}性质的数列,以下结论适用$ #include<bits/stdc++.h> using namespace std; typedef long long ll; ...
分类:其他好文   时间:2018-02-17 23:13:03    阅读次数:213
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!