Codeforces-1008A - Romaji - 水题
题目链接 https://codeforces.com/contest/1008/problem/A 题目 Vitya has just started learning Berlanese language. It is known that Berlanese uses the Latin alphabet. Vowel letters are “a”, “o”, “u”, “...
题目链接 https://codeforces.com/contest/1008/problem/A 题目 Vitya has just started learning Berlanese language. It is known that Berlanese uses the Latin alphabet. Vowel letters are “a”, “o”, “u”, “...
前言 本人是参照于:https://yeasy.gitbooks.io/docker_practice/content/ 学习Docker,因每次翻查略有不便,把部分认为对于我比较重要的内容写在这里以作记录。 本文保持不定时更新:https://www.lucien.ink/archives/301/ 安装Docker 安装完成 docker 之后需执行 sudo usermod -...
前言 上周的时候需要实现一个生成在线二维码的功能,鉴于网上的大部分API都会在二维码生成的后面加上若干奇奇怪怪的东西,比如说用来商业SEO的特征码,看起来很不舒服,于是就自己写了一个。 项目地址 https://github.com/LucienShui/QRCode-Generator QRCode Generator 在线生成二维码,支持GET调用。 调用方法 生成一个...
前几天突然发现一件事,就是访问Google和Baidu的根域名都会跳转到www的域名下,没有搜到为什么要这样做,但还是效仿着搞一搞吧。 对我个人来说,301跳转之后存在一个历史问题,就是以前我在很多地方留的链接地址都是https://lucien.ink,这样的话在我开了301跳转之后,通过80端口验证的时候申请/续期不了Let's Encrypt的证书,通过443端口验证的话又要...
先在hosts文件里加入两行: 127.0.0.1 www.sublimetext.com 127.0.0.1 license.sublimehq.com 目的是防止Sublime Text更新和检测,不知道怎么修改hosts文件的可以百度一下,这里就不赘述。 然后在Sublime Text里点Help输入License: ----- BEGIN LICENSE ----- sgbtea...
987的时候B不会做,这场C不会做,感觉很接近退役了。当时想到了类似的做法,先把最少的一个用到只剩一个,然后用那一个铺满图,但是很难写,写了一个多小时也没写出来。 Codeforces-989A - A Blend of Springtime - 水题 Codeforces-989B - A Tide of Riverscape - 思维 Codeforces-989C - A Mis...
题目链接 https://codeforces.com/contest/989/problem/C 题目 There are four kinds of flowers in the wood, Amaranths, Begonias, Centaureas and Dianthuses. The wood can be represented by a rectangular ...
题目链接 https://codeforces.com/contest/989/problem/B 题目 The records are expressed as a string s of characters ‘0’, ‘1’ and ‘.’, where ‘0’ denotes a low tide, ‘1’ denotes a high tide, and ‘.’ deno...
题目链接 https://codeforces.com/contest/989/problem/A 题目 The landscape can be expressed as a row of consecutive cells, each of which either contains a flower of colour amber or buff or canary yell...
题目链接 https://poj.org/problem?id=2689 题目 Description The branch of mathematics called number theory is about properties of numbers. One of the areas that has captured the interest of number th...