Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
帮助
返回水杉在线
登录水杉在线
登录水杉码园
10225501432
/
CASPP_LAB
Vigiar
1
Marcar como favorito
0
Derivar
0
Código
Questões
0
Pedidos de integração
0
Lançamentos
0
Wiki
Trabalho
Ver a proveniência
Finish isTmax and Update README.MD
main
邓博昊
há 11 meses
ascendente
1fbd97ac02
cometimento
a2d6e78f21
2 ficheiros alterados
com
8 adições
e
1 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+6
-1
LAB1/bits.c
+2
-0
README.md
+ 6
- 1
LAB1/bits.c
Ver ficheiro
@ -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 ficheiro
@ -7,3 +7,5 @@ A CSAPP LAB
2. Finish bitXor
3. Finish tmin
Escrever
Pré-visualizar
Carregando…
Cancelar
Guardar