thomas_2023/day_5/meme

407 lines
26 KiB
Text
Raw Normal View History

[Range(start=79, end=92), Range(start=55, end=67)]
[Remap(dest_start=50, dest_end=51, src_start=98, src_end=99), Remap(dest_start=52, dest_end=99, src_start=50, src_end=97)] 5
[Remap(dest_start=0, dest_end=36, src_start=15, src_end=51), Remap(dest_start=37, dest_end=38, src_start=52, src_end=53), Remap(dest_start=39, dest_end=53, src_start=0, src_end=14)] 10
[Remap(dest_start=49, dest_end=56, src_start=53, src_end=60), Remap(dest_start=0, dest_end=41, src_start=11, src_end=52), Remap(dest_start=42, dest_end=48, src_start=0, src_end=6), Remap(dest_start=57, dest_end=60, src_start=7, src_end=10)] 16
[Remap(dest_start=88, dest_end=94, src_start=18, src_end=24), Remap(dest_start=18, dest_end=87, src_start=25, src_end=94)] 20
[Remap(dest_start=45, dest_end=67, src_start=77, src_end=99), Remap(dest_start=81, dest_end=99, src_start=45, src_end=63), Remap(dest_start=68, dest_end=80, src_start=64, src_end=76)] 25
[Remap(dest_start=0, dest_end=0, src_start=69, src_end=69), Remap(dest_start=1, dest_end=69, src_start=0, src_end=68)] 29
[Remap(dest_start=60, dest_end=96, src_start=56, src_end=92), Remap(dest_start=56, dest_end=59, src_start=93, src_end=96)] 33
Seed to Soil
[ ############# ############## ]
[ 11111111111111111111111111111111111111111111111100]
[ 00111111111111111111111111111111111111111111111111]
---
[ ############## ]
We do remap now
[ 00]
[ 00 ]
New ranges are
[ ############## ]
We do remap now
[ 111111111111111111111111111111111111111111111111 ]
[ 111111111111111111111111111111111111111111111111]
Case 2
[ ############## ]
New ranges are
[ ]
[ ############## ]
[ ############# ]
We do remap now
[ 00]
[ 00 ]
New ranges are
[ ############# ]
We do remap now
[ 111111111111111111111111111111111111111111111111 ]
[ 111111111111111111111111111111111111111111111111]
Case 2
[ ############# ]
New ranges are
[ ]
[ ############# ]
---
Soil to Fertilizer
[ ############# ############## ]
[222222222222222000000000000000000000000000000000000011 ]
[000000000000000000000000000000000000011222222222222222 ]
---
[ ############## ]
We do remap now
[ 0000000000000000000000000000000000000 ]
[0000000000000000000000000000000000000 ]
New ranges are
[ ############## ]
We do remap now
[ 11 ]
[ 11 ]
New ranges are
[ ############## ]
We do remap now
[222222222222222 ]
[ 222222222222222 ]
New ranges are
[ ############## ]
[ ############## ]
[ ############# ]
We do remap now
[ 0000000000000000000000000000000000000 ]
[0000000000000000000000000000000000000 ]
New ranges are
[ ############# ]
We do remap now
[ 11 ]
[ 11 ]
New ranges are
[ ############# ]
We do remap now
[222222222222222 ]
[ 222222222222222 ]
New ranges are
[ ############# ]
[ ############# ]
---
Fertilizer to Water
[ ############# ############## ]
[2222222333311111111111111111111111111111111111111111100000000 ]
[1111111111111111111111111111111111111111112222222000000003333 ]
---
[ ############## ]
We do remap now
[ 00000000 ]
[ 00000000 ]
New ranges are
[ ############## ]
We do remap now
[ 111111111111111111111111111111111111111111 ]
[111111111111111111111111111111111111111111 ]
New ranges are
[ ############## ]
We do remap now
[2222222 ]
[ 2222222 ]
New ranges are
[ ############## ]
We do remap now
[ 3333 ]
[ 3333 ]
New ranges are
[ ############## ]
[ ############## ]
[ ############# ]
We do remap now
[ 00000000 ]
[ 00000000 ]
Case 2
[ #### ]
Case 3
[ ######### ]
New ranges are
[ ######### ]
We do remap now
[ 111111111111111111111111111111111111111111 ]
[111111111111111111111111111111111111111111 ]
New ranges are
[ ######### ]
We do remap now
[2222222 ]
[ 2222222 ]
New ranges are
[ ######### ]
We do remap now
[ 3333 ]
[ 3333 ]
New ranges are
[ ######### ]
[ #### ######### ]
---
Water to Light
[ #### ######### ############## ]
[ 00000001111111111111111111111111111111111111111111111111111111111111111111111 ]
[ 11111111111111111111111111111111111111111111111111111111111111111111110000000 ]
---
[ ############## ]
We do remap now
[ 0000000 ]
[ 0000000 ]
New ranges are
[ ############## ]
We do remap now
[ 1111111111111111111111111111111111111111111111111111111111111111111111 ]
[ 1111111111111111111111111111111111111111111111111111111111111111111111 ]
Case 2
[ ############## ]
New ranges are
[ ]
[ ############## ]
[ ######### ]
We do remap now
[ 0000000 ]
[ 0000000 ]
New ranges are
[ ######### ]
We do remap now
[ 1111111111111111111111111111111111111111111111111111111111111111111111 ]
[ 1111111111111111111111111111111111111111111111111111111111111111111111 ]
Case 2
[ ######### ]
New ranges are
[ ]
[ ######### ]
[ #### ]
We do remap now
[ 0000000 ]
[ 0000000 ]
New ranges are
[ #### ]
We do remap now
[ 1111111111111111111111111111111111111111111111111111111111111111111111 ]
[ 1111111111111111111111111111111111111111111111111111111111111111111111 ]
Case 2
[ #### ]
New ranges are
[ ]
[ #### ]
---
[Range(start=74, end=87), Range(start=54, end=62), Range(start=46, end=49)] [Remap(dest_start=45, dest_end=67, src_start=77, src_end=99), Remap(dest_start=81, dest_end=99, src_start=45, src_end=63), Remap(dest_start=68, dest_end=80, src_start=64, src_end=76)]
Light to Temperatures
[ #### ######### ############## ]
[ 1111111111111111111222222222222200000000000000000000000]
[ 0000000000000000000000022222222222221111111111111111111]
---
[ ############## ]
We do remap now
[ 00000000000000000000000]
[ 00000000000000000000000 ]
Case 1
[ ### ]
Case 2
[ ########### ]
New ranges are
[ ### ]
We do remap now
[ 1111111111111111111 ]
[ 1111111111111111111]
New ranges are
[ ### ]
We do remap now
[ 2222222222222 ]
[ 2222222222222 ]
Case 2
[ ########### ### ]
New ranges are
[ ]
[ ########### ### ]
[ ######### ]
We do remap now
[ 00000000000000000000000]
[ 00000000000000000000000 ]
New ranges are
[ ######### ]
We do remap now
[ 1111111111111111111 ]
[ 1111111111111111111]
Case 2
[ ######### ]
New ranges are
[ ]
We do remap now
[ 2222222222222 ]
[ 2222222222222 ]
New ranges are
[ ]
[ ######### ]
[ #### ]
We do remap now
[ 00000000000000000000000]
[ 00000000000000000000000 ]
New ranges are
[ #### ]
We do remap now
[ 1111111111111111111 ]
[ 1111111111111111111]
Case 2
[ #### ]
New ranges are
[ ]
We do remap now
[ 2222222222222 ]
[ 2222222222222 ]
New ranges are
[ ]
[ #### ]
---
Temperatures to Humidity
[ ########### ### #### ######### ]
[1111111111111111111111111111111111111111111111111111111111111111111110 ]
[0111111111111111111111111111111111111111111111111111111111111111111111 ]
---
[ ########### ]
We do remap now
[ 0 ]
[0 ]
New ranges are
[ ########### ]
We do remap now
[111111111111111111111111111111111111111111111111111111111111111111111 ]
[ 111111111111111111111111111111111111111111111111111111111111111111111 ]
Case 2
[ ########### ]
New ranges are
[ ]
[ ########### ]
[ ### ]
We do remap now
[ 0 ]
[0 ]
New ranges are
[ ### ]
We do remap now
[111111111111111111111111111111111111111111111111111111111111111111111 ]
[ 111111111111111111111111111111111111111111111111111111111111111111111 ]
New ranges are
[ ### ]
[ ### ]
[ ######### ]
We do remap now
[ 0 ]
[0 ]
New ranges are
[ ######### ]
We do remap now
[111111111111111111111111111111111111111111111111111111111111111111111 ]
[ 111111111111111111111111111111111111111111111111111111111111111111111 ]
New ranges are
[ ######### ]
[ ######### ]
[ #### ]
We do remap now
[ 0 ]
[0 ]
New ranges are
[ #### ]
We do remap now
[111111111111111111111111111111111111111111111111111111111111111111111 ]
[ 111111111111111111111111111111111111111111111111111111111111111111111 ]
New ranges are
[ #### ]
[ #### ]
---
Humidity to Location
[ ########### ### #### ######### ]
[ 00000000000000000000000000000000000001111 ]
[ 11110000000000000000000000000000000000000 ]
---
[ ########### ]
We do remap now
[ 0000000000000000000000000000000000000 ]
[ 0000000000000000000000000000000000000 ]
Case 1
[ ########## ]
Case 2
[ # ]
New ranges are
[ ########## ]
We do remap now
[ 1111 ]
[ 1111 ]
New ranges are
[ ########## ]
[ ########## # ]
[ ### ]
We do remap now
[ 0000000000000000000000000000000000000 ]
[ 0000000000000000000000000000000000000 ]
Case 2
[ ### ]
New ranges are
[ ]
We do remap now
[ 1111 ]
[ 1111 ]
New ranges are
[ ]
[ ### ]
[ ######### ]
We do remap now
[ 0000000000000000000000000000000000000 ]
[ 0000000000000000000000000000000000000 ]
Case 2
[ ### ]
Case 3
[ ###### ]
New ranges are
[ ###### ]
We do remap now
[ 1111 ]
[ 1111 ]
Case 2
[ #### ### ]
Case 3
[ ## ]
New ranges are
[ ## ]
[ #### ##### ]
[ #### ]
We do remap now
[ 0000000000000000000000000000000000000 ]
[ 0000000000000000000000000000000000000 ]
Case 2
[ #### ]
New ranges are
[ ]
We do remap now
[ 1111 ]
[ 1111 ]
New ranges are
[ ]
[ #### ]
---
[Range(start=46, end=55), Range(start=60, end=60), Range(start=82, end=84), Range(start=97, end=98), Range(start=94, end=96), Range(start=56, end=59), Range(start=86, end=89)]