mirror of
https://codeberg.org/ziglings/exercises.git
synced 2025-06-08 01:57:02 +09:00
Changed the values for better understanding
This commit is contained in:
parent
377d184cdc
commit
761fb1a501
3 changed files with 8 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
--- exercises/097_bit_manipulation.zig 2023-10-03 22:15:22.125574535 +0200
|
||||
+++ answers/097_bit_manipulation.zig 2023-10-05 20:04:07.282771124 +0200
|
||||
--- exercises/097_bit_manipulation.zig 2025-05-12 21:25:03.395385743 +0200
|
||||
+++ answers/097_bit_manipulation.zig 2025-05-12 21:22:57.472986976 +0200
|
||||
@@ -80,7 +80,7 @@
|
||||
y ^= x;
|
||||
|
||||
|
@ -7,5 +7,5 @@
|
|||
- ???;
|
||||
+ x ^= y;
|
||||
|
||||
print("x = {d}; y = {d}\n", .{ x, y });
|
||||
print("x = {b}; y = {b}\n", .{ x, y });
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue