mirror of
https://github.com/Xevion/contest.git
synced 2025-12-09 22:06:46 -06:00
update .gitignore, remove .vscode and .idea folders, move berkely to ysu-acm
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
5
|
||||
2
|
||||
3
|
||||
1
|
||||
2
|
||||
@@ -0,0 +1,9 @@
|
||||
import sys, os
|
||||
|
||||
# Read the data
|
||||
path = os.path.join(sys.path[0], 'input')
|
||||
data = open(path, 'r').read().split('\n')
|
||||
data = list(map(int, data))
|
||||
assert all(map(lambda x : x >= 1, data))
|
||||
|
||||
print('\n\n'.join('\n'.join('*' * x for x in range(n, 0, -1))for n in data))
|
||||
Reference in New Issue
Block a user