使用 JavaScript能使本网站更好的工作。
首页
广场
帮助
返回水杉在线
登录水杉在线
登录水杉码园
10225501432
/
CASPP_LAB
关注
1
点赞
0
派生
0
代码
话题
0
合并请求
0
版本发布
0
百科
动态
浏览代码
Finish isTmax and Update README.MD
main
邓博昊
11 个月前
父节点
1fbd97ac02
当前提交
a2d6e78f21
共有
2 个文件被更改
,包括
8 次插入
和
1 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+6
-1
LAB1/bits.c
+2
-0
README.md
+ 6
- 1
LAB1/bits.c
查看文件
@ -198,7 +198,12 @@ int tmin(void) {
*
Rating
:
1
*/
int
isTmax
(
int
x
)
{
return
2
;
int
i
=
x
+
1
;
x
=
x
+
i
;
x
=
~
x
;
i
=
!
i
;
x
=
x
+
i
;
return
!
x
;
}
/*
*
allOddBits
-
return
1
if
all
odd
-
numbered
bits
in
word
set
to
1
+ 2
- 0
README.md
查看文件
@ -7,3 +7,5 @@ A CSAPP LAB
2. Finish bitXor
3. Finish tmin
撰写
预览
正在加载...
取消
保存