From d4a063ef64f6cbd5a04e79a40a23edd2c59ce9a3 Mon Sep 17 00:00:00 2001 From: Philippe Zwietering Date: Mon, 19 Apr 2021 16:14:58 +0200 Subject: [PATCH] Started on 060 --- 060/main.cpp | 17 +++++++++++++++++ CMakeLists.txt | 3 ++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 060/main.cpp diff --git a/060/main.cpp b/060/main.cpp new file mode 100644 index 0000000..a7db653 --- /dev/null +++ b/060/main.cpp @@ -0,0 +1,17 @@ +/* +The primes 3, 7, 109, and 673, are quite remarkable. By taking any two primes and concatenating them in any order the result will always be prime. For example, taking 7 and 109, both 7109 and 1097 are prime. The sum of these four primes, 792, represents the lowest sum for a set of four primes with this property. + +Find the lowest sum for a set of five primes for which any two primes concatenate to produce another prime. +*/ + +#include + + +using namespace std; + +int main(){ + + cout << "Hello this is Patrick" << endl; + + return 0; +} \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e529a0..ca90e97 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,4 +14,5 @@ project( add_executable(base base.cpp) # For each euler problem a new executable here -add_executable(euler059 059/main.cpp) \ No newline at end of file +add_executable(euler059 059/main.cpp) +add_executable(euler060 060/main.cpp)