摘要:
title: Linux_4 shell编写 shell pwd (/root/A/2025_7/19/myshell) 首先需要设计命令行提示 (MakeCommandLine()) 首先获取相关信息 getenv("name") // 获取用户名 const char* GetUserName( 阅读全文
posted @ 2025-07-21 16:55
_nilv
阅读(12)
评论(0)
推荐(0)
摘要:
title: Linux_3 操作系统 认识冯诺依曼系统 硬件按照一定的规则组装形成计算机 冯诺依曼体系结构(Von Neumann Architecture)是现代计算机设计的理论基础,由美籍匈牙利数学家约翰·冯·诺依曼(John von Neumann)及其团队在1945年提出,并在报告《Fir 阅读全文
posted @ 2025-07-21 16:54
_nilv
阅读(9)
评论(0)
推荐(0)
摘要:
title: Codeforces Round 886 (Div. 4) [[Dashboard - Codeforces Round 886 (Div. 4) - Codeforces)](比赛链接) 新年快乐! 做个简单的 A. To My Critics #include <bits/stdc 阅读全文
posted @ 2025-07-21 16:54
_nilv
阅读(5)
评论(0)
推荐(0)
摘要:
title: Codeforces Round 927 (Div. 3) [Dashboard - Codeforces Round 927 (Div. 3) - Codeforces](比赛链接) A. Thorns and Coins 思路:遇到@加一, 连续两个*结束循环 #include < 阅读全文
posted @ 2025-07-21 16:54
_nilv
阅读(10)
评论(0)
推荐(0)
摘要:
title: Codeforces Round 980 (Div. 2) [[Dashboard - Codeforces Round 980 (Div. 2) - Codeforces)](比赛链接) A. Profitable Interest Rate 思路:a - x >= b - 2x, 阅读全文
posted @ 2025-07-21 16:54
_nilv
阅读(12)
评论(0)
推荐(0)
摘要:
title: Educational Codeforces Round 155 (Rated for Div. 2) [比赛链接](Dashboard - Educational Codeforces Round 155 (Rated for Div. 2) - Codeforces) A. Rig 阅读全文
posted @ 2025-07-21 16:53
_nilv
阅读(6)
评论(0)
推荐(0)
摘要:
title: AtCoder Beginner Contest 390 新年快乐! 做个简单的(感觉几天没打,康复训练,新的一年,希望自己每天做题吧。 还是快乐就好 A - 12435 思路: 模拟,尝试交换每两个相邻数 #include <bits/stdc++.h> using namespac 阅读全文
posted @ 2025-07-21 16:53
_nilv
阅读(15)
评论(0)
推荐(0)
摘要:
title: AtCoder Beginner Contest 391 Lucky Direction map直接映射就好 #include <bits/stdc++.h> using namespace std; int main(){ map<string, string> mp; mp["N" 阅读全文
posted @ 2025-07-21 16:53
_nilv
阅读(9)
评论(0)
推荐(0)
摘要:
title: Linux_2开发 Linux上开发 vim编辑器 插入模式 :编辑模式 命令模式: 允许通过命令 进行文本编辑控制 底行模式:vim和shell 进行交互 (执行shell命令 命令模式 -i 进入插入模式 -a 进入插入模式同时光标到下一个位置 -o 进入插入模式同时光标到下一行 阅读全文
posted @ 2025-07-21 16:51
_nilv
阅读(5)
评论(0)
推荐(0)
摘要:
title: Linux_1 操作系统是一款进行软硬件资源管理的软件 基础指令 指令就是程序 ls 查看当前目录 文件 = 文件属性(也是数据) + 文件内容 Linux目录是一颗多叉树 ls - l 查看文件属性 linux中 以 . 开头的是隐藏文件 ".."表示上一级目录 “." 表示当前目录 阅读全文
posted @ 2025-07-21 16:44
_nilv
阅读(13)
评论(0)
推荐(0)
浙公网安备 33010602011771号