This website works better with JavaScript.
首頁
探索
帮助
返回水杉在线
登录水杉在线
登录水杉码园
10225501432
/
CASPP_LAB
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
Finish isTmax and allOddBits
main
邓博昊
11 月之前
父節點
a2d6e78f21
當前提交
19690ae02a
共有
2 個文件被更改
,包括
6 次插入
和
1 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
LAB1/bits.c
+4
-0
README.md
+ 2
- 1
LAB1/bits.c
查看文件
@ -214,7 +214,8 @@ int isTmax(int x) {
*
Rating
:
2
*/
int
allOddBits
(
int
x
)
{
return
2
;
int
a
=
0xaaaaaaaa
;
return
!
(
(
a
&
x
)
^
a
)
;
}
/*
*
negate
-
return
-
x
+ 4
- 0
README.md
查看文件
@ -9,3 +9,7 @@ A CSAPP LAB
3. Finish tmin
### 2023/10/8 Update:
1. Finish isTmax
2. Finish allOddBits
Write
Preview
Loading…
取消
儲存