This website works better with JavaScript.
Home
Explore
帮助
返回水杉在线
登录水杉在线
登录水杉码园
10225501432
/
CASPP_LAB
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Finish isTmax and Update README.MD
main
邓博昊
11 months ago
parent
1fbd97ac02
commit
a2d6e78f21
2 changed files
with
8 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-1
LAB1/bits.c
+2
-0
README.md
+ 6
- 1
LAB1/bits.c
View File
@ -198,7 +198,12 @@ int tmin(void) {
*
Rating
:
1
*
Rating
:
1
*/
*/
int
isTmax
(
int
x
)
{
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
*
allOddBits
-
return
1
if
all
odd
-
numbered
bits
in
word
set
to
1
+ 2
- 0
README.md
View File
@ -7,3 +7,5 @@ A CSAPP LAB
2. Finish bitXor
2. Finish bitXor
3. Finish tmin
Write
Preview
Loading…
Cancel
Save