Stdle #5 · integers · 2026-06-11
What does this Zig snippet output?
A past puzzle — fully playable. 4 attempts, hints on wrong guesses.
const std = @import("std");pub fn main() void { const n: i32 = -7; std.debug.print("{d} {d}\n", .{ @divTrunc(n, 2), @divFloor(n, 2) });}Integers