Compare commits
13 Commits
c5728fa19e
...
d661b76d6c
| Author | SHA1 | Date | |
|---|---|---|---|
| d661b76d6c | |||
| 1fa5411107 | |||
| 08da2c1c73 | |||
| 97bbb9503b | |||
| 03302ded7c | |||
| 6e1ab93478 | |||
| 0dc3d6f827 | |||
| 6fa60c5f30 | |||
| bdefb17596 | |||
| b21298e68c | |||
| 8343b44c8d | |||
| 7977d3e82c | |||
| 9d1e862202 |
2
ameriskur.py
Normal file
2
ameriskur.py
Normal file
@@ -0,0 +1,2 @@
|
||||
length = float(input())
|
||||
print(length * 0.09144)
|
||||
3
ekkidaudi.py
Normal file
3
ekkidaudi.py
Normal file
@@ -0,0 +1,3 @@
|
||||
row1 = input().strip().split("|")
|
||||
row2 = input().strip().split("|")
|
||||
print(" ".join(["".join(part) for part in zip(row1, row2)]))
|
||||
3
fifa.py
Normal file
3
fifa.py
Normal file
@@ -0,0 +1,3 @@
|
||||
n = int(input())
|
||||
k = int(input())
|
||||
print(2022 + n // k)
|
||||
2
hradgreining.py
Normal file
2
hradgreining.py
Normal file
@@ -0,0 +1,2 @@
|
||||
DNA = input()
|
||||
print("Veikur!" if "COV" in DNA else "Ekki veikur!")
|
||||
1
leggjasaman.py
Normal file
1
leggjasaman.py
Normal file
@@ -0,0 +1 @@
|
||||
print(int(input()) + int(input()))
|
||||
11
sith.py
Normal file
11
sith.py
Normal file
@@ -0,0 +1,11 @@
|
||||
_ = input()
|
||||
a = int(input())
|
||||
b = int(input())
|
||||
res = int(input())
|
||||
|
||||
if a - b >= 0:
|
||||
print("VEIT EKKI")
|
||||
elif res > 0:
|
||||
print("SITH")
|
||||
else:
|
||||
print("JEDI")
|
||||
3
sottkvi.py
Normal file
3
sottkvi.py
Normal file
@@ -0,0 +1,3 @@
|
||||
n, k, d = map(int, input().strip().split())
|
||||
birthday = d + k
|
||||
print(sum([1 if int(input()) + 14 <= birthday else 0 for _ in range(n)]))
|
||||
2
spritt.py
Normal file
2
spritt.py
Normal file
@@ -0,0 +1,2 @@
|
||||
n, x = map(int, input().strip().split())
|
||||
print("Jebb" if sum([int(input()) for _ in range(n)]) <= x else "Neibb")
|
||||
6
vedurheidar.py
Normal file
6
vedurheidar.py
Normal file
@@ -0,0 +1,6 @@
|
||||
v = int(input())
|
||||
n = int(input())
|
||||
|
||||
for _ in range(n):
|
||||
s, k = input().strip().split()
|
||||
print(f"{s} {'opin' if int(k) >= v else 'lokud'}")
|
||||
10
vefthjonatjon.py
Normal file
10
vefthjonatjon.py
Normal file
@@ -0,0 +1,10 @@
|
||||
CPU = 0
|
||||
MEM = 0
|
||||
HDD = 0
|
||||
n = int(input())
|
||||
for _ in range(n):
|
||||
c, m, h = map(lambda s: 1 if s == "J" else 0, input().strip().split())
|
||||
CPU += c
|
||||
MEM += m
|
||||
HDD += h
|
||||
print(min((CPU, MEM, HDD)))
|
||||
1
velkomin.py
Normal file
1
velkomin.py
Normal file
@@ -0,0 +1 @@
|
||||
print("VELKOMIN!")
|
||||
1
vidsnuningur.py
Normal file
1
vidsnuningur.py
Normal file
@@ -0,0 +1 @@
|
||||
print(input()[::-1])
|
||||
Reference in New Issue
Block a user