摘要: 字符串操作 """ 字符串常用操作 """ import json str1 = 'hello, world!' str2 = 'HELLO, WORLD!' print('字符串的长度是:', len(str1)) print('单词首字母大写: ', str1.title()) print('字 阅读全文
posted @ 2021-12-08 21:41 ayanyuki 阅读(87) 评论(0) 推荐(0)
摘要: 输入输出以及运算 print('hello, world!') # print("你好,世界!") print('你好', '世界') print('hello', 'world', 'world', sep=', ', end='!') print('goodbye, world', end='! 阅读全文
posted @ 2021-12-08 21:39 ayanyuki 阅读(112) 评论(0) 推荐(0)
摘要: 一个简单的例子 def print_hi(name): print(f'Hi, {name}') if __name__ == '__main__': print_hi('PyCharm') 阅读全文
posted @ 2021-12-08 20:50 ayanyuki 阅读(36) 评论(0) 推荐(0)
摘要: replace函数 #include<iostream> #include<string> using namespace std; int main(){ string str = "he is@ a@ good boy"; cout << str << endl; str = str.repla 阅读全文
posted @ 2021-12-08 20:35 ayanyuki 阅读(194) 评论(1) 推荐(0)
摘要: simple_fat16 #include <errno.h> #include <string.h> #include <assert.h> #include <unistd.h> #include <sys/types.h> #include <sys/stat.h> #include <tim 阅读全文
posted @ 2021-12-07 10:18 ayanyuki 阅读(87) 评论(0) 推荐(0)
摘要: kmscan // 必备头函数 #include <linux/init.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/sched.h> #include <linux/sched/signal.h> # 阅读全文
posted @ 2021-12-07 10:11 ayanyuki 阅读(80) 评论(1) 推荐(0)
摘要: shell #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <sys/wait.h> #include <sys/types.h> #define MAX_CMDLINE_ 阅读全文
posted @ 2021-12-07 10:07 ayanyuki 阅读(48) 评论(0) 推荐(0)
摘要: 侧耳倾听 ​ 唯有风雨兼程,才能遇见彼此,《侧耳倾听》有感 ​ 翻翻以前的自己写的影评了 ​ 剧情梳理 ​ 讲述了女孩月岛雯和男孩天泽圣司的故事,他们都怀揣着一份属于自己的期待。女孩正在念国中,就像每个面临毕业的学生一样,“这两个学期决定了你的出路啊”,她也面临着今后的选择。她不是一个沉迷于功课或者 阅读全文
posted @ 2021-12-06 22:01 ayanyuki 阅读(275) 评论(0) 推荐(0)
摘要: 写在年前 ​ 措不及防得跌进这一年。 ​ 年初在家看着返校遥遥无期还挺高兴的,不是需要去洗手间几乎不离自己的房间半步,我可以躺在床上一天或者坐在落地窗前看着天上的流云,体会在学校里注意不到的宁静。有时候我也在想或许楼下的景色也不错哦,可是我清楚还是待在自己的小窝里舒适。 ​ 开始的网课能认真按时完成 阅读全文
posted @ 2021-12-06 21:59 ayanyuki 阅读(140) 评论(0) 推荐(0)
摘要: 最长公共子序列 #include<bits/stdc++.h> #include <chrono> using namespace std; int N; string X ; string Y ; vector<vector<int>> c; //动态规划表 set<string> lcs; ve 阅读全文
posted @ 2021-12-06 21:55 ayanyuki 阅读(44) 评论(0) 推荐(0)