Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Cxk_666
daily_report
提交
8c46e92b
D
daily_report
项目概览
Cxk_666
/
daily_report
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
daily_report
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
8c46e92b
编写于
7月 08, 2021
作者:
Cxk_666
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
第四天、第五天日常report
上级
385d90e4
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
45 addition
and
0 deletion
+45
-0
7.6and7.7_dailyreport.md
7.6and7.7_dailyreport.md
+45
-0
未找到文件。
7.6and7.7_dailyreport.md
0 → 100644
浏览文件 @
8c46e92b
### 完成实验环境搭建
(由于是在win10上整,遇到较多挫折,还好全部解决了)
win10 + wsl2 + docker 桌面版
参考资料与视频:
[
yjc15873496491 / rCore-Tutorial-v3 · CODE CHINA (csdn.net)
](
https://codechina.csdn.net/yjc15873496491/rcore
)
[
02.Demo演示_哔哩哔哩_bilibili
](
https://www.bilibili.com/video/BV1Lb4y1D7Pu
)
[
04-运行镜像》rCore-Tutorial-v3 环境搭建和工具链指南_哔哩哔哩_bilibili
](
https://www.bilibili.com/video/BV1FX4y1w792?from=search&seid=7301290385508805990
)
### 练习代码
实现返回任意时刻1_000_000_000秒之后的函数,判断是否是闰年。
(部分题目已写但是仅是在网站上通过,并未保存,索性找时间把前面的题再做一遍以当巩固)
今天龙芯杯比赛DDL所有进度被拖慢。
```
rust
extern
crate
chrono
;
use
chrono
::{
DateTime
,
Duration
,
Utc
};
// Returns a Utc DateTime one billion seconds after start.
pub
fn
after
(
start
:
DateTime
<
Utc
>
)
->
DateTime
<
Utc
>
{
return
start
+
Duration
::
seconds
(
1_000_000_000
);
}
```
```
rust
pub
fn
is_leap_year
(
year
:
i32
)
->
bool
{
let
mut
r
=
|
n
|
year
%
n
==
0
;
r
(
4
)
&&
(
!
r
(
100
)
||
r
(
400
))
}
```
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录