Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/python
- no_test_cases = 1000000
- f = open("test_cases.txt","w")
- def generate(no_test_cases):
- f.write(str(no_test_cases)+"\n")
- x = 0.0
- for i in range(no_test_cases):
- x = "%f" % x
- f.write(str(x)+"\n")
- x = float(x)
- x += 0.000001
- f.close()
- generate(no_test_cases)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement