diff --git a/solutions/2.py b/solutions/2.py index c22fe70..eb67a64 100644 --- a/solutions/2.py +++ b/solutions/2.py @@ -2,7 +2,7 @@ from io import BufferedRWPair import socket REMOTE = "127.0.0.1" -PORT = 1337 +PORT = 1338 def main() -> int: s = socket.socket() @@ -12,6 +12,7 @@ def main() -> int: pl = int.to_bytes(1337, 2, "big") _ = send(sf, pl) + _ = recv(sf).decode() sf.close() return 0 diff --git a/solutions/3.py b/solutions/3.py index 5f05bdd..b4a5611 100644 --- a/solutions/3.py +++ b/solutions/3.py @@ -1,9 +1,8 @@ from io import TextIOWrapper import socket -import time REMOTE = "127.0.0.1" -PORT = 1337 +PORT = 1339 MAX_GUARD = 300 def calc(a: int, b: int, op: str) -> int: