diff --git a/zeta_python/completed/10989.py b/zeta_python/completed/10989.py new file mode 100644 index 0000000..5e15bb2 --- /dev/null +++ b/zeta_python/completed/10989.py @@ -0,0 +1,8 @@ +import sys +N = int(sys.stdin.readline()) +K = [0]*10000 +for i in range(N): + K[int(sys.stdin.readline())-1] += 1 +for i in range(1,10001): + for k in range(K[i-1]): + print(i) diff --git a/zeta_python/completed/1436.py b/zeta_python/completed/1436.py new file mode 100644 index 0000000..36a503e --- /dev/null +++ b/zeta_python/completed/1436.py @@ -0,0 +1,21 @@ +N = int(input()) +count = 0 +now = 666 + + +def isEnd(n): + k = 100 + while k != 666: + if n < 100: + break + k = n % 1000 + n //= 10 + else: + return True + + +while count != N: + if isEnd(now): + count += 1 + now += 1 +print(now - 1) # Simple is the best diff --git a/zeta_python/completed/2751.py b/zeta_python/completed/2751.py new file mode 100644 index 0000000..db1fadf --- /dev/null +++ b/zeta_python/completed/2751.py @@ -0,0 +1 @@ +for i in sorted(map(int,(j for j in [*open(0)][1:]))):print(i) \ No newline at end of file