From 6598b842f8108d9e92e9d1e348b336a06daac650 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 8 Nov 2023 20:25:09 +0000 Subject: [PATCH] add debug print --- maxloc/maxloc.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/maxloc/maxloc.c b/maxloc/maxloc.c index d87f9bcd..e37160c6 100644 --- a/maxloc/maxloc.c +++ b/maxloc/maxloc.c @@ -9,7 +9,10 @@ int m2(int *a, int n) nm = -1; i=0; while (i m) { m = a[i]; nm = i; -- 2.30.2