@@ -21,7 +21,6 @@ class ExponentialCoinMoves(PuzzleGenerator):
2121 Inspired by [IMO 2010 Problem 5](https://www.imo-official.org/problems.aspx)"""
2222
2323 multiplier = 10 # worth 10 times normal so that it can run 10 times longer than normal
24- taint_date = [2010 , 7 , 2 ]
2524
2625 @staticmethod
2726 def sat (states : List [List [int ]], n = 16385 ):
@@ -104,9 +103,6 @@ class NoRelativePrimes(PuzzleGenerator):
104103 theorem?
105104 """
106105
107- taint_date = [2016 , 7 , 1 ]
108-
109-
110106 @staticmethod
111107 def sat (nums : List [int ], b = 7 , m = 6 ):
112108 """
@@ -188,8 +184,6 @@ class FindRepeats(PuzzleGenerator):
188184 Inspired by [IMO 2017 Problem 1](https://www.imo-official.org/problems.aspx)
189185 """
190186
191- taint_date = [2017 , 7 , 12 ]
192-
193187 @staticmethod
194188 def sat (indices : List [int ], a0 = 123 ):
195189 """
@@ -237,8 +231,6 @@ class PickNearNeighbors(PuzzleGenerator):
237231
238232 The puzzle solution follows the judge's proof closely."""
239233
240- taint_date = [2017 , 7 , 12 ]
241-
242234 @staticmethod
243235 def sat (keep : List [bool ], heights = [10 , 2 , 14 , 1 , 8 , 19 , 16 , 6 , 12 , 3 , 17 , 0 , 9 , 18 , 5 , 7 , 11 , 13 , 15 , 4 ]):
244236 """
@@ -266,7 +258,7 @@ def sat(keep: List[bool], heights=[10, 2, 14, 1, 8, 19, 16, 6, 12, 3, 17, 0, 9,
266258 return all (abs (pi [2 * i ] - pi [2 * i + 1 ]) == 1 for i in range (n ))
267259
268260 @staticmethod
269- def sol (heights ): # Based on the judge's solution.
261+ def sol (heights ): # Based on the judge's solution.
270262 n = int (len (heights ) ** 0.5 )
271263 assert sorted (heights ) == list (range (n * (n + 1 )))
272264 groups = [h // (n + 1 ) for h in heights ]
@@ -301,8 +293,6 @@ class FindProductiveList(PuzzleGenerator):
301293 Inspired by [IMO 2010 Problem 5](https://www.imo-official.org/problems.aspx)
302294 """
303295
304- taint_date = [2010 , 7 , 2 ]
305-
306296 @staticmethod
307297 def sat (li : List [int ], n = 18 ):
308298 """
@@ -334,8 +324,6 @@ def gen(self, target_num_instances):
334324class HalfTag (PuzzleGenerator ):
335325 """Inspired by [IMO 2020 Problem 3](https://www.imo-official.org/problems.aspx)"""
336326
337- taint_date = [2020 , 9 , 19 ]
338-
339327 @staticmethod
340328 def sat (li : List [int ], tags = [3 , 0 , 3 , 2 , 0 , 1 , 0 , 3 , 1 , 1 , 2 , 2 , 0 , 2 , 1 , 3 ]):
341329 """
@@ -424,6 +412,5 @@ def gen_random(self):
424412 self .add (dict (tags = tags ))
425413
426414
427-
428415if __name__ == "__main__" :
429416 PuzzleGenerator .debug_problems ()
0 commit comments