update datalab

This commit is contained in:
18218461270@163.com 2025-08-04 12:28:06 +08:00
parent c39cad30b4
commit d16c81c57c

View File

@ -163,7 +163,7 @@ int tmin(void) {
* Rating: 1
*/
int isTmax(int x) {
return !((x + 1) ^ ~x) & !!(x + 1);
return !(((x + 1) ^ ~x) | !(x + 1));
}
/*
* allOddBits - return 1 if all odd-numbered bits in word set to 1