Skip to content

Instantly share code, notes, and snippets.

@choltha
Created April 10, 2024 20:30
Show Gist options
  • Save choltha/e37570e9d139c5aa711aa6ac58ca6144 to your computer and use it in GitHub Desktop.
Save choltha/e37570e9d139c5aa711aa6ac58ca6144 to your computer and use it in GitHub Desktop.
<problem>#A B# A# #A B# B# B# #A #A #A B# A#</problem>
Init: #A 2. B# 3. A# 4. #A 5. B# 6. B# 7. B# 8. #A 9. #A 10. #A 11. B# 12. A#
#A 2. B# no change, +1. #A
B# 3. A# no change, +2. B#
A# 4. #A are deleted
B# 6. B# no change, +5. B#
B# 7. B# no change, +6. B#
B# 8. #A is updated, +7. #A +8. B#
#A 10. #A no change, +9. #A
#A 11. B# no change, +10. #A
B# 12. A# no change, +11. B# +12. A# --- Next Step --- Init: #A 2. B# 5. B# 6. B# 7. #A 8. B# 9. #A 10. #A 11. B# 12. A#
#A 2. B# no change, +1. #A
B# 5. B# no change, +2. B#
B# 6. B# no change, +5. B#
B# 7. #A is updated, +6. #A +7. B#
B# 9. #A is updated, +8. #A +9. B#
#A 11. B# no change, +10. #A
B# 12. A# no change, +11. B# +12. A# --- Next Step --- Init: #A 2. B# 5. B# 6. #A 7. B# 8. #A 9. B# 10. #A 11. B# 12. A#
#A 2. B# no change, +1. #A
B# 5. B# no change, +2. B#
B# 6. #A is updated, +5. #A +6. B#
B# 8. #A is updated, +7. #A +8. B#
B# 10. #A is updated, +9. #A +10. B#
B# 12. A# no change, +11. B# +12. A# --- Next Step --- Init: #A 2. B# 5. #A 6. B# 7. #A 8. B# 9. #A 10. B# 11. B# 12. A#
#A 2. B# no change, +1 #A
B# 5. #A is updated, +2. #A +5. B#
B# 7. #A is updated, +6. #A +7. B#
B# 9. #A is updated, +8. #A +9. B#
B# 11. B# no change, +10. B#
B# 12. A# no change, +11. B# +12. A# --- Next Step --- Init: #A 2. #A 5. B# 6. #A 7. B# 8. #A 9. B# 10. B# 11. B# 12. A#
#A 2. #A no change, +1. #A
B# 6. #A is updated, +5. #A +6. B#
B# 8. #A is updated, +7. #A +8. B#
B# 10. B# no change, +9. B#
B# 11. B# no change, +10. B#
B# 12. A# no change, +11. B# + 12. A# --- Next Step --- Init: #A 2. #A 5.#A 6. B# 7. #A 8. B# 9. B# 10. B# 11. B# 12. A#
#A 2. #A no change, +1. #A
#A 5. #A no change, +2. #A
B# 7. #A is updated, +6. #A + 7. B#
B# 9. B# no change, +8. B#
B# 10. B# no change, +9. B#
B# 11. B# no change, +10. B#
B# 12. A# no change, +11. B# +12. A# --- Next Step --- Init: #A 2. #A 5. #A 6. #A 7. B# 8. B# 9. B# 10. B# 11. B# 12. A#
#A 2. #A no change, +1. #A
#A 5. #A no change, +2. #A
#A 6. #A no change, + 5. #A
B# 8. B# no change, +7. B#
B# 9. B# no change, +8. B#
B# 10. B# no change, +9. B#
B# 11. B# no change, +10. B#
B# 12. A# no change, +11. B# + 12. A# --- Next Step --- Init: #A 2. #A 5. #A 6. #A 7. B# 8. B# 9. B# 10. B# 11. B# 12. A# <solution>#A #A #A #A B# B# B# B# B# A#</solution>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment