本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
帮助
返回水杉在线
登录水杉在线
登录水杉码园
10225501432
/
CASPP_LAB
關注
1
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
0
Wiki
活動
瀏覽代碼
Finish isTmax and Update README.MD
main
邓博昊
11 月之前
父節點
1fbd97ac02
當前提交
a2d6e78f21
共有
2 個檔案被更改
,包括
8 行新增
和
1 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
Write
Preview
Loading…
取消
儲存