From f1fae058c65532c6cbd019c8b9d697321be36b7d 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