typora配置图片自动上传gihub图床 最近将博客从github-page静态托管搬到了服务器,不能豪横使用流量,于是萌生了建立图床的想法,对比了很多方案,还是直接使用github托管最为合适。 但这又产生一个问题,如果只是单纯使用git推送图片会很麻烦,写作体验感不好,又不想使用PicGo等软件,于是有此文。 进入typora -> 偏好设置 -> 图像 到upgit-releases拉取最新程序 下载好 2023-02-06 技术笔记 > 配置笔记 > Typora #Typora #Upgit
Codeforces 1750A. Indirect Sort A. Indirect Sort You are given a permutation a1,a2,…,an of size n, where each integer from 1 to n appears exactly once. You can do the following operation any number of times (possibly, zero): Choose 2022-11-20
Codeforces 1744D. Divisibility by 2^n D. Divisibility by 2^ntime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given an array of positive integers a1,a2,…,an. Make the product of 2022-11-19
Codeforces 1744B. Even-Odd Increments time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given n of integers a1,a2,…,an. Process q queries of two types: query of the form “0 xj”: 2022-11-18
Codeforces 1744C. Traffic Light C. Traffic Lighttime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou find yourself on an unusual crossroad with a weird traffic light. That traffic 2022-11-18
Codeforces 1605C. Dominant Character Ashish has a string ss of length nn containing only characters ‘a‘, ‘b‘ and ‘c‘. He wants to find the length of the smallest substring, which satisfies the following conditions: Length of the substri 2022-11-17
Codeforces 1255B. Fridge Lockers Hanh lives in a shared apartment. There are nn people (including Hanh) living there, each has a private fridge. nn fridges are secured by several steel chains. Each steel chain connects two different 2022-11-16
Codeforces 39D. Cubical Planet You can find anything whatsoever in our Galaxy! A cubical planet goes round an icosahedral star. Let us introduce a system of axes so that the edges of the cubical planet are parallel to the coordinat 2022-11-15 Codeforces > 800 #思维
实验室第二次讲课 实验室第二次讲课#47. 时间转换说明给定一个以秒为单位的时间t,要求用的格式来表示这个时间。<H>表示时间,<M>表示分钟,而表示秒,它们都是整数且没有前导的“0”。例如,若t=0,则应输出是“”;若t=3661,则输出“”。 输入格式输入只有一行,是一个整数t(0<=t<=86399)。 输出格式输出只有一行,是以“” 2022-11-10 实验室讲课 #入门 #实验室讲课
Codeforces 1744A. Number Replacement A. Number Replacementtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAn integer array a1,a2,…,an is being transformed into an array of lowercase E 2022-10-10