Compare commits

..

13 Commits

Author SHA1 Message Date
d661b76d6c Veður - Lokaðar heiðar 2023-10-16 22:46:40 +02:00
1fa5411107 Sóttkví 2023-10-16 22:27:28 +02:00
08da2c1c73 Sith 2023-10-16 22:19:02 +02:00
97bbb9503b Vefþjónatjón 2023-10-16 22:09:07 +02:00
03302ded7c Ekki dauði opna inni 2023-10-16 21:50:43 +02:00
6e1ab93478 Spritt 2023-10-16 21:36:35 +02:00
0dc3d6f827 Amerískur vinnustaður 2023-10-16 21:28:29 +02:00
6fa60c5f30 Hraðgreining 2023-10-16 21:25:01 +02:00
bdefb17596 Framtíðar FIFA 2023-10-16 21:20:51 +02:00
b21298e68c Viðsnúningur 2023-10-16 21:11:17 +02:00
8343b44c8d Óvissa 2023-10-16 21:07:55 +02:00
7977d3e82c Leggja saman 2023-10-16 21:04:54 +02:00
9d1e862202 Velkomin! 2023-10-16 21:01:41 +02:00
13 changed files with 47 additions and 0 deletions

2
ameriskur.py Normal file
View File

@@ -0,0 +1,2 @@
length = float(input())
print(length * 0.09144)

3
ekkidaudi.py Normal file
View 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
View File

@@ -0,0 +1,3 @@
n = int(input())
k = int(input())
print(2022 + n // k)

2
hradgreining.py Normal file
View File

@@ -0,0 +1,2 @@
DNA = input()
print("Veikur!" if "COV" in DNA else "Ekki veikur!")

1
leggjasaman.py Normal file
View File

@@ -0,0 +1 @@
print(int(input()) + int(input()))

2
ovissa.py Normal file
View File

@@ -0,0 +1,2 @@
s = input().strip()
print(len(s))

11
sith.py Normal file
View 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
View 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
View 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
View 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
View 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
View File

@@ -0,0 +1 @@
print("VELKOMIN!")

1
vidsnuningur.py Normal file
View File

@@ -0,0 +1 @@
print(input()[::-1])