create dev channel

This commit is contained in:
2025-05-07 04:44:30 +09:00
parent 603fca2b20
commit 16a8e59450
426 changed files with 643 additions and 36 deletions

21
zeta/py/7579.py Normal file
View File

@@ -0,0 +1,21 @@
import sys
input = sys.stdin.readline
class ApplicationMemorySwap:
def __init__(self, n: int, m: int, mem: list[int], cost: list[int]):
self.n: int = n
self.m: int = m
self.mem: list[int] = mem
self.cost: list[int] = cost
def solve(self) -> int:
knapsack = [0] * (self.m + 1)
if __name__ == '__main__':
n , m = map(int, input().split())
mem = list(map(int, input().split()))
cost = list(map(int, input().split()))
solver = ApplicationMemorySwap(n, m, mem, cost)
print(solver.solve())