Solve 2024-17
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
export function mod(x: number, m: number) {
|
||||
return ((x % m) + m) % m;
|
||||
}
|
||||
|
||||
export function unsignedXOR(a: number, b: number) {
|
||||
return (a ^ b) >>> 0;
|
||||
}
|
||||
Reference in New Issue
Block a user