aboutsummaryrefslogtreecommitdiff
path: root/works/life/algorithm-contest-3/test-data/5
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-02-12 15:55:21 +0800
committerYuqian Yang <crupest@crupest.life>2025-02-12 15:55:21 +0800
commit10eb95869601e145b1d8bc909424777c25752d51 (patch)
tree49449a4076ded9bd937a51679318edbe2a532cae /works/life/algorithm-contest-3/test-data/5
parent29ba3e88b1a7425fe00af0005b8a8228103aa21c (diff)
parentf8c10dd1fc55e60f35286475356e48c4f642eb63 (diff)
downloadcrupest-10eb95869601e145b1d8bc909424777c25752d51.tar.gz
crupest-10eb95869601e145b1d8bc909424777c25752d51.tar.bz2
crupest-10eb95869601e145b1d8bc909424777c25752d51.zip
import(life): IMPORT crupest/life COMPLETE.
Diffstat (limited to 'works/life/algorithm-contest-3/test-data/5')
-rw-r--r--works/life/algorithm-contest-3/test-data/5/1.in6
-rw-r--r--works/life/algorithm-contest-3/test-data/5/10.cpp20
-rw-r--r--works/life/algorithm-contest-3/test-data/5/11.cpp20
-rw-r--r--works/life/algorithm-contest-3/test-data/5/12.cpp20
-rw-r--r--works/life/algorithm-contest-3/test-data/5/13.cpp20
-rw-r--r--works/life/algorithm-contest-3/test-data/5/14.in5
-rw-r--r--works/life/algorithm-contest-3/test-data/5/2.in6
-rw-r--r--works/life/algorithm-contest-3/test-data/5/3.in6
-rw-r--r--works/life/algorithm-contest-3/test-data/5/4.in6
-rw-r--r--works/life/algorithm-contest-3/test-data/5/5.in6
-rw-r--r--works/life/algorithm-contest-3/test-data/5/6.in6
-rw-r--r--works/life/algorithm-contest-3/test-data/5/7.in6
-rw-r--r--works/life/algorithm-contest-3/test-data/5/8.in6
-rw-r--r--works/life/algorithm-contest-3/test-data/5/9.in6
14 files changed, 139 insertions, 0 deletions
diff --git a/works/life/algorithm-contest-3/test-data/5/1.in b/works/life/algorithm-contest-3/test-data/5/1.in
new file mode 100644
index 0000000..67955b5
--- /dev/null
+++ b/works/life/algorithm-contest-3/test-data/5/1.in
@@ -0,0 +1,6 @@
+5 3
+100
+200
+300
+400
+500 \ No newline at end of file
diff --git a/works/life/algorithm-contest-3/test-data/5/10.cpp b/works/life/algorithm-contest-3/test-data/5/10.cpp
new file mode 100644
index 0000000..c74d96d
--- /dev/null
+++ b/works/life/algorithm-contest-3/test-data/5/10.cpp
@@ -0,0 +1,20 @@
+#include <algorithm>
+#include <iostream>
+#include <random>
+
+const int kNumberCount = 100;
+const int kChooseCount = 40;
+
+int main() {
+ std::random_device random_device;
+ auto random = std::default_random_engine{random_device()};
+ std::uniform_int_distribution<int> distribution{0, 200000};
+
+ std::cout << kNumberCount << ' ' << kChooseCount << "\n";
+
+ for (int i = 0; i < kNumberCount; i++) {
+ std::cout << distribution(random) - 100000 << "\n";
+ }
+
+ return 0;
+}
diff --git a/works/life/algorithm-contest-3/test-data/5/11.cpp b/works/life/algorithm-contest-3/test-data/5/11.cpp
new file mode 100644
index 0000000..039ca04
--- /dev/null
+++ b/works/life/algorithm-contest-3/test-data/5/11.cpp
@@ -0,0 +1,20 @@
+#include <algorithm>
+#include <iostream>
+#include <random>
+
+const int kNumberCount = 1000;
+const int kChooseCount = 200;
+
+int main() {
+ std::random_device random_device;
+ auto random = std::default_random_engine{random_device()};
+ std::uniform_int_distribution<int> distribution{0, 200000};
+
+ std::cout << kNumberCount << ' ' << kChooseCount << "\n";
+
+ for (int i = 0; i < kNumberCount; i++) {
+ std::cout << distribution(random) - 100000 << "\n";
+ }
+
+ return 0;
+}
diff --git a/works/life/algorithm-contest-3/test-data/5/12.cpp b/works/life/algorithm-contest-3/test-data/5/12.cpp
new file mode 100644
index 0000000..f7488fb
--- /dev/null
+++ b/works/life/algorithm-contest-3/test-data/5/12.cpp
@@ -0,0 +1,20 @@
+#include <algorithm>
+#include <iostream>
+#include <random>
+
+const int kNumberCount = 10000;
+const int kChooseCount = 1000;
+
+int main() {
+ std::random_device random_device;
+ auto random = std::default_random_engine{random_device()};
+ std::uniform_int_distribution<int> distribution{0, 200000};
+
+ std::cout << kNumberCount << ' ' << kChooseCount << "\n";
+
+ for (int i = 0; i < kNumberCount; i++) {
+ std::cout << distribution(random) - 100000 << "\n";
+ }
+
+ return 0;
+} \ No newline at end of file
diff --git a/works/life/algorithm-contest-3/test-data/5/13.cpp b/works/life/algorithm-contest-3/test-data/5/13.cpp
new file mode 100644
index 0000000..b4e115e
--- /dev/null
+++ b/works/life/algorithm-contest-3/test-data/5/13.cpp
@@ -0,0 +1,20 @@
+#include <algorithm>
+#include <iostream>
+#include <random>
+
+const int kNumberCount = 100000;
+const int kChooseCount = 30000;
+
+int main() {
+ std::random_device random_device;
+ auto random = std::default_random_engine{random_device()};
+ std::uniform_int_distribution<int> distribution{0, 200000};
+
+ std::cout << kNumberCount << ' ' << kChooseCount << "\n";
+
+ for (int i = 0; i < kNumberCount; i++) {
+ std::cout << distribution(random) - 100000 << "\n";
+ }
+
+ return 0;
+}
diff --git a/works/life/algorithm-contest-3/test-data/5/14.in b/works/life/algorithm-contest-3/test-data/5/14.in
new file mode 100644
index 0000000..9a880e1
--- /dev/null
+++ b/works/life/algorithm-contest-3/test-data/5/14.in
@@ -0,0 +1,5 @@
+4 4
+-100
+-100
+-100
+100 \ No newline at end of file
diff --git a/works/life/algorithm-contest-3/test-data/5/2.in b/works/life/algorithm-contest-3/test-data/5/2.in
new file mode 100644
index 0000000..44e28ef
--- /dev/null
+++ b/works/life/algorithm-contest-3/test-data/5/2.in
@@ -0,0 +1,6 @@
+5 3
+-100
+-200
+-300
+-400
+-500 \ No newline at end of file
diff --git a/works/life/algorithm-contest-3/test-data/5/3.in b/works/life/algorithm-contest-3/test-data/5/3.in
new file mode 100644
index 0000000..d784df0
--- /dev/null
+++ b/works/life/algorithm-contest-3/test-data/5/3.in
@@ -0,0 +1,6 @@
+5 4
+-100
+-200
+-300
+-400
+-500 \ No newline at end of file
diff --git a/works/life/algorithm-contest-3/test-data/5/4.in b/works/life/algorithm-contest-3/test-data/5/4.in
new file mode 100644
index 0000000..f710da1
--- /dev/null
+++ b/works/life/algorithm-contest-3/test-data/5/4.in
@@ -0,0 +1,6 @@
+5 3
+20
+-300
+100
+200
+-100 \ No newline at end of file
diff --git a/works/life/algorithm-contest-3/test-data/5/5.in b/works/life/algorithm-contest-3/test-data/5/5.in
new file mode 100644
index 0000000..7eba3f5
--- /dev/null
+++ b/works/life/algorithm-contest-3/test-data/5/5.in
@@ -0,0 +1,6 @@
+5 3
+100
+-100
+-200
+300
+400 \ No newline at end of file
diff --git a/works/life/algorithm-contest-3/test-data/5/6.in b/works/life/algorithm-contest-3/test-data/5/6.in
new file mode 100644
index 0000000..106730a
--- /dev/null
+++ b/works/life/algorithm-contest-3/test-data/5/6.in
@@ -0,0 +1,6 @@
+5 4
+100
+-100
+-200
+300
+400 \ No newline at end of file
diff --git a/works/life/algorithm-contest-3/test-data/5/7.in b/works/life/algorithm-contest-3/test-data/5/7.in
new file mode 100644
index 0000000..01bd232
--- /dev/null
+++ b/works/life/algorithm-contest-3/test-data/5/7.in
@@ -0,0 +1,6 @@
+5 3
+-100
+-200
+0
+-300
+-400 \ No newline at end of file
diff --git a/works/life/algorithm-contest-3/test-data/5/8.in b/works/life/algorithm-contest-3/test-data/5/8.in
new file mode 100644
index 0000000..7e0ce0b
--- /dev/null
+++ b/works/life/algorithm-contest-3/test-data/5/8.in
@@ -0,0 +1,6 @@
+5 3
+-100
+200
+0
+-300
+-400 \ No newline at end of file
diff --git a/works/life/algorithm-contest-3/test-data/5/9.in b/works/life/algorithm-contest-3/test-data/5/9.in
new file mode 100644
index 0000000..210953e
--- /dev/null
+++ b/works/life/algorithm-contest-3/test-data/5/9.in
@@ -0,0 +1,6 @@
+5 4
+-100
+-100
+100
+100
+200 \ No newline at end of file