boj step 3 rework
This commit is contained in:
1 parent
2b9511b074
commit
e39d555bd0
2 files changed
+5
No files matched your search
@@ -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")
|
||||
@@ -0,0 +1,2 @@
|
||||
N = int(input())
|
||||
print("long " * (N // 4) + "int")
|
||||
Reference in new issue
Block a user