このサイトはJavaScriptを使用しています
ホーム
エクスプローラー
帮助
返回水杉在线
登录水杉在线
登录水杉码园
10225501432
/
CASPP_LAB
ウォッチ
1
スター
0
フォーク
0
コード
課題
0
プルリクエスト
0
リリース
0
Wiki
アクティビティ
ソースを参照
Finish isTmax and Update README.MD
main
邓博昊
11ヶ月前
親
1fbd97ac02
コミット
a2d6e78f21
2個のファイルの変更
、
8行の追加
、
1行の削除
分割表示
差分オプション
統計情報を表示
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
書き込み
プレビュー
読み込み中…
キャンセル
保存