From 7751368d021d9ee7a6fc729478fb84604ea03115 Mon Sep 17 00:00:00 2001 From: Fedor Lyanguzov Date: Tue, 10 Dec 2024 14:31:24 +0300 Subject: [PATCH] 10.1, 10.2 python --- 10/10.py | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 10/10.py diff --git a/10/10.py b/10/10.py new file mode 100644 index 0000000..5ce75c0 --- /dev/null +++ b/10/10.py @@ -0,0 +1,42 @@ + + + +data = open("input.txt").read().strip().split("\n") +data = [list(map(int, x)) for x in data] + +def make_bound(data): + N = len(data) + M = len(data) + def bound(i, j): + return 0<=i