摘要: 博客园是一个非常好的平台。 csdn和掘金都有广告。尤其是csdn微信登录还要求关注一坨公众号。 简书出了歧视程序员的事件,那么就我而言,是不可能用简书的。 于是我前几天搭建了hexo静态博客,一份挂在vps上,一份挂在githubpage上。 用hexo的好处是 主题丰富美观,可修改幅度大。 自定 阅读全文
posted @ 2019-12-13 21:10 SaltyFishQF 阅读(106) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-11-02 21:12 SaltyFishQF 阅读(5) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-10-31 08:24 SaltyFishQF 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 很多博客会让你用下面这行替换\\begin{table}和\\end{table},但是这样替换以后,表格下方所有文字都变成了居中对齐,section格式也都失效了。 \makeatletter\def\@captype{table}\makeatother 其实,只要导入float包,并在表格选项 阅读全文
posted @ 2019-10-15 16:38 SaltyFishQF 阅读(14212) 评论(1) 推荐(0) 编辑
摘要: 起因 前段时间发现博客右边的FlagCounter计数器突然没了,又看到了博客园封杀了FlagCounter的消息,有点摸不着头脑。于是上FlagCounter的网站上看了一眼,发现最近出现的来自新国家访问居然来自台湾。又经过一轮百度,看到有博主发表声明说由于国家立场拒绝使用FlagCounter了 阅读全文
posted @ 2019-09-27 21:19 SaltyFishQF 阅读(813) 评论(4) 推荐(1) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-09-14 11:22 SaltyFishQF 阅读(30) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-09-07 15:13 SaltyFishQF 阅读(52) 评论(2) 推荐(2) 编辑
摘要: 在做图片文字分割的时候,常用的方法有两种。一种是投影法,适用于排版工整,字间距行间距比较宽裕的图像;还有一种是用OpenCV的轮廓检测,适用于文字不规则排列的图像。 1. 思路 一开始想偷个懒,直接用OpenCV的模型,结果发现效果不佳。文字出现了过度分割的问题,部分文字甚至没有被识别: 于是只好使 阅读全文
posted @ 2019-09-06 14:00 SaltyFishQF 阅读(2202) 评论(2) 推荐(2) 编辑
摘要: 前几天买了张亮机卡,终于把主显卡成功直连到Unraid OS的虚拟机上了。然后就开始安装ubuntu系统开始配置环境,遇到了不少坑,特此记录。 gcc版本问题 在安装显卡驱动的时候,不要修改gcc版本,使用与内核对应的版本(默认版本,1804应该是7.3.0)。否则安装驱动会出现编译失败的问题。 新 阅读全文
posted @ 2019-09-05 13:48 SaltyFishQF 阅读(1270) 评论(0) 推荐(0) 编辑
摘要: 区块链(Blockchain),是比特币的一个重要概念,它本质上是一个去中心化的数据库,同时作为比特币的底层技术,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次比特币网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。(百度百科) 区块链本身的结构是非常简单的,其复杂的部分在于他的共识机制,加密等部分。我们可以将区块链看做一种数据结构,顾名思义,区块链就... 阅读全文
posted @ 2019-03-29 14:21 SaltyFishQF 阅读(1344) 评论(0) 推荐(1) 编辑
摘要: #include using namespace std; int m, n, ans; void solve(int m, int n, int cnt) { if (m == 0 && n == 0) { ans++; return; } if (cnt > 0 && n > 0) solve(m, n-1, cnt... 阅读全文
posted @ 2019-03-16 21:34 SaltyFishQF 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 题目链接:NN and the Optical Illusion 题目原文 NN is an experienced internet user and that means he spends a lot of time on the social media. Once he found the 阅读全文
posted @ 2019-02-17 22:33 SaltyFishQF 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 题目链接:Build a Contest 题目原文 Arkady coordinates rounds on some not really famous competitive programming platform. Each round features 𝑛 problems of dis 阅读全文
posted @ 2019-02-17 21:58 SaltyFishQF 阅读(472) 评论(0) 推荐(0) 编辑
摘要: 题目链接:Roman and Browser 题目原文 This morning, Roman woke up and opened the browser with 𝑛 opened tabs numbered from 1 to 𝑛. There are two kinds of tabs: 阅读全文
posted @ 2019-02-17 21:48 SaltyFishQF 阅读(216) 评论(0) 推荐(0) 编辑
摘要: Spring3.2.17+Struts2.3.15+Hibernate3.6.10 阅读全文
posted @ 2019-01-29 20:19 SaltyFishQF 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 题目链接:Kilani and the Game 题目原文 Kilani is playing a game with his friends. This game can be represented as a grid of size 𝑛×𝑚, where each cell is eith 阅读全文
posted @ 2019-01-27 20:07 SaltyFishQF 阅读(321) 评论(0) 推荐(0) 编辑
摘要: 题目链接:Zuhair and Strings 题目原文 Given a string 𝑠 of length 𝑛 and integer 𝑘 (1≤𝑘≤𝑛). The string 𝑠 has a level 𝑥, if 𝑥 is largest non-negative inte 阅读全文
posted @ 2019-01-27 19:50 SaltyFishQF 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 题目链接:Salem and Sticks 题目原文 Salem gave you 𝑛n sticks with integer positive lengths 𝑎1,𝑎2,…,𝑎𝑛a1,a2,…,an. For every stick, you can change its lengt 阅读全文
posted @ 2019-01-27 17:54 SaltyFishQF 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 题目链接:Grid game 题目原文 You are given a 4x4 grid. You play a game — there is a sequence of tiles, each of them is either 2x1 or 1x2. Your task is to conse 阅读全文
posted @ 2019-01-23 17:59 SaltyFishQF 阅读(552) 评论(0) 推荐(0) 编辑
摘要: 题目链接:Game with string 题目原文 Two people are playing a game with a string 𝑠s, consisting of lowercase latin letters. On a player's turn, he should choos 阅读全文
posted @ 2019-01-23 17:50 SaltyFishQF 阅读(805) 评论(0) 推荐(0) 编辑