about summary refs log tree commit diff
path: root/NTU/sagain_geninp.py
diff options
context:
space:
mode:
authorNguyễn Gia Phong <vn.mcsinyx@gmail.com>2019-12-15 15:09:13 +0700
committerNguyễn Gia Phong <vn.mcsinyx@gmail.com>2019-12-15 15:09:13 +0700
commit9e28e4c7b67c54229df11d355047ac8a88ea1817 (patch)
tree0d9d40db69613c2c49564a3f1987a005d61f4db3 /NTU/sagain_geninp.py
parent67393f42f41ab92219deb549f711121c4dab845b (diff)
downloadcp-9e28e4c7b67c54229df11d355047ac8a88ea1817.tar.gz
Normalize pathname
Diffstat (limited to 'NTU/sagain_geninp.py')
-rw-r--r--NTU/sagain_geninp.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/NTU/sagain_geninp.py b/NTU/sagain_geninp.py
deleted file mode 100644
index 7764953..0000000
--- a/NTU/sagain_geninp.py
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/usr/bin/env python3
-
-from random import choice, randint
-from string import ascii_lowercase
-
-
-with open('sagain.txt', 'w') as f:
-    length = randint(1, 2000000)
-    k = str(randint(1, min(length, 1000))) + '\n'
-    f.write(k)
-    for _ in range(length):
-        f.write(choice(ascii_lowercase))
-    f.write('\n')