From a736891ccbeea95e6de6929293e0b4ba87e86b30 Mon Sep 17 00:00:00 2001 From: "go-interview-practice-bot[bot]" <230190823+go-interview-practice-bot[bot]@users.noreply.github.com> Date: Mon, 10 Nov 2025 13:23:52 +0000 Subject: [PATCH 1/2] Add solution for Challenge 1 --- .../submissions/kiramux/solution-template.go | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 challenge-1/submissions/kiramux/solution-template.go diff --git a/challenge-1/submissions/kiramux/solution-template.go b/challenge-1/submissions/kiramux/solution-template.go new file mode 100644 index 00000000..ad02c049 --- /dev/null +++ b/challenge-1/submissions/kiramux/solution-template.go @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" +) + +func main() { + var a, b int + // Read two integers from standard input + _, err := fmt.Scanf("%d, %d", &a, &b) + if err != nil { + fmt.Println("Error reading input:", err) + return + } + + // Call the Sum function and print the result + result := Sum(a, b) + fmt.Println(result) +} + +// Sum returns the sum of a and b. +func Sum(a int, b int) int { + // TODO: Implement the function + return a + b +} From 9c8f2609077517f41849f1fe5b8e3664bcaf4799 Mon Sep 17 00:00:00 2001 From: kiramux <160688228+kiramux@users.noreply.github.com> Date: Mon, 10 Nov 2025 21:32:00 +0800 Subject: [PATCH 2/2] remove todo comment --- challenge-1/submissions/kiramux/solution-template.go | 1 - 1 file changed, 1 deletion(-) diff --git a/challenge-1/submissions/kiramux/solution-template.go b/challenge-1/submissions/kiramux/solution-template.go index ad02c049..479c1774 100644 --- a/challenge-1/submissions/kiramux/solution-template.go +++ b/challenge-1/submissions/kiramux/solution-template.go @@ -20,6 +20,5 @@ func main() { // Sum returns the sum of a and b. func Sum(a int, b int) int { - // TODO: Implement the function return a + b }