We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ab6cdc commit c401486Copy full SHA for c401486
CMakeLists.txt
@@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.14)
2
project(LeetCode)
3
4
# GoogleTest requires at least C++14
5
-set(CMAKE_CXX_STANDARD 14)
+set(CMAKE_CXX_STANDARD 17)
6
set(CMAKE_CXX_STANDARD_REQUIRED ON)
7
# Avoid warning about DOWNLOAD_EXTRACT_TIMESTAMP in CMake 3.24:
8
if (CMAKE_VERSION VERSION_GREATER_EQUAL "3.24.0")
wiggle-sort-ii/tests.cpp
@@ -1,11 +1,11 @@
1
-#include <gtest/gtest.h>
-
#include <algorithm>
#include <utility>
#include <vector>
#include "print_vector.hpp"
+#include <gtest/gtest.h>
+
9
#include "solution.hpp"
10
11
typedef std::vector<int> ll;
0 commit comments