From 38ad5e4d1fc41a194206a7d817c04ce4565348eb Mon Sep 17 00:00:00 2001 From: Philippe Zwietering Date: Sat, 30 Oct 2021 19:59:38 +0200 Subject: [PATCH] Cleaned up project euler folder and moved the license and readme --- projecteuler/LICENSE => LICENSE | 2 +- README.md | 3 +++ projecteuler/README.md | 3 --- projecteuler/base.cpp | 5 ++--- 4 files changed, 6 insertions(+), 7 deletions(-) rename projecteuler/LICENSE => LICENSE (96%) create mode 100644 README.md delete mode 100644 projecteuler/README.md diff --git a/projecteuler/LICENSE b/LICENSE similarity index 96% rename from projecteuler/LICENSE rename to LICENSE index d449d3e..b302023 100644 --- a/projecteuler/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) +Copyright (c) 2021 Philippe Zwietering Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md new file mode 100644 index 0000000..6eaef5a --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Contest files + +Set of all kinds of programmings contests, including my personal (usually not optimized) solutions for the Project Euler challenges, some stuff for AtCoder, Codeforces and Google Kickstart diff --git a/projecteuler/README.md b/projecteuler/README.md deleted file mode 100644 index 064ddb9..0000000 --- a/projecteuler/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# project-euler - -My personal (usually not optimized) solutions for the Project Euler challenges \ No newline at end of file diff --git a/projecteuler/base.cpp b/projecteuler/base.cpp index 6cce239..c12afe4 100644 --- a/projecteuler/base.cpp +++ b/projecteuler/base.cpp @@ -1,5 +1,4 @@ -#include -#include +#include using namespace std; @@ -13,4 +12,4 @@ int main(){ auto duration = chrono::duration_cast(chrono::high_resolution_clock::now() - start); cout << (float)duration.count()/1000 << endl; return 0; -} \ No newline at end of file +}