diff options
author | mathiasmagnusson <mathiasmagnussons@gmail.com> | 2022-12-09 18:00:41 +0100 |
---|---|---|
committer | mathiasmagnusson <mathiasmagnussons@gmail.com> | 2022-12-09 18:00:41 +0100 |
commit | a1eb38bebe6ce1668c3f96489506c3b05b9fe5cb (patch) | |
tree | cccf0fd4763dba123efab7c896292dc18d1eb458 /kattis-open-almostunionfind/geninput.py | |
parent | e41e6c8bc72e3300a0fa137f198454341bc315b1 (diff) | |
download | programming-problem-solving-a1eb38bebe6ce1668c3f96489506c3b05b9fe5cb.tar.gz |
Move stuff around
Diffstat (limited to 'kattis-open-almostunionfind/geninput.py')
-rwxr-xr-x | kattis-open-almostunionfind/geninput.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/kattis-open-almostunionfind/geninput.py b/kattis-open-almostunionfind/geninput.py deleted file mode 100755 index 5eef1f3..0000000 --- a/kattis-open-almostunionfind/geninput.py +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/python - -from random import randint as rand - -n, m = rand(10, 1000), rand(10, 1000) -print(n, m) - -for _ in range(m): - t = rand(1, 3) - if t < 3: - p, q = rand(1, n), rand(1, n) - print(t, p, q) - else: - p = rand(1, n) - print(t, p) |