Chore: checkpoint

This commit is contained in:
2025-11-10 03:07:40 +08:00
commit f13ce0450b
14 changed files with 2014 additions and 0 deletions

16
solve.py Normal file
View File

@@ -0,0 +1,16 @@
import utils
def run(ops, delay=0):
def ret():
for init, run in ops:
init()
begin = get_tick_count()
while get_tick_count()-begin < delay:
do_a_flip()
while True:
for init, run in ops:
if run():
return
return ret