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 allOddBits
main
邓博昊
hace 11 meses
padre
a2d6e78f21
commit
19690ae02a
Se han
modificado 2 ficheros
con
6 adiciones
y
1 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+2
-1
LAB1/bits.c
+4
-0
README.md
+ 2
- 1
LAB1/bits.c
Ver fichero
@ -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
Ver fichero
@ -9,3 +9,7 @@ A CSAPP LAB
3. Finish tmin
### 2023/10/8 Update:
1. Finish isTmax
2. Finish allOddBits
Escribir
Vista previa
Cargando…
Cancelar
Guardar