Solve 2024-17

This commit is contained in:
2024-12-17 18:42:35 +01:00
parent c32296f243
commit a2f386277f
6 changed files with 174 additions and 4 deletions
+7
View File
@@ -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;
}