From 99e2e923d0c77b02f3fb4ff648ea916954868606 Mon Sep 17 00:00:00 2001 From: Yuqian Yang Date: Fri, 28 Feb 2025 23:13:39 +0800 Subject: chore(store): move everything to store. --- works/life/algorithm-contest-2/generator/4/1.in | 3 --- works/life/algorithm-contest-2/generator/4/2.in | 4 ---- works/life/algorithm-contest-2/generator/4/3.in | 4 ---- works/life/algorithm-contest-2/generator/4/4.cpp | 29 ------------------------ works/life/algorithm-contest-2/generator/4/5.cpp | 29 ------------------------ works/life/algorithm-contest-2/generator/4/6.cpp | 29 ------------------------ 6 files changed, 98 deletions(-) delete mode 100644 works/life/algorithm-contest-2/generator/4/1.in delete mode 100644 works/life/algorithm-contest-2/generator/4/2.in delete mode 100644 works/life/algorithm-contest-2/generator/4/3.in delete mode 100644 works/life/algorithm-contest-2/generator/4/4.cpp delete mode 100644 works/life/algorithm-contest-2/generator/4/5.cpp delete mode 100644 works/life/algorithm-contest-2/generator/4/6.cpp (limited to 'works/life/algorithm-contest-2/generator/4') diff --git a/works/life/algorithm-contest-2/generator/4/1.in b/works/life/algorithm-contest-2/generator/4/1.in deleted file mode 100644 index feef14b..0000000 --- a/works/life/algorithm-contest-2/generator/4/1.in +++ /dev/null @@ -1,3 +0,0 @@ -2 10 -6 5 -5 6 diff --git a/works/life/algorithm-contest-2/generator/4/2.in b/works/life/algorithm-contest-2/generator/4/2.in deleted file mode 100644 index d72e475..0000000 --- a/works/life/algorithm-contest-2/generator/4/2.in +++ /dev/null @@ -1,4 +0,0 @@ -3 20 -1 2 -2 1 -3 4 \ No newline at end of file diff --git a/works/life/algorithm-contest-2/generator/4/3.in b/works/life/algorithm-contest-2/generator/4/3.in deleted file mode 100644 index 60d56de..0000000 --- a/works/life/algorithm-contest-2/generator/4/3.in +++ /dev/null @@ -1,4 +0,0 @@ -3 1 -4 5 -8 6 -7 7 \ No newline at end of file diff --git a/works/life/algorithm-contest-2/generator/4/4.cpp b/works/life/algorithm-contest-2/generator/4/4.cpp deleted file mode 100644 index fc0de0b..0000000 --- a/works/life/algorithm-contest-2/generator/4/4.cpp +++ /dev/null @@ -1,29 +0,0 @@ -#include -#include -#include - -using std::cout; - -int main() { - std::default_random_engine engine(std::random_device{}()); - std::uniform_int_distribution distribution(1, 1000); - const int SIZE = 100; - std::vector b; - - for (int i = 0; i < SIZE * 2; i++) { - b.push_back(distribution(engine)); - } - - long long sum = 0; - for (int i = 0; i < SIZE; i++) { - sum += b[i * 2] * b[i * 2 + 1]; - } - - cout << SIZE << ' ' << (sum + 10) << '\n'; - - for (int i = 0; i < SIZE; i++) { - cout << b[i * 2] << ' ' << b[i * 2 + 1] << '\n'; - } - - return 0; -} diff --git a/works/life/algorithm-contest-2/generator/4/5.cpp b/works/life/algorithm-contest-2/generator/4/5.cpp deleted file mode 100644 index 518a4aa..0000000 --- a/works/life/algorithm-contest-2/generator/4/5.cpp +++ /dev/null @@ -1,29 +0,0 @@ -#include -#include -#include - -using std::cout; - -int main() { - std::default_random_engine engine(std::random_device{}()); - std::uniform_int_distribution distribution(1, 10000); - const int SIZE = 600; - std::vector b; - - for (int i = 0; i < SIZE * 2; i++) { - b.push_back(distribution(engine)); - } - - long long sum = 0; - for (int i = 0; i < SIZE; i++) { - sum += b[i * 2] * b[i * 2 + 1]; - } - - cout << SIZE << ' ' << 5000 << '\n'; - - for (int i = 0; i < SIZE; i++) { - cout << b[i * 2] << ' ' << b[i * 2 + 1] << '\n'; - } - - return 0; -} diff --git a/works/life/algorithm-contest-2/generator/4/6.cpp b/works/life/algorithm-contest-2/generator/4/6.cpp deleted file mode 100644 index b4bdb00..0000000 --- a/works/life/algorithm-contest-2/generator/4/6.cpp +++ /dev/null @@ -1,29 +0,0 @@ -#include -#include -#include - -using std::cout; - -int main() { - std::default_random_engine engine(std::random_device{}()); - std::uniform_int_distribution distribution(1, 10000); - const int SIZE = 100; - std::vector b; - - for (int i = 0; i < SIZE * 2; i++) { - b.push_back(distribution(engine)); - } - - long long sum = 0; - for (int i = 0; i < SIZE; i++) { - sum += b[i * 2] * b[i * 2 + 1]; - } - - cout << SIZE << ' ' << 5000 << '\n'; - - for (int i = 0; i < SIZE; i++) { - cout << b[i * 2] << ' ' << b[i * 2 + 1] << '\n'; - } - - return 0; -} -- cgit v1.2.3