From e39d555bd0b4897000f825beb6529607234b03df Mon Sep 17 00:00:00 2001 From: yenru0 Date: Mon, 19 Feb 2024 12:41:28 +0900 Subject: [PATCH] boj step 3 rework --- zeta_python/completed/25304.py | 3 +++ zeta_python/completed/25314.py | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 zeta_python/completed/25304.py create mode 100644 zeta_python/completed/25314.py diff --git a/zeta_python/completed/25304.py b/zeta_python/completed/25304.py new file mode 100644 index 0000000..c14133c --- /dev/null +++ b/zeta_python/completed/25304.py @@ -0,0 +1,3 @@ +X, N = int(input()), int(input()) +mul = lambda x: x[0] * x[1] +print("Yes") if sum(mul(list(map(int, input().split()))) for _ in range(N)) == X else print("No") diff --git a/zeta_python/completed/25314.py b/zeta_python/completed/25314.py new file mode 100644 index 0000000..ec199c6 --- /dev/null +++ b/zeta_python/completed/25314.py @@ -0,0 +1,2 @@ +N = int(input()) +print("long " * (N // 4) + "int") \ No newline at end of file