From b3db615aeed7703fe236ef0b0d8a8de9d0461784 Mon Sep 17 00:00:00 2001 From: Lam Haoyin Date: Tue, 1 Feb 2022 19:29:42 +0800 Subject: [PATCH] add: February 2022 has started! --- 2202/220201-CN.cpp | 8 ++++++++ 2202/CMakeLists.txt | 6 ++++++ CMakeLists.txt | 3 ++- 3 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 2202/220201-CN.cpp create mode 100644 2202/CMakeLists.txt diff --git a/2202/220201-CN.cpp b/2202/220201-CN.cpp new file mode 100644 index 0000000..9716994 --- /dev/null +++ b/2202/220201-CN.cpp @@ -0,0 +1,8 @@ +#include + +class Solution { +public: + std::string longestNiceSubstring(const std::string& s) { + + } +}; \ No newline at end of file diff --git a/2202/CMakeLists.txt b/2202/CMakeLists.txt new file mode 100644 index 0000000..8de4ac6 --- /dev/null +++ b/2202/CMakeLists.txt @@ -0,0 +1,6 @@ +CMAKE_MINIMUM_REQUIRED(VERSION 3.21) +PROJECT(2202) + +SET(CMAKE_CXX_STANDARD 23) + +ADD_EXECUTABLE(2202 220201-CN.cpp) diff --git a/CMakeLists.txt b/CMakeLists.txt index d490128..b97de4f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,6 +8,7 @@ SET(CMAKE_CXX_FLAGS "-Wall") ADD_EXECUTABLE(LeetCodeDaily main.cpp) -ADD_SUBDIRECTORY(2112) +# ADD_SUBDIRECTORY(2112) ADD_SUBDIRECTORY(2201) +ADD_SUBDIRECTORY(2202) ADD_SUBDIRECTORY(more)