t0ur1st 6 年前 STL 排序 【Codeforces】1216B – Shooting Problem Description: Recently Vasya decided to improve his pistol shooting skills. Today his coach offered him the following exercise. He placed n can […] C++, Codeforces 574 0 0
t0ur1st 6 年前 STL 【Codeforces】1234B – Social Network Problem Description: You are messaging in one of the popular social networks via your smartphone. Your smartphone can show at most k most recent conve […] C++, Codeforces 5.69k 0 0
t0ur1st 6 年前 字符串 水题 【Codeforces】1220A – Cards Problem Description: When Serezha was three years old, he was given a set of cards with letters for his birthday. They were arranged into words in the […] C++, Codeforces 6.23k 0 0
t0ur1st 6 年前 建站 咸猪手测试 我开始了搞黄色啦~我要对我的live2d看板娘蕾姆伸出邪恶之手——咸猪手 我们知道在div中添加cursor: grab;属性可以使鼠标在移入该div后变成一个五指手,可是这不够骚啊这不生动形象 那就新建一个.html文件来写一个咸猪手进行测试再把它应用到博客网站上面吧~ 查看演示页面 可以直接点击 […] 前端 5.47k 0 3
t0ur1st 6 年前 建站 图灵机器人API接入测试 我的博客新加了个看板娘live2D蕾姆版性感蕾姆在线陪聊~这谁顶得住啊 下面来说一下web端怎么接入图灵机器人吧 查看网页演示 可以直接点击链接进入网页然后在这个很low的界面进行测试或者ctrl+u查看源代码 需要注意的是图灵机器人是有次数限制哒!!!!!!!当次数用完时就会提示错误。原谅我没有💴 […] 前端 6.34k 0 1
t0ur1st 6 年前 STL 字符串 【Leetcode】仅仅反转字母 题目描述: 给定一个字符串 S,返回 “反转后的” 字符串,其中不是字母的字符都保留在原地,而所有字母的位置发生反转。 输入样例1: ab-cd 输出样例1: dc-ba 输入样例2: a-bC-dEf-ghIj 输出样例2: j-Ih-gfE-dCba 输入样例3: Test1ng-Leet=co […] C++, Leetcode 5.09k 0 0
t0ur1st 6 年前 排序 水题 【Leetcode】全排列 题目描述: 给定一个没有重复数字的序列,返回其所有可能的全排列。 输入描述: [1,2,3] 输出描述: [ [1,2,3], [1,3,2], [2,1,3], [2,3,1], [3,1,2], [3,2,1] ] 解题思路: next_permutation就完事啦~ AC代码: class […] C++, Leetcode 4.65k 0 1