t0ur1st 6 年前 数学 【Codeforces】1213C – Book Reading Problem Description: Polycarp is reading a book consisting of n pages numbered from 1 to n. Every time he finishes the page with the number divisible […] C++, Codeforces 4.49k 0 0
t0ur1st 6 年前 水题 【Codeforces】1213A – Chips Moving Problem Description: You are given n chips on a number line. The i-th chip is placed at the integer coordinate . Some chips can have equal coordinates […] C++, Codeforces 4.29k 0 0
t0ur1st 6 年前 数学 【Codeforces】1213B – Bad Prices Problem Description: Polycarp analyzes the prices of the new berPhone. At his disposal are the prices for n last days: ,,…,, where is the price of be […] C++, Codeforces 4.47k 0 0
t0ur1st 6 年前 【小米OJ】进制转换 题目描述: 给出一个P进制整数N,求N的Q进制表示(0 ≤ N ≤ 32767,2 ≤ P ≤ 16, 2 ≤ Q ≤ 16)。 大于 9 的数字依次使用小写字母 a、b、c、d、e、f 表示。 请勿使用已存在的进制转换库或函数,比如PHP中的base_convert()等。 输入描述: 输入3个数 […] C++, 校招 3.46k 0 0
t0ur1st 6 年前 regex 字符串 删除字符串中的子串(C++ regex求解) 题目描述: 输入2个字符串S1和S2,要求删除字符串S1中出现的所有子串S2,即结果字符串中不能包含S2。 输入格式: 输入在2行中分别给出不超过80个字符长度的、以回车结束的2个非空字符串,对应S1和S2。 输出格式: 在一行中输出删除字符串S1中出现的所有子串S2后的结果字符串。 输入样例: T […] C++ 4.13k 0 0
t0ur1st 6 年前 Csharp C#操作Sql Server数据库以及MD5加密存储 写在前面: 嘤嘤嘤 我们班有位弗兰的小哥哥看过我写的数据库大作业界面之后(登录界面如图,是不是感觉我弄的这个垃圾界面和早期的QQ登录界面有一点点像😂QQ2010以前),问我为什么没有把数据库大作业代码更新到博客上面。。。(小声哔哔:其实我一开始并没打算把数据库大作业的代码写到博客上的)。哈哈哈我就简 […] C# 4.06k 0 3
t0ur1st 6 年前 让你爱上Ubuntu的14条有趣命令 Ubuntu真好玩!哈哈哈哈 玩了一下午这些花(bing)里(bu)胡(shi)哨(yong)的Linux命令,终于写成了这一篇博客。 14条有趣命令,让您爱上Ubuntu!不要问为什么是14条,因为14代表一世,这篇博客的第14条命令是一个小彩蛋。哈哈哈哈哈哈😄实名表白我老婆!皮这一下很开心。 1 […] Linux 4.65k 0 3