From d266dd855d147a3ccfb02274862f273770440398 Mon Sep 17 00:00:00 2001 From: Awen Lelu Date: Tue, 6 Jan 2026 16:38:38 +0100 Subject: [PATCH] removed long printf --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index adb34fe..5c24cc1 100644 --- a/main.cpp +++ b/main.cpp @@ -28,7 +28,7 @@ void loop(int hour, int humans, int zombies) { int new_humans; int new_zombies; - std:printf("hour: %ld| zombies: %ld| humans: %ld \n", hour, zombies, humans); + std:printf("hour: %d| zombies: %d| humans: %d \n", hour, zombies, humans); for (int n = 0; n < new_zombies; n++) { if (rand() % 100 < attack_chance) {