Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
帮助
返回水杉在线
登录水杉在线
登录水杉码园
10225501432
/
CASPP_LAB
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Pull Requests
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
Finish isTmax and Update README.MD
main
邓博昊
hace 11 meses
padre
1fbd97ac02
commit
a2d6e78f21
Se han
modificado 2 ficheros
con
8 adiciones
y
1 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+6
-1
LAB1/bits.c
+2
-0
README.md
+ 6
- 1
LAB1/bits.c
Ver fichero
@ -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
Ver fichero
@ -7,3 +7,5 @@ A CSAPP LAB
2. Finish bitXor
3. Finish tmin
Escribir
Vista previa
Cargando…
Cancelar
Guardar