From 55e35c0718f7ccdde6ab69c90ff8be43e4572d20 Mon Sep 17 00:00:00 2001 From: Lam Haoyin Date: Thu, 3 Mar 2022 15:04:50 +0800 Subject: [PATCH] add: 220303-CN [cpp] --- cpp/2203/220303-CN.cpp | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 cpp/2203/220303-CN.cpp diff --git a/cpp/2203/220303-CN.cpp b/cpp/2203/220303-CN.cpp new file mode 100644 index 0000000..3315a04 --- /dev/null +++ b/cpp/2203/220303-CN.cpp @@ -0,0 +1,6 @@ +/** + * Refer: 220208.cpp + * + * 258. Add Digits + * Given an integer `num`, repeatedly add all its digits until the result has only one digit, and return it. + */ \ No newline at end of file