hdu_1800 简单排一下序,从大开始把比他小的都访问一遍,ans++; hdu_2124 排个序,用 l 从大开始减去block的大小,记录用的block块数, 最后 l > 0 , 则输出impossible,否则输出块数。 ...
分类:
其他好文 时间:
2019-05-02 11:20:09
阅读次数:
115
Steps To Repair WinServer 2016 Boot Files Follow the steps here below for the proper understanding of the steps to repair boot files. Boot to the Wind ...
? 表分区是将一个表的数据按照一定的规则水平划分为不同的逻辑块,并分别进行物理存储,这个规则就叫做分区函数,可以有不同的分区规则 ? 通过show plugins语句查看当前MySQL是否支持表分区功能;5.7表分区功能默认开启; MySQL表分区介绍 ? 当表中含有主键或唯一键时,则每个被用作分区 ...
分类:
数据库 时间:
2019-03-18 16:55:10
阅读次数:
261
Cassandra如何保证数据最终一致性:1、逆熵机制(Anti-Entropy)使用默克尔树(Merkle Tree)来确认多个副本数据一致,对于不一致数据,根据时间戳来获取最新数据。 2、读修复机制(Read Repair)当Cassandra读数据时,需要根据读一致级别设定读取N个节点的副本数 ...
分类:
其他好文 时间:
2019-03-15 00:55:03
阅读次数:
376
因为经常需要安装双系统win10+ubuntu,平时按照先win10,在ubuntu的顺序,是非常顺利的,grub非常智能也非常友好的帮助你双启动这2个系统。 但是,难免会有意外,比如,win10有了病毒,需要重装,这是win10就会覆盖掉引导扇区,但win10有不想ubuntu那么体贴的,帮助引导 ...
分类:
其他好文 时间:
2019-03-10 13:53:00
阅读次数:
179
下面操作会删除挂载点所有文件,注意备份。 df -T 查看出错的挂载点对应的文件系统和文件系统类型 然后umount这个文件系统 umount /dev/sda1 然后文件系统类型不同操作不同 when ext4: fsck.ext4 /dev/sda1 when xfs: xfs_repair / ...
分类:
系统相关 时间:
2019-02-15 13:28:20
阅读次数:
2628
B. Tape time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output B. Tape time limit per test 1 sec ...
分类:
其他好文 时间:
2019-02-08 23:19:01
阅读次数:
189
题目描述: Farmer John wants to repair a small length of the fence around the pasture. He measures the fence and finds that he needs N (1 ≤ N ≤ 20,000) pla ...
分类:
其他好文 时间:
2019-01-29 14:55:02
阅读次数:
213
Description A group of cows grabbed a truck and ventured on an expedition deep into the jungle. Being rather poor drivers, the cows unfortunately mana ...
分类:
其他好文 时间:
2019-01-26 11:06:16
阅读次数:
146
Repair the Wall http://acm.hdu.edu.cn/showproblem.php?pid=2124 Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total S ...
分类:
其他好文 时间:
2019-01-19 12:13:16
阅读次数:
141