哇,又是无所事事的一天。
此刻老家的乡下春末夏初,正是一年里最宜人的时节。窗外蝉鸣未至,微风裹挟着草木清香,若能永远停驻在这样的日子里该多好——不必为生计奔波,可支配零花钱足够支撑起嘴馋与些许喜好,在现在的节点下,连时间都完全属于自己任意支配的东西。一年前改造后实质属于自己的房间里堆满多年来记忆下的物什们,未起工的项目,还有钟爱的角色的棉花娃娃与周边。手中握着性能优良的手机、旁边放着配置良好的笔记本电脑,平板的触屏笔在备忘录上随意勾勒,相比前几年前亦或者十几年前的生活来讲,有着多么的不真实感与不配得感。似乎十八岁的时光仿佛永远不会溜走。
Wow, yet another day of drifting through nothingness.
It's that magical in-between season back home in the countryside right now—late spring shading into early summer, the most temperate time of the year. The cicadas haven't started their racket yet, and the breeze carries the fresh, green scent of growing things through the window. Sometimes I daydream about freezing time right here: no hustling for money, just enough disposable income to satisfy cravings and indulge small obsessions. At this moment, time itself feels like a luxury I can squander however I want. My room, renovated last year into a space truly my own, is cluttered with relics of bygone eras—half-finished projects, plushes of beloved characters, random memorabilia. I scroll through my high-end phone, glance at my well-spec'd laptop sitting nearby, idly sketch on my tablet with the stylus. Compared to life just a few years ago—or even a decade back—this feels surreal, almost like I don't deserve such comfort. It's as if I've been stuck in an 18-year-old's limbo, time suspended indefinitely.
Original Problem Set (Someday I'll write them out!)
原题集 (总有一天我会写出来的!)
Dance Revolution is the pioneering series of the rhythm and dance genre in video games.
The core games involve placing your feet on certain tiles according to the instruction on screen.
Here you will have four tiles: up
, down
, right
, and left
. You can move your leg one at a time. Initially, you can place your feet on any tile. Instructions will contain the list of tiles, where you must place one of your feet, one instruction after another.
Given the instruction to place your feet, find the minimum number of times you must move your legs to different tiles following the instruction. You can start with placing your legs at any position.
《Dance Revolution》(热舞革命)是电子游戏中节奏与舞蹈类游戏的开创性系列。 其核心玩法是根据屏幕上给出的指示,将脚放在特定的方块上。 在这个游戏里,设有上
下
右
左
四个方块。玩家每次可以移动一条腿,一开始,脚可以放在任意一个方块上。指令会罗列出方块的相关信息,玩家需要依照顺序将脚依次放在这些方块上。 根据放置脚的相关指令,找出按照指令将脚移动到不同方块的最少次数。玩家可以从任意位置开始操作。
Given the instruction to place your feet, find the minimum number of times you must move your legs to different tiles following the instruction. You can start with placing your legs at any position.
根据放置脚的相关指令,找出按照指令将脚移动到不同方块的最少次数。玩家可以从任意位置开始操作。
1 <= N
<= 80
First line consists of single integer N
representing the total number of instructions.
Next N
lines consist of the instructions.
第一行包含一个整数 N
,代表指令的总数。 接下来的 N
行是具体的指令内容。
Single integer representing the minimum number of times you must move your legs.
输出一个整数,用以表示必须移动脚的最少次数。
1
6
down
right
down
up
right
down
此方法最后更新于UTC+8 2024-11-14 23:10:39
此项目文件最后更新于UTC+8 2025-04-16 23:19:22
提示:这个项目仅仅是我用来熟悉编辑逻辑的一个小尝试,并不是一个完美的解决方案,只是提供了解密思路和简易程序。
随着腾讯QQ的版本迭代,对于在其软件上的表情包保存限制越来越大,用户自定义的表情包直接可以保存到相册的功能被删除,用户可以通过以下方法:
①通过收藏
然后去收藏当中找到对应内容进行保存
②通过用小程序打开
然后进行保存
但是其QQ官方提供的表情包集(贴纸集)并不能进行此操作,静态的表情可以在对应缓存目录下直接复制出来使用,但是动态的GIF无法直接获得,研究了一下发现实际使用的文件是可预览的图片文件对应名字的无后缀名文件,但是并不能直接打开,会显示乱码,一通冲浪后,在 哔哩哔哩上发布于UTC+8 2017-07-10 14:47:56
的 【教程】提取qq原创表情为gif和其评论区中名为海馬用户的评论中得到启发总结后并成功解密同时编写了一个简单的C++程序用于批量解密
This method was last updated at UTC+8 2024-11-14 23:10:39
The project files were last updated at UTC+8 2025-04-16 23:19:22
Note: This project is just a small attempt for me to familiarize myself with editing logic. It is not a perfect solution but only provides decryption ideas and a simple program.
With the iteration of Tencent QQ's versions, the restrictions on saving stickers in the software have become increasingly strict. The function for users to directly save custom stickers to the album has been removed. Users can use the following methods:
① Save them by favoriting and then finding the corresponding content in favorites.
② Open them with a mini-program and then save them.
However, the official sticker sets provided by QQ cannot be operated in this way. Static stickers can be directly copied and used from the corresponding cache directory, but dynamic GIFs cannot be directly obtained. Through research, it was found that the actual file used is a file without a suffix corresponding to the name of the previewable image file. However, this file cannot be directly opened and will display garbled characters. After surfing the Internet, I was inspired by the tutorial 【教程】提取qq原创表情为gif (Extract QQ Original Emojis as GIFs)posted on Bilibili at UTC+8 2017-07-10 14:47:56
and the comments of a user named Boot Leg in its comment section. After summarization, I successfully decrypted the stickers and wrote a simple C++ program for batch decryption.
Take the sticker package of Bilibili UP 明风OuO as an example.
When the suffixless file in the QQ cache of this sticker is opened with a hex editor, the first three lines are:
Tips
This article is primarily targeted at Chinese native speakers and has not been translated into English yet. Please forgive us for the inconvenience.
说来无奈,如果不是因为要写这篇文章,我感觉我甚至连网站都懒得更新,但与此现实中的我,压根也不清楚是因为按照什么挑选,被自己学院本年级安排和其他几个小伙伴负责在大一的晚自修和各专业的程序设计基础课(C语言)学习感到吃力的学生进行"学习困难生"补习。若不是因为需要备课和准备供学生阅读的资料,我甚至不会写这类文章(其实本身也没写多少文章吧.......) 哎!那聪明的小朋友又要问了,备课和资料为什么不通过PPT或者Words文档或者PDF的方式准备呢? 我觉得,本着知识流通的想法(因为本博客本身就能被Bing搜索引擎展示),写都写了,不如直接对外也公开,没准真能帮到哪个清澈愚蠢的大学生呢? 说是自己写,其实也是东拼西凑总结的资料(总比东看西看要方便吧) 声明:本文转载内容遵循 CC 4.0 BY-SA 版权协议将附上原文出处链接,用于演示的电脑系统为Windows 11,涉及的一些功能设置与 Windows 10 存在差异,如有相关需要的Windows 10 用户请通过搜索引擎搜索相关内容
泥🐴的怎么这么多话!
恍然二十年间轮过,这架空的平行世界与故事线像是被封装在这首以法语命名突兀的Étude Pour les Petites Supercordes,意为"小型超弦研究"的前沿物理学词汇作为ことみ(琴美)ちゃん(酱)的个人主题曲当中。
旋律中总像是夕阳切入早已在变迁中改进消亡千禧年的建筑窗台下,阳光顺着图书室的大门推开撒入,嗅着纤维素与空气水反应挥发出的旧书清香,带入主角色视着性格单调的琴美酱沉浸于复杂隐晦高难的书籍当中略显呆滞感受时间之外的那种安适与平静感。
图书馆里的小琴美
The melody always conjures sunset slicing through millennial architecture, now extinct through renovation. Light thrusts open the library door, releasing cellulose ghosts—that perfume of paperbacks hydrolyzing in air—as we witness the monotonous girl immersed in cryptic tomes, petrified in timeless serenity.
Kotomi in the Library
(共)
1999年,在太阳系周遭星系发生超新星爆发,产生的高能射线对除了13岁以下(91年版是12岁以下)孩子拥有自愈能力外的所有人类产生了不可逆转的基因破坏,
(2002未删减版)
因此中国国家通过选拔决定最高领导人,通过家庭继承职业等方式,使得孩子们接手国家(世界各国亦如此)与而后发生的故事。
(1991年原稿)
在某一刻使得全体遭到不可逆基因破坏的人类大规模去世,中国此时并未选拔出接替的领导人与完成工作交接,1990s中期开发的量子计算机人工智能FG协助误打误撞闯入信息大楼的华华、小梦(2002版称作晓梦,此时也并未设置有眼镜这一角色)发布了这一研究结果并重新运作国家与而后的故事。
Common Setting
In 1999, a nearby supernova explosion emits lethal radiation. Only children under 13 (12 in 1991 edition) survive due to self-healing abilities,
2002 Unabridged Edition
Thus, China and nations worldwide instituted a framework where supreme leadership was determined through a series of selections, and professions were passed down within family units—enabling children to assume governance—and the narrative unfolded from this premise,
1991 Original Manuscript
At a certain moment, all humans suffering irreversible genetic damage perished en masse. At this point, China had not yet selected successor leaders or completed the transfer of governance. FG, a quantum computer AI developed in the mid-1990s, assisted Huahua and Xiaomeng 小梦
—who had accidentally stumbled into the information building (renamed Xiaomeng 晓梦
in the 2002 edition, with no character named "Glasses" in this version)—to publish this research finding and reactivate national operations, setting the stage for the subsequent narrative.