update .gitignore, remove .vscode and .idea folders, move berkely to ysu-acm

This commit is contained in:
Xevion
2020-03-01 21:01:11 -06:00
parent 71d00e8b23
commit d2d461a5f9
55 changed files with 2 additions and 2969 deletions

View File

@@ -0,0 +1,16 @@
import os, sys, math
path = os.path.join(sys.path[0], 'input')
data = open(path, 'r').read().split('\n')
# To keep with the times of 1991, we will use the constraints of Python2 for max integers
maxInt = 9223372036854775807
def extend(n):
res = 1
for x in range(2, n + 1):
res = x * res
return res
x = 100
print(extend(x))
print(math.log(extend(x), 10))