From 7eaf5a2398cf0ec8a7f991d7ba012f412ed76413 Mon Sep 17 00:00:00 2001 From: Kirito <1362050620@qq.com> Date: Sun, 5 Nov 2023 20:17:25 +0800 Subject: [PATCH] Create 2103.cpp --- LeetCode/2103.cpp | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 LeetCode/2103.cpp diff --git a/LeetCode/2103.cpp b/LeetCode/2103.cpp new file mode 100644 index 0000000..47ddeb8 --- /dev/null +++ b/LeetCode/2103.cpp @@ -0,0 +1,31 @@ +class Solution { +public: + int countPoints(string rings) { + int rods[10] = {}; + for(int i=0; i