input_test
stringlengths 53
53
| scratchpad
stringlengths 1.89k
1.91k
| result_final
stringlengths 18
19
| y_digits
int64 18
18
|
---|---|---|---|
Input:
554184843857006438+294489782922315677
Target:
| Input:
554184843857006438+294489782922315677
Target:
[5,5,4,1,8,4,8,4,3,8,5,7,0,0,6,4,3,8] + [2,9,4,4,8,9,7,8,2,9,2,2,3,1,5,6,7,7] , A=[] , C=0 , 8+7+0=15 , A->5 , C->1
[5,5,4,1,8,4,8,4,3,8,5,7,0,0,6,4,3] + [2,9,4,4,8,9,7,8,2,9,2,2,3,1,5,6,7] , A=[5] , C=1 , 3+7+1=11 , A->1 , C->1
[5,5,4,1,8,4,8,4,3,8,5,7,0,0,6,4] + [2,9,4,4,8,9,7,8,2,9,2,2,3,1,5,6] , A=[1,5] , C=1 , 4+6+1=11 , A->1 , C->1
[5,5,4,1,8,4,8,4,3,8,5,7,0,0,6] + [2,9,4,4,8,9,7,8,2,9,2,2,3,1,5] , A=[1,1,5] , C=1 , 6+5+1=12 , A->2 , C->1
[5,5,4,1,8,4,8,4,3,8,5,7,0,0] + [2,9,4,4,8,9,7,8,2,9,2,2,3,1] , A=[2,1,1,5] , C=1 , 0+1+1=2 , A->2 , C->0
[5,5,4,1,8,4,8,4,3,8,5,7,0] + [2,9,4,4,8,9,7,8,2,9,2,2,3] , A=[2,2,1,1,5] , C=0 , 0+3+0=3 , A->3 , C->0
[5,5,4,1,8,4,8,4,3,8,5,7] + [2,9,4,4,8,9,7,8,2,9,2,2] , A=[3,2,2,1,1,5] , C=0 , 7+2+0=9 , A->9 , C->0
[5,5,4,1,8,4,8,4,3,8,5] + [2,9,4,4,8,9,7,8,2,9,2] , A=[9,3,2,2,1,1,5] , C=0 , 5+2+0=7 , A->7 , C->0
[5,5,4,1,8,4,8,4,3,8] + [2,9,4,4,8,9,7,8,2,9] , A=[7,9,3,2,2,1,1,5] , C=0 , 8+9+0=17 , A->7 , C->1
[5,5,4,1,8,4,8,4,3] + [2,9,4,4,8,9,7,8,2] , A=[7,7,9,3,2,2,1,1,5] , C=1 , 3+2+1=6 , A->6 , C->0
[5,5,4,1,8,4,8,4] + [2,9,4,4,8,9,7,8] , A=[6,7,7,9,3,2,2,1,1,5] , C=0 , 4+8+0=12 , A->2 , C->1
[5,5,4,1,8,4,8] + [2,9,4,4,8,9,7] , A=[2,6,7,7,9,3,2,2,1,1,5] , C=1 , 8+7+1=16 , A->6 , C->1
[5,5,4,1,8,4] + [2,9,4,4,8,9] , A=[6,2,6,7,7,9,3,2,2,1,1,5] , C=1 , 4+9+1=14 , A->4 , C->1
[5,5,4,1,8] + [2,9,4,4,8] , A=[4,6,2,6,7,7,9,3,2,2,1,1,5] , C=1 , 8+8+1=17 , A->7 , C->1
[5,5,4,1] + [2,9,4,4] , A=[7,4,6,2,6,7,7,9,3,2,2,1,1,5] , C=1 , 1+4+1=6 , A->6 , C->0
[5,5,4] + [2,9,4] , A=[6,7,4,6,2,6,7,7,9,3,2,2,1,1,5] , C=0 , 4+4+0=8 , A->8 , C->0
[5,5] + [2,9] , A=[8,6,7,4,6,2,6,7,7,9,3,2,2,1,1,5] , C=0 , 5+9+0=14 , A->4 , C->1
[5] + [2] , A=[4,8,6,7,4,6,2,6,7,7,9,3,2,2,1,1,5] , C=1 , 5+2+1=8 , A->8 , C->0
[] + [] , A=[8,4,8,6,7,4,6,2,6,7,7,9,3,2,2,1,1,5] C=0 , END
</scratch>
848674626779322115
| 848674626779322115 | 18 |
Input:
699118700099448679+709780238373224795
Target:
| Input:
699118700099448679+709780238373224795
Target:
[6,9,9,1,1,8,7,0,0,0,9,9,4,4,8,6,7,9] + [7,0,9,7,8,0,2,3,8,3,7,3,2,2,4,7,9,5] , A=[] , C=0 , 9+5+0=14 , A->4 , C->1
[6,9,9,1,1,8,7,0,0,0,9,9,4,4,8,6,7] + [7,0,9,7,8,0,2,3,8,3,7,3,2,2,4,7,9] , A=[4] , C=1 , 7+9+1=17 , A->7 , C->1
[6,9,9,1,1,8,7,0,0,0,9,9,4,4,8,6] + [7,0,9,7,8,0,2,3,8,3,7,3,2,2,4,7] , A=[7,4] , C=1 , 6+7+1=14 , A->4 , C->1
[6,9,9,1,1,8,7,0,0,0,9,9,4,4,8] + [7,0,9,7,8,0,2,3,8,3,7,3,2,2,4] , A=[4,7,4] , C=1 , 8+4+1=13 , A->3 , C->1
[6,9,9,1,1,8,7,0,0,0,9,9,4,4] + [7,0,9,7,8,0,2,3,8,3,7,3,2,2] , A=[3,4,7,4] , C=1 , 4+2+1=7 , A->7 , C->0
[6,9,9,1,1,8,7,0,0,0,9,9,4] + [7,0,9,7,8,0,2,3,8,3,7,3,2] , A=[7,3,4,7,4] , C=0 , 4+2+0=6 , A->6 , C->0
[6,9,9,1,1,8,7,0,0,0,9,9] + [7,0,9,7,8,0,2,3,8,3,7,3] , A=[6,7,3,4,7,4] , C=0 , 9+3+0=12 , A->2 , C->1
[6,9,9,1,1,8,7,0,0,0,9] + [7,0,9,7,8,0,2,3,8,3,7] , A=[2,6,7,3,4,7,4] , C=1 , 9+7+1=17 , A->7 , C->1
[6,9,9,1,1,8,7,0,0,0] + [7,0,9,7,8,0,2,3,8,3] , A=[7,2,6,7,3,4,7,4] , C=1 , 0+3+1=4 , A->4 , C->0
[6,9,9,1,1,8,7,0,0] + [7,0,9,7,8,0,2,3,8] , A=[4,7,2,6,7,3,4,7,4] , C=0 , 0+8+0=8 , A->8 , C->0
[6,9,9,1,1,8,7,0] + [7,0,9,7,8,0,2,3] , A=[8,4,7,2,6,7,3,4,7,4] , C=0 , 0+3+0=3 , A->3 , C->0
[6,9,9,1,1,8,7] + [7,0,9,7,8,0,2] , A=[3,8,4,7,2,6,7,3,4,7,4] , C=0 , 7+2+0=9 , A->9 , C->0
[6,9,9,1,1,8] + [7,0,9,7,8,0] , A=[9,3,8,4,7,2,6,7,3,4,7,4] , C=0 , 8+0+0=8 , A->8 , C->0
[6,9,9,1,1] + [7,0,9,7,8] , A=[8,9,3,8,4,7,2,6,7,3,4,7,4] , C=0 , 1+8+0=9 , A->9 , C->0
[6,9,9,1] + [7,0,9,7] , A=[9,8,9,3,8,4,7,2,6,7,3,4,7,4] , C=0 , 1+7+0=8 , A->8 , C->0
[6,9,9] + [7,0,9] , A=[8,9,8,9,3,8,4,7,2,6,7,3,4,7,4] , C=0 , 9+9+0=18 , A->8 , C->1
[6,9] + [7,0] , A=[8,8,9,8,9,3,8,4,7,2,6,7,3,4,7,4] , C=1 , 9+0+1=10 , A->0 , C->1
[6] + [7] , A=[0,8,8,9,8,9,3,8,4,7,2,6,7,3,4,7,4] , C=1 , 6+7+1=14 , A->4 , C->1
[] + [] , A=[4,0,8,8,9,8,9,3,8,4,7,2,6,7,3,4,7,4] C=1 , END
</scratch>
1408898938472673474
| 1408898938472673474 | 18 |
Input:
597175964390684532+487939515504443153
Target:
| Input:
597175964390684532+487939515504443153
Target:
[5,9,7,1,7,5,9,6,4,3,9,0,6,8,4,5,3,2] + [4,8,7,9,3,9,5,1,5,5,0,4,4,4,3,1,5,3] , A=[] , C=0 , 2+3+0=5 , A->5 , C->0
[5,9,7,1,7,5,9,6,4,3,9,0,6,8,4,5,3] + [4,8,7,9,3,9,5,1,5,5,0,4,4,4,3,1,5] , A=[5] , C=0 , 3+5+0=8 , A->8 , C->0
[5,9,7,1,7,5,9,6,4,3,9,0,6,8,4,5] + [4,8,7,9,3,9,5,1,5,5,0,4,4,4,3,1] , A=[8,5] , C=0 , 5+1+0=6 , A->6 , C->0
[5,9,7,1,7,5,9,6,4,3,9,0,6,8,4] + [4,8,7,9,3,9,5,1,5,5,0,4,4,4,3] , A=[6,8,5] , C=0 , 4+3+0=7 , A->7 , C->0
[5,9,7,1,7,5,9,6,4,3,9,0,6,8] + [4,8,7,9,3,9,5,1,5,5,0,4,4,4] , A=[7,6,8,5] , C=0 , 8+4+0=12 , A->2 , C->1
[5,9,7,1,7,5,9,6,4,3,9,0,6] + [4,8,7,9,3,9,5,1,5,5,0,4,4] , A=[2,7,6,8,5] , C=1 , 6+4+1=11 , A->1 , C->1
[5,9,7,1,7,5,9,6,4,3,9,0] + [4,8,7,9,3,9,5,1,5,5,0,4] , A=[1,2,7,6,8,5] , C=1 , 0+4+1=5 , A->5 , C->0
[5,9,7,1,7,5,9,6,4,3,9] + [4,8,7,9,3,9,5,1,5,5,0] , A=[5,1,2,7,6,8,5] , C=0 , 9+0+0=9 , A->9 , C->0
[5,9,7,1,7,5,9,6,4,3] + [4,8,7,9,3,9,5,1,5,5] , A=[9,5,1,2,7,6,8,5] , C=0 , 3+5+0=8 , A->8 , C->0
[5,9,7,1,7,5,9,6,4] + [4,8,7,9,3,9,5,1,5] , A=[8,9,5,1,2,7,6,8,5] , C=0 , 4+5+0=9 , A->9 , C->0
[5,9,7,1,7,5,9,6] + [4,8,7,9,3,9,5,1] , A=[9,8,9,5,1,2,7,6,8,5] , C=0 , 6+1+0=7 , A->7 , C->0
[5,9,7,1,7,5,9] + [4,8,7,9,3,9,5] , A=[7,9,8,9,5,1,2,7,6,8,5] , C=0 , 9+5+0=14 , A->4 , C->1
[5,9,7,1,7,5] + [4,8,7,9,3,9] , A=[4,7,9,8,9,5,1,2,7,6,8,5] , C=1 , 5+9+1=15 , A->5 , C->1
[5,9,7,1,7] + [4,8,7,9,3] , A=[5,4,7,9,8,9,5,1,2,7,6,8,5] , C=1 , 7+3+1=11 , A->1 , C->1
[5,9,7,1] + [4,8,7,9] , A=[1,5,4,7,9,8,9,5,1,2,7,6,8,5] , C=1 , 1+9+1=11 , A->1 , C->1
[5,9,7] + [4,8,7] , A=[1,1,5,4,7,9,8,9,5,1,2,7,6,8,5] , C=1 , 7+7+1=15 , A->5 , C->1
[5,9] + [4,8] , A=[5,1,1,5,4,7,9,8,9,5,1,2,7,6,8,5] , C=1 , 9+8+1=18 , A->8 , C->1
[5] + [4] , A=[8,5,1,1,5,4,7,9,8,9,5,1,2,7,6,8,5] , C=1 , 5+4+1=10 , A->0 , C->1
[] + [] , A=[0,8,5,1,1,5,4,7,9,8,9,5,1,2,7,6,8,5] C=1 , END
</scratch>
1085115479895127685
| 1085115479895127685 | 18 |
Input:
297506370567406603+957088128439968399
Target:
| Input:
297506370567406603+957088128439968399
Target:
[2,9,7,5,0,6,3,7,0,5,6,7,4,0,6,6,0,3] + [9,5,7,0,8,8,1,2,8,4,3,9,9,6,8,3,9,9] , A=[] , C=0 , 3+9+0=12 , A->2 , C->1
[2,9,7,5,0,6,3,7,0,5,6,7,4,0,6,6,0] + [9,5,7,0,8,8,1,2,8,4,3,9,9,6,8,3,9] , A=[2] , C=1 , 0+9+1=10 , A->0 , C->1
[2,9,7,5,0,6,3,7,0,5,6,7,4,0,6,6] + [9,5,7,0,8,8,1,2,8,4,3,9,9,6,8,3] , A=[0,2] , C=1 , 6+3+1=10 , A->0 , C->1
[2,9,7,5,0,6,3,7,0,5,6,7,4,0,6] + [9,5,7,0,8,8,1,2,8,4,3,9,9,6,8] , A=[0,0,2] , C=1 , 6+8+1=15 , A->5 , C->1
[2,9,7,5,0,6,3,7,0,5,6,7,4,0] + [9,5,7,0,8,8,1,2,8,4,3,9,9,6] , A=[5,0,0,2] , C=1 , 0+6+1=7 , A->7 , C->0
[2,9,7,5,0,6,3,7,0,5,6,7,4] + [9,5,7,0,8,8,1,2,8,4,3,9,9] , A=[7,5,0,0,2] , C=0 , 4+9+0=13 , A->3 , C->1
[2,9,7,5,0,6,3,7,0,5,6,7] + [9,5,7,0,8,8,1,2,8,4,3,9] , A=[3,7,5,0,0,2] , C=1 , 7+9+1=17 , A->7 , C->1
[2,9,7,5,0,6,3,7,0,5,6] + [9,5,7,0,8,8,1,2,8,4,3] , A=[7,3,7,5,0,0,2] , C=1 , 6+3+1=10 , A->0 , C->1
[2,9,7,5,0,6,3,7,0,5] + [9,5,7,0,8,8,1,2,8,4] , A=[0,7,3,7,5,0,0,2] , C=1 , 5+4+1=10 , A->0 , C->1
[2,9,7,5,0,6,3,7,0] + [9,5,7,0,8,8,1,2,8] , A=[0,0,7,3,7,5,0,0,2] , C=1 , 0+8+1=9 , A->9 , C->0
[2,9,7,5,0,6,3,7] + [9,5,7,0,8,8,1,2] , A=[9,0,0,7,3,7,5,0,0,2] , C=0 , 7+2+0=9 , A->9 , C->0
[2,9,7,5,0,6,3] + [9,5,7,0,8,8,1] , A=[9,9,0,0,7,3,7,5,0,0,2] , C=0 , 3+1+0=4 , A->4 , C->0
[2,9,7,5,0,6] + [9,5,7,0,8,8] , A=[4,9,9,0,0,7,3,7,5,0,0,2] , C=0 , 6+8+0=14 , A->4 , C->1
[2,9,7,5,0] + [9,5,7,0,8] , A=[4,4,9,9,0,0,7,3,7,5,0,0,2] , C=1 , 0+8+1=9 , A->9 , C->0
[2,9,7,5] + [9,5,7,0] , A=[9,4,4,9,9,0,0,7,3,7,5,0,0,2] , C=0 , 5+0+0=5 , A->5 , C->0
[2,9,7] + [9,5,7] , A=[5,9,4,4,9,9,0,0,7,3,7,5,0,0,2] , C=0 , 7+7+0=14 , A->4 , C->1
[2,9] + [9,5] , A=[4,5,9,4,4,9,9,0,0,7,3,7,5,0,0,2] , C=1 , 9+5+1=15 , A->5 , C->1
[2] + [9] , A=[5,4,5,9,4,4,9,9,0,0,7,3,7,5,0,0,2] , C=1 , 2+9+1=12 , A->2 , C->1
[] + [] , A=[2,5,4,5,9,4,4,9,9,0,0,7,3,7,5,0,0,2] C=1 , END
</scratch>
1254594499007375002
| 1254594499007375002 | 18 |
Input:
205184038356590440+478805102977968810
Target:
| Input:
205184038356590440+478805102977968810
Target:
[2,0,5,1,8,4,0,3,8,3,5,6,5,9,0,4,4,0] + [4,7,8,8,0,5,1,0,2,9,7,7,9,6,8,8,1,0] , A=[] , C=0 , 0+0+0=0 , A->0 , C->0
[2,0,5,1,8,4,0,3,8,3,5,6,5,9,0,4,4] + [4,7,8,8,0,5,1,0,2,9,7,7,9,6,8,8,1] , A=[0] , C=0 , 4+1+0=5 , A->5 , C->0
[2,0,5,1,8,4,0,3,8,3,5,6,5,9,0,4] + [4,7,8,8,0,5,1,0,2,9,7,7,9,6,8,8] , A=[5,0] , C=0 , 4+8+0=12 , A->2 , C->1
[2,0,5,1,8,4,0,3,8,3,5,6,5,9,0] + [4,7,8,8,0,5,1,0,2,9,7,7,9,6,8] , A=[2,5,0] , C=1 , 0+8+1=9 , A->9 , C->0
[2,0,5,1,8,4,0,3,8,3,5,6,5,9] + [4,7,8,8,0,5,1,0,2,9,7,7,9,6] , A=[9,2,5,0] , C=0 , 9+6+0=15 , A->5 , C->1
[2,0,5,1,8,4,0,3,8,3,5,6,5] + [4,7,8,8,0,5,1,0,2,9,7,7,9] , A=[5,9,2,5,0] , C=1 , 5+9+1=15 , A->5 , C->1
[2,0,5,1,8,4,0,3,8,3,5,6] + [4,7,8,8,0,5,1,0,2,9,7,7] , A=[5,5,9,2,5,0] , C=1 , 6+7+1=14 , A->4 , C->1
[2,0,5,1,8,4,0,3,8,3,5] + [4,7,8,8,0,5,1,0,2,9,7] , A=[4,5,5,9,2,5,0] , C=1 , 5+7+1=13 , A->3 , C->1
[2,0,5,1,8,4,0,3,8,3] + [4,7,8,8,0,5,1,0,2,9] , A=[3,4,5,5,9,2,5,0] , C=1 , 3+9+1=13 , A->3 , C->1
[2,0,5,1,8,4,0,3,8] + [4,7,8,8,0,5,1,0,2] , A=[3,3,4,5,5,9,2,5,0] , C=1 , 8+2+1=11 , A->1 , C->1
[2,0,5,1,8,4,0,3] + [4,7,8,8,0,5,1,0] , A=[1,3,3,4,5,5,9,2,5,0] , C=1 , 3+0+1=4 , A->4 , C->0
[2,0,5,1,8,4,0] + [4,7,8,8,0,5,1] , A=[4,1,3,3,4,5,5,9,2,5,0] , C=0 , 0+1+0=1 , A->1 , C->0
[2,0,5,1,8,4] + [4,7,8,8,0,5] , A=[1,4,1,3,3,4,5,5,9,2,5,0] , C=0 , 4+5+0=9 , A->9 , C->0
[2,0,5,1,8] + [4,7,8,8,0] , A=[9,1,4,1,3,3,4,5,5,9,2,5,0] , C=0 , 8+0+0=8 , A->8 , C->0
[2,0,5,1] + [4,7,8,8] , A=[8,9,1,4,1,3,3,4,5,5,9,2,5,0] , C=0 , 1+8+0=9 , A->9 , C->0
[2,0,5] + [4,7,8] , A=[9,8,9,1,4,1,3,3,4,5,5,9,2,5,0] , C=0 , 5+8+0=13 , A->3 , C->1
[2,0] + [4,7] , A=[3,9,8,9,1,4,1,3,3,4,5,5,9,2,5,0] , C=1 , 0+7+1=8 , A->8 , C->0
[2] + [4] , A=[8,3,9,8,9,1,4,1,3,3,4,5,5,9,2,5,0] , C=0 , 2+4+0=6 , A->6 , C->0
[] + [] , A=[6,8,3,9,8,9,1,4,1,3,3,4,5,5,9,2,5,0] C=0 , END
</scratch>
683989141334559250
| 683989141334559250 | 18 |
Input:
290023848257857879+987379683993382724
Target:
| Input:
290023848257857879+987379683993382724
Target:
[2,9,0,0,2,3,8,4,8,2,5,7,8,5,7,8,7,9] + [9,8,7,3,7,9,6,8,3,9,9,3,3,8,2,7,2,4] , A=[] , C=0 , 9+4+0=13 , A->3 , C->1
[2,9,0,0,2,3,8,4,8,2,5,7,8,5,7,8,7] + [9,8,7,3,7,9,6,8,3,9,9,3,3,8,2,7,2] , A=[3] , C=1 , 7+2+1=10 , A->0 , C->1
[2,9,0,0,2,3,8,4,8,2,5,7,8,5,7,8] + [9,8,7,3,7,9,6,8,3,9,9,3,3,8,2,7] , A=[0,3] , C=1 , 8+7+1=16 , A->6 , C->1
[2,9,0,0,2,3,8,4,8,2,5,7,8,5,7] + [9,8,7,3,7,9,6,8,3,9,9,3,3,8,2] , A=[6,0,3] , C=1 , 7+2+1=10 , A->0 , C->1
[2,9,0,0,2,3,8,4,8,2,5,7,8,5] + [9,8,7,3,7,9,6,8,3,9,9,3,3,8] , A=[0,6,0,3] , C=1 , 5+8+1=14 , A->4 , C->1
[2,9,0,0,2,3,8,4,8,2,5,7,8] + [9,8,7,3,7,9,6,8,3,9,9,3,3] , A=[4,0,6,0,3] , C=1 , 8+3+1=12 , A->2 , C->1
[2,9,0,0,2,3,8,4,8,2,5,7] + [9,8,7,3,7,9,6,8,3,9,9,3] , A=[2,4,0,6,0,3] , C=1 , 7+3+1=11 , A->1 , C->1
[2,9,0,0,2,3,8,4,8,2,5] + [9,8,7,3,7,9,6,8,3,9,9] , A=[1,2,4,0,6,0,3] , C=1 , 5+9+1=15 , A->5 , C->1
[2,9,0,0,2,3,8,4,8,2] + [9,8,7,3,7,9,6,8,3,9] , A=[5,1,2,4,0,6,0,3] , C=1 , 2+9+1=12 , A->2 , C->1
[2,9,0,0,2,3,8,4,8] + [9,8,7,3,7,9,6,8,3] , A=[2,5,1,2,4,0,6,0,3] , C=1 , 8+3+1=12 , A->2 , C->1
[2,9,0,0,2,3,8,4] + [9,8,7,3,7,9,6,8] , A=[2,2,5,1,2,4,0,6,0,3] , C=1 , 4+8+1=13 , A->3 , C->1
[2,9,0,0,2,3,8] + [9,8,7,3,7,9,6] , A=[3,2,2,5,1,2,4,0,6,0,3] , C=1 , 8+6+1=15 , A->5 , C->1
[2,9,0,0,2,3] + [9,8,7,3,7,9] , A=[5,3,2,2,5,1,2,4,0,6,0,3] , C=1 , 3+9+1=13 , A->3 , C->1
[2,9,0,0,2] + [9,8,7,3,7] , A=[3,5,3,2,2,5,1,2,4,0,6,0,3] , C=1 , 2+7+1=10 , A->0 , C->1
[2,9,0,0] + [9,8,7,3] , A=[0,3,5,3,2,2,5,1,2,4,0,6,0,3] , C=1 , 0+3+1=4 , A->4 , C->0
[2,9,0] + [9,8,7] , A=[4,0,3,5,3,2,2,5,1,2,4,0,6,0,3] , C=0 , 0+7+0=7 , A->7 , C->0
[2,9] + [9,8] , A=[7,4,0,3,5,3,2,2,5,1,2,4,0,6,0,3] , C=0 , 9+8+0=17 , A->7 , C->1
[2] + [9] , A=[7,7,4,0,3,5,3,2,2,5,1,2,4,0,6,0,3] , C=1 , 2+9+1=12 , A->2 , C->1
[] + [] , A=[2,7,7,4,0,3,5,3,2,2,5,1,2,4,0,6,0,3] C=1 , END
</scratch>
1277403532251240603
| 1277403532251240603 | 18 |
Input:
531924433654611644+235972177163224106
Target:
| Input:
531924433654611644+235972177163224106
Target:
[5,3,1,9,2,4,4,3,3,6,5,4,6,1,1,6,4,4] + [2,3,5,9,7,2,1,7,7,1,6,3,2,2,4,1,0,6] , A=[] , C=0 , 4+6+0=10 , A->0 , C->1
[5,3,1,9,2,4,4,3,3,6,5,4,6,1,1,6,4] + [2,3,5,9,7,2,1,7,7,1,6,3,2,2,4,1,0] , A=[0] , C=1 , 4+0+1=5 , A->5 , C->0
[5,3,1,9,2,4,4,3,3,6,5,4,6,1,1,6] + [2,3,5,9,7,2,1,7,7,1,6,3,2,2,4,1] , A=[5,0] , C=0 , 6+1+0=7 , A->7 , C->0
[5,3,1,9,2,4,4,3,3,6,5,4,6,1,1] + [2,3,5,9,7,2,1,7,7,1,6,3,2,2,4] , A=[7,5,0] , C=0 , 1+4+0=5 , A->5 , C->0
[5,3,1,9,2,4,4,3,3,6,5,4,6,1] + [2,3,5,9,7,2,1,7,7,1,6,3,2,2] , A=[5,7,5,0] , C=0 , 1+2+0=3 , A->3 , C->0
[5,3,1,9,2,4,4,3,3,6,5,4,6] + [2,3,5,9,7,2,1,7,7,1,6,3,2] , A=[3,5,7,5,0] , C=0 , 6+2+0=8 , A->8 , C->0
[5,3,1,9,2,4,4,3,3,6,5,4] + [2,3,5,9,7,2,1,7,7,1,6,3] , A=[8,3,5,7,5,0] , C=0 , 4+3+0=7 , A->7 , C->0
[5,3,1,9,2,4,4,3,3,6,5] + [2,3,5,9,7,2,1,7,7,1,6] , A=[7,8,3,5,7,5,0] , C=0 , 5+6+0=11 , A->1 , C->1
[5,3,1,9,2,4,4,3,3,6] + [2,3,5,9,7,2,1,7,7,1] , A=[1,7,8,3,5,7,5,0] , C=1 , 6+1+1=8 , A->8 , C->0
[5,3,1,9,2,4,4,3,3] + [2,3,5,9,7,2,1,7,7] , A=[8,1,7,8,3,5,7,5,0] , C=0 , 3+7+0=10 , A->0 , C->1
[5,3,1,9,2,4,4,3] + [2,3,5,9,7,2,1,7] , A=[0,8,1,7,8,3,5,7,5,0] , C=1 , 3+7+1=11 , A->1 , C->1
[5,3,1,9,2,4,4] + [2,3,5,9,7,2,1] , A=[1,0,8,1,7,8,3,5,7,5,0] , C=1 , 4+1+1=6 , A->6 , C->0
[5,3,1,9,2,4] + [2,3,5,9,7,2] , A=[6,1,0,8,1,7,8,3,5,7,5,0] , C=0 , 4+2+0=6 , A->6 , C->0
[5,3,1,9,2] + [2,3,5,9,7] , A=[6,6,1,0,8,1,7,8,3,5,7,5,0] , C=0 , 2+7+0=9 , A->9 , C->0
[5,3,1,9] + [2,3,5,9] , A=[9,6,6,1,0,8,1,7,8,3,5,7,5,0] , C=0 , 9+9+0=18 , A->8 , C->1
[5,3,1] + [2,3,5] , A=[8,9,6,6,1,0,8,1,7,8,3,5,7,5,0] , C=1 , 1+5+1=7 , A->7 , C->0
[5,3] + [2,3] , A=[7,8,9,6,6,1,0,8,1,7,8,3,5,7,5,0] , C=0 , 3+3+0=6 , A->6 , C->0
[5] + [2] , A=[6,7,8,9,6,6,1,0,8,1,7,8,3,5,7,5,0] , C=0 , 5+2+0=7 , A->7 , C->0
[] + [] , A=[7,6,7,8,9,6,6,1,0,8,1,7,8,3,5,7,5,0] C=0 , END
</scratch>
767896610817835750
| 767896610817835750 | 18 |
Input:
973745958084776577+589486886322446347
Target:
| Input:
973745958084776577+589486886322446347
Target:
[9,7,3,7,4,5,9,5,8,0,8,4,7,7,6,5,7,7] + [5,8,9,4,8,6,8,8,6,3,2,2,4,4,6,3,4,7] , A=[] , C=0 , 7+7+0=14 , A->4 , C->1
[9,7,3,7,4,5,9,5,8,0,8,4,7,7,6,5,7] + [5,8,9,4,8,6,8,8,6,3,2,2,4,4,6,3,4] , A=[4] , C=1 , 7+4+1=12 , A->2 , C->1
[9,7,3,7,4,5,9,5,8,0,8,4,7,7,6,5] + [5,8,9,4,8,6,8,8,6,3,2,2,4,4,6,3] , A=[2,4] , C=1 , 5+3+1=9 , A->9 , C->0
[9,7,3,7,4,5,9,5,8,0,8,4,7,7,6] + [5,8,9,4,8,6,8,8,6,3,2,2,4,4,6] , A=[9,2,4] , C=0 , 6+6+0=12 , A->2 , C->1
[9,7,3,7,4,5,9,5,8,0,8,4,7,7] + [5,8,9,4,8,6,8,8,6,3,2,2,4,4] , A=[2,9,2,4] , C=1 , 7+4+1=12 , A->2 , C->1
[9,7,3,7,4,5,9,5,8,0,8,4,7] + [5,8,9,4,8,6,8,8,6,3,2,2,4] , A=[2,2,9,2,4] , C=1 , 7+4+1=12 , A->2 , C->1
[9,7,3,7,4,5,9,5,8,0,8,4] + [5,8,9,4,8,6,8,8,6,3,2,2] , A=[2,2,2,9,2,4] , C=1 , 4+2+1=7 , A->7 , C->0
[9,7,3,7,4,5,9,5,8,0,8] + [5,8,9,4,8,6,8,8,6,3,2] , A=[7,2,2,2,9,2,4] , C=0 , 8+2+0=10 , A->0 , C->1
[9,7,3,7,4,5,9,5,8,0] + [5,8,9,4,8,6,8,8,6,3] , A=[0,7,2,2,2,9,2,4] , C=1 , 0+3+1=4 , A->4 , C->0
[9,7,3,7,4,5,9,5,8] + [5,8,9,4,8,6,8,8,6] , A=[4,0,7,2,2,2,9,2,4] , C=0 , 8+6+0=14 , A->4 , C->1
[9,7,3,7,4,5,9,5] + [5,8,9,4,8,6,8,8] , A=[4,4,0,7,2,2,2,9,2,4] , C=1 , 5+8+1=14 , A->4 , C->1
[9,7,3,7,4,5,9] + [5,8,9,4,8,6,8] , A=[4,4,4,0,7,2,2,2,9,2,4] , C=1 , 9+8+1=18 , A->8 , C->1
[9,7,3,7,4,5] + [5,8,9,4,8,6] , A=[8,4,4,4,0,7,2,2,2,9,2,4] , C=1 , 5+6+1=12 , A->2 , C->1
[9,7,3,7,4] + [5,8,9,4,8] , A=[2,8,4,4,4,0,7,2,2,2,9,2,4] , C=1 , 4+8+1=13 , A->3 , C->1
[9,7,3,7] + [5,8,9,4] , A=[3,2,8,4,4,4,0,7,2,2,2,9,2,4] , C=1 , 7+4+1=12 , A->2 , C->1
[9,7,3] + [5,8,9] , A=[2,3,2,8,4,4,4,0,7,2,2,2,9,2,4] , C=1 , 3+9+1=13 , A->3 , C->1
[9,7] + [5,8] , A=[3,2,3,2,8,4,4,4,0,7,2,2,2,9,2,4] , C=1 , 7+8+1=16 , A->6 , C->1
[9] + [5] , A=[6,3,2,3,2,8,4,4,4,0,7,2,2,2,9,2,4] , C=1 , 9+5+1=15 , A->5 , C->1
[] + [] , A=[5,6,3,2,3,2,8,4,4,4,0,7,2,2,2,9,2,4] C=1 , END
</scratch>
1563232844407222924
| 1563232844407222924 | 18 |
Input:
260774781334486208+569136254677525597
Target:
| Input:
260774781334486208+569136254677525597
Target:
[2,6,0,7,7,4,7,8,1,3,3,4,4,8,6,2,0,8] + [5,6,9,1,3,6,2,5,4,6,7,7,5,2,5,5,9,7] , A=[] , C=0 , 8+7+0=15 , A->5 , C->1
[2,6,0,7,7,4,7,8,1,3,3,4,4,8,6,2,0] + [5,6,9,1,3,6,2,5,4,6,7,7,5,2,5,5,9] , A=[5] , C=1 , 0+9+1=10 , A->0 , C->1
[2,6,0,7,7,4,7,8,1,3,3,4,4,8,6,2] + [5,6,9,1,3,6,2,5,4,6,7,7,5,2,5,5] , A=[0,5] , C=1 , 2+5+1=8 , A->8 , C->0
[2,6,0,7,7,4,7,8,1,3,3,4,4,8,6] + [5,6,9,1,3,6,2,5,4,6,7,7,5,2,5] , A=[8,0,5] , C=0 , 6+5+0=11 , A->1 , C->1
[2,6,0,7,7,4,7,8,1,3,3,4,4,8] + [5,6,9,1,3,6,2,5,4,6,7,7,5,2] , A=[1,8,0,5] , C=1 , 8+2+1=11 , A->1 , C->1
[2,6,0,7,7,4,7,8,1,3,3,4,4] + [5,6,9,1,3,6,2,5,4,6,7,7,5] , A=[1,1,8,0,5] , C=1 , 4+5+1=10 , A->0 , C->1
[2,6,0,7,7,4,7,8,1,3,3,4] + [5,6,9,1,3,6,2,5,4,6,7,7] , A=[0,1,1,8,0,5] , C=1 , 4+7+1=12 , A->2 , C->1
[2,6,0,7,7,4,7,8,1,3,3] + [5,6,9,1,3,6,2,5,4,6,7] , A=[2,0,1,1,8,0,5] , C=1 , 3+7+1=11 , A->1 , C->1
[2,6,0,7,7,4,7,8,1,3] + [5,6,9,1,3,6,2,5,4,6] , A=[1,2,0,1,1,8,0,5] , C=1 , 3+6+1=10 , A->0 , C->1
[2,6,0,7,7,4,7,8,1] + [5,6,9,1,3,6,2,5,4] , A=[0,1,2,0,1,1,8,0,5] , C=1 , 1+4+1=6 , A->6 , C->0
[2,6,0,7,7,4,7,8] + [5,6,9,1,3,6,2,5] , A=[6,0,1,2,0,1,1,8,0,5] , C=0 , 8+5+0=13 , A->3 , C->1
[2,6,0,7,7,4,7] + [5,6,9,1,3,6,2] , A=[3,6,0,1,2,0,1,1,8,0,5] , C=1 , 7+2+1=10 , A->0 , C->1
[2,6,0,7,7,4] + [5,6,9,1,3,6] , A=[0,3,6,0,1,2,0,1,1,8,0,5] , C=1 , 4+6+1=11 , A->1 , C->1
[2,6,0,7,7] + [5,6,9,1,3] , A=[1,0,3,6,0,1,2,0,1,1,8,0,5] , C=1 , 7+3+1=11 , A->1 , C->1
[2,6,0,7] + [5,6,9,1] , A=[1,1,0,3,6,0,1,2,0,1,1,8,0,5] , C=1 , 7+1+1=9 , A->9 , C->0
[2,6,0] + [5,6,9] , A=[9,1,1,0,3,6,0,1,2,0,1,1,8,0,5] , C=0 , 0+9+0=9 , A->9 , C->0
[2,6] + [5,6] , A=[9,9,1,1,0,3,6,0,1,2,0,1,1,8,0,5] , C=0 , 6+6+0=12 , A->2 , C->1
[2] + [5] , A=[2,9,9,1,1,0,3,6,0,1,2,0,1,1,8,0,5] , C=1 , 2+5+1=8 , A->8 , C->0
[] + [] , A=[8,2,9,9,1,1,0,3,6,0,1,2,0,1,1,8,0,5] C=0 , END
</scratch>
829911036012011805
| 829911036012011805 | 18 |
Input:
741385785328778693+113755115065874553
Target:
| Input:
741385785328778693+113755115065874553
Target:
[7,4,1,3,8,5,7,8,5,3,2,8,7,7,8,6,9,3] + [1,1,3,7,5,5,1,1,5,0,6,5,8,7,4,5,5,3] , A=[] , C=0 , 3+3+0=6 , A->6 , C->0
[7,4,1,3,8,5,7,8,5,3,2,8,7,7,8,6,9] + [1,1,3,7,5,5,1,1,5,0,6,5,8,7,4,5,5] , A=[6] , C=0 , 9+5+0=14 , A->4 , C->1
[7,4,1,3,8,5,7,8,5,3,2,8,7,7,8,6] + [1,1,3,7,5,5,1,1,5,0,6,5,8,7,4,5] , A=[4,6] , C=1 , 6+5+1=12 , A->2 , C->1
[7,4,1,3,8,5,7,8,5,3,2,8,7,7,8] + [1,1,3,7,5,5,1,1,5,0,6,5,8,7,4] , A=[2,4,6] , C=1 , 8+4+1=13 , A->3 , C->1
[7,4,1,3,8,5,7,8,5,3,2,8,7,7] + [1,1,3,7,5,5,1,1,5,0,6,5,8,7] , A=[3,2,4,6] , C=1 , 7+7+1=15 , A->5 , C->1
[7,4,1,3,8,5,7,8,5,3,2,8,7] + [1,1,3,7,5,5,1,1,5,0,6,5,8] , A=[5,3,2,4,6] , C=1 , 7+8+1=16 , A->6 , C->1
[7,4,1,3,8,5,7,8,5,3,2,8] + [1,1,3,7,5,5,1,1,5,0,6,5] , A=[6,5,3,2,4,6] , C=1 , 8+5+1=14 , A->4 , C->1
[7,4,1,3,8,5,7,8,5,3,2] + [1,1,3,7,5,5,1,1,5,0,6] , A=[4,6,5,3,2,4,6] , C=1 , 2+6+1=9 , A->9 , C->0
[7,4,1,3,8,5,7,8,5,3] + [1,1,3,7,5,5,1,1,5,0] , A=[9,4,6,5,3,2,4,6] , C=0 , 3+0+0=3 , A->3 , C->0
[7,4,1,3,8,5,7,8,5] + [1,1,3,7,5,5,1,1,5] , A=[3,9,4,6,5,3,2,4,6] , C=0 , 5+5+0=10 , A->0 , C->1
[7,4,1,3,8,5,7,8] + [1,1,3,7,5,5,1,1] , A=[0,3,9,4,6,5,3,2,4,6] , C=1 , 8+1+1=10 , A->0 , C->1
[7,4,1,3,8,5,7] + [1,1,3,7,5,5,1] , A=[0,0,3,9,4,6,5,3,2,4,6] , C=1 , 7+1+1=9 , A->9 , C->0
[7,4,1,3,8,5] + [1,1,3,7,5,5] , A=[9,0,0,3,9,4,6,5,3,2,4,6] , C=0 , 5+5+0=10 , A->0 , C->1
[7,4,1,3,8] + [1,1,3,7,5] , A=[0,9,0,0,3,9,4,6,5,3,2,4,6] , C=1 , 8+5+1=14 , A->4 , C->1
[7,4,1,3] + [1,1,3,7] , A=[4,0,9,0,0,3,9,4,6,5,3,2,4,6] , C=1 , 3+7+1=11 , A->1 , C->1
[7,4,1] + [1,1,3] , A=[1,4,0,9,0,0,3,9,4,6,5,3,2,4,6] , C=1 , 1+3+1=5 , A->5 , C->0
[7,4] + [1,1] , A=[5,1,4,0,9,0,0,3,9,4,6,5,3,2,4,6] , C=0 , 4+1+0=5 , A->5 , C->0
[7] + [1] , A=[5,5,1,4,0,9,0,0,3,9,4,6,5,3,2,4,6] , C=0 , 7+1+0=8 , A->8 , C->0
[] + [] , A=[8,5,5,1,4,0,9,0,0,3,9,4,6,5,3,2,4,6] C=0 , END
</scratch>
855140900394653246
| 855140900394653246 | 18 |
Input:
867801354963584911+276294423978805643
Target:
| Input:
867801354963584911+276294423978805643
Target:
[8,6,7,8,0,1,3,5,4,9,6,3,5,8,4,9,1,1] + [2,7,6,2,9,4,4,2,3,9,7,8,8,0,5,6,4,3] , A=[] , C=0 , 1+3+0=4 , A->4 , C->0
[8,6,7,8,0,1,3,5,4,9,6,3,5,8,4,9,1] + [2,7,6,2,9,4,4,2,3,9,7,8,8,0,5,6,4] , A=[4] , C=0 , 1+4+0=5 , A->5 , C->0
[8,6,7,8,0,1,3,5,4,9,6,3,5,8,4,9] + [2,7,6,2,9,4,4,2,3,9,7,8,8,0,5,6] , A=[5,4] , C=0 , 9+6+0=15 , A->5 , C->1
[8,6,7,8,0,1,3,5,4,9,6,3,5,8,4] + [2,7,6,2,9,4,4,2,3,9,7,8,8,0,5] , A=[5,5,4] , C=1 , 4+5+1=10 , A->0 , C->1
[8,6,7,8,0,1,3,5,4,9,6,3,5,8] + [2,7,6,2,9,4,4,2,3,9,7,8,8,0] , A=[0,5,5,4] , C=1 , 8+0+1=9 , A->9 , C->0
[8,6,7,8,0,1,3,5,4,9,6,3,5] + [2,7,6,2,9,4,4,2,3,9,7,8,8] , A=[9,0,5,5,4] , C=0 , 5+8+0=13 , A->3 , C->1
[8,6,7,8,0,1,3,5,4,9,6,3] + [2,7,6,2,9,4,4,2,3,9,7,8] , A=[3,9,0,5,5,4] , C=1 , 3+8+1=12 , A->2 , C->1
[8,6,7,8,0,1,3,5,4,9,6] + [2,7,6,2,9,4,4,2,3,9,7] , A=[2,3,9,0,5,5,4] , C=1 , 6+7+1=14 , A->4 , C->1
[8,6,7,8,0,1,3,5,4,9] + [2,7,6,2,9,4,4,2,3,9] , A=[4,2,3,9,0,5,5,4] , C=1 , 9+9+1=19 , A->9 , C->1
[8,6,7,8,0,1,3,5,4] + [2,7,6,2,9,4,4,2,3] , A=[9,4,2,3,9,0,5,5,4] , C=1 , 4+3+1=8 , A->8 , C->0
[8,6,7,8,0,1,3,5] + [2,7,6,2,9,4,4,2] , A=[8,9,4,2,3,9,0,5,5,4] , C=0 , 5+2+0=7 , A->7 , C->0
[8,6,7,8,0,1,3] + [2,7,6,2,9,4,4] , A=[7,8,9,4,2,3,9,0,5,5,4] , C=0 , 3+4+0=7 , A->7 , C->0
[8,6,7,8,0,1] + [2,7,6,2,9,4] , A=[7,7,8,9,4,2,3,9,0,5,5,4] , C=0 , 1+4+0=5 , A->5 , C->0
[8,6,7,8,0] + [2,7,6,2,9] , A=[5,7,7,8,9,4,2,3,9,0,5,5,4] , C=0 , 0+9+0=9 , A->9 , C->0
[8,6,7,8] + [2,7,6,2] , A=[9,5,7,7,8,9,4,2,3,9,0,5,5,4] , C=0 , 8+2+0=10 , A->0 , C->1
[8,6,7] + [2,7,6] , A=[0,9,5,7,7,8,9,4,2,3,9,0,5,5,4] , C=1 , 7+6+1=14 , A->4 , C->1
[8,6] + [2,7] , A=[4,0,9,5,7,7,8,9,4,2,3,9,0,5,5,4] , C=1 , 6+7+1=14 , A->4 , C->1
[8] + [2] , A=[4,4,0,9,5,7,7,8,9,4,2,3,9,0,5,5,4] , C=1 , 8+2+1=11 , A->1 , C->1
[] + [] , A=[1,4,4,0,9,5,7,7,8,9,4,2,3,9,0,5,5,4] C=1 , END
</scratch>
1144095778942390554
| 1144095778942390554 | 18 |
Input:
293432594946283871+283022855958452860
Target:
| Input:
293432594946283871+283022855958452860
Target:
[2,9,3,4,3,2,5,9,4,9,4,6,2,8,3,8,7,1] + [2,8,3,0,2,2,8,5,5,9,5,8,4,5,2,8,6,0] , A=[] , C=0 , 1+0+0=1 , A->1 , C->0
[2,9,3,4,3,2,5,9,4,9,4,6,2,8,3,8,7] + [2,8,3,0,2,2,8,5,5,9,5,8,4,5,2,8,6] , A=[1] , C=0 , 7+6+0=13 , A->3 , C->1
[2,9,3,4,3,2,5,9,4,9,4,6,2,8,3,8] + [2,8,3,0,2,2,8,5,5,9,5,8,4,5,2,8] , A=[3,1] , C=1 , 8+8+1=17 , A->7 , C->1
[2,9,3,4,3,2,5,9,4,9,4,6,2,8,3] + [2,8,3,0,2,2,8,5,5,9,5,8,4,5,2] , A=[7,3,1] , C=1 , 3+2+1=6 , A->6 , C->0
[2,9,3,4,3,2,5,9,4,9,4,6,2,8] + [2,8,3,0,2,2,8,5,5,9,5,8,4,5] , A=[6,7,3,1] , C=0 , 8+5+0=13 , A->3 , C->1
[2,9,3,4,3,2,5,9,4,9,4,6,2] + [2,8,3,0,2,2,8,5,5,9,5,8,4] , A=[3,6,7,3,1] , C=1 , 2+4+1=7 , A->7 , C->0
[2,9,3,4,3,2,5,9,4,9,4,6] + [2,8,3,0,2,2,8,5,5,9,5,8] , A=[7,3,6,7,3,1] , C=0 , 6+8+0=14 , A->4 , C->1
[2,9,3,4,3,2,5,9,4,9,4] + [2,8,3,0,2,2,8,5,5,9,5] , A=[4,7,3,6,7,3,1] , C=1 , 4+5+1=10 , A->0 , C->1
[2,9,3,4,3,2,5,9,4,9] + [2,8,3,0,2,2,8,5,5,9] , A=[0,4,7,3,6,7,3,1] , C=1 , 9+9+1=19 , A->9 , C->1
[2,9,3,4,3,2,5,9,4] + [2,8,3,0,2,2,8,5,5] , A=[9,0,4,7,3,6,7,3,1] , C=1 , 4+5+1=10 , A->0 , C->1
[2,9,3,4,3,2,5,9] + [2,8,3,0,2,2,8,5] , A=[0,9,0,4,7,3,6,7,3,1] , C=1 , 9+5+1=15 , A->5 , C->1
[2,9,3,4,3,2,5] + [2,8,3,0,2,2,8] , A=[5,0,9,0,4,7,3,6,7,3,1] , C=1 , 5+8+1=14 , A->4 , C->1
[2,9,3,4,3,2] + [2,8,3,0,2,2] , A=[4,5,0,9,0,4,7,3,6,7,3,1] , C=1 , 2+2+1=5 , A->5 , C->0
[2,9,3,4,3] + [2,8,3,0,2] , A=[5,4,5,0,9,0,4,7,3,6,7,3,1] , C=0 , 3+2+0=5 , A->5 , C->0
[2,9,3,4] + [2,8,3,0] , A=[5,5,4,5,0,9,0,4,7,3,6,7,3,1] , C=0 , 4+0+0=4 , A->4 , C->0
[2,9,3] + [2,8,3] , A=[4,5,5,4,5,0,9,0,4,7,3,6,7,3,1] , C=0 , 3+3+0=6 , A->6 , C->0
[2,9] + [2,8] , A=[6,4,5,5,4,5,0,9,0,4,7,3,6,7,3,1] , C=0 , 9+8+0=17 , A->7 , C->1
[2] + [2] , A=[7,6,4,5,5,4,5,0,9,0,4,7,3,6,7,3,1] , C=1 , 2+2+1=5 , A->5 , C->0
[] + [] , A=[5,7,6,4,5,5,4,5,0,9,0,4,7,3,6,7,3,1] C=0 , END
</scratch>
576455450904736731
| 576455450904736731 | 18 |
Input:
431873677021239046+463412210232649306
Target:
| Input:
431873677021239046+463412210232649306
Target:
[4,3,1,8,7,3,6,7,7,0,2,1,2,3,9,0,4,6] + [4,6,3,4,1,2,2,1,0,2,3,2,6,4,9,3,0,6] , A=[] , C=0 , 6+6+0=12 , A->2 , C->1
[4,3,1,8,7,3,6,7,7,0,2,1,2,3,9,0,4] + [4,6,3,4,1,2,2,1,0,2,3,2,6,4,9,3,0] , A=[2] , C=1 , 4+0+1=5 , A->5 , C->0
[4,3,1,8,7,3,6,7,7,0,2,1,2,3,9,0] + [4,6,3,4,1,2,2,1,0,2,3,2,6,4,9,3] , A=[5,2] , C=0 , 0+3+0=3 , A->3 , C->0
[4,3,1,8,7,3,6,7,7,0,2,1,2,3,9] + [4,6,3,4,1,2,2,1,0,2,3,2,6,4,9] , A=[3,5,2] , C=0 , 9+9+0=18 , A->8 , C->1
[4,3,1,8,7,3,6,7,7,0,2,1,2,3] + [4,6,3,4,1,2,2,1,0,2,3,2,6,4] , A=[8,3,5,2] , C=1 , 3+4+1=8 , A->8 , C->0
[4,3,1,8,7,3,6,7,7,0,2,1,2] + [4,6,3,4,1,2,2,1,0,2,3,2,6] , A=[8,8,3,5,2] , C=0 , 2+6+0=8 , A->8 , C->0
[4,3,1,8,7,3,6,7,7,0,2,1] + [4,6,3,4,1,2,2,1,0,2,3,2] , A=[8,8,8,3,5,2] , C=0 , 1+2+0=3 , A->3 , C->0
[4,3,1,8,7,3,6,7,7,0,2] + [4,6,3,4,1,2,2,1,0,2,3] , A=[3,8,8,8,3,5,2] , C=0 , 2+3+0=5 , A->5 , C->0
[4,3,1,8,7,3,6,7,7,0] + [4,6,3,4,1,2,2,1,0,2] , A=[5,3,8,8,8,3,5,2] , C=0 , 0+2+0=2 , A->2 , C->0
[4,3,1,8,7,3,6,7,7] + [4,6,3,4,1,2,2,1,0] , A=[2,5,3,8,8,8,3,5,2] , C=0 , 7+0+0=7 , A->7 , C->0
[4,3,1,8,7,3,6,7] + [4,6,3,4,1,2,2,1] , A=[7,2,5,3,8,8,8,3,5,2] , C=0 , 7+1+0=8 , A->8 , C->0
[4,3,1,8,7,3,6] + [4,6,3,4,1,2,2] , A=[8,7,2,5,3,8,8,8,3,5,2] , C=0 , 6+2+0=8 , A->8 , C->0
[4,3,1,8,7,3] + [4,6,3,4,1,2] , A=[8,8,7,2,5,3,8,8,8,3,5,2] , C=0 , 3+2+0=5 , A->5 , C->0
[4,3,1,8,7] + [4,6,3,4,1] , A=[5,8,8,7,2,5,3,8,8,8,3,5,2] , C=0 , 7+1+0=8 , A->8 , C->0
[4,3,1,8] + [4,6,3,4] , A=[8,5,8,8,7,2,5,3,8,8,8,3,5,2] , C=0 , 8+4+0=12 , A->2 , C->1
[4,3,1] + [4,6,3] , A=[2,8,5,8,8,7,2,5,3,8,8,8,3,5,2] , C=1 , 1+3+1=5 , A->5 , C->0
[4,3] + [4,6] , A=[5,2,8,5,8,8,7,2,5,3,8,8,8,3,5,2] , C=0 , 3+6+0=9 , A->9 , C->0
[4] + [4] , A=[9,5,2,8,5,8,8,7,2,5,3,8,8,8,3,5,2] , C=0 , 4+4+0=8 , A->8 , C->0
[] + [] , A=[8,9,5,2,8,5,8,8,7,2,5,3,8,8,8,3,5,2] C=0 , END
</scratch>
895285887253888352
| 895285887253888352 | 18 |
Input:
202507886569356630+997959609201057311
Target:
| Input:
202507886569356630+997959609201057311
Target:
[2,0,2,5,0,7,8,8,6,5,6,9,3,5,6,6,3,0] + [9,9,7,9,5,9,6,0,9,2,0,1,0,5,7,3,1,1] , A=[] , C=0 , 0+1+0=1 , A->1 , C->0
[2,0,2,5,0,7,8,8,6,5,6,9,3,5,6,6,3] + [9,9,7,9,5,9,6,0,9,2,0,1,0,5,7,3,1] , A=[1] , C=0 , 3+1+0=4 , A->4 , C->0
[2,0,2,5,0,7,8,8,6,5,6,9,3,5,6,6] + [9,9,7,9,5,9,6,0,9,2,0,1,0,5,7,3] , A=[4,1] , C=0 , 6+3+0=9 , A->9 , C->0
[2,0,2,5,0,7,8,8,6,5,6,9,3,5,6] + [9,9,7,9,5,9,6,0,9,2,0,1,0,5,7] , A=[9,4,1] , C=0 , 6+7+0=13 , A->3 , C->1
[2,0,2,5,0,7,8,8,6,5,6,9,3,5] + [9,9,7,9,5,9,6,0,9,2,0,1,0,5] , A=[3,9,4,1] , C=1 , 5+5+1=11 , A->1 , C->1
[2,0,2,5,0,7,8,8,6,5,6,9,3] + [9,9,7,9,5,9,6,0,9,2,0,1,0] , A=[1,3,9,4,1] , C=1 , 3+0+1=4 , A->4 , C->0
[2,0,2,5,0,7,8,8,6,5,6,9] + [9,9,7,9,5,9,6,0,9,2,0,1] , A=[4,1,3,9,4,1] , C=0 , 9+1+0=10 , A->0 , C->1
[2,0,2,5,0,7,8,8,6,5,6] + [9,9,7,9,5,9,6,0,9,2,0] , A=[0,4,1,3,9,4,1] , C=1 , 6+0+1=7 , A->7 , C->0
[2,0,2,5,0,7,8,8,6,5] + [9,9,7,9,5,9,6,0,9,2] , A=[7,0,4,1,3,9,4,1] , C=0 , 5+2+0=7 , A->7 , C->0
[2,0,2,5,0,7,8,8,6] + [9,9,7,9,5,9,6,0,9] , A=[7,7,0,4,1,3,9,4,1] , C=0 , 6+9+0=15 , A->5 , C->1
[2,0,2,5,0,7,8,8] + [9,9,7,9,5,9,6,0] , A=[5,7,7,0,4,1,3,9,4,1] , C=1 , 8+0+1=9 , A->9 , C->0
[2,0,2,5,0,7,8] + [9,9,7,9,5,9,6] , A=[9,5,7,7,0,4,1,3,9,4,1] , C=0 , 8+6+0=14 , A->4 , C->1
[2,0,2,5,0,7] + [9,9,7,9,5,9] , A=[4,9,5,7,7,0,4,1,3,9,4,1] , C=1 , 7+9+1=17 , A->7 , C->1
[2,0,2,5,0] + [9,9,7,9,5] , A=[7,4,9,5,7,7,0,4,1,3,9,4,1] , C=1 , 0+5+1=6 , A->6 , C->0
[2,0,2,5] + [9,9,7,9] , A=[6,7,4,9,5,7,7,0,4,1,3,9,4,1] , C=0 , 5+9+0=14 , A->4 , C->1
[2,0,2] + [9,9,7] , A=[4,6,7,4,9,5,7,7,0,4,1,3,9,4,1] , C=1 , 2+7+1=10 , A->0 , C->1
[2,0] + [9,9] , A=[0,4,6,7,4,9,5,7,7,0,4,1,3,9,4,1] , C=1 , 0+9+1=10 , A->0 , C->1
[2] + [9] , A=[0,0,4,6,7,4,9,5,7,7,0,4,1,3,9,4,1] , C=1 , 2+9+1=12 , A->2 , C->1
[] + [] , A=[2,0,0,4,6,7,4,9,5,7,7,0,4,1,3,9,4,1] C=1 , END
</scratch>
1200467495770413941
| 1200467495770413941 | 18 |
Input:
146086570382322089+474489988866722819
Target:
| Input:
146086570382322089+474489988866722819
Target:
[1,4,6,0,8,6,5,7,0,3,8,2,3,2,2,0,8,9] + [4,7,4,4,8,9,9,8,8,8,6,6,7,2,2,8,1,9] , A=[] , C=0 , 9+9+0=18 , A->8 , C->1
[1,4,6,0,8,6,5,7,0,3,8,2,3,2,2,0,8] + [4,7,4,4,8,9,9,8,8,8,6,6,7,2,2,8,1] , A=[8] , C=1 , 8+1+1=10 , A->0 , C->1
[1,4,6,0,8,6,5,7,0,3,8,2,3,2,2,0] + [4,7,4,4,8,9,9,8,8,8,6,6,7,2,2,8] , A=[0,8] , C=1 , 0+8+1=9 , A->9 , C->0
[1,4,6,0,8,6,5,7,0,3,8,2,3,2,2] + [4,7,4,4,8,9,9,8,8,8,6,6,7,2,2] , A=[9,0,8] , C=0 , 2+2+0=4 , A->4 , C->0
[1,4,6,0,8,6,5,7,0,3,8,2,3,2] + [4,7,4,4,8,9,9,8,8,8,6,6,7,2] , A=[4,9,0,8] , C=0 , 2+2+0=4 , A->4 , C->0
[1,4,6,0,8,6,5,7,0,3,8,2,3] + [4,7,4,4,8,9,9,8,8,8,6,6,7] , A=[4,4,9,0,8] , C=0 , 3+7+0=10 , A->0 , C->1
[1,4,6,0,8,6,5,7,0,3,8,2] + [4,7,4,4,8,9,9,8,8,8,6,6] , A=[0,4,4,9,0,8] , C=1 , 2+6+1=9 , A->9 , C->0
[1,4,6,0,8,6,5,7,0,3,8] + [4,7,4,4,8,9,9,8,8,8,6] , A=[9,0,4,4,9,0,8] , C=0 , 8+6+0=14 , A->4 , C->1
[1,4,6,0,8,6,5,7,0,3] + [4,7,4,4,8,9,9,8,8,8] , A=[4,9,0,4,4,9,0,8] , C=1 , 3+8+1=12 , A->2 , C->1
[1,4,6,0,8,6,5,7,0] + [4,7,4,4,8,9,9,8,8] , A=[2,4,9,0,4,4,9,0,8] , C=1 , 0+8+1=9 , A->9 , C->0
[1,4,6,0,8,6,5,7] + [4,7,4,4,8,9,9,8] , A=[9,2,4,9,0,4,4,9,0,8] , C=0 , 7+8+0=15 , A->5 , C->1
[1,4,6,0,8,6,5] + [4,7,4,4,8,9,9] , A=[5,9,2,4,9,0,4,4,9,0,8] , C=1 , 5+9+1=15 , A->5 , C->1
[1,4,6,0,8,6] + [4,7,4,4,8,9] , A=[5,5,9,2,4,9,0,4,4,9,0,8] , C=1 , 6+9+1=16 , A->6 , C->1
[1,4,6,0,8] + [4,7,4,4,8] , A=[6,5,5,9,2,4,9,0,4,4,9,0,8] , C=1 , 8+8+1=17 , A->7 , C->1
[1,4,6,0] + [4,7,4,4] , A=[7,6,5,5,9,2,4,9,0,4,4,9,0,8] , C=1 , 0+4+1=5 , A->5 , C->0
[1,4,6] + [4,7,4] , A=[5,7,6,5,5,9,2,4,9,0,4,4,9,0,8] , C=0 , 6+4+0=10 , A->0 , C->1
[1,4] + [4,7] , A=[0,5,7,6,5,5,9,2,4,9,0,4,4,9,0,8] , C=1 , 4+7+1=12 , A->2 , C->1
[1] + [4] , A=[2,0,5,7,6,5,5,9,2,4,9,0,4,4,9,0,8] , C=1 , 1+4+1=6 , A->6 , C->0
[] + [] , A=[6,2,0,5,7,6,5,5,9,2,4,9,0,4,4,9,0,8] C=0 , END
</scratch>
620576559249044908
| 620576559249044908 | 18 |
Input:
743967187852128084+179038625571620184
Target:
| Input:
743967187852128084+179038625571620184
Target:
[7,4,3,9,6,7,1,8,7,8,5,2,1,2,8,0,8,4] + [1,7,9,0,3,8,6,2,5,5,7,1,6,2,0,1,8,4] , A=[] , C=0 , 4+4+0=8 , A->8 , C->0
[7,4,3,9,6,7,1,8,7,8,5,2,1,2,8,0,8] + [1,7,9,0,3,8,6,2,5,5,7,1,6,2,0,1,8] , A=[8] , C=0 , 8+8+0=16 , A->6 , C->1
[7,4,3,9,6,7,1,8,7,8,5,2,1,2,8,0] + [1,7,9,0,3,8,6,2,5,5,7,1,6,2,0,1] , A=[6,8] , C=1 , 0+1+1=2 , A->2 , C->0
[7,4,3,9,6,7,1,8,7,8,5,2,1,2,8] + [1,7,9,0,3,8,6,2,5,5,7,1,6,2,0] , A=[2,6,8] , C=0 , 8+0+0=8 , A->8 , C->0
[7,4,3,9,6,7,1,8,7,8,5,2,1,2] + [1,7,9,0,3,8,6,2,5,5,7,1,6,2] , A=[8,2,6,8] , C=0 , 2+2+0=4 , A->4 , C->0
[7,4,3,9,6,7,1,8,7,8,5,2,1] + [1,7,9,0,3,8,6,2,5,5,7,1,6] , A=[4,8,2,6,8] , C=0 , 1+6+0=7 , A->7 , C->0
[7,4,3,9,6,7,1,8,7,8,5,2] + [1,7,9,0,3,8,6,2,5,5,7,1] , A=[7,4,8,2,6,8] , C=0 , 2+1+0=3 , A->3 , C->0
[7,4,3,9,6,7,1,8,7,8,5] + [1,7,9,0,3,8,6,2,5,5,7] , A=[3,7,4,8,2,6,8] , C=0 , 5+7+0=12 , A->2 , C->1
[7,4,3,9,6,7,1,8,7,8] + [1,7,9,0,3,8,6,2,5,5] , A=[2,3,7,4,8,2,6,8] , C=1 , 8+5+1=14 , A->4 , C->1
[7,4,3,9,6,7,1,8,7] + [1,7,9,0,3,8,6,2,5] , A=[4,2,3,7,4,8,2,6,8] , C=1 , 7+5+1=13 , A->3 , C->1
[7,4,3,9,6,7,1,8] + [1,7,9,0,3,8,6,2] , A=[3,4,2,3,7,4,8,2,6,8] , C=1 , 8+2+1=11 , A->1 , C->1
[7,4,3,9,6,7,1] + [1,7,9,0,3,8,6] , A=[1,3,4,2,3,7,4,8,2,6,8] , C=1 , 1+6+1=8 , A->8 , C->0
[7,4,3,9,6,7] + [1,7,9,0,3,8] , A=[8,1,3,4,2,3,7,4,8,2,6,8] , C=0 , 7+8+0=15 , A->5 , C->1
[7,4,3,9,6] + [1,7,9,0,3] , A=[5,8,1,3,4,2,3,7,4,8,2,6,8] , C=1 , 6+3+1=10 , A->0 , C->1
[7,4,3,9] + [1,7,9,0] , A=[0,5,8,1,3,4,2,3,7,4,8,2,6,8] , C=1 , 9+0+1=10 , A->0 , C->1
[7,4,3] + [1,7,9] , A=[0,0,5,8,1,3,4,2,3,7,4,8,2,6,8] , C=1 , 3+9+1=13 , A->3 , C->1
[7,4] + [1,7] , A=[3,0,0,5,8,1,3,4,2,3,7,4,8,2,6,8] , C=1 , 4+7+1=12 , A->2 , C->1
[7] + [1] , A=[2,3,0,0,5,8,1,3,4,2,3,7,4,8,2,6,8] , C=1 , 7+1+1=9 , A->9 , C->0
[] + [] , A=[9,2,3,0,0,5,8,1,3,4,2,3,7,4,8,2,6,8] C=0 , END
</scratch>
923005813423748268
| 923005813423748268 | 18 |
Input:
983773948244025365+254246855485262449
Target:
| Input:
983773948244025365+254246855485262449
Target:
[9,8,3,7,7,3,9,4,8,2,4,4,0,2,5,3,6,5] + [2,5,4,2,4,6,8,5,5,4,8,5,2,6,2,4,4,9] , A=[] , C=0 , 5+9+0=14 , A->4 , C->1
[9,8,3,7,7,3,9,4,8,2,4,4,0,2,5,3,6] + [2,5,4,2,4,6,8,5,5,4,8,5,2,6,2,4,4] , A=[4] , C=1 , 6+4+1=11 , A->1 , C->1
[9,8,3,7,7,3,9,4,8,2,4,4,0,2,5,3] + [2,5,4,2,4,6,8,5,5,4,8,5,2,6,2,4] , A=[1,4] , C=1 , 3+4+1=8 , A->8 , C->0
[9,8,3,7,7,3,9,4,8,2,4,4,0,2,5] + [2,5,4,2,4,6,8,5,5,4,8,5,2,6,2] , A=[8,1,4] , C=0 , 5+2+0=7 , A->7 , C->0
[9,8,3,7,7,3,9,4,8,2,4,4,0,2] + [2,5,4,2,4,6,8,5,5,4,8,5,2,6] , A=[7,8,1,4] , C=0 , 2+6+0=8 , A->8 , C->0
[9,8,3,7,7,3,9,4,8,2,4,4,0] + [2,5,4,2,4,6,8,5,5,4,8,5,2] , A=[8,7,8,1,4] , C=0 , 0+2+0=2 , A->2 , C->0
[9,8,3,7,7,3,9,4,8,2,4,4] + [2,5,4,2,4,6,8,5,5,4,8,5] , A=[2,8,7,8,1,4] , C=0 , 4+5+0=9 , A->9 , C->0
[9,8,3,7,7,3,9,4,8,2,4] + [2,5,4,2,4,6,8,5,5,4,8] , A=[9,2,8,7,8,1,4] , C=0 , 4+8+0=12 , A->2 , C->1
[9,8,3,7,7,3,9,4,8,2] + [2,5,4,2,4,6,8,5,5,4] , A=[2,9,2,8,7,8,1,4] , C=1 , 2+4+1=7 , A->7 , C->0
[9,8,3,7,7,3,9,4,8] + [2,5,4,2,4,6,8,5,5] , A=[7,2,9,2,8,7,8,1,4] , C=0 , 8+5+0=13 , A->3 , C->1
[9,8,3,7,7,3,9,4] + [2,5,4,2,4,6,8,5] , A=[3,7,2,9,2,8,7,8,1,4] , C=1 , 4+5+1=10 , A->0 , C->1
[9,8,3,7,7,3,9] + [2,5,4,2,4,6,8] , A=[0,3,7,2,9,2,8,7,8,1,4] , C=1 , 9+8+1=18 , A->8 , C->1
[9,8,3,7,7,3] + [2,5,4,2,4,6] , A=[8,0,3,7,2,9,2,8,7,8,1,4] , C=1 , 3+6+1=10 , A->0 , C->1
[9,8,3,7,7] + [2,5,4,2,4] , A=[0,8,0,3,7,2,9,2,8,7,8,1,4] , C=1 , 7+4+1=12 , A->2 , C->1
[9,8,3,7] + [2,5,4,2] , A=[2,0,8,0,3,7,2,9,2,8,7,8,1,4] , C=1 , 7+2+1=10 , A->0 , C->1
[9,8,3] + [2,5,4] , A=[0,2,0,8,0,3,7,2,9,2,8,7,8,1,4] , C=1 , 3+4+1=8 , A->8 , C->0
[9,8] + [2,5] , A=[8,0,2,0,8,0,3,7,2,9,2,8,7,8,1,4] , C=0 , 8+5+0=13 , A->3 , C->1
[9] + [2] , A=[3,8,0,2,0,8,0,3,7,2,9,2,8,7,8,1,4] , C=1 , 9+2+1=12 , A->2 , C->1
[] + [] , A=[2,3,8,0,2,0,8,0,3,7,2,9,2,8,7,8,1,4] C=1 , END
</scratch>
1238020803729287814
| 1238020803729287814 | 18 |
Input:
887206149038485115+379273316312436278
Target:
| Input:
887206149038485115+379273316312436278
Target:
[8,8,7,2,0,6,1,4,9,0,3,8,4,8,5,1,1,5] + [3,7,9,2,7,3,3,1,6,3,1,2,4,3,6,2,7,8] , A=[] , C=0 , 5+8+0=13 , A->3 , C->1
[8,8,7,2,0,6,1,4,9,0,3,8,4,8,5,1,1] + [3,7,9,2,7,3,3,1,6,3,1,2,4,3,6,2,7] , A=[3] , C=1 , 1+7+1=9 , A->9 , C->0
[8,8,7,2,0,6,1,4,9,0,3,8,4,8,5,1] + [3,7,9,2,7,3,3,1,6,3,1,2,4,3,6,2] , A=[9,3] , C=0 , 1+2+0=3 , A->3 , C->0
[8,8,7,2,0,6,1,4,9,0,3,8,4,8,5] + [3,7,9,2,7,3,3,1,6,3,1,2,4,3,6] , A=[3,9,3] , C=0 , 5+6+0=11 , A->1 , C->1
[8,8,7,2,0,6,1,4,9,0,3,8,4,8] + [3,7,9,2,7,3,3,1,6,3,1,2,4,3] , A=[1,3,9,3] , C=1 , 8+3+1=12 , A->2 , C->1
[8,8,7,2,0,6,1,4,9,0,3,8,4] + [3,7,9,2,7,3,3,1,6,3,1,2,4] , A=[2,1,3,9,3] , C=1 , 4+4+1=9 , A->9 , C->0
[8,8,7,2,0,6,1,4,9,0,3,8] + [3,7,9,2,7,3,3,1,6,3,1,2] , A=[9,2,1,3,9,3] , C=0 , 8+2+0=10 , A->0 , C->1
[8,8,7,2,0,6,1,4,9,0,3] + [3,7,9,2,7,3,3,1,6,3,1] , A=[0,9,2,1,3,9,3] , C=1 , 3+1+1=5 , A->5 , C->0
[8,8,7,2,0,6,1,4,9,0] + [3,7,9,2,7,3,3,1,6,3] , A=[5,0,9,2,1,3,9,3] , C=0 , 0+3+0=3 , A->3 , C->0
[8,8,7,2,0,6,1,4,9] + [3,7,9,2,7,3,3,1,6] , A=[3,5,0,9,2,1,3,9,3] , C=0 , 9+6+0=15 , A->5 , C->1
[8,8,7,2,0,6,1,4] + [3,7,9,2,7,3,3,1] , A=[5,3,5,0,9,2,1,3,9,3] , C=1 , 4+1+1=6 , A->6 , C->0
[8,8,7,2,0,6,1] + [3,7,9,2,7,3,3] , A=[6,5,3,5,0,9,2,1,3,9,3] , C=0 , 1+3+0=4 , A->4 , C->0
[8,8,7,2,0,6] + [3,7,9,2,7,3] , A=[4,6,5,3,5,0,9,2,1,3,9,3] , C=0 , 6+3+0=9 , A->9 , C->0
[8,8,7,2,0] + [3,7,9,2,7] , A=[9,4,6,5,3,5,0,9,2,1,3,9,3] , C=0 , 0+7+0=7 , A->7 , C->0
[8,8,7,2] + [3,7,9,2] , A=[7,9,4,6,5,3,5,0,9,2,1,3,9,3] , C=0 , 2+2+0=4 , A->4 , C->0
[8,8,7] + [3,7,9] , A=[4,7,9,4,6,5,3,5,0,9,2,1,3,9,3] , C=0 , 7+9+0=16 , A->6 , C->1
[8,8] + [3,7] , A=[6,4,7,9,4,6,5,3,5,0,9,2,1,3,9,3] , C=1 , 8+7+1=16 , A->6 , C->1
[8] + [3] , A=[6,6,4,7,9,4,6,5,3,5,0,9,2,1,3,9,3] , C=1 , 8+3+1=12 , A->2 , C->1
[] + [] , A=[2,6,6,4,7,9,4,6,5,3,5,0,9,2,1,3,9,3] C=1 , END
</scratch>
1266479465350921393
| 1266479465350921393 | 18 |
Input:
261739429268406514+729110666848559002
Target:
| Input:
261739429268406514+729110666848559002
Target:
[2,6,1,7,3,9,4,2,9,2,6,8,4,0,6,5,1,4] + [7,2,9,1,1,0,6,6,6,8,4,8,5,5,9,0,0,2] , A=[] , C=0 , 4+2+0=6 , A->6 , C->0
[2,6,1,7,3,9,4,2,9,2,6,8,4,0,6,5,1] + [7,2,9,1,1,0,6,6,6,8,4,8,5,5,9,0,0] , A=[6] , C=0 , 1+0+0=1 , A->1 , C->0
[2,6,1,7,3,9,4,2,9,2,6,8,4,0,6,5] + [7,2,9,1,1,0,6,6,6,8,4,8,5,5,9,0] , A=[1,6] , C=0 , 5+0+0=5 , A->5 , C->0
[2,6,1,7,3,9,4,2,9,2,6,8,4,0,6] + [7,2,9,1,1,0,6,6,6,8,4,8,5,5,9] , A=[5,1,6] , C=0 , 6+9+0=15 , A->5 , C->1
[2,6,1,7,3,9,4,2,9,2,6,8,4,0] + [7,2,9,1,1,0,6,6,6,8,4,8,5,5] , A=[5,5,1,6] , C=1 , 0+5+1=6 , A->6 , C->0
[2,6,1,7,3,9,4,2,9,2,6,8,4] + [7,2,9,1,1,0,6,6,6,8,4,8,5] , A=[6,5,5,1,6] , C=0 , 4+5+0=9 , A->9 , C->0
[2,6,1,7,3,9,4,2,9,2,6,8] + [7,2,9,1,1,0,6,6,6,8,4,8] , A=[9,6,5,5,1,6] , C=0 , 8+8+0=16 , A->6 , C->1
[2,6,1,7,3,9,4,2,9,2,6] + [7,2,9,1,1,0,6,6,6,8,4] , A=[6,9,6,5,5,1,6] , C=1 , 6+4+1=11 , A->1 , C->1
[2,6,1,7,3,9,4,2,9,2] + [7,2,9,1,1,0,6,6,6,8] , A=[1,6,9,6,5,5,1,6] , C=1 , 2+8+1=11 , A->1 , C->1
[2,6,1,7,3,9,4,2,9] + [7,2,9,1,1,0,6,6,6] , A=[1,1,6,9,6,5,5,1,6] , C=1 , 9+6+1=16 , A->6 , C->1
[2,6,1,7,3,9,4,2] + [7,2,9,1,1,0,6,6] , A=[6,1,1,6,9,6,5,5,1,6] , C=1 , 2+6+1=9 , A->9 , C->0
[2,6,1,7,3,9,4] + [7,2,9,1,1,0,6] , A=[9,6,1,1,6,9,6,5,5,1,6] , C=0 , 4+6+0=10 , A->0 , C->1
[2,6,1,7,3,9] + [7,2,9,1,1,0] , A=[0,9,6,1,1,6,9,6,5,5,1,6] , C=1 , 9+0+1=10 , A->0 , C->1
[2,6,1,7,3] + [7,2,9,1,1] , A=[0,0,9,6,1,1,6,9,6,5,5,1,6] , C=1 , 3+1+1=5 , A->5 , C->0
[2,6,1,7] + [7,2,9,1] , A=[5,0,0,9,6,1,1,6,9,6,5,5,1,6] , C=0 , 7+1+0=8 , A->8 , C->0
[2,6,1] + [7,2,9] , A=[8,5,0,0,9,6,1,1,6,9,6,5,5,1,6] , C=0 , 1+9+0=10 , A->0 , C->1
[2,6] + [7,2] , A=[0,8,5,0,0,9,6,1,1,6,9,6,5,5,1,6] , C=1 , 6+2+1=9 , A->9 , C->0
[2] + [7] , A=[9,0,8,5,0,0,9,6,1,1,6,9,6,5,5,1,6] , C=0 , 2+7+0=9 , A->9 , C->0
[] + [] , A=[9,9,0,8,5,0,0,9,6,1,1,6,9,6,5,5,1,6] C=0 , END
</scratch>
990850096116965516
| 990850096116965516 | 18 |
Input:
788375460546131122+782965687669384410
Target:
| Input:
788375460546131122+782965687669384410
Target:
[7,8,8,3,7,5,4,6,0,5,4,6,1,3,1,1,2,2] + [7,8,2,9,6,5,6,8,7,6,6,9,3,8,4,4,1,0] , A=[] , C=0 , 2+0+0=2 , A->2 , C->0
[7,8,8,3,7,5,4,6,0,5,4,6,1,3,1,1,2] + [7,8,2,9,6,5,6,8,7,6,6,9,3,8,4,4,1] , A=[2] , C=0 , 2+1+0=3 , A->3 , C->0
[7,8,8,3,7,5,4,6,0,5,4,6,1,3,1,1] + [7,8,2,9,6,5,6,8,7,6,6,9,3,8,4,4] , A=[3,2] , C=0 , 1+4+0=5 , A->5 , C->0
[7,8,8,3,7,5,4,6,0,5,4,6,1,3,1] + [7,8,2,9,6,5,6,8,7,6,6,9,3,8,4] , A=[5,3,2] , C=0 , 1+4+0=5 , A->5 , C->0
[7,8,8,3,7,5,4,6,0,5,4,6,1,3] + [7,8,2,9,6,5,6,8,7,6,6,9,3,8] , A=[5,5,3,2] , C=0 , 3+8+0=11 , A->1 , C->1
[7,8,8,3,7,5,4,6,0,5,4,6,1] + [7,8,2,9,6,5,6,8,7,6,6,9,3] , A=[1,5,5,3,2] , C=1 , 1+3+1=5 , A->5 , C->0
[7,8,8,3,7,5,4,6,0,5,4,6] + [7,8,2,9,6,5,6,8,7,6,6,9] , A=[5,1,5,5,3,2] , C=0 , 6+9+0=15 , A->5 , C->1
[7,8,8,3,7,5,4,6,0,5,4] + [7,8,2,9,6,5,6,8,7,6,6] , A=[5,5,1,5,5,3,2] , C=1 , 4+6+1=11 , A->1 , C->1
[7,8,8,3,7,5,4,6,0,5] + [7,8,2,9,6,5,6,8,7,6] , A=[1,5,5,1,5,5,3,2] , C=1 , 5+6+1=12 , A->2 , C->1
[7,8,8,3,7,5,4,6,0] + [7,8,2,9,6,5,6,8,7] , A=[2,1,5,5,1,5,5,3,2] , C=1 , 0+7+1=8 , A->8 , C->0
[7,8,8,3,7,5,4,6] + [7,8,2,9,6,5,6,8] , A=[8,2,1,5,5,1,5,5,3,2] , C=0 , 6+8+0=14 , A->4 , C->1
[7,8,8,3,7,5,4] + [7,8,2,9,6,5,6] , A=[4,8,2,1,5,5,1,5,5,3,2] , C=1 , 4+6+1=11 , A->1 , C->1
[7,8,8,3,7,5] + [7,8,2,9,6,5] , A=[1,4,8,2,1,5,5,1,5,5,3,2] , C=1 , 5+5+1=11 , A->1 , C->1
[7,8,8,3,7] + [7,8,2,9,6] , A=[1,1,4,8,2,1,5,5,1,5,5,3,2] , C=1 , 7+6+1=14 , A->4 , C->1
[7,8,8,3] + [7,8,2,9] , A=[4,1,1,4,8,2,1,5,5,1,5,5,3,2] , C=1 , 3+9+1=13 , A->3 , C->1
[7,8,8] + [7,8,2] , A=[3,4,1,1,4,8,2,1,5,5,1,5,5,3,2] , C=1 , 8+2+1=11 , A->1 , C->1
[7,8] + [7,8] , A=[1,3,4,1,1,4,8,2,1,5,5,1,5,5,3,2] , C=1 , 8+8+1=17 , A->7 , C->1
[7] + [7] , A=[7,1,3,4,1,1,4,8,2,1,5,5,1,5,5,3,2] , C=1 , 7+7+1=15 , A->5 , C->1
[] + [] , A=[5,7,1,3,4,1,1,4,8,2,1,5,5,1,5,5,3,2] C=1 , END
</scratch>
1571341148215515532
| 1571341148215515532 | 18 |
Input:
101220528714440872+709891211885142824
Target:
| Input:
101220528714440872+709891211885142824
Target:
[1,0,1,2,2,0,5,2,8,7,1,4,4,4,0,8,7,2] + [7,0,9,8,9,1,2,1,1,8,8,5,1,4,2,8,2,4] , A=[] , C=0 , 2+4+0=6 , A->6 , C->0
[1,0,1,2,2,0,5,2,8,7,1,4,4,4,0,8,7] + [7,0,9,8,9,1,2,1,1,8,8,5,1,4,2,8,2] , A=[6] , C=0 , 7+2+0=9 , A->9 , C->0
[1,0,1,2,2,0,5,2,8,7,1,4,4,4,0,8] + [7,0,9,8,9,1,2,1,1,8,8,5,1,4,2,8] , A=[9,6] , C=0 , 8+8+0=16 , A->6 , C->1
[1,0,1,2,2,0,5,2,8,7,1,4,4,4,0] + [7,0,9,8,9,1,2,1,1,8,8,5,1,4,2] , A=[6,9,6] , C=1 , 0+2+1=3 , A->3 , C->0
[1,0,1,2,2,0,5,2,8,7,1,4,4,4] + [7,0,9,8,9,1,2,1,1,8,8,5,1,4] , A=[3,6,9,6] , C=0 , 4+4+0=8 , A->8 , C->0
[1,0,1,2,2,0,5,2,8,7,1,4,4] + [7,0,9,8,9,1,2,1,1,8,8,5,1] , A=[8,3,6,9,6] , C=0 , 4+1+0=5 , A->5 , C->0
[1,0,1,2,2,0,5,2,8,7,1,4] + [7,0,9,8,9,1,2,1,1,8,8,5] , A=[5,8,3,6,9,6] , C=0 , 4+5+0=9 , A->9 , C->0
[1,0,1,2,2,0,5,2,8,7,1] + [7,0,9,8,9,1,2,1,1,8,8] , A=[9,5,8,3,6,9,6] , C=0 , 1+8+0=9 , A->9 , C->0
[1,0,1,2,2,0,5,2,8,7] + [7,0,9,8,9,1,2,1,1,8] , A=[9,9,5,8,3,6,9,6] , C=0 , 7+8+0=15 , A->5 , C->1
[1,0,1,2,2,0,5,2,8] + [7,0,9,8,9,1,2,1,1] , A=[5,9,9,5,8,3,6,9,6] , C=1 , 8+1+1=10 , A->0 , C->1
[1,0,1,2,2,0,5,2] + [7,0,9,8,9,1,2,1] , A=[0,5,9,9,5,8,3,6,9,6] , C=1 , 2+1+1=4 , A->4 , C->0
[1,0,1,2,2,0,5] + [7,0,9,8,9,1,2] , A=[4,0,5,9,9,5,8,3,6,9,6] , C=0 , 5+2+0=7 , A->7 , C->0
[1,0,1,2,2,0] + [7,0,9,8,9,1] , A=[7,4,0,5,9,9,5,8,3,6,9,6] , C=0 , 0+1+0=1 , A->1 , C->0
[1,0,1,2,2] + [7,0,9,8,9] , A=[1,7,4,0,5,9,9,5,8,3,6,9,6] , C=0 , 2+9+0=11 , A->1 , C->1
[1,0,1,2] + [7,0,9,8] , A=[1,1,7,4,0,5,9,9,5,8,3,6,9,6] , C=1 , 2+8+1=11 , A->1 , C->1
[1,0,1] + [7,0,9] , A=[1,1,1,7,4,0,5,9,9,5,8,3,6,9,6] , C=1 , 1+9+1=11 , A->1 , C->1
[1,0] + [7,0] , A=[1,1,1,1,7,4,0,5,9,9,5,8,3,6,9,6] , C=1 , 0+0+1=1 , A->1 , C->0
[1] + [7] , A=[1,1,1,1,1,7,4,0,5,9,9,5,8,3,6,9,6] , C=0 , 1+7+0=8 , A->8 , C->0
[] + [] , A=[8,1,1,1,1,1,7,4,0,5,9,9,5,8,3,6,9,6] C=0 , END
</scratch>
811111740599583696
| 811111740599583696 | 18 |
Input:
856398446696862083+222201686718158054
Target:
| Input:
856398446696862083+222201686718158054
Target:
[8,5,6,3,9,8,4,4,6,6,9,6,8,6,2,0,8,3] + [2,2,2,2,0,1,6,8,6,7,1,8,1,5,8,0,5,4] , A=[] , C=0 , 3+4+0=7 , A->7 , C->0
[8,5,6,3,9,8,4,4,6,6,9,6,8,6,2,0,8] + [2,2,2,2,0,1,6,8,6,7,1,8,1,5,8,0,5] , A=[7] , C=0 , 8+5+0=13 , A->3 , C->1
[8,5,6,3,9,8,4,4,6,6,9,6,8,6,2,0] + [2,2,2,2,0,1,6,8,6,7,1,8,1,5,8,0] , A=[3,7] , C=1 , 0+0+1=1 , A->1 , C->0
[8,5,6,3,9,8,4,4,6,6,9,6,8,6,2] + [2,2,2,2,0,1,6,8,6,7,1,8,1,5,8] , A=[1,3,7] , C=0 , 2+8+0=10 , A->0 , C->1
[8,5,6,3,9,8,4,4,6,6,9,6,8,6] + [2,2,2,2,0,1,6,8,6,7,1,8,1,5] , A=[0,1,3,7] , C=1 , 6+5+1=12 , A->2 , C->1
[8,5,6,3,9,8,4,4,6,6,9,6,8] + [2,2,2,2,0,1,6,8,6,7,1,8,1] , A=[2,0,1,3,7] , C=1 , 8+1+1=10 , A->0 , C->1
[8,5,6,3,9,8,4,4,6,6,9,6] + [2,2,2,2,0,1,6,8,6,7,1,8] , A=[0,2,0,1,3,7] , C=1 , 6+8+1=15 , A->5 , C->1
[8,5,6,3,9,8,4,4,6,6,9] + [2,2,2,2,0,1,6,8,6,7,1] , A=[5,0,2,0,1,3,7] , C=1 , 9+1+1=11 , A->1 , C->1
[8,5,6,3,9,8,4,4,6,6] + [2,2,2,2,0,1,6,8,6,7] , A=[1,5,0,2,0,1,3,7] , C=1 , 6+7+1=14 , A->4 , C->1
[8,5,6,3,9,8,4,4,6] + [2,2,2,2,0,1,6,8,6] , A=[4,1,5,0,2,0,1,3,7] , C=1 , 6+6+1=13 , A->3 , C->1
[8,5,6,3,9,8,4,4] + [2,2,2,2,0,1,6,8] , A=[3,4,1,5,0,2,0,1,3,7] , C=1 , 4+8+1=13 , A->3 , C->1
[8,5,6,3,9,8,4] + [2,2,2,2,0,1,6] , A=[3,3,4,1,5,0,2,0,1,3,7] , C=1 , 4+6+1=11 , A->1 , C->1
[8,5,6,3,9,8] + [2,2,2,2,0,1] , A=[1,3,3,4,1,5,0,2,0,1,3,7] , C=1 , 8+1+1=10 , A->0 , C->1
[8,5,6,3,9] + [2,2,2,2,0] , A=[0,1,3,3,4,1,5,0,2,0,1,3,7] , C=1 , 9+0+1=10 , A->0 , C->1
[8,5,6,3] + [2,2,2,2] , A=[0,0,1,3,3,4,1,5,0,2,0,1,3,7] , C=1 , 3+2+1=6 , A->6 , C->0
[8,5,6] + [2,2,2] , A=[6,0,0,1,3,3,4,1,5,0,2,0,1,3,7] , C=0 , 6+2+0=8 , A->8 , C->0
[8,5] + [2,2] , A=[8,6,0,0,1,3,3,4,1,5,0,2,0,1,3,7] , C=0 , 5+2+0=7 , A->7 , C->0
[8] + [2] , A=[7,8,6,0,0,1,3,3,4,1,5,0,2,0,1,3,7] , C=0 , 8+2+0=10 , A->0 , C->1
[] + [] , A=[0,7,8,6,0,0,1,3,3,4,1,5,0,2,0,1,3,7] C=1 , END
</scratch>
1078600133415020137
| 1078600133415020137 | 18 |
Input:
930039308957872426+131116781816275868
Target:
| Input:
930039308957872426+131116781816275868
Target:
[9,3,0,0,3,9,3,0,8,9,5,7,8,7,2,4,2,6] + [1,3,1,1,1,6,7,8,1,8,1,6,2,7,5,8,6,8] , A=[] , C=0 , 6+8+0=14 , A->4 , C->1
[9,3,0,0,3,9,3,0,8,9,5,7,8,7,2,4,2] + [1,3,1,1,1,6,7,8,1,8,1,6,2,7,5,8,6] , A=[4] , C=1 , 2+6+1=9 , A->9 , C->0
[9,3,0,0,3,9,3,0,8,9,5,7,8,7,2,4] + [1,3,1,1,1,6,7,8,1,8,1,6,2,7,5,8] , A=[9,4] , C=0 , 4+8+0=12 , A->2 , C->1
[9,3,0,0,3,9,3,0,8,9,5,7,8,7,2] + [1,3,1,1,1,6,7,8,1,8,1,6,2,7,5] , A=[2,9,4] , C=1 , 2+5+1=8 , A->8 , C->0
[9,3,0,0,3,9,3,0,8,9,5,7,8,7] + [1,3,1,1,1,6,7,8,1,8,1,6,2,7] , A=[8,2,9,4] , C=0 , 7+7+0=14 , A->4 , C->1
[9,3,0,0,3,9,3,0,8,9,5,7,8] + [1,3,1,1,1,6,7,8,1,8,1,6,2] , A=[4,8,2,9,4] , C=1 , 8+2+1=11 , A->1 , C->1
[9,3,0,0,3,9,3,0,8,9,5,7] + [1,3,1,1,1,6,7,8,1,8,1,6] , A=[1,4,8,2,9,4] , C=1 , 7+6+1=14 , A->4 , C->1
[9,3,0,0,3,9,3,0,8,9,5] + [1,3,1,1,1,6,7,8,1,8,1] , A=[4,1,4,8,2,9,4] , C=1 , 5+1+1=7 , A->7 , C->0
[9,3,0,0,3,9,3,0,8,9] + [1,3,1,1,1,6,7,8,1,8] , A=[7,4,1,4,8,2,9,4] , C=0 , 9+8+0=17 , A->7 , C->1
[9,3,0,0,3,9,3,0,8] + [1,3,1,1,1,6,7,8,1] , A=[7,7,4,1,4,8,2,9,4] , C=1 , 8+1+1=10 , A->0 , C->1
[9,3,0,0,3,9,3,0] + [1,3,1,1,1,6,7,8] , A=[0,7,7,4,1,4,8,2,9,4] , C=1 , 0+8+1=9 , A->9 , C->0
[9,3,0,0,3,9,3] + [1,3,1,1,1,6,7] , A=[9,0,7,7,4,1,4,8,2,9,4] , C=0 , 3+7+0=10 , A->0 , C->1
[9,3,0,0,3,9] + [1,3,1,1,1,6] , A=[0,9,0,7,7,4,1,4,8,2,9,4] , C=1 , 9+6+1=16 , A->6 , C->1
[9,3,0,0,3] + [1,3,1,1,1] , A=[6,0,9,0,7,7,4,1,4,8,2,9,4] , C=1 , 3+1+1=5 , A->5 , C->0
[9,3,0,0] + [1,3,1,1] , A=[5,6,0,9,0,7,7,4,1,4,8,2,9,4] , C=0 , 0+1+0=1 , A->1 , C->0
[9,3,0] + [1,3,1] , A=[1,5,6,0,9,0,7,7,4,1,4,8,2,9,4] , C=0 , 0+1+0=1 , A->1 , C->0
[9,3] + [1,3] , A=[1,1,5,6,0,9,0,7,7,4,1,4,8,2,9,4] , C=0 , 3+3+0=6 , A->6 , C->0
[9] + [1] , A=[6,1,1,5,6,0,9,0,7,7,4,1,4,8,2,9,4] , C=0 , 9+1+0=10 , A->0 , C->1
[] + [] , A=[0,6,1,1,5,6,0,9,0,7,7,4,1,4,8,2,9,4] C=1 , END
</scratch>
1061156090774148294
| 1061156090774148294 | 18 |
Input:
225906294587582763+961410583999538146
Target:
| Input:
225906294587582763+961410583999538146
Target:
[2,2,5,9,0,6,2,9,4,5,8,7,5,8,2,7,6,3] + [9,6,1,4,1,0,5,8,3,9,9,9,5,3,8,1,4,6] , A=[] , C=0 , 3+6+0=9 , A->9 , C->0
[2,2,5,9,0,6,2,9,4,5,8,7,5,8,2,7,6] + [9,6,1,4,1,0,5,8,3,9,9,9,5,3,8,1,4] , A=[9] , C=0 , 6+4+0=10 , A->0 , C->1
[2,2,5,9,0,6,2,9,4,5,8,7,5,8,2,7] + [9,6,1,4,1,0,5,8,3,9,9,9,5,3,8,1] , A=[0,9] , C=1 , 7+1+1=9 , A->9 , C->0
[2,2,5,9,0,6,2,9,4,5,8,7,5,8,2] + [9,6,1,4,1,0,5,8,3,9,9,9,5,3,8] , A=[9,0,9] , C=0 , 2+8+0=10 , A->0 , C->1
[2,2,5,9,0,6,2,9,4,5,8,7,5,8] + [9,6,1,4,1,0,5,8,3,9,9,9,5,3] , A=[0,9,0,9] , C=1 , 8+3+1=12 , A->2 , C->1
[2,2,5,9,0,6,2,9,4,5,8,7,5] + [9,6,1,4,1,0,5,8,3,9,9,9,5] , A=[2,0,9,0,9] , C=1 , 5+5+1=11 , A->1 , C->1
[2,2,5,9,0,6,2,9,4,5,8,7] + [9,6,1,4,1,0,5,8,3,9,9,9] , A=[1,2,0,9,0,9] , C=1 , 7+9+1=17 , A->7 , C->1
[2,2,5,9,0,6,2,9,4,5,8] + [9,6,1,4,1,0,5,8,3,9,9] , A=[7,1,2,0,9,0,9] , C=1 , 8+9+1=18 , A->8 , C->1
[2,2,5,9,0,6,2,9,4,5] + [9,6,1,4,1,0,5,8,3,9] , A=[8,7,1,2,0,9,0,9] , C=1 , 5+9+1=15 , A->5 , C->1
[2,2,5,9,0,6,2,9,4] + [9,6,1,4,1,0,5,8,3] , A=[5,8,7,1,2,0,9,0,9] , C=1 , 4+3+1=8 , A->8 , C->0
[2,2,5,9,0,6,2,9] + [9,6,1,4,1,0,5,8] , A=[8,5,8,7,1,2,0,9,0,9] , C=0 , 9+8+0=17 , A->7 , C->1
[2,2,5,9,0,6,2] + [9,6,1,4,1,0,5] , A=[7,8,5,8,7,1,2,0,9,0,9] , C=1 , 2+5+1=8 , A->8 , C->0
[2,2,5,9,0,6] + [9,6,1,4,1,0] , A=[8,7,8,5,8,7,1,2,0,9,0,9] , C=0 , 6+0+0=6 , A->6 , C->0
[2,2,5,9,0] + [9,6,1,4,1] , A=[6,8,7,8,5,8,7,1,2,0,9,0,9] , C=0 , 0+1+0=1 , A->1 , C->0
[2,2,5,9] + [9,6,1,4] , A=[1,6,8,7,8,5,8,7,1,2,0,9,0,9] , C=0 , 9+4+0=13 , A->3 , C->1
[2,2,5] + [9,6,1] , A=[3,1,6,8,7,8,5,8,7,1,2,0,9,0,9] , C=1 , 5+1+1=7 , A->7 , C->0
[2,2] + [9,6] , A=[7,3,1,6,8,7,8,5,8,7,1,2,0,9,0,9] , C=0 , 2+6+0=8 , A->8 , C->0
[2] + [9] , A=[8,7,3,1,6,8,7,8,5,8,7,1,2,0,9,0,9] , C=0 , 2+9+0=11 , A->1 , C->1
[] + [] , A=[1,8,7,3,1,6,8,7,8,5,8,7,1,2,0,9,0,9] C=1 , END
</scratch>
1187316878587120909
| 1187316878587120909 | 18 |
Input:
404048177311277414+131574556047907572
Target:
| Input:
404048177311277414+131574556047907572
Target:
[4,0,4,0,4,8,1,7,7,3,1,1,2,7,7,4,1,4] + [1,3,1,5,7,4,5,5,6,0,4,7,9,0,7,5,7,2] , A=[] , C=0 , 4+2+0=6 , A->6 , C->0
[4,0,4,0,4,8,1,7,7,3,1,1,2,7,7,4,1] + [1,3,1,5,7,4,5,5,6,0,4,7,9,0,7,5,7] , A=[6] , C=0 , 1+7+0=8 , A->8 , C->0
[4,0,4,0,4,8,1,7,7,3,1,1,2,7,7,4] + [1,3,1,5,7,4,5,5,6,0,4,7,9,0,7,5] , A=[8,6] , C=0 , 4+5+0=9 , A->9 , C->0
[4,0,4,0,4,8,1,7,7,3,1,1,2,7,7] + [1,3,1,5,7,4,5,5,6,0,4,7,9,0,7] , A=[9,8,6] , C=0 , 7+7+0=14 , A->4 , C->1
[4,0,4,0,4,8,1,7,7,3,1,1,2,7] + [1,3,1,5,7,4,5,5,6,0,4,7,9,0] , A=[4,9,8,6] , C=1 , 7+0+1=8 , A->8 , C->0
[4,0,4,0,4,8,1,7,7,3,1,1,2] + [1,3,1,5,7,4,5,5,6,0,4,7,9] , A=[8,4,9,8,6] , C=0 , 2+9+0=11 , A->1 , C->1
[4,0,4,0,4,8,1,7,7,3,1,1] + [1,3,1,5,7,4,5,5,6,0,4,7] , A=[1,8,4,9,8,6] , C=1 , 1+7+1=9 , A->9 , C->0
[4,0,4,0,4,8,1,7,7,3,1] + [1,3,1,5,7,4,5,5,6,0,4] , A=[9,1,8,4,9,8,6] , C=0 , 1+4+0=5 , A->5 , C->0
[4,0,4,0,4,8,1,7,7,3] + [1,3,1,5,7,4,5,5,6,0] , A=[5,9,1,8,4,9,8,6] , C=0 , 3+0+0=3 , A->3 , C->0
[4,0,4,0,4,8,1,7,7] + [1,3,1,5,7,4,5,5,6] , A=[3,5,9,1,8,4,9,8,6] , C=0 , 7+6+0=13 , A->3 , C->1
[4,0,4,0,4,8,1,7] + [1,3,1,5,7,4,5,5] , A=[3,3,5,9,1,8,4,9,8,6] , C=1 , 7+5+1=13 , A->3 , C->1
[4,0,4,0,4,8,1] + [1,3,1,5,7,4,5] , A=[3,3,3,5,9,1,8,4,9,8,6] , C=1 , 1+5+1=7 , A->7 , C->0
[4,0,4,0,4,8] + [1,3,1,5,7,4] , A=[7,3,3,3,5,9,1,8,4,9,8,6] , C=0 , 8+4+0=12 , A->2 , C->1
[4,0,4,0,4] + [1,3,1,5,7] , A=[2,7,3,3,3,5,9,1,8,4,9,8,6] , C=1 , 4+7+1=12 , A->2 , C->1
[4,0,4,0] + [1,3,1,5] , A=[2,2,7,3,3,3,5,9,1,8,4,9,8,6] , C=1 , 0+5+1=6 , A->6 , C->0
[4,0,4] + [1,3,1] , A=[6,2,2,7,3,3,3,5,9,1,8,4,9,8,6] , C=0 , 4+1+0=5 , A->5 , C->0
[4,0] + [1,3] , A=[5,6,2,2,7,3,3,3,5,9,1,8,4,9,8,6] , C=0 , 0+3+0=3 , A->3 , C->0
[4] + [1] , A=[3,5,6,2,2,7,3,3,3,5,9,1,8,4,9,8,6] , C=0 , 4+1+0=5 , A->5 , C->0
[] + [] , A=[5,3,5,6,2,2,7,3,3,3,5,9,1,8,4,9,8,6] C=0 , END
</scratch>
535622733359184986
| 535622733359184986 | 18 |
Input:
291795990842095427+555897235301791066
Target:
| Input:
291795990842095427+555897235301791066
Target:
[2,9,1,7,9,5,9,9,0,8,4,2,0,9,5,4,2,7] + [5,5,5,8,9,7,2,3,5,3,0,1,7,9,1,0,6,6] , A=[] , C=0 , 7+6+0=13 , A->3 , C->1
[2,9,1,7,9,5,9,9,0,8,4,2,0,9,5,4,2] + [5,5,5,8,9,7,2,3,5,3,0,1,7,9,1,0,6] , A=[3] , C=1 , 2+6+1=9 , A->9 , C->0
[2,9,1,7,9,5,9,9,0,8,4,2,0,9,5,4] + [5,5,5,8,9,7,2,3,5,3,0,1,7,9,1,0] , A=[9,3] , C=0 , 4+0+0=4 , A->4 , C->0
[2,9,1,7,9,5,9,9,0,8,4,2,0,9,5] + [5,5,5,8,9,7,2,3,5,3,0,1,7,9,1] , A=[4,9,3] , C=0 , 5+1+0=6 , A->6 , C->0
[2,9,1,7,9,5,9,9,0,8,4,2,0,9] + [5,5,5,8,9,7,2,3,5,3,0,1,7,9] , A=[6,4,9,3] , C=0 , 9+9+0=18 , A->8 , C->1
[2,9,1,7,9,5,9,9,0,8,4,2,0] + [5,5,5,8,9,7,2,3,5,3,0,1,7] , A=[8,6,4,9,3] , C=1 , 0+7+1=8 , A->8 , C->0
[2,9,1,7,9,5,9,9,0,8,4,2] + [5,5,5,8,9,7,2,3,5,3,0,1] , A=[8,8,6,4,9,3] , C=0 , 2+1+0=3 , A->3 , C->0
[2,9,1,7,9,5,9,9,0,8,4] + [5,5,5,8,9,7,2,3,5,3,0] , A=[3,8,8,6,4,9,3] , C=0 , 4+0+0=4 , A->4 , C->0
[2,9,1,7,9,5,9,9,0,8] + [5,5,5,8,9,7,2,3,5,3] , A=[4,3,8,8,6,4,9,3] , C=0 , 8+3+0=11 , A->1 , C->1
[2,9,1,7,9,5,9,9,0] + [5,5,5,8,9,7,2,3,5] , A=[1,4,3,8,8,6,4,9,3] , C=1 , 0+5+1=6 , A->6 , C->0
[2,9,1,7,9,5,9,9] + [5,5,5,8,9,7,2,3] , A=[6,1,4,3,8,8,6,4,9,3] , C=0 , 9+3+0=12 , A->2 , C->1
[2,9,1,7,9,5,9] + [5,5,5,8,9,7,2] , A=[2,6,1,4,3,8,8,6,4,9,3] , C=1 , 9+2+1=12 , A->2 , C->1
[2,9,1,7,9,5] + [5,5,5,8,9,7] , A=[2,2,6,1,4,3,8,8,6,4,9,3] , C=1 , 5+7+1=13 , A->3 , C->1
[2,9,1,7,9] + [5,5,5,8,9] , A=[3,2,2,6,1,4,3,8,8,6,4,9,3] , C=1 , 9+9+1=19 , A->9 , C->1
[2,9,1,7] + [5,5,5,8] , A=[9,3,2,2,6,1,4,3,8,8,6,4,9,3] , C=1 , 7+8+1=16 , A->6 , C->1
[2,9,1] + [5,5,5] , A=[6,9,3,2,2,6,1,4,3,8,8,6,4,9,3] , C=1 , 1+5+1=7 , A->7 , C->0
[2,9] + [5,5] , A=[7,6,9,3,2,2,6,1,4,3,8,8,6,4,9,3] , C=0 , 9+5+0=14 , A->4 , C->1
[2] + [5] , A=[4,7,6,9,3,2,2,6,1,4,3,8,8,6,4,9,3] , C=1 , 2+5+1=8 , A->8 , C->0
[] + [] , A=[8,4,7,6,9,3,2,2,6,1,4,3,8,8,6,4,9,3] C=0 , END
</scratch>
847693226143886493
| 847693226143886493 | 18 |
Input:
170538491065884103+467999056697100505
Target:
| Input:
170538491065884103+467999056697100505
Target:
[1,7,0,5,3,8,4,9,1,0,6,5,8,8,4,1,0,3] + [4,6,7,9,9,9,0,5,6,6,9,7,1,0,0,5,0,5] , A=[] , C=0 , 3+5+0=8 , A->8 , C->0
[1,7,0,5,3,8,4,9,1,0,6,5,8,8,4,1,0] + [4,6,7,9,9,9,0,5,6,6,9,7,1,0,0,5,0] , A=[8] , C=0 , 0+0+0=0 , A->0 , C->0
[1,7,0,5,3,8,4,9,1,0,6,5,8,8,4,1] + [4,6,7,9,9,9,0,5,6,6,9,7,1,0,0,5] , A=[0,8] , C=0 , 1+5+0=6 , A->6 , C->0
[1,7,0,5,3,8,4,9,1,0,6,5,8,8,4] + [4,6,7,9,9,9,0,5,6,6,9,7,1,0,0] , A=[6,0,8] , C=0 , 4+0+0=4 , A->4 , C->0
[1,7,0,5,3,8,4,9,1,0,6,5,8,8] + [4,6,7,9,9,9,0,5,6,6,9,7,1,0] , A=[4,6,0,8] , C=0 , 8+0+0=8 , A->8 , C->0
[1,7,0,5,3,8,4,9,1,0,6,5,8] + [4,6,7,9,9,9,0,5,6,6,9,7,1] , A=[8,4,6,0,8] , C=0 , 8+1+0=9 , A->9 , C->0
[1,7,0,5,3,8,4,9,1,0,6,5] + [4,6,7,9,9,9,0,5,6,6,9,7] , A=[9,8,4,6,0,8] , C=0 , 5+7+0=12 , A->2 , C->1
[1,7,0,5,3,8,4,9,1,0,6] + [4,6,7,9,9,9,0,5,6,6,9] , A=[2,9,8,4,6,0,8] , C=1 , 6+9+1=16 , A->6 , C->1
[1,7,0,5,3,8,4,9,1,0] + [4,6,7,9,9,9,0,5,6,6] , A=[6,2,9,8,4,6,0,8] , C=1 , 0+6+1=7 , A->7 , C->0
[1,7,0,5,3,8,4,9,1] + [4,6,7,9,9,9,0,5,6] , A=[7,6,2,9,8,4,6,0,8] , C=0 , 1+6+0=7 , A->7 , C->0
[1,7,0,5,3,8,4,9] + [4,6,7,9,9,9,0,5] , A=[7,7,6,2,9,8,4,6,0,8] , C=0 , 9+5+0=14 , A->4 , C->1
[1,7,0,5,3,8,4] + [4,6,7,9,9,9,0] , A=[4,7,7,6,2,9,8,4,6,0,8] , C=1 , 4+0+1=5 , A->5 , C->0
[1,7,0,5,3,8] + [4,6,7,9,9,9] , A=[5,4,7,7,6,2,9,8,4,6,0,8] , C=0 , 8+9+0=17 , A->7 , C->1
[1,7,0,5,3] + [4,6,7,9,9] , A=[7,5,4,7,7,6,2,9,8,4,6,0,8] , C=1 , 3+9+1=13 , A->3 , C->1
[1,7,0,5] + [4,6,7,9] , A=[3,7,5,4,7,7,6,2,9,8,4,6,0,8] , C=1 , 5+9+1=15 , A->5 , C->1
[1,7,0] + [4,6,7] , A=[5,3,7,5,4,7,7,6,2,9,8,4,6,0,8] , C=1 , 0+7+1=8 , A->8 , C->0
[1,7] + [4,6] , A=[8,5,3,7,5,4,7,7,6,2,9,8,4,6,0,8] , C=0 , 7+6+0=13 , A->3 , C->1
[1] + [4] , A=[3,8,5,3,7,5,4,7,7,6,2,9,8,4,6,0,8] , C=1 , 1+4+1=6 , A->6 , C->0
[] + [] , A=[6,3,8,5,3,7,5,4,7,7,6,2,9,8,4,6,0,8] C=0 , END
</scratch>
638537547762984608
| 638537547762984608 | 18 |
Input:
416314364299162402+849537324440491531
Target:
| Input:
416314364299162402+849537324440491531
Target:
[4,1,6,3,1,4,3,6,4,2,9,9,1,6,2,4,0,2] + [8,4,9,5,3,7,3,2,4,4,4,0,4,9,1,5,3,1] , A=[] , C=0 , 2+1+0=3 , A->3 , C->0
[4,1,6,3,1,4,3,6,4,2,9,9,1,6,2,4,0] + [8,4,9,5,3,7,3,2,4,4,4,0,4,9,1,5,3] , A=[3] , C=0 , 0+3+0=3 , A->3 , C->0
[4,1,6,3,1,4,3,6,4,2,9,9,1,6,2,4] + [8,4,9,5,3,7,3,2,4,4,4,0,4,9,1,5] , A=[3,3] , C=0 , 4+5+0=9 , A->9 , C->0
[4,1,6,3,1,4,3,6,4,2,9,9,1,6,2] + [8,4,9,5,3,7,3,2,4,4,4,0,4,9,1] , A=[9,3,3] , C=0 , 2+1+0=3 , A->3 , C->0
[4,1,6,3,1,4,3,6,4,2,9,9,1,6] + [8,4,9,5,3,7,3,2,4,4,4,0,4,9] , A=[3,9,3,3] , C=0 , 6+9+0=15 , A->5 , C->1
[4,1,6,3,1,4,3,6,4,2,9,9,1] + [8,4,9,5,3,7,3,2,4,4,4,0,4] , A=[5,3,9,3,3] , C=1 , 1+4+1=6 , A->6 , C->0
[4,1,6,3,1,4,3,6,4,2,9,9] + [8,4,9,5,3,7,3,2,4,4,4,0] , A=[6,5,3,9,3,3] , C=0 , 9+0+0=9 , A->9 , C->0
[4,1,6,3,1,4,3,6,4,2,9] + [8,4,9,5,3,7,3,2,4,4,4] , A=[9,6,5,3,9,3,3] , C=0 , 9+4+0=13 , A->3 , C->1
[4,1,6,3,1,4,3,6,4,2] + [8,4,9,5,3,7,3,2,4,4] , A=[3,9,6,5,3,9,3,3] , C=1 , 2+4+1=7 , A->7 , C->0
[4,1,6,3,1,4,3,6,4] + [8,4,9,5,3,7,3,2,4] , A=[7,3,9,6,5,3,9,3,3] , C=0 , 4+4+0=8 , A->8 , C->0
[4,1,6,3,1,4,3,6] + [8,4,9,5,3,7,3,2] , A=[8,7,3,9,6,5,3,9,3,3] , C=0 , 6+2+0=8 , A->8 , C->0
[4,1,6,3,1,4,3] + [8,4,9,5,3,7,3] , A=[8,8,7,3,9,6,5,3,9,3,3] , C=0 , 3+3+0=6 , A->6 , C->0
[4,1,6,3,1,4] + [8,4,9,5,3,7] , A=[6,8,8,7,3,9,6,5,3,9,3,3] , C=0 , 4+7+0=11 , A->1 , C->1
[4,1,6,3,1] + [8,4,9,5,3] , A=[1,6,8,8,7,3,9,6,5,3,9,3,3] , C=1 , 1+3+1=5 , A->5 , C->0
[4,1,6,3] + [8,4,9,5] , A=[5,1,6,8,8,7,3,9,6,5,3,9,3,3] , C=0 , 3+5+0=8 , A->8 , C->0
[4,1,6] + [8,4,9] , A=[8,5,1,6,8,8,7,3,9,6,5,3,9,3,3] , C=0 , 6+9+0=15 , A->5 , C->1
[4,1] + [8,4] , A=[5,8,5,1,6,8,8,7,3,9,6,5,3,9,3,3] , C=1 , 1+4+1=6 , A->6 , C->0
[4] + [8] , A=[6,5,8,5,1,6,8,8,7,3,9,6,5,3,9,3,3] , C=0 , 4+8+0=12 , A->2 , C->1
[] + [] , A=[2,6,5,8,5,1,6,8,8,7,3,9,6,5,3,9,3,3] C=1 , END
</scratch>
1265851688739653933
| 1265851688739653933 | 18 |
Input:
294222751741570719+162580720973468979
Target:
| Input:
294222751741570719+162580720973468979
Target:
[2,9,4,2,2,2,7,5,1,7,4,1,5,7,0,7,1,9] + [1,6,2,5,8,0,7,2,0,9,7,3,4,6,8,9,7,9] , A=[] , C=0 , 9+9+0=18 , A->8 , C->1
[2,9,4,2,2,2,7,5,1,7,4,1,5,7,0,7,1] + [1,6,2,5,8,0,7,2,0,9,7,3,4,6,8,9,7] , A=[8] , C=1 , 1+7+1=9 , A->9 , C->0
[2,9,4,2,2,2,7,5,1,7,4,1,5,7,0,7] + [1,6,2,5,8,0,7,2,0,9,7,3,4,6,8,9] , A=[9,8] , C=0 , 7+9+0=16 , A->6 , C->1
[2,9,4,2,2,2,7,5,1,7,4,1,5,7,0] + [1,6,2,5,8,0,7,2,0,9,7,3,4,6,8] , A=[6,9,8] , C=1 , 0+8+1=9 , A->9 , C->0
[2,9,4,2,2,2,7,5,1,7,4,1,5,7] + [1,6,2,5,8,0,7,2,0,9,7,3,4,6] , A=[9,6,9,8] , C=0 , 7+6+0=13 , A->3 , C->1
[2,9,4,2,2,2,7,5,1,7,4,1,5] + [1,6,2,5,8,0,7,2,0,9,7,3,4] , A=[3,9,6,9,8] , C=1 , 5+4+1=10 , A->0 , C->1
[2,9,4,2,2,2,7,5,1,7,4,1] + [1,6,2,5,8,0,7,2,0,9,7,3] , A=[0,3,9,6,9,8] , C=1 , 1+3+1=5 , A->5 , C->0
[2,9,4,2,2,2,7,5,1,7,4] + [1,6,2,5,8,0,7,2,0,9,7] , A=[5,0,3,9,6,9,8] , C=0 , 4+7+0=11 , A->1 , C->1
[2,9,4,2,2,2,7,5,1,7] + [1,6,2,5,8,0,7,2,0,9] , A=[1,5,0,3,9,6,9,8] , C=1 , 7+9+1=17 , A->7 , C->1
[2,9,4,2,2,2,7,5,1] + [1,6,2,5,8,0,7,2,0] , A=[7,1,5,0,3,9,6,9,8] , C=1 , 1+0+1=2 , A->2 , C->0
[2,9,4,2,2,2,7,5] + [1,6,2,5,8,0,7,2] , A=[2,7,1,5,0,3,9,6,9,8] , C=0 , 5+2+0=7 , A->7 , C->0
[2,9,4,2,2,2,7] + [1,6,2,5,8,0,7] , A=[7,2,7,1,5,0,3,9,6,9,8] , C=0 , 7+7+0=14 , A->4 , C->1
[2,9,4,2,2,2] + [1,6,2,5,8,0] , A=[4,7,2,7,1,5,0,3,9,6,9,8] , C=1 , 2+0+1=3 , A->3 , C->0
[2,9,4,2,2] + [1,6,2,5,8] , A=[3,4,7,2,7,1,5,0,3,9,6,9,8] , C=0 , 2+8+0=10 , A->0 , C->1
[2,9,4,2] + [1,6,2,5] , A=[0,3,4,7,2,7,1,5,0,3,9,6,9,8] , C=1 , 2+5+1=8 , A->8 , C->0
[2,9,4] + [1,6,2] , A=[8,0,3,4,7,2,7,1,5,0,3,9,6,9,8] , C=0 , 4+2+0=6 , A->6 , C->0
[2,9] + [1,6] , A=[6,8,0,3,4,7,2,7,1,5,0,3,9,6,9,8] , C=0 , 9+6+0=15 , A->5 , C->1
[2] + [1] , A=[5,6,8,0,3,4,7,2,7,1,5,0,3,9,6,9,8] , C=1 , 2+1+1=4 , A->4 , C->0
[] + [] , A=[4,5,6,8,0,3,4,7,2,7,1,5,0,3,9,6,9,8] C=0 , END
</scratch>
456803472715039698
| 456803472715039698 | 18 |
Input:
842612567098769721+184182373409950317
Target:
| Input:
842612567098769721+184182373409950317
Target:
[8,4,2,6,1,2,5,6,7,0,9,8,7,6,9,7,2,1] + [1,8,4,1,8,2,3,7,3,4,0,9,9,5,0,3,1,7] , A=[] , C=0 , 1+7+0=8 , A->8 , C->0
[8,4,2,6,1,2,5,6,7,0,9,8,7,6,9,7,2] + [1,8,4,1,8,2,3,7,3,4,0,9,9,5,0,3,1] , A=[8] , C=0 , 2+1+0=3 , A->3 , C->0
[8,4,2,6,1,2,5,6,7,0,9,8,7,6,9,7] + [1,8,4,1,8,2,3,7,3,4,0,9,9,5,0,3] , A=[3,8] , C=0 , 7+3+0=10 , A->0 , C->1
[8,4,2,6,1,2,5,6,7,0,9,8,7,6,9] + [1,8,4,1,8,2,3,7,3,4,0,9,9,5,0] , A=[0,3,8] , C=1 , 9+0+1=10 , A->0 , C->1
[8,4,2,6,1,2,5,6,7,0,9,8,7,6] + [1,8,4,1,8,2,3,7,3,4,0,9,9,5] , A=[0,0,3,8] , C=1 , 6+5+1=12 , A->2 , C->1
[8,4,2,6,1,2,5,6,7,0,9,8,7] + [1,8,4,1,8,2,3,7,3,4,0,9,9] , A=[2,0,0,3,8] , C=1 , 7+9+1=17 , A->7 , C->1
[8,4,2,6,1,2,5,6,7,0,9,8] + [1,8,4,1,8,2,3,7,3,4,0,9] , A=[7,2,0,0,3,8] , C=1 , 8+9+1=18 , A->8 , C->1
[8,4,2,6,1,2,5,6,7,0,9] + [1,8,4,1,8,2,3,7,3,4,0] , A=[8,7,2,0,0,3,8] , C=1 , 9+0+1=10 , A->0 , C->1
[8,4,2,6,1,2,5,6,7,0] + [1,8,4,1,8,2,3,7,3,4] , A=[0,8,7,2,0,0,3,8] , C=1 , 0+4+1=5 , A->5 , C->0
[8,4,2,6,1,2,5,6,7] + [1,8,4,1,8,2,3,7,3] , A=[5,0,8,7,2,0,0,3,8] , C=0 , 7+3+0=10 , A->0 , C->1
[8,4,2,6,1,2,5,6] + [1,8,4,1,8,2,3,7] , A=[0,5,0,8,7,2,0,0,3,8] , C=1 , 6+7+1=14 , A->4 , C->1
[8,4,2,6,1,2,5] + [1,8,4,1,8,2,3] , A=[4,0,5,0,8,7,2,0,0,3,8] , C=1 , 5+3+1=9 , A->9 , C->0
[8,4,2,6,1,2] + [1,8,4,1,8,2] , A=[9,4,0,5,0,8,7,2,0,0,3,8] , C=0 , 2+2+0=4 , A->4 , C->0
[8,4,2,6,1] + [1,8,4,1,8] , A=[4,9,4,0,5,0,8,7,2,0,0,3,8] , C=0 , 1+8+0=9 , A->9 , C->0
[8,4,2,6] + [1,8,4,1] , A=[9,4,9,4,0,5,0,8,7,2,0,0,3,8] , C=0 , 6+1+0=7 , A->7 , C->0
[8,4,2] + [1,8,4] , A=[7,9,4,9,4,0,5,0,8,7,2,0,0,3,8] , C=0 , 2+4+0=6 , A->6 , C->0
[8,4] + [1,8] , A=[6,7,9,4,9,4,0,5,0,8,7,2,0,0,3,8] , C=0 , 4+8+0=12 , A->2 , C->1
[8] + [1] , A=[2,6,7,9,4,9,4,0,5,0,8,7,2,0,0,3,8] , C=1 , 8+1+1=10 , A->0 , C->1
[] + [] , A=[0,2,6,7,9,4,9,4,0,5,0,8,7,2,0,0,3,8] C=1 , END
</scratch>
1026794940508720038
| 1026794940508720038 | 18 |
Input:
354990321844321819+834932071712212776
Target:
| Input:
354990321844321819+834932071712212776
Target:
[3,5,4,9,9,0,3,2,1,8,4,4,3,2,1,8,1,9] + [8,3,4,9,3,2,0,7,1,7,1,2,2,1,2,7,7,6] , A=[] , C=0 , 9+6+0=15 , A->5 , C->1
[3,5,4,9,9,0,3,2,1,8,4,4,3,2,1,8,1] + [8,3,4,9,3,2,0,7,1,7,1,2,2,1,2,7,7] , A=[5] , C=1 , 1+7+1=9 , A->9 , C->0
[3,5,4,9,9,0,3,2,1,8,4,4,3,2,1,8] + [8,3,4,9,3,2,0,7,1,7,1,2,2,1,2,7] , A=[9,5] , C=0 , 8+7+0=15 , A->5 , C->1
[3,5,4,9,9,0,3,2,1,8,4,4,3,2,1] + [8,3,4,9,3,2,0,7,1,7,1,2,2,1,2] , A=[5,9,5] , C=1 , 1+2+1=4 , A->4 , C->0
[3,5,4,9,9,0,3,2,1,8,4,4,3,2] + [8,3,4,9,3,2,0,7,1,7,1,2,2,1] , A=[4,5,9,5] , C=0 , 2+1+0=3 , A->3 , C->0
[3,5,4,9,9,0,3,2,1,8,4,4,3] + [8,3,4,9,3,2,0,7,1,7,1,2,2] , A=[3,4,5,9,5] , C=0 , 3+2+0=5 , A->5 , C->0
[3,5,4,9,9,0,3,2,1,8,4,4] + [8,3,4,9,3,2,0,7,1,7,1,2] , A=[5,3,4,5,9,5] , C=0 , 4+2+0=6 , A->6 , C->0
[3,5,4,9,9,0,3,2,1,8,4] + [8,3,4,9,3,2,0,7,1,7,1] , A=[6,5,3,4,5,9,5] , C=0 , 4+1+0=5 , A->5 , C->0
[3,5,4,9,9,0,3,2,1,8] + [8,3,4,9,3,2,0,7,1,7] , A=[5,6,5,3,4,5,9,5] , C=0 , 8+7+0=15 , A->5 , C->1
[3,5,4,9,9,0,3,2,1] + [8,3,4,9,3,2,0,7,1] , A=[5,5,6,5,3,4,5,9,5] , C=1 , 1+1+1=3 , A->3 , C->0
[3,5,4,9,9,0,3,2] + [8,3,4,9,3,2,0,7] , A=[3,5,5,6,5,3,4,5,9,5] , C=0 , 2+7+0=9 , A->9 , C->0
[3,5,4,9,9,0,3] + [8,3,4,9,3,2,0] , A=[9,3,5,5,6,5,3,4,5,9,5] , C=0 , 3+0+0=3 , A->3 , C->0
[3,5,4,9,9,0] + [8,3,4,9,3,2] , A=[3,9,3,5,5,6,5,3,4,5,9,5] , C=0 , 0+2+0=2 , A->2 , C->0
[3,5,4,9,9] + [8,3,4,9,3] , A=[2,3,9,3,5,5,6,5,3,4,5,9,5] , C=0 , 9+3+0=12 , A->2 , C->1
[3,5,4,9] + [8,3,4,9] , A=[2,2,3,9,3,5,5,6,5,3,4,5,9,5] , C=1 , 9+9+1=19 , A->9 , C->1
[3,5,4] + [8,3,4] , A=[9,2,2,3,9,3,5,5,6,5,3,4,5,9,5] , C=1 , 4+4+1=9 , A->9 , C->0
[3,5] + [8,3] , A=[9,9,2,2,3,9,3,5,5,6,5,3,4,5,9,5] , C=0 , 5+3+0=8 , A->8 , C->0
[3] + [8] , A=[8,9,9,2,2,3,9,3,5,5,6,5,3,4,5,9,5] , C=0 , 3+8+0=11 , A->1 , C->1
[] + [] , A=[1,8,9,9,2,2,3,9,3,5,5,6,5,3,4,5,9,5] C=1 , END
</scratch>
1189922393556534595
| 1189922393556534595 | 18 |
Input:
320381066338710805+340389640182300189
Target:
| Input:
320381066338710805+340389640182300189
Target:
[3,2,0,3,8,1,0,6,6,3,3,8,7,1,0,8,0,5] + [3,4,0,3,8,9,6,4,0,1,8,2,3,0,0,1,8,9] , A=[] , C=0 , 5+9+0=14 , A->4 , C->1
[3,2,0,3,8,1,0,6,6,3,3,8,7,1,0,8,0] + [3,4,0,3,8,9,6,4,0,1,8,2,3,0,0,1,8] , A=[4] , C=1 , 0+8+1=9 , A->9 , C->0
[3,2,0,3,8,1,0,6,6,3,3,8,7,1,0,8] + [3,4,0,3,8,9,6,4,0,1,8,2,3,0,0,1] , A=[9,4] , C=0 , 8+1+0=9 , A->9 , C->0
[3,2,0,3,8,1,0,6,6,3,3,8,7,1,0] + [3,4,0,3,8,9,6,4,0,1,8,2,3,0,0] , A=[9,9,4] , C=0 , 0+0+0=0 , A->0 , C->0
[3,2,0,3,8,1,0,6,6,3,3,8,7,1] + [3,4,0,3,8,9,6,4,0,1,8,2,3,0] , A=[0,9,9,4] , C=0 , 1+0+0=1 , A->1 , C->0
[3,2,0,3,8,1,0,6,6,3,3,8,7] + [3,4,0,3,8,9,6,4,0,1,8,2,3] , A=[1,0,9,9,4] , C=0 , 7+3+0=10 , A->0 , C->1
[3,2,0,3,8,1,0,6,6,3,3,8] + [3,4,0,3,8,9,6,4,0,1,8,2] , A=[0,1,0,9,9,4] , C=1 , 8+2+1=11 , A->1 , C->1
[3,2,0,3,8,1,0,6,6,3,3] + [3,4,0,3,8,9,6,4,0,1,8] , A=[1,0,1,0,9,9,4] , C=1 , 3+8+1=12 , A->2 , C->1
[3,2,0,3,8,1,0,6,6,3] + [3,4,0,3,8,9,6,4,0,1] , A=[2,1,0,1,0,9,9,4] , C=1 , 3+1+1=5 , A->5 , C->0
[3,2,0,3,8,1,0,6,6] + [3,4,0,3,8,9,6,4,0] , A=[5,2,1,0,1,0,9,9,4] , C=0 , 6+0+0=6 , A->6 , C->0
[3,2,0,3,8,1,0,6] + [3,4,0,3,8,9,6,4] , A=[6,5,2,1,0,1,0,9,9,4] , C=0 , 6+4+0=10 , A->0 , C->1
[3,2,0,3,8,1,0] + [3,4,0,3,8,9,6] , A=[0,6,5,2,1,0,1,0,9,9,4] , C=1 , 0+6+1=7 , A->7 , C->0
[3,2,0,3,8,1] + [3,4,0,3,8,9] , A=[7,0,6,5,2,1,0,1,0,9,9,4] , C=0 , 1+9+0=10 , A->0 , C->1
[3,2,0,3,8] + [3,4,0,3,8] , A=[0,7,0,6,5,2,1,0,1,0,9,9,4] , C=1 , 8+8+1=17 , A->7 , C->1
[3,2,0,3] + [3,4,0,3] , A=[7,0,7,0,6,5,2,1,0,1,0,9,9,4] , C=1 , 3+3+1=7 , A->7 , C->0
[3,2,0] + [3,4,0] , A=[7,7,0,7,0,6,5,2,1,0,1,0,9,9,4] , C=0 , 0+0+0=0 , A->0 , C->0
[3,2] + [3,4] , A=[0,7,7,0,7,0,6,5,2,1,0,1,0,9,9,4] , C=0 , 2+4+0=6 , A->6 , C->0
[3] + [3] , A=[6,0,7,7,0,7,0,6,5,2,1,0,1,0,9,9,4] , C=0 , 3+3+0=6 , A->6 , C->0
[] + [] , A=[6,6,0,7,7,0,7,0,6,5,2,1,0,1,0,9,9,4] C=0 , END
</scratch>
660770706521010994
| 660770706521010994 | 18 |
Input:
541467355571978083+443243792692318777
Target:
| Input:
541467355571978083+443243792692318777
Target:
[5,4,1,4,6,7,3,5,5,5,7,1,9,7,8,0,8,3] + [4,4,3,2,4,3,7,9,2,6,9,2,3,1,8,7,7,7] , A=[] , C=0 , 3+7+0=10 , A->0 , C->1
[5,4,1,4,6,7,3,5,5,5,7,1,9,7,8,0,8] + [4,4,3,2,4,3,7,9,2,6,9,2,3,1,8,7,7] , A=[0] , C=1 , 8+7+1=16 , A->6 , C->1
[5,4,1,4,6,7,3,5,5,5,7,1,9,7,8,0] + [4,4,3,2,4,3,7,9,2,6,9,2,3,1,8,7] , A=[6,0] , C=1 , 0+7+1=8 , A->8 , C->0
[5,4,1,4,6,7,3,5,5,5,7,1,9,7,8] + [4,4,3,2,4,3,7,9,2,6,9,2,3,1,8] , A=[8,6,0] , C=0 , 8+8+0=16 , A->6 , C->1
[5,4,1,4,6,7,3,5,5,5,7,1,9,7] + [4,4,3,2,4,3,7,9,2,6,9,2,3,1] , A=[6,8,6,0] , C=1 , 7+1+1=9 , A->9 , C->0
[5,4,1,4,6,7,3,5,5,5,7,1,9] + [4,4,3,2,4,3,7,9,2,6,9,2,3] , A=[9,6,8,6,0] , C=0 , 9+3+0=12 , A->2 , C->1
[5,4,1,4,6,7,3,5,5,5,7,1] + [4,4,3,2,4,3,7,9,2,6,9,2] , A=[2,9,6,8,6,0] , C=1 , 1+2+1=4 , A->4 , C->0
[5,4,1,4,6,7,3,5,5,5,7] + [4,4,3,2,4,3,7,9,2,6,9] , A=[4,2,9,6,8,6,0] , C=0 , 7+9+0=16 , A->6 , C->1
[5,4,1,4,6,7,3,5,5,5] + [4,4,3,2,4,3,7,9,2,6] , A=[6,4,2,9,6,8,6,0] , C=1 , 5+6+1=12 , A->2 , C->1
[5,4,1,4,6,7,3,5,5] + [4,4,3,2,4,3,7,9,2] , A=[2,6,4,2,9,6,8,6,0] , C=1 , 5+2+1=8 , A->8 , C->0
[5,4,1,4,6,7,3,5] + [4,4,3,2,4,3,7,9] , A=[8,2,6,4,2,9,6,8,6,0] , C=0 , 5+9+0=14 , A->4 , C->1
[5,4,1,4,6,7,3] + [4,4,3,2,4,3,7] , A=[4,8,2,6,4,2,9,6,8,6,0] , C=1 , 3+7+1=11 , A->1 , C->1
[5,4,1,4,6,7] + [4,4,3,2,4,3] , A=[1,4,8,2,6,4,2,9,6,8,6,0] , C=1 , 7+3+1=11 , A->1 , C->1
[5,4,1,4,6] + [4,4,3,2,4] , A=[1,1,4,8,2,6,4,2,9,6,8,6,0] , C=1 , 6+4+1=11 , A->1 , C->1
[5,4,1,4] + [4,4,3,2] , A=[1,1,1,4,8,2,6,4,2,9,6,8,6,0] , C=1 , 4+2+1=7 , A->7 , C->0
[5,4,1] + [4,4,3] , A=[7,1,1,1,4,8,2,6,4,2,9,6,8,6,0] , C=0 , 1+3+0=4 , A->4 , C->0
[5,4] + [4,4] , A=[4,7,1,1,1,4,8,2,6,4,2,9,6,8,6,0] , C=0 , 4+4+0=8 , A->8 , C->0
[5] + [4] , A=[8,4,7,1,1,1,4,8,2,6,4,2,9,6,8,6,0] , C=0 , 5+4+0=9 , A->9 , C->0
[] + [] , A=[9,8,4,7,1,1,1,4,8,2,6,4,2,9,6,8,6,0] C=0 , END
</scratch>
984711148264296860
| 984711148264296860 | 18 |
Input:
969145294370929721+692667108527489599
Target:
| Input:
969145294370929721+692667108527489599
Target:
[9,6,9,1,4,5,2,9,4,3,7,0,9,2,9,7,2,1] + [6,9,2,6,6,7,1,0,8,5,2,7,4,8,9,5,9,9] , A=[] , C=0 , 1+9+0=10 , A->0 , C->1
[9,6,9,1,4,5,2,9,4,3,7,0,9,2,9,7,2] + [6,9,2,6,6,7,1,0,8,5,2,7,4,8,9,5,9] , A=[0] , C=1 , 2+9+1=12 , A->2 , C->1
[9,6,9,1,4,5,2,9,4,3,7,0,9,2,9,7] + [6,9,2,6,6,7,1,0,8,5,2,7,4,8,9,5] , A=[2,0] , C=1 , 7+5+1=13 , A->3 , C->1
[9,6,9,1,4,5,2,9,4,3,7,0,9,2,9] + [6,9,2,6,6,7,1,0,8,5,2,7,4,8,9] , A=[3,2,0] , C=1 , 9+9+1=19 , A->9 , C->1
[9,6,9,1,4,5,2,9,4,3,7,0,9,2] + [6,9,2,6,6,7,1,0,8,5,2,7,4,8] , A=[9,3,2,0] , C=1 , 2+8+1=11 , A->1 , C->1
[9,6,9,1,4,5,2,9,4,3,7,0,9] + [6,9,2,6,6,7,1,0,8,5,2,7,4] , A=[1,9,3,2,0] , C=1 , 9+4+1=14 , A->4 , C->1
[9,6,9,1,4,5,2,9,4,3,7,0] + [6,9,2,6,6,7,1,0,8,5,2,7] , A=[4,1,9,3,2,0] , C=1 , 0+7+1=8 , A->8 , C->0
[9,6,9,1,4,5,2,9,4,3,7] + [6,9,2,6,6,7,1,0,8,5,2] , A=[8,4,1,9,3,2,0] , C=0 , 7+2+0=9 , A->9 , C->0
[9,6,9,1,4,5,2,9,4,3] + [6,9,2,6,6,7,1,0,8,5] , A=[9,8,4,1,9,3,2,0] , C=0 , 3+5+0=8 , A->8 , C->0
[9,6,9,1,4,5,2,9,4] + [6,9,2,6,6,7,1,0,8] , A=[8,9,8,4,1,9,3,2,0] , C=0 , 4+8+0=12 , A->2 , C->1
[9,6,9,1,4,5,2,9] + [6,9,2,6,6,7,1,0] , A=[2,8,9,8,4,1,9,3,2,0] , C=1 , 9+0+1=10 , A->0 , C->1
[9,6,9,1,4,5,2] + [6,9,2,6,6,7,1] , A=[0,2,8,9,8,4,1,9,3,2,0] , C=1 , 2+1+1=4 , A->4 , C->0
[9,6,9,1,4,5] + [6,9,2,6,6,7] , A=[4,0,2,8,9,8,4,1,9,3,2,0] , C=0 , 5+7+0=12 , A->2 , C->1
[9,6,9,1,4] + [6,9,2,6,6] , A=[2,4,0,2,8,9,8,4,1,9,3,2,0] , C=1 , 4+6+1=11 , A->1 , C->1
[9,6,9,1] + [6,9,2,6] , A=[1,2,4,0,2,8,9,8,4,1,9,3,2,0] , C=1 , 1+6+1=8 , A->8 , C->0
[9,6,9] + [6,9,2] , A=[8,1,2,4,0,2,8,9,8,4,1,9,3,2,0] , C=0 , 9+2+0=11 , A->1 , C->1
[9,6] + [6,9] , A=[1,8,1,2,4,0,2,8,9,8,4,1,9,3,2,0] , C=1 , 6+9+1=16 , A->6 , C->1
[9] + [6] , A=[6,1,8,1,2,4,0,2,8,9,8,4,1,9,3,2,0] , C=1 , 9+6+1=16 , A->6 , C->1
[] + [] , A=[6,6,1,8,1,2,4,0,2,8,9,8,4,1,9,3,2,0] C=1 , END
</scratch>
1661812402898419320
| 1661812402898419320 | 18 |
Input:
815482136347690430+533046254389565279
Target:
| Input:
815482136347690430+533046254389565279
Target:
[8,1,5,4,8,2,1,3,6,3,4,7,6,9,0,4,3,0] + [5,3,3,0,4,6,2,5,4,3,8,9,5,6,5,2,7,9] , A=[] , C=0 , 0+9+0=9 , A->9 , C->0
[8,1,5,4,8,2,1,3,6,3,4,7,6,9,0,4,3] + [5,3,3,0,4,6,2,5,4,3,8,9,5,6,5,2,7] , A=[9] , C=0 , 3+7+0=10 , A->0 , C->1
[8,1,5,4,8,2,1,3,6,3,4,7,6,9,0,4] + [5,3,3,0,4,6,2,5,4,3,8,9,5,6,5,2] , A=[0,9] , C=1 , 4+2+1=7 , A->7 , C->0
[8,1,5,4,8,2,1,3,6,3,4,7,6,9,0] + [5,3,3,0,4,6,2,5,4,3,8,9,5,6,5] , A=[7,0,9] , C=0 , 0+5+0=5 , A->5 , C->0
[8,1,5,4,8,2,1,3,6,3,4,7,6,9] + [5,3,3,0,4,6,2,5,4,3,8,9,5,6] , A=[5,7,0,9] , C=0 , 9+6+0=15 , A->5 , C->1
[8,1,5,4,8,2,1,3,6,3,4,7,6] + [5,3,3,0,4,6,2,5,4,3,8,9,5] , A=[5,5,7,0,9] , C=1 , 6+5+1=12 , A->2 , C->1
[8,1,5,4,8,2,1,3,6,3,4,7] + [5,3,3,0,4,6,2,5,4,3,8,9] , A=[2,5,5,7,0,9] , C=1 , 7+9+1=17 , A->7 , C->1
[8,1,5,4,8,2,1,3,6,3,4] + [5,3,3,0,4,6,2,5,4,3,8] , A=[7,2,5,5,7,0,9] , C=1 , 4+8+1=13 , A->3 , C->1
[8,1,5,4,8,2,1,3,6,3] + [5,3,3,0,4,6,2,5,4,3] , A=[3,7,2,5,5,7,0,9] , C=1 , 3+3+1=7 , A->7 , C->0
[8,1,5,4,8,2,1,3,6] + [5,3,3,0,4,6,2,5,4] , A=[7,3,7,2,5,5,7,0,9] , C=0 , 6+4+0=10 , A->0 , C->1
[8,1,5,4,8,2,1,3] + [5,3,3,0,4,6,2,5] , A=[0,7,3,7,2,5,5,7,0,9] , C=1 , 3+5+1=9 , A->9 , C->0
[8,1,5,4,8,2,1] + [5,3,3,0,4,6,2] , A=[9,0,7,3,7,2,5,5,7,0,9] , C=0 , 1+2+0=3 , A->3 , C->0
[8,1,5,4,8,2] + [5,3,3,0,4,6] , A=[3,9,0,7,3,7,2,5,5,7,0,9] , C=0 , 2+6+0=8 , A->8 , C->0
[8,1,5,4,8] + [5,3,3,0,4] , A=[8,3,9,0,7,3,7,2,5,5,7,0,9] , C=0 , 8+4+0=12 , A->2 , C->1
[8,1,5,4] + [5,3,3,0] , A=[2,8,3,9,0,7,3,7,2,5,5,7,0,9] , C=1 , 4+0+1=5 , A->5 , C->0
[8,1,5] + [5,3,3] , A=[5,2,8,3,9,0,7,3,7,2,5,5,7,0,9] , C=0 , 5+3+0=8 , A->8 , C->0
[8,1] + [5,3] , A=[8,5,2,8,3,9,0,7,3,7,2,5,5,7,0,9] , C=0 , 1+3+0=4 , A->4 , C->0
[8] + [5] , A=[4,8,5,2,8,3,9,0,7,3,7,2,5,5,7,0,9] , C=0 , 8+5+0=13 , A->3 , C->1
[] + [] , A=[3,4,8,5,2,8,3,9,0,7,3,7,2,5,5,7,0,9] C=1 , END
</scratch>
1348528390737255709
| 1348528390737255709 | 18 |
Input:
107337846388451364+767235720212970923
Target:
| Input:
107337846388451364+767235720212970923
Target:
[1,0,7,3,3,7,8,4,6,3,8,8,4,5,1,3,6,4] + [7,6,7,2,3,5,7,2,0,2,1,2,9,7,0,9,2,3] , A=[] , C=0 , 4+3+0=7 , A->7 , C->0
[1,0,7,3,3,7,8,4,6,3,8,8,4,5,1,3,6] + [7,6,7,2,3,5,7,2,0,2,1,2,9,7,0,9,2] , A=[7] , C=0 , 6+2+0=8 , A->8 , C->0
[1,0,7,3,3,7,8,4,6,3,8,8,4,5,1,3] + [7,6,7,2,3,5,7,2,0,2,1,2,9,7,0,9] , A=[8,7] , C=0 , 3+9+0=12 , A->2 , C->1
[1,0,7,3,3,7,8,4,6,3,8,8,4,5,1] + [7,6,7,2,3,5,7,2,0,2,1,2,9,7,0] , A=[2,8,7] , C=1 , 1+0+1=2 , A->2 , C->0
[1,0,7,3,3,7,8,4,6,3,8,8,4,5] + [7,6,7,2,3,5,7,2,0,2,1,2,9,7] , A=[2,2,8,7] , C=0 , 5+7+0=12 , A->2 , C->1
[1,0,7,3,3,7,8,4,6,3,8,8,4] + [7,6,7,2,3,5,7,2,0,2,1,2,9] , A=[2,2,2,8,7] , C=1 , 4+9+1=14 , A->4 , C->1
[1,0,7,3,3,7,8,4,6,3,8,8] + [7,6,7,2,3,5,7,2,0,2,1,2] , A=[4,2,2,2,8,7] , C=1 , 8+2+1=11 , A->1 , C->1
[1,0,7,3,3,7,8,4,6,3,8] + [7,6,7,2,3,5,7,2,0,2,1] , A=[1,4,2,2,2,8,7] , C=1 , 8+1+1=10 , A->0 , C->1
[1,0,7,3,3,7,8,4,6,3] + [7,6,7,2,3,5,7,2,0,2] , A=[0,1,4,2,2,2,8,7] , C=1 , 3+2+1=6 , A->6 , C->0
[1,0,7,3,3,7,8,4,6] + [7,6,7,2,3,5,7,2,0] , A=[6,0,1,4,2,2,2,8,7] , C=0 , 6+0+0=6 , A->6 , C->0
[1,0,7,3,3,7,8,4] + [7,6,7,2,3,5,7,2] , A=[6,6,0,1,4,2,2,2,8,7] , C=0 , 4+2+0=6 , A->6 , C->0
[1,0,7,3,3,7,8] + [7,6,7,2,3,5,7] , A=[6,6,6,0,1,4,2,2,2,8,7] , C=0 , 8+7+0=15 , A->5 , C->1
[1,0,7,3,3,7] + [7,6,7,2,3,5] , A=[5,6,6,6,0,1,4,2,2,2,8,7] , C=1 , 7+5+1=13 , A->3 , C->1
[1,0,7,3,3] + [7,6,7,2,3] , A=[3,5,6,6,6,0,1,4,2,2,2,8,7] , C=1 , 3+3+1=7 , A->7 , C->0
[1,0,7,3] + [7,6,7,2] , A=[7,3,5,6,6,6,0,1,4,2,2,2,8,7] , C=0 , 3+2+0=5 , A->5 , C->0
[1,0,7] + [7,6,7] , A=[5,7,3,5,6,6,6,0,1,4,2,2,2,8,7] , C=0 , 7+7+0=14 , A->4 , C->1
[1,0] + [7,6] , A=[4,5,7,3,5,6,6,6,0,1,4,2,2,2,8,7] , C=1 , 0+6+1=7 , A->7 , C->0
[1] + [7] , A=[7,4,5,7,3,5,6,6,6,0,1,4,2,2,2,8,7] , C=0 , 1+7+0=8 , A->8 , C->0
[] + [] , A=[8,7,4,5,7,3,5,6,6,6,0,1,4,2,2,2,8,7] C=0 , END
</scratch>
874573566601422287
| 874573566601422287 | 18 |
Input:
586931220933997421+480302230042260961
Target:
| Input:
586931220933997421+480302230042260961
Target:
[5,8,6,9,3,1,2,2,0,9,3,3,9,9,7,4,2,1] + [4,8,0,3,0,2,2,3,0,0,4,2,2,6,0,9,6,1] , A=[] , C=0 , 1+1+0=2 , A->2 , C->0
[5,8,6,9,3,1,2,2,0,9,3,3,9,9,7,4,2] + [4,8,0,3,0,2,2,3,0,0,4,2,2,6,0,9,6] , A=[2] , C=0 , 2+6+0=8 , A->8 , C->0
[5,8,6,9,3,1,2,2,0,9,3,3,9,9,7,4] + [4,8,0,3,0,2,2,3,0,0,4,2,2,6,0,9] , A=[8,2] , C=0 , 4+9+0=13 , A->3 , C->1
[5,8,6,9,3,1,2,2,0,9,3,3,9,9,7] + [4,8,0,3,0,2,2,3,0,0,4,2,2,6,0] , A=[3,8,2] , C=1 , 7+0+1=8 , A->8 , C->0
[5,8,6,9,3,1,2,2,0,9,3,3,9,9] + [4,8,0,3,0,2,2,3,0,0,4,2,2,6] , A=[8,3,8,2] , C=0 , 9+6+0=15 , A->5 , C->1
[5,8,6,9,3,1,2,2,0,9,3,3,9] + [4,8,0,3,0,2,2,3,0,0,4,2,2] , A=[5,8,3,8,2] , C=1 , 9+2+1=12 , A->2 , C->1
[5,8,6,9,3,1,2,2,0,9,3,3] + [4,8,0,3,0,2,2,3,0,0,4,2] , A=[2,5,8,3,8,2] , C=1 , 3+2+1=6 , A->6 , C->0
[5,8,6,9,3,1,2,2,0,9,3] + [4,8,0,3,0,2,2,3,0,0,4] , A=[6,2,5,8,3,8,2] , C=0 , 3+4+0=7 , A->7 , C->0
[5,8,6,9,3,1,2,2,0,9] + [4,8,0,3,0,2,2,3,0,0] , A=[7,6,2,5,8,3,8,2] , C=0 , 9+0+0=9 , A->9 , C->0
[5,8,6,9,3,1,2,2,0] + [4,8,0,3,0,2,2,3,0] , A=[9,7,6,2,5,8,3,8,2] , C=0 , 0+0+0=0 , A->0 , C->0
[5,8,6,9,3,1,2,2] + [4,8,0,3,0,2,2,3] , A=[0,9,7,6,2,5,8,3,8,2] , C=0 , 2+3+0=5 , A->5 , C->0
[5,8,6,9,3,1,2] + [4,8,0,3,0,2,2] , A=[5,0,9,7,6,2,5,8,3,8,2] , C=0 , 2+2+0=4 , A->4 , C->0
[5,8,6,9,3,1] + [4,8,0,3,0,2] , A=[4,5,0,9,7,6,2,5,8,3,8,2] , C=0 , 1+2+0=3 , A->3 , C->0
[5,8,6,9,3] + [4,8,0,3,0] , A=[3,4,5,0,9,7,6,2,5,8,3,8,2] , C=0 , 3+0+0=3 , A->3 , C->0
[5,8,6,9] + [4,8,0,3] , A=[3,3,4,5,0,9,7,6,2,5,8,3,8,2] , C=0 , 9+3+0=12 , A->2 , C->1
[5,8,6] + [4,8,0] , A=[2,3,3,4,5,0,9,7,6,2,5,8,3,8,2] , C=1 , 6+0+1=7 , A->7 , C->0
[5,8] + [4,8] , A=[7,2,3,3,4,5,0,9,7,6,2,5,8,3,8,2] , C=0 , 8+8+0=16 , A->6 , C->1
[5] + [4] , A=[6,7,2,3,3,4,5,0,9,7,6,2,5,8,3,8,2] , C=1 , 5+4+1=10 , A->0 , C->1
[] + [] , A=[0,6,7,2,3,3,4,5,0,9,7,6,2,5,8,3,8,2] C=1 , END
</scratch>
1067233450976258382
| 1067233450976258382 | 18 |
Input:
286899446920833488+728135533490410006
Target:
| Input:
286899446920833488+728135533490410006
Target:
[2,8,6,8,9,9,4,4,6,9,2,0,8,3,3,4,8,8] + [7,2,8,1,3,5,5,3,3,4,9,0,4,1,0,0,0,6] , A=[] , C=0 , 8+6+0=14 , A->4 , C->1
[2,8,6,8,9,9,4,4,6,9,2,0,8,3,3,4,8] + [7,2,8,1,3,5,5,3,3,4,9,0,4,1,0,0,0] , A=[4] , C=1 , 8+0+1=9 , A->9 , C->0
[2,8,6,8,9,9,4,4,6,9,2,0,8,3,3,4] + [7,2,8,1,3,5,5,3,3,4,9,0,4,1,0,0] , A=[9,4] , C=0 , 4+0+0=4 , A->4 , C->0
[2,8,6,8,9,9,4,4,6,9,2,0,8,3,3] + [7,2,8,1,3,5,5,3,3,4,9,0,4,1,0] , A=[4,9,4] , C=0 , 3+0+0=3 , A->3 , C->0
[2,8,6,8,9,9,4,4,6,9,2,0,8,3] + [7,2,8,1,3,5,5,3,3,4,9,0,4,1] , A=[3,4,9,4] , C=0 , 3+1+0=4 , A->4 , C->0
[2,8,6,8,9,9,4,4,6,9,2,0,8] + [7,2,8,1,3,5,5,3,3,4,9,0,4] , A=[4,3,4,9,4] , C=0 , 8+4+0=12 , A->2 , C->1
[2,8,6,8,9,9,4,4,6,9,2,0] + [7,2,8,1,3,5,5,3,3,4,9,0] , A=[2,4,3,4,9,4] , C=1 , 0+0+1=1 , A->1 , C->0
[2,8,6,8,9,9,4,4,6,9,2] + [7,2,8,1,3,5,5,3,3,4,9] , A=[1,2,4,3,4,9,4] , C=0 , 2+9+0=11 , A->1 , C->1
[2,8,6,8,9,9,4,4,6,9] + [7,2,8,1,3,5,5,3,3,4] , A=[1,1,2,4,3,4,9,4] , C=1 , 9+4+1=14 , A->4 , C->1
[2,8,6,8,9,9,4,4,6] + [7,2,8,1,3,5,5,3,3] , A=[4,1,1,2,4,3,4,9,4] , C=1 , 6+3+1=10 , A->0 , C->1
[2,8,6,8,9,9,4,4] + [7,2,8,1,3,5,5,3] , A=[0,4,1,1,2,4,3,4,9,4] , C=1 , 4+3+1=8 , A->8 , C->0
[2,8,6,8,9,9,4] + [7,2,8,1,3,5,5] , A=[8,0,4,1,1,2,4,3,4,9,4] , C=0 , 4+5+0=9 , A->9 , C->0
[2,8,6,8,9,9] + [7,2,8,1,3,5] , A=[9,8,0,4,1,1,2,4,3,4,9,4] , C=0 , 9+5+0=14 , A->4 , C->1
[2,8,6,8,9] + [7,2,8,1,3] , A=[4,9,8,0,4,1,1,2,4,3,4,9,4] , C=1 , 9+3+1=13 , A->3 , C->1
[2,8,6,8] + [7,2,8,1] , A=[3,4,9,8,0,4,1,1,2,4,3,4,9,4] , C=1 , 8+1+1=10 , A->0 , C->1
[2,8,6] + [7,2,8] , A=[0,3,4,9,8,0,4,1,1,2,4,3,4,9,4] , C=1 , 6+8+1=15 , A->5 , C->1
[2,8] + [7,2] , A=[5,0,3,4,9,8,0,4,1,1,2,4,3,4,9,4] , C=1 , 8+2+1=11 , A->1 , C->1
[2] + [7] , A=[1,5,0,3,4,9,8,0,4,1,1,2,4,3,4,9,4] , C=1 , 2+7+1=10 , A->0 , C->1
[] + [] , A=[0,1,5,0,3,4,9,8,0,4,1,1,2,4,3,4,9,4] C=1 , END
</scratch>
1015034980411243494
| 1015034980411243494 | 18 |
Input:
961312233851488061+878485773898518600
Target:
| Input:
961312233851488061+878485773898518600
Target:
[9,6,1,3,1,2,2,3,3,8,5,1,4,8,8,0,6,1] + [8,7,8,4,8,5,7,7,3,8,9,8,5,1,8,6,0,0] , A=[] , C=0 , 1+0+0=1 , A->1 , C->0
[9,6,1,3,1,2,2,3,3,8,5,1,4,8,8,0,6] + [8,7,8,4,8,5,7,7,3,8,9,8,5,1,8,6,0] , A=[1] , C=0 , 6+0+0=6 , A->6 , C->0
[9,6,1,3,1,2,2,3,3,8,5,1,4,8,8,0] + [8,7,8,4,8,5,7,7,3,8,9,8,5,1,8,6] , A=[6,1] , C=0 , 0+6+0=6 , A->6 , C->0
[9,6,1,3,1,2,2,3,3,8,5,1,4,8,8] + [8,7,8,4,8,5,7,7,3,8,9,8,5,1,8] , A=[6,6,1] , C=0 , 8+8+0=16 , A->6 , C->1
[9,6,1,3,1,2,2,3,3,8,5,1,4,8] + [8,7,8,4,8,5,7,7,3,8,9,8,5,1] , A=[6,6,6,1] , C=1 , 8+1+1=10 , A->0 , C->1
[9,6,1,3,1,2,2,3,3,8,5,1,4] + [8,7,8,4,8,5,7,7,3,8,9,8,5] , A=[0,6,6,6,1] , C=1 , 4+5+1=10 , A->0 , C->1
[9,6,1,3,1,2,2,3,3,8,5,1] + [8,7,8,4,8,5,7,7,3,8,9,8] , A=[0,0,6,6,6,1] , C=1 , 1+8+1=10 , A->0 , C->1
[9,6,1,3,1,2,2,3,3,8,5] + [8,7,8,4,8,5,7,7,3,8,9] , A=[0,0,0,6,6,6,1] , C=1 , 5+9+1=15 , A->5 , C->1
[9,6,1,3,1,2,2,3,3,8] + [8,7,8,4,8,5,7,7,3,8] , A=[5,0,0,0,6,6,6,1] , C=1 , 8+8+1=17 , A->7 , C->1
[9,6,1,3,1,2,2,3,3] + [8,7,8,4,8,5,7,7,3] , A=[7,5,0,0,0,6,6,6,1] , C=1 , 3+3+1=7 , A->7 , C->0
[9,6,1,3,1,2,2,3] + [8,7,8,4,8,5,7,7] , A=[7,7,5,0,0,0,6,6,6,1] , C=0 , 3+7+0=10 , A->0 , C->1
[9,6,1,3,1,2,2] + [8,7,8,4,8,5,7] , A=[0,7,7,5,0,0,0,6,6,6,1] , C=1 , 2+7+1=10 , A->0 , C->1
[9,6,1,3,1,2] + [8,7,8,4,8,5] , A=[0,0,7,7,5,0,0,0,6,6,6,1] , C=1 , 2+5+1=8 , A->8 , C->0
[9,6,1,3,1] + [8,7,8,4,8] , A=[8,0,0,7,7,5,0,0,0,6,6,6,1] , C=0 , 1+8+0=9 , A->9 , C->0
[9,6,1,3] + [8,7,8,4] , A=[9,8,0,0,7,7,5,0,0,0,6,6,6,1] , C=0 , 3+4+0=7 , A->7 , C->0
[9,6,1] + [8,7,8] , A=[7,9,8,0,0,7,7,5,0,0,0,6,6,6,1] , C=0 , 1+8+0=9 , A->9 , C->0
[9,6] + [8,7] , A=[9,7,9,8,0,0,7,7,5,0,0,0,6,6,6,1] , C=0 , 6+7+0=13 , A->3 , C->1
[9] + [8] , A=[3,9,7,9,8,0,0,7,7,5,0,0,0,6,6,6,1] , C=1 , 9+8+1=18 , A->8 , C->1
[] + [] , A=[8,3,9,7,9,8,0,0,7,7,5,0,0,0,6,6,6,1] C=1 , END
</scratch>
1839798007750006661
| 1839798007750006661 | 18 |
Input:
578731999529265729+467650480802154639
Target:
| Input:
578731999529265729+467650480802154639
Target:
[5,7,8,7,3,1,9,9,9,5,2,9,2,6,5,7,2,9] + [4,6,7,6,5,0,4,8,0,8,0,2,1,5,4,6,3,9] , A=[] , C=0 , 9+9+0=18 , A->8 , C->1
[5,7,8,7,3,1,9,9,9,5,2,9,2,6,5,7,2] + [4,6,7,6,5,0,4,8,0,8,0,2,1,5,4,6,3] , A=[8] , C=1 , 2+3+1=6 , A->6 , C->0
[5,7,8,7,3,1,9,9,9,5,2,9,2,6,5,7] + [4,6,7,6,5,0,4,8,0,8,0,2,1,5,4,6] , A=[6,8] , C=0 , 7+6+0=13 , A->3 , C->1
[5,7,8,7,3,1,9,9,9,5,2,9,2,6,5] + [4,6,7,6,5,0,4,8,0,8,0,2,1,5,4] , A=[3,6,8] , C=1 , 5+4+1=10 , A->0 , C->1
[5,7,8,7,3,1,9,9,9,5,2,9,2,6] + [4,6,7,6,5,0,4,8,0,8,0,2,1,5] , A=[0,3,6,8] , C=1 , 6+5+1=12 , A->2 , C->1
[5,7,8,7,3,1,9,9,9,5,2,9,2] + [4,6,7,6,5,0,4,8,0,8,0,2,1] , A=[2,0,3,6,8] , C=1 , 2+1+1=4 , A->4 , C->0
[5,7,8,7,3,1,9,9,9,5,2,9] + [4,6,7,6,5,0,4,8,0,8,0,2] , A=[4,2,0,3,6,8] , C=0 , 9+2+0=11 , A->1 , C->1
[5,7,8,7,3,1,9,9,9,5,2] + [4,6,7,6,5,0,4,8,0,8,0] , A=[1,4,2,0,3,6,8] , C=1 , 2+0+1=3 , A->3 , C->0
[5,7,8,7,3,1,9,9,9,5] + [4,6,7,6,5,0,4,8,0,8] , A=[3,1,4,2,0,3,6,8] , C=0 , 5+8+0=13 , A->3 , C->1
[5,7,8,7,3,1,9,9,9] + [4,6,7,6,5,0,4,8,0] , A=[3,3,1,4,2,0,3,6,8] , C=1 , 9+0+1=10 , A->0 , C->1
[5,7,8,7,3,1,9,9] + [4,6,7,6,5,0,4,8] , A=[0,3,3,1,4,2,0,3,6,8] , C=1 , 9+8+1=18 , A->8 , C->1
[5,7,8,7,3,1,9] + [4,6,7,6,5,0,4] , A=[8,0,3,3,1,4,2,0,3,6,8] , C=1 , 9+4+1=14 , A->4 , C->1
[5,7,8,7,3,1] + [4,6,7,6,5,0] , A=[4,8,0,3,3,1,4,2,0,3,6,8] , C=1 , 1+0+1=2 , A->2 , C->0
[5,7,8,7,3] + [4,6,7,6,5] , A=[2,4,8,0,3,3,1,4,2,0,3,6,8] , C=0 , 3+5+0=8 , A->8 , C->0
[5,7,8,7] + [4,6,7,6] , A=[8,2,4,8,0,3,3,1,4,2,0,3,6,8] , C=0 , 7+6+0=13 , A->3 , C->1
[5,7,8] + [4,6,7] , A=[3,8,2,4,8,0,3,3,1,4,2,0,3,6,8] , C=1 , 8+7+1=16 , A->6 , C->1
[5,7] + [4,6] , A=[6,3,8,2,4,8,0,3,3,1,4,2,0,3,6,8] , C=1 , 7+6+1=14 , A->4 , C->1
[5] + [4] , A=[4,6,3,8,2,4,8,0,3,3,1,4,2,0,3,6,8] , C=1 , 5+4+1=10 , A->0 , C->1
[] + [] , A=[0,4,6,3,8,2,4,8,0,3,3,1,4,2,0,3,6,8] C=1 , END
</scratch>
1046382480331420368
| 1046382480331420368 | 18 |
Input:
246202688405130448+680684788532436895
Target:
| Input:
246202688405130448+680684788532436895
Target:
[2,4,6,2,0,2,6,8,8,4,0,5,1,3,0,4,4,8] + [6,8,0,6,8,4,7,8,8,5,3,2,4,3,6,8,9,5] , A=[] , C=0 , 8+5+0=13 , A->3 , C->1
[2,4,6,2,0,2,6,8,8,4,0,5,1,3,0,4,4] + [6,8,0,6,8,4,7,8,8,5,3,2,4,3,6,8,9] , A=[3] , C=1 , 4+9+1=14 , A->4 , C->1
[2,4,6,2,0,2,6,8,8,4,0,5,1,3,0,4] + [6,8,0,6,8,4,7,8,8,5,3,2,4,3,6,8] , A=[4,3] , C=1 , 4+8+1=13 , A->3 , C->1
[2,4,6,2,0,2,6,8,8,4,0,5,1,3,0] + [6,8,0,6,8,4,7,8,8,5,3,2,4,3,6] , A=[3,4,3] , C=1 , 0+6+1=7 , A->7 , C->0
[2,4,6,2,0,2,6,8,8,4,0,5,1,3] + [6,8,0,6,8,4,7,8,8,5,3,2,4,3] , A=[7,3,4,3] , C=0 , 3+3+0=6 , A->6 , C->0
[2,4,6,2,0,2,6,8,8,4,0,5,1] + [6,8,0,6,8,4,7,8,8,5,3,2,4] , A=[6,7,3,4,3] , C=0 , 1+4+0=5 , A->5 , C->0
[2,4,6,2,0,2,6,8,8,4,0,5] + [6,8,0,6,8,4,7,8,8,5,3,2] , A=[5,6,7,3,4,3] , C=0 , 5+2+0=7 , A->7 , C->0
[2,4,6,2,0,2,6,8,8,4,0] + [6,8,0,6,8,4,7,8,8,5,3] , A=[7,5,6,7,3,4,3] , C=0 , 0+3+0=3 , A->3 , C->0
[2,4,6,2,0,2,6,8,8,4] + [6,8,0,6,8,4,7,8,8,5] , A=[3,7,5,6,7,3,4,3] , C=0 , 4+5+0=9 , A->9 , C->0
[2,4,6,2,0,2,6,8,8] + [6,8,0,6,8,4,7,8,8] , A=[9,3,7,5,6,7,3,4,3] , C=0 , 8+8+0=16 , A->6 , C->1
[2,4,6,2,0,2,6,8] + [6,8,0,6,8,4,7,8] , A=[6,9,3,7,5,6,7,3,4,3] , C=1 , 8+8+1=17 , A->7 , C->1
[2,4,6,2,0,2,6] + [6,8,0,6,8,4,7] , A=[7,6,9,3,7,5,6,7,3,4,3] , C=1 , 6+7+1=14 , A->4 , C->1
[2,4,6,2,0,2] + [6,8,0,6,8,4] , A=[4,7,6,9,3,7,5,6,7,3,4,3] , C=1 , 2+4+1=7 , A->7 , C->0
[2,4,6,2,0] + [6,8,0,6,8] , A=[7,4,7,6,9,3,7,5,6,7,3,4,3] , C=0 , 0+8+0=8 , A->8 , C->0
[2,4,6,2] + [6,8,0,6] , A=[8,7,4,7,6,9,3,7,5,6,7,3,4,3] , C=0 , 2+6+0=8 , A->8 , C->0
[2,4,6] + [6,8,0] , A=[8,8,7,4,7,6,9,3,7,5,6,7,3,4,3] , C=0 , 6+0+0=6 , A->6 , C->0
[2,4] + [6,8] , A=[6,8,8,7,4,7,6,9,3,7,5,6,7,3,4,3] , C=0 , 4+8+0=12 , A->2 , C->1
[2] + [6] , A=[2,6,8,8,7,4,7,6,9,3,7,5,6,7,3,4,3] , C=1 , 2+6+1=9 , A->9 , C->0
[] + [] , A=[9,2,6,8,8,7,4,7,6,9,3,7,5,6,7,3,4,3] C=0 , END
</scratch>
926887476937567343
| 926887476937567343 | 18 |
Input:
777891154790664600+801284282138774412
Target:
| Input:
777891154790664600+801284282138774412
Target:
[7,7,7,8,9,1,1,5,4,7,9,0,6,6,4,6,0,0] + [8,0,1,2,8,4,2,8,2,1,3,8,7,7,4,4,1,2] , A=[] , C=0 , 0+2+0=2 , A->2 , C->0
[7,7,7,8,9,1,1,5,4,7,9,0,6,6,4,6,0] + [8,0,1,2,8,4,2,8,2,1,3,8,7,7,4,4,1] , A=[2] , C=0 , 0+1+0=1 , A->1 , C->0
[7,7,7,8,9,1,1,5,4,7,9,0,6,6,4,6] + [8,0,1,2,8,4,2,8,2,1,3,8,7,7,4,4] , A=[1,2] , C=0 , 6+4+0=10 , A->0 , C->1
[7,7,7,8,9,1,1,5,4,7,9,0,6,6,4] + [8,0,1,2,8,4,2,8,2,1,3,8,7,7,4] , A=[0,1,2] , C=1 , 4+4+1=9 , A->9 , C->0
[7,7,7,8,9,1,1,5,4,7,9,0,6,6] + [8,0,1,2,8,4,2,8,2,1,3,8,7,7] , A=[9,0,1,2] , C=0 , 6+7+0=13 , A->3 , C->1
[7,7,7,8,9,1,1,5,4,7,9,0,6] + [8,0,1,2,8,4,2,8,2,1,3,8,7] , A=[3,9,0,1,2] , C=1 , 6+7+1=14 , A->4 , C->1
[7,7,7,8,9,1,1,5,4,7,9,0] + [8,0,1,2,8,4,2,8,2,1,3,8] , A=[4,3,9,0,1,2] , C=1 , 0+8+1=9 , A->9 , C->0
[7,7,7,8,9,1,1,5,4,7,9] + [8,0,1,2,8,4,2,8,2,1,3] , A=[9,4,3,9,0,1,2] , C=0 , 9+3+0=12 , A->2 , C->1
[7,7,7,8,9,1,1,5,4,7] + [8,0,1,2,8,4,2,8,2,1] , A=[2,9,4,3,9,0,1,2] , C=1 , 7+1+1=9 , A->9 , C->0
[7,7,7,8,9,1,1,5,4] + [8,0,1,2,8,4,2,8,2] , A=[9,2,9,4,3,9,0,1,2] , C=0 , 4+2+0=6 , A->6 , C->0
[7,7,7,8,9,1,1,5] + [8,0,1,2,8,4,2,8] , A=[6,9,2,9,4,3,9,0,1,2] , C=0 , 5+8+0=13 , A->3 , C->1
[7,7,7,8,9,1,1] + [8,0,1,2,8,4,2] , A=[3,6,9,2,9,4,3,9,0,1,2] , C=1 , 1+2+1=4 , A->4 , C->0
[7,7,7,8,9,1] + [8,0,1,2,8,4] , A=[4,3,6,9,2,9,4,3,9,0,1,2] , C=0 , 1+4+0=5 , A->5 , C->0
[7,7,7,8,9] + [8,0,1,2,8] , A=[5,4,3,6,9,2,9,4,3,9,0,1,2] , C=0 , 9+8+0=17 , A->7 , C->1
[7,7,7,8] + [8,0,1,2] , A=[7,5,4,3,6,9,2,9,4,3,9,0,1,2] , C=1 , 8+2+1=11 , A->1 , C->1
[7,7,7] + [8,0,1] , A=[1,7,5,4,3,6,9,2,9,4,3,9,0,1,2] , C=1 , 7+1+1=9 , A->9 , C->0
[7,7] + [8,0] , A=[9,1,7,5,4,3,6,9,2,9,4,3,9,0,1,2] , C=0 , 7+0+0=7 , A->7 , C->0
[7] + [8] , A=[7,9,1,7,5,4,3,6,9,2,9,4,3,9,0,1,2] , C=0 , 7+8+0=15 , A->5 , C->1
[] + [] , A=[5,7,9,1,7,5,4,3,6,9,2,9,4,3,9,0,1,2] C=1 , END
</scratch>
1579175436929439012
| 1579175436929439012 | 18 |
Input:
414303006174693821+593275861022045831
Target:
| Input:
414303006174693821+593275861022045831
Target:
[4,1,4,3,0,3,0,0,6,1,7,4,6,9,3,8,2,1] + [5,9,3,2,7,5,8,6,1,0,2,2,0,4,5,8,3,1] , A=[] , C=0 , 1+1+0=2 , A->2 , C->0
[4,1,4,3,0,3,0,0,6,1,7,4,6,9,3,8,2] + [5,9,3,2,7,5,8,6,1,0,2,2,0,4,5,8,3] , A=[2] , C=0 , 2+3+0=5 , A->5 , C->0
[4,1,4,3,0,3,0,0,6,1,7,4,6,9,3,8] + [5,9,3,2,7,5,8,6,1,0,2,2,0,4,5,8] , A=[5,2] , C=0 , 8+8+0=16 , A->6 , C->1
[4,1,4,3,0,3,0,0,6,1,7,4,6,9,3] + [5,9,3,2,7,5,8,6,1,0,2,2,0,4,5] , A=[6,5,2] , C=1 , 3+5+1=9 , A->9 , C->0
[4,1,4,3,0,3,0,0,6,1,7,4,6,9] + [5,9,3,2,7,5,8,6,1,0,2,2,0,4] , A=[9,6,5,2] , C=0 , 9+4+0=13 , A->3 , C->1
[4,1,4,3,0,3,0,0,6,1,7,4,6] + [5,9,3,2,7,5,8,6,1,0,2,2,0] , A=[3,9,6,5,2] , C=1 , 6+0+1=7 , A->7 , C->0
[4,1,4,3,0,3,0,0,6,1,7,4] + [5,9,3,2,7,5,8,6,1,0,2,2] , A=[7,3,9,6,5,2] , C=0 , 4+2+0=6 , A->6 , C->0
[4,1,4,3,0,3,0,0,6,1,7] + [5,9,3,2,7,5,8,6,1,0,2] , A=[6,7,3,9,6,5,2] , C=0 , 7+2+0=9 , A->9 , C->0
[4,1,4,3,0,3,0,0,6,1] + [5,9,3,2,7,5,8,6,1,0] , A=[9,6,7,3,9,6,5,2] , C=0 , 1+0+0=1 , A->1 , C->0
[4,1,4,3,0,3,0,0,6] + [5,9,3,2,7,5,8,6,1] , A=[1,9,6,7,3,9,6,5,2] , C=0 , 6+1+0=7 , A->7 , C->0
[4,1,4,3,0,3,0,0] + [5,9,3,2,7,5,8,6] , A=[7,1,9,6,7,3,9,6,5,2] , C=0 , 0+6+0=6 , A->6 , C->0
[4,1,4,3,0,3,0] + [5,9,3,2,7,5,8] , A=[6,7,1,9,6,7,3,9,6,5,2] , C=0 , 0+8+0=8 , A->8 , C->0
[4,1,4,3,0,3] + [5,9,3,2,7,5] , A=[8,6,7,1,9,6,7,3,9,6,5,2] , C=0 , 3+5+0=8 , A->8 , C->0
[4,1,4,3,0] + [5,9,3,2,7] , A=[8,8,6,7,1,9,6,7,3,9,6,5,2] , C=0 , 0+7+0=7 , A->7 , C->0
[4,1,4,3] + [5,9,3,2] , A=[7,8,8,6,7,1,9,6,7,3,9,6,5,2] , C=0 , 3+2+0=5 , A->5 , C->0
[4,1,4] + [5,9,3] , A=[5,7,8,8,6,7,1,9,6,7,3,9,6,5,2] , C=0 , 4+3+0=7 , A->7 , C->0
[4,1] + [5,9] , A=[7,5,7,8,8,6,7,1,9,6,7,3,9,6,5,2] , C=0 , 1+9+0=10 , A->0 , C->1
[4] + [5] , A=[0,7,5,7,8,8,6,7,1,9,6,7,3,9,6,5,2] , C=1 , 4+5+1=10 , A->0 , C->1
[] + [] , A=[0,0,7,5,7,8,8,6,7,1,9,6,7,3,9,6,5,2] C=1 , END
</scratch>
1007578867196739652
| 1007578867196739652 | 18 |
Input:
256220744524651524+644491656532071060
Target:
| Input:
256220744524651524+644491656532071060
Target:
[2,5,6,2,2,0,7,4,4,5,2,4,6,5,1,5,2,4] + [6,4,4,4,9,1,6,5,6,5,3,2,0,7,1,0,6,0] , A=[] , C=0 , 4+0+0=4 , A->4 , C->0
[2,5,6,2,2,0,7,4,4,5,2,4,6,5,1,5,2] + [6,4,4,4,9,1,6,5,6,5,3,2,0,7,1,0,6] , A=[4] , C=0 , 2+6+0=8 , A->8 , C->0
[2,5,6,2,2,0,7,4,4,5,2,4,6,5,1,5] + [6,4,4,4,9,1,6,5,6,5,3,2,0,7,1,0] , A=[8,4] , C=0 , 5+0+0=5 , A->5 , C->0
[2,5,6,2,2,0,7,4,4,5,2,4,6,5,1] + [6,4,4,4,9,1,6,5,6,5,3,2,0,7,1] , A=[5,8,4] , C=0 , 1+1+0=2 , A->2 , C->0
[2,5,6,2,2,0,7,4,4,5,2,4,6,5] + [6,4,4,4,9,1,6,5,6,5,3,2,0,7] , A=[2,5,8,4] , C=0 , 5+7+0=12 , A->2 , C->1
[2,5,6,2,2,0,7,4,4,5,2,4,6] + [6,4,4,4,9,1,6,5,6,5,3,2,0] , A=[2,2,5,8,4] , C=1 , 6+0+1=7 , A->7 , C->0
[2,5,6,2,2,0,7,4,4,5,2,4] + [6,4,4,4,9,1,6,5,6,5,3,2] , A=[7,2,2,5,8,4] , C=0 , 4+2+0=6 , A->6 , C->0
[2,5,6,2,2,0,7,4,4,5,2] + [6,4,4,4,9,1,6,5,6,5,3] , A=[6,7,2,2,5,8,4] , C=0 , 2+3+0=5 , A->5 , C->0
[2,5,6,2,2,0,7,4,4,5] + [6,4,4,4,9,1,6,5,6,5] , A=[5,6,7,2,2,5,8,4] , C=0 , 5+5+0=10 , A->0 , C->1
[2,5,6,2,2,0,7,4,4] + [6,4,4,4,9,1,6,5,6] , A=[0,5,6,7,2,2,5,8,4] , C=1 , 4+6+1=11 , A->1 , C->1
[2,5,6,2,2,0,7,4] + [6,4,4,4,9,1,6,5] , A=[1,0,5,6,7,2,2,5,8,4] , C=1 , 4+5+1=10 , A->0 , C->1
[2,5,6,2,2,0,7] + [6,4,4,4,9,1,6] , A=[0,1,0,5,6,7,2,2,5,8,4] , C=1 , 7+6+1=14 , A->4 , C->1
[2,5,6,2,2,0] + [6,4,4,4,9,1] , A=[4,0,1,0,5,6,7,2,2,5,8,4] , C=1 , 0+1+1=2 , A->2 , C->0
[2,5,6,2,2] + [6,4,4,4,9] , A=[2,4,0,1,0,5,6,7,2,2,5,8,4] , C=0 , 2+9+0=11 , A->1 , C->1
[2,5,6,2] + [6,4,4,4] , A=[1,2,4,0,1,0,5,6,7,2,2,5,8,4] , C=1 , 2+4+1=7 , A->7 , C->0
[2,5,6] + [6,4,4] , A=[7,1,2,4,0,1,0,5,6,7,2,2,5,8,4] , C=0 , 6+4+0=10 , A->0 , C->1
[2,5] + [6,4] , A=[0,7,1,2,4,0,1,0,5,6,7,2,2,5,8,4] , C=1 , 5+4+1=10 , A->0 , C->1
[2] + [6] , A=[0,0,7,1,2,4,0,1,0,5,6,7,2,2,5,8,4] , C=1 , 2+6+1=9 , A->9 , C->0
[] + [] , A=[9,0,0,7,1,2,4,0,1,0,5,6,7,2,2,5,8,4] C=0 , END
</scratch>
900712401056722584
| 900712401056722584 | 18 |
Input:
537928430968414641+577620412504553519
Target:
| Input:
537928430968414641+577620412504553519
Target:
[5,3,7,9,2,8,4,3,0,9,6,8,4,1,4,6,4,1] + [5,7,7,6,2,0,4,1,2,5,0,4,5,5,3,5,1,9] , A=[] , C=0 , 1+9+0=10 , A->0 , C->1
[5,3,7,9,2,8,4,3,0,9,6,8,4,1,4,6,4] + [5,7,7,6,2,0,4,1,2,5,0,4,5,5,3,5,1] , A=[0] , C=1 , 4+1+1=6 , A->6 , C->0
[5,3,7,9,2,8,4,3,0,9,6,8,4,1,4,6] + [5,7,7,6,2,0,4,1,2,5,0,4,5,5,3,5] , A=[6,0] , C=0 , 6+5+0=11 , A->1 , C->1
[5,3,7,9,2,8,4,3,0,9,6,8,4,1,4] + [5,7,7,6,2,0,4,1,2,5,0,4,5,5,3] , A=[1,6,0] , C=1 , 4+3+1=8 , A->8 , C->0
[5,3,7,9,2,8,4,3,0,9,6,8,4,1] + [5,7,7,6,2,0,4,1,2,5,0,4,5,5] , A=[8,1,6,0] , C=0 , 1+5+0=6 , A->6 , C->0
[5,3,7,9,2,8,4,3,0,9,6,8,4] + [5,7,7,6,2,0,4,1,2,5,0,4,5] , A=[6,8,1,6,0] , C=0 , 4+5+0=9 , A->9 , C->0
[5,3,7,9,2,8,4,3,0,9,6,8] + [5,7,7,6,2,0,4,1,2,5,0,4] , A=[9,6,8,1,6,0] , C=0 , 8+4+0=12 , A->2 , C->1
[5,3,7,9,2,8,4,3,0,9,6] + [5,7,7,6,2,0,4,1,2,5,0] , A=[2,9,6,8,1,6,0] , C=1 , 6+0+1=7 , A->7 , C->0
[5,3,7,9,2,8,4,3,0,9] + [5,7,7,6,2,0,4,1,2,5] , A=[7,2,9,6,8,1,6,0] , C=0 , 9+5+0=14 , A->4 , C->1
[5,3,7,9,2,8,4,3,0] + [5,7,7,6,2,0,4,1,2] , A=[4,7,2,9,6,8,1,6,0] , C=1 , 0+2+1=3 , A->3 , C->0
[5,3,7,9,2,8,4,3] + [5,7,7,6,2,0,4,1] , A=[3,4,7,2,9,6,8,1,6,0] , C=0 , 3+1+0=4 , A->4 , C->0
[5,3,7,9,2,8,4] + [5,7,7,6,2,0,4] , A=[4,3,4,7,2,9,6,8,1,6,0] , C=0 , 4+4+0=8 , A->8 , C->0
[5,3,7,9,2,8] + [5,7,7,6,2,0] , A=[8,4,3,4,7,2,9,6,8,1,6,0] , C=0 , 8+0+0=8 , A->8 , C->0
[5,3,7,9,2] + [5,7,7,6,2] , A=[8,8,4,3,4,7,2,9,6,8,1,6,0] , C=0 , 2+2+0=4 , A->4 , C->0
[5,3,7,9] + [5,7,7,6] , A=[4,8,8,4,3,4,7,2,9,6,8,1,6,0] , C=0 , 9+6+0=15 , A->5 , C->1
[5,3,7] + [5,7,7] , A=[5,4,8,8,4,3,4,7,2,9,6,8,1,6,0] , C=1 , 7+7+1=15 , A->5 , C->1
[5,3] + [5,7] , A=[5,5,4,8,8,4,3,4,7,2,9,6,8,1,6,0] , C=1 , 3+7+1=11 , A->1 , C->1
[5] + [5] , A=[1,5,5,4,8,8,4,3,4,7,2,9,6,8,1,6,0] , C=1 , 5+5+1=11 , A->1 , C->1
[] + [] , A=[1,1,5,5,4,8,8,4,3,4,7,2,9,6,8,1,6,0] C=1 , END
</scratch>
1115548843472968160
| 1115548843472968160 | 18 |
Input:
623705774856496423+810563292629463745
Target:
| Input:
623705774856496423+810563292629463745
Target:
[6,2,3,7,0,5,7,7,4,8,5,6,4,9,6,4,2,3] + [8,1,0,5,6,3,2,9,2,6,2,9,4,6,3,7,4,5] , A=[] , C=0 , 3+5+0=8 , A->8 , C->0
[6,2,3,7,0,5,7,7,4,8,5,6,4,9,6,4,2] + [8,1,0,5,6,3,2,9,2,6,2,9,4,6,3,7,4] , A=[8] , C=0 , 2+4+0=6 , A->6 , C->0
[6,2,3,7,0,5,7,7,4,8,5,6,4,9,6,4] + [8,1,0,5,6,3,2,9,2,6,2,9,4,6,3,7] , A=[6,8] , C=0 , 4+7+0=11 , A->1 , C->1
[6,2,3,7,0,5,7,7,4,8,5,6,4,9,6] + [8,1,0,5,6,3,2,9,2,6,2,9,4,6,3] , A=[1,6,8] , C=1 , 6+3+1=10 , A->0 , C->1
[6,2,3,7,0,5,7,7,4,8,5,6,4,9] + [8,1,0,5,6,3,2,9,2,6,2,9,4,6] , A=[0,1,6,8] , C=1 , 9+6+1=16 , A->6 , C->1
[6,2,3,7,0,5,7,7,4,8,5,6,4] + [8,1,0,5,6,3,2,9,2,6,2,9,4] , A=[6,0,1,6,8] , C=1 , 4+4+1=9 , A->9 , C->0
[6,2,3,7,0,5,7,7,4,8,5,6] + [8,1,0,5,6,3,2,9,2,6,2,9] , A=[9,6,0,1,6,8] , C=0 , 6+9+0=15 , A->5 , C->1
[6,2,3,7,0,5,7,7,4,8,5] + [8,1,0,5,6,3,2,9,2,6,2] , A=[5,9,6,0,1,6,8] , C=1 , 5+2+1=8 , A->8 , C->0
[6,2,3,7,0,5,7,7,4,8] + [8,1,0,5,6,3,2,9,2,6] , A=[8,5,9,6,0,1,6,8] , C=0 , 8+6+0=14 , A->4 , C->1
[6,2,3,7,0,5,7,7,4] + [8,1,0,5,6,3,2,9,2] , A=[4,8,5,9,6,0,1,6,8] , C=1 , 4+2+1=7 , A->7 , C->0
[6,2,3,7,0,5,7,7] + [8,1,0,5,6,3,2,9] , A=[7,4,8,5,9,6,0,1,6,8] , C=0 , 7+9+0=16 , A->6 , C->1
[6,2,3,7,0,5,7] + [8,1,0,5,6,3,2] , A=[6,7,4,8,5,9,6,0,1,6,8] , C=1 , 7+2+1=10 , A->0 , C->1
[6,2,3,7,0,5] + [8,1,0,5,6,3] , A=[0,6,7,4,8,5,9,6,0,1,6,8] , C=1 , 5+3+1=9 , A->9 , C->0
[6,2,3,7,0] + [8,1,0,5,6] , A=[9,0,6,7,4,8,5,9,6,0,1,6,8] , C=0 , 0+6+0=6 , A->6 , C->0
[6,2,3,7] + [8,1,0,5] , A=[6,9,0,6,7,4,8,5,9,6,0,1,6,8] , C=0 , 7+5+0=12 , A->2 , C->1
[6,2,3] + [8,1,0] , A=[2,6,9,0,6,7,4,8,5,9,6,0,1,6,8] , C=1 , 3+0+1=4 , A->4 , C->0
[6,2] + [8,1] , A=[4,2,6,9,0,6,7,4,8,5,9,6,0,1,6,8] , C=0 , 2+1+0=3 , A->3 , C->0
[6] + [8] , A=[3,4,2,6,9,0,6,7,4,8,5,9,6,0,1,6,8] , C=0 , 6+8+0=14 , A->4 , C->1
[] + [] , A=[4,3,4,2,6,9,0,6,7,4,8,5,9,6,0,1,6,8] C=1 , END
</scratch>
1434269067485960168
| 1434269067485960168 | 18 |
Input:
879132756633862830+112561599828780937
Target:
| Input:
879132756633862830+112561599828780937
Target:
[8,7,9,1,3,2,7,5,6,6,3,3,8,6,2,8,3,0] + [1,1,2,5,6,1,5,9,9,8,2,8,7,8,0,9,3,7] , A=[] , C=0 , 0+7+0=7 , A->7 , C->0
[8,7,9,1,3,2,7,5,6,6,3,3,8,6,2,8,3] + [1,1,2,5,6,1,5,9,9,8,2,8,7,8,0,9,3] , A=[7] , C=0 , 3+3+0=6 , A->6 , C->0
[8,7,9,1,3,2,7,5,6,6,3,3,8,6,2,8] + [1,1,2,5,6,1,5,9,9,8,2,8,7,8,0,9] , A=[6,7] , C=0 , 8+9+0=17 , A->7 , C->1
[8,7,9,1,3,2,7,5,6,6,3,3,8,6,2] + [1,1,2,5,6,1,5,9,9,8,2,8,7,8,0] , A=[7,6,7] , C=1 , 2+0+1=3 , A->3 , C->0
[8,7,9,1,3,2,7,5,6,6,3,3,8,6] + [1,1,2,5,6,1,5,9,9,8,2,8,7,8] , A=[3,7,6,7] , C=0 , 6+8+0=14 , A->4 , C->1
[8,7,9,1,3,2,7,5,6,6,3,3,8] + [1,1,2,5,6,1,5,9,9,8,2,8,7] , A=[4,3,7,6,7] , C=1 , 8+7+1=16 , A->6 , C->1
[8,7,9,1,3,2,7,5,6,6,3,3] + [1,1,2,5,6,1,5,9,9,8,2,8] , A=[6,4,3,7,6,7] , C=1 , 3+8+1=12 , A->2 , C->1
[8,7,9,1,3,2,7,5,6,6,3] + [1,1,2,5,6,1,5,9,9,8,2] , A=[2,6,4,3,7,6,7] , C=1 , 3+2+1=6 , A->6 , C->0
[8,7,9,1,3,2,7,5,6,6] + [1,1,2,5,6,1,5,9,9,8] , A=[6,2,6,4,3,7,6,7] , C=0 , 6+8+0=14 , A->4 , C->1
[8,7,9,1,3,2,7,5,6] + [1,1,2,5,6,1,5,9,9] , A=[4,6,2,6,4,3,7,6,7] , C=1 , 6+9+1=16 , A->6 , C->1
[8,7,9,1,3,2,7,5] + [1,1,2,5,6,1,5,9] , A=[6,4,6,2,6,4,3,7,6,7] , C=1 , 5+9+1=15 , A->5 , C->1
[8,7,9,1,3,2,7] + [1,1,2,5,6,1,5] , A=[5,6,4,6,2,6,4,3,7,6,7] , C=1 , 7+5+1=13 , A->3 , C->1
[8,7,9,1,3,2] + [1,1,2,5,6,1] , A=[3,5,6,4,6,2,6,4,3,7,6,7] , C=1 , 2+1+1=4 , A->4 , C->0
[8,7,9,1,3] + [1,1,2,5,6] , A=[4,3,5,6,4,6,2,6,4,3,7,6,7] , C=0 , 3+6+0=9 , A->9 , C->0
[8,7,9,1] + [1,1,2,5] , A=[9,4,3,5,6,4,6,2,6,4,3,7,6,7] , C=0 , 1+5+0=6 , A->6 , C->0
[8,7,9] + [1,1,2] , A=[6,9,4,3,5,6,4,6,2,6,4,3,7,6,7] , C=0 , 9+2+0=11 , A->1 , C->1
[8,7] + [1,1] , A=[1,6,9,4,3,5,6,4,6,2,6,4,3,7,6,7] , C=1 , 7+1+1=9 , A->9 , C->0
[8] + [1] , A=[9,1,6,9,4,3,5,6,4,6,2,6,4,3,7,6,7] , C=0 , 8+1+0=9 , A->9 , C->0
[] + [] , A=[9,9,1,6,9,4,3,5,6,4,6,2,6,4,3,7,6,7] C=0 , END
</scratch>
991694356462643767
| 991694356462643767 | 18 |
Input:
194818964825780149+762752317067498653
Target:
| Input:
194818964825780149+762752317067498653
Target:
[1,9,4,8,1,8,9,6,4,8,2,5,7,8,0,1,4,9] + [7,6,2,7,5,2,3,1,7,0,6,7,4,9,8,6,5,3] , A=[] , C=0 , 9+3+0=12 , A->2 , C->1
[1,9,4,8,1,8,9,6,4,8,2,5,7,8,0,1,4] + [7,6,2,7,5,2,3,1,7,0,6,7,4,9,8,6,5] , A=[2] , C=1 , 4+5+1=10 , A->0 , C->1
[1,9,4,8,1,8,9,6,4,8,2,5,7,8,0,1] + [7,6,2,7,5,2,3,1,7,0,6,7,4,9,8,6] , A=[0,2] , C=1 , 1+6+1=8 , A->8 , C->0
[1,9,4,8,1,8,9,6,4,8,2,5,7,8,0] + [7,6,2,7,5,2,3,1,7,0,6,7,4,9,8] , A=[8,0,2] , C=0 , 0+8+0=8 , A->8 , C->0
[1,9,4,8,1,8,9,6,4,8,2,5,7,8] + [7,6,2,7,5,2,3,1,7,0,6,7,4,9] , A=[8,8,0,2] , C=0 , 8+9+0=17 , A->7 , C->1
[1,9,4,8,1,8,9,6,4,8,2,5,7] + [7,6,2,7,5,2,3,1,7,0,6,7,4] , A=[7,8,8,0,2] , C=1 , 7+4+1=12 , A->2 , C->1
[1,9,4,8,1,8,9,6,4,8,2,5] + [7,6,2,7,5,2,3,1,7,0,6,7] , A=[2,7,8,8,0,2] , C=1 , 5+7+1=13 , A->3 , C->1
[1,9,4,8,1,8,9,6,4,8,2] + [7,6,2,7,5,2,3,1,7,0,6] , A=[3,2,7,8,8,0,2] , C=1 , 2+6+1=9 , A->9 , C->0
[1,9,4,8,1,8,9,6,4,8] + [7,6,2,7,5,2,3,1,7,0] , A=[9,3,2,7,8,8,0,2] , C=0 , 8+0+0=8 , A->8 , C->0
[1,9,4,8,1,8,9,6,4] + [7,6,2,7,5,2,3,1,7] , A=[8,9,3,2,7,8,8,0,2] , C=0 , 4+7+0=11 , A->1 , C->1
[1,9,4,8,1,8,9,6] + [7,6,2,7,5,2,3,1] , A=[1,8,9,3,2,7,8,8,0,2] , C=1 , 6+1+1=8 , A->8 , C->0
[1,9,4,8,1,8,9] + [7,6,2,7,5,2,3] , A=[8,1,8,9,3,2,7,8,8,0,2] , C=0 , 9+3+0=12 , A->2 , C->1
[1,9,4,8,1,8] + [7,6,2,7,5,2] , A=[2,8,1,8,9,3,2,7,8,8,0,2] , C=1 , 8+2+1=11 , A->1 , C->1
[1,9,4,8,1] + [7,6,2,7,5] , A=[1,2,8,1,8,9,3,2,7,8,8,0,2] , C=1 , 1+5+1=7 , A->7 , C->0
[1,9,4,8] + [7,6,2,7] , A=[7,1,2,8,1,8,9,3,2,7,8,8,0,2] , C=0 , 8+7+0=15 , A->5 , C->1
[1,9,4] + [7,6,2] , A=[5,7,1,2,8,1,8,9,3,2,7,8,8,0,2] , C=1 , 4+2+1=7 , A->7 , C->0
[1,9] + [7,6] , A=[7,5,7,1,2,8,1,8,9,3,2,7,8,8,0,2] , C=0 , 9+6+0=15 , A->5 , C->1
[1] + [7] , A=[5,7,5,7,1,2,8,1,8,9,3,2,7,8,8,0,2] , C=1 , 1+7+1=9 , A->9 , C->0
[] + [] , A=[9,5,7,5,7,1,2,8,1,8,9,3,2,7,8,8,0,2] C=0 , END
</scratch>
957571281893278802
| 957571281893278802 | 18 |
Input:
662573006416257016+107168652827305922
Target:
| Input:
662573006416257016+107168652827305922
Target:
[6,6,2,5,7,3,0,0,6,4,1,6,2,5,7,0,1,6] + [1,0,7,1,6,8,6,5,2,8,2,7,3,0,5,9,2,2] , A=[] , C=0 , 6+2+0=8 , A->8 , C->0
[6,6,2,5,7,3,0,0,6,4,1,6,2,5,7,0,1] + [1,0,7,1,6,8,6,5,2,8,2,7,3,0,5,9,2] , A=[8] , C=0 , 1+2+0=3 , A->3 , C->0
[6,6,2,5,7,3,0,0,6,4,1,6,2,5,7,0] + [1,0,7,1,6,8,6,5,2,8,2,7,3,0,5,9] , A=[3,8] , C=0 , 0+9+0=9 , A->9 , C->0
[6,6,2,5,7,3,0,0,6,4,1,6,2,5,7] + [1,0,7,1,6,8,6,5,2,8,2,7,3,0,5] , A=[9,3,8] , C=0 , 7+5+0=12 , A->2 , C->1
[6,6,2,5,7,3,0,0,6,4,1,6,2,5] + [1,0,7,1,6,8,6,5,2,8,2,7,3,0] , A=[2,9,3,8] , C=1 , 5+0+1=6 , A->6 , C->0
[6,6,2,5,7,3,0,0,6,4,1,6,2] + [1,0,7,1,6,8,6,5,2,8,2,7,3] , A=[6,2,9,3,8] , C=0 , 2+3+0=5 , A->5 , C->0
[6,6,2,5,7,3,0,0,6,4,1,6] + [1,0,7,1,6,8,6,5,2,8,2,7] , A=[5,6,2,9,3,8] , C=0 , 6+7+0=13 , A->3 , C->1
[6,6,2,5,7,3,0,0,6,4,1] + [1,0,7,1,6,8,6,5,2,8,2] , A=[3,5,6,2,9,3,8] , C=1 , 1+2+1=4 , A->4 , C->0
[6,6,2,5,7,3,0,0,6,4] + [1,0,7,1,6,8,6,5,2,8] , A=[4,3,5,6,2,9,3,8] , C=0 , 4+8+0=12 , A->2 , C->1
[6,6,2,5,7,3,0,0,6] + [1,0,7,1,6,8,6,5,2] , A=[2,4,3,5,6,2,9,3,8] , C=1 , 6+2+1=9 , A->9 , C->0
[6,6,2,5,7,3,0,0] + [1,0,7,1,6,8,6,5] , A=[9,2,4,3,5,6,2,9,3,8] , C=0 , 0+5+0=5 , A->5 , C->0
[6,6,2,5,7,3,0] + [1,0,7,1,6,8,6] , A=[5,9,2,4,3,5,6,2,9,3,8] , C=0 , 0+6+0=6 , A->6 , C->0
[6,6,2,5,7,3] + [1,0,7,1,6,8] , A=[6,5,9,2,4,3,5,6,2,9,3,8] , C=0 , 3+8+0=11 , A->1 , C->1
[6,6,2,5,7] + [1,0,7,1,6] , A=[1,6,5,9,2,4,3,5,6,2,9,3,8] , C=1 , 7+6+1=14 , A->4 , C->1
[6,6,2,5] + [1,0,7,1] , A=[4,1,6,5,9,2,4,3,5,6,2,9,3,8] , C=1 , 5+1+1=7 , A->7 , C->0
[6,6,2] + [1,0,7] , A=[7,4,1,6,5,9,2,4,3,5,6,2,9,3,8] , C=0 , 2+7+0=9 , A->9 , C->0
[6,6] + [1,0] , A=[9,7,4,1,6,5,9,2,4,3,5,6,2,9,3,8] , C=0 , 6+0+0=6 , A->6 , C->0
[6] + [1] , A=[6,9,7,4,1,6,5,9,2,4,3,5,6,2,9,3,8] , C=0 , 6+1+0=7 , A->7 , C->0
[] + [] , A=[7,6,9,7,4,1,6,5,9,2,4,3,5,6,2,9,3,8] C=0 , END
</scratch>
769741659243562938
| 769741659243562938 | 18 |
Input:
733790815066072866+444088300818688239
Target:
| Input:
733790815066072866+444088300818688239
Target:
[7,3,3,7,9,0,8,1,5,0,6,6,0,7,2,8,6,6] + [4,4,4,0,8,8,3,0,0,8,1,8,6,8,8,2,3,9] , A=[] , C=0 , 6+9+0=15 , A->5 , C->1
[7,3,3,7,9,0,8,1,5,0,6,6,0,7,2,8,6] + [4,4,4,0,8,8,3,0,0,8,1,8,6,8,8,2,3] , A=[5] , C=1 , 6+3+1=10 , A->0 , C->1
[7,3,3,7,9,0,8,1,5,0,6,6,0,7,2,8] + [4,4,4,0,8,8,3,0,0,8,1,8,6,8,8,2] , A=[0,5] , C=1 , 8+2+1=11 , A->1 , C->1
[7,3,3,7,9,0,8,1,5,0,6,6,0,7,2] + [4,4,4,0,8,8,3,0,0,8,1,8,6,8,8] , A=[1,0,5] , C=1 , 2+8+1=11 , A->1 , C->1
[7,3,3,7,9,0,8,1,5,0,6,6,0,7] + [4,4,4,0,8,8,3,0,0,8,1,8,6,8] , A=[1,1,0,5] , C=1 , 7+8+1=16 , A->6 , C->1
[7,3,3,7,9,0,8,1,5,0,6,6,0] + [4,4,4,0,8,8,3,0,0,8,1,8,6] , A=[6,1,1,0,5] , C=1 , 0+6+1=7 , A->7 , C->0
[7,3,3,7,9,0,8,1,5,0,6,6] + [4,4,4,0,8,8,3,0,0,8,1,8] , A=[7,6,1,1,0,5] , C=0 , 6+8+0=14 , A->4 , C->1
[7,3,3,7,9,0,8,1,5,0,6] + [4,4,4,0,8,8,3,0,0,8,1] , A=[4,7,6,1,1,0,5] , C=1 , 6+1+1=8 , A->8 , C->0
[7,3,3,7,9,0,8,1,5,0] + [4,4,4,0,8,8,3,0,0,8] , A=[8,4,7,6,1,1,0,5] , C=0 , 0+8+0=8 , A->8 , C->0
[7,3,3,7,9,0,8,1,5] + [4,4,4,0,8,8,3,0,0] , A=[8,8,4,7,6,1,1,0,5] , C=0 , 5+0+0=5 , A->5 , C->0
[7,3,3,7,9,0,8,1] + [4,4,4,0,8,8,3,0] , A=[5,8,8,4,7,6,1,1,0,5] , C=0 , 1+0+0=1 , A->1 , C->0
[7,3,3,7,9,0,8] + [4,4,4,0,8,8,3] , A=[1,5,8,8,4,7,6,1,1,0,5] , C=0 , 8+3+0=11 , A->1 , C->1
[7,3,3,7,9,0] + [4,4,4,0,8,8] , A=[1,1,5,8,8,4,7,6,1,1,0,5] , C=1 , 0+8+1=9 , A->9 , C->0
[7,3,3,7,9] + [4,4,4,0,8] , A=[9,1,1,5,8,8,4,7,6,1,1,0,5] , C=0 , 9+8+0=17 , A->7 , C->1
[7,3,3,7] + [4,4,4,0] , A=[7,9,1,1,5,8,8,4,7,6,1,1,0,5] , C=1 , 7+0+1=8 , A->8 , C->0
[7,3,3] + [4,4,4] , A=[8,7,9,1,1,5,8,8,4,7,6,1,1,0,5] , C=0 , 3+4+0=7 , A->7 , C->0
[7,3] + [4,4] , A=[7,8,7,9,1,1,5,8,8,4,7,6,1,1,0,5] , C=0 , 3+4+0=7 , A->7 , C->0
[7] + [4] , A=[7,7,8,7,9,1,1,5,8,8,4,7,6,1,1,0,5] , C=0 , 7+4+0=11 , A->1 , C->1
[] + [] , A=[1,7,7,8,7,9,1,1,5,8,8,4,7,6,1,1,0,5] C=1 , END
</scratch>
1177879115884761105
| 1177879115884761105 | 18 |
Input:
575412195868722599+505661263992306069
Target:
| Input:
575412195868722599+505661263992306069
Target:
[5,7,5,4,1,2,1,9,5,8,6,8,7,2,2,5,9,9] + [5,0,5,6,6,1,2,6,3,9,9,2,3,0,6,0,6,9] , A=[] , C=0 , 9+9+0=18 , A->8 , C->1
[5,7,5,4,1,2,1,9,5,8,6,8,7,2,2,5,9] + [5,0,5,6,6,1,2,6,3,9,9,2,3,0,6,0,6] , A=[8] , C=1 , 9+6+1=16 , A->6 , C->1
[5,7,5,4,1,2,1,9,5,8,6,8,7,2,2,5] + [5,0,5,6,6,1,2,6,3,9,9,2,3,0,6,0] , A=[6,8] , C=1 , 5+0+1=6 , A->6 , C->0
[5,7,5,4,1,2,1,9,5,8,6,8,7,2,2] + [5,0,5,6,6,1,2,6,3,9,9,2,3,0,6] , A=[6,6,8] , C=0 , 2+6+0=8 , A->8 , C->0
[5,7,5,4,1,2,1,9,5,8,6,8,7,2] + [5,0,5,6,6,1,2,6,3,9,9,2,3,0] , A=[8,6,6,8] , C=0 , 2+0+0=2 , A->2 , C->0
[5,7,5,4,1,2,1,9,5,8,6,8,7] + [5,0,5,6,6,1,2,6,3,9,9,2,3] , A=[2,8,6,6,8] , C=0 , 7+3+0=10 , A->0 , C->1
[5,7,5,4,1,2,1,9,5,8,6,8] + [5,0,5,6,6,1,2,6,3,9,9,2] , A=[0,2,8,6,6,8] , C=1 , 8+2+1=11 , A->1 , C->1
[5,7,5,4,1,2,1,9,5,8,6] + [5,0,5,6,6,1,2,6,3,9,9] , A=[1,0,2,8,6,6,8] , C=1 , 6+9+1=16 , A->6 , C->1
[5,7,5,4,1,2,1,9,5,8] + [5,0,5,6,6,1,2,6,3,9] , A=[6,1,0,2,8,6,6,8] , C=1 , 8+9+1=18 , A->8 , C->1
[5,7,5,4,1,2,1,9,5] + [5,0,5,6,6,1,2,6,3] , A=[8,6,1,0,2,8,6,6,8] , C=1 , 5+3+1=9 , A->9 , C->0
[5,7,5,4,1,2,1,9] + [5,0,5,6,6,1,2,6] , A=[9,8,6,1,0,2,8,6,6,8] , C=0 , 9+6+0=15 , A->5 , C->1
[5,7,5,4,1,2,1] + [5,0,5,6,6,1,2] , A=[5,9,8,6,1,0,2,8,6,6,8] , C=1 , 1+2+1=4 , A->4 , C->0
[5,7,5,4,1,2] + [5,0,5,6,6,1] , A=[4,5,9,8,6,1,0,2,8,6,6,8] , C=0 , 2+1+0=3 , A->3 , C->0
[5,7,5,4,1] + [5,0,5,6,6] , A=[3,4,5,9,8,6,1,0,2,8,6,6,8] , C=0 , 1+6+0=7 , A->7 , C->0
[5,7,5,4] + [5,0,5,6] , A=[7,3,4,5,9,8,6,1,0,2,8,6,6,8] , C=0 , 4+6+0=10 , A->0 , C->1
[5,7,5] + [5,0,5] , A=[0,7,3,4,5,9,8,6,1,0,2,8,6,6,8] , C=1 , 5+5+1=11 , A->1 , C->1
[5,7] + [5,0] , A=[1,0,7,3,4,5,9,8,6,1,0,2,8,6,6,8] , C=1 , 7+0+1=8 , A->8 , C->0
[5] + [5] , A=[8,1,0,7,3,4,5,9,8,6,1,0,2,8,6,6,8] , C=0 , 5+5+0=10 , A->0 , C->1
[] + [] , A=[0,8,1,0,7,3,4,5,9,8,6,1,0,2,8,6,6,8] C=1 , END
</scratch>
1081073459861028668
| 1081073459861028668 | 18 |
Input:
412447013453255396+145202186619572851
Target:
| Input:
412447013453255396+145202186619572851
Target:
[4,1,2,4,4,7,0,1,3,4,5,3,2,5,5,3,9,6] + [1,4,5,2,0,2,1,8,6,6,1,9,5,7,2,8,5,1] , A=[] , C=0 , 6+1+0=7 , A->7 , C->0
[4,1,2,4,4,7,0,1,3,4,5,3,2,5,5,3,9] + [1,4,5,2,0,2,1,8,6,6,1,9,5,7,2,8,5] , A=[7] , C=0 , 9+5+0=14 , A->4 , C->1
[4,1,2,4,4,7,0,1,3,4,5,3,2,5,5,3] + [1,4,5,2,0,2,1,8,6,6,1,9,5,7,2,8] , A=[4,7] , C=1 , 3+8+1=12 , A->2 , C->1
[4,1,2,4,4,7,0,1,3,4,5,3,2,5,5] + [1,4,5,2,0,2,1,8,6,6,1,9,5,7,2] , A=[2,4,7] , C=1 , 5+2+1=8 , A->8 , C->0
[4,1,2,4,4,7,0,1,3,4,5,3,2,5] + [1,4,5,2,0,2,1,8,6,6,1,9,5,7] , A=[8,2,4,7] , C=0 , 5+7+0=12 , A->2 , C->1
[4,1,2,4,4,7,0,1,3,4,5,3,2] + [1,4,5,2,0,2,1,8,6,6,1,9,5] , A=[2,8,2,4,7] , C=1 , 2+5+1=8 , A->8 , C->0
[4,1,2,4,4,7,0,1,3,4,5,3] + [1,4,5,2,0,2,1,8,6,6,1,9] , A=[8,2,8,2,4,7] , C=0 , 3+9+0=12 , A->2 , C->1
[4,1,2,4,4,7,0,1,3,4,5] + [1,4,5,2,0,2,1,8,6,6,1] , A=[2,8,2,8,2,4,7] , C=1 , 5+1+1=7 , A->7 , C->0
[4,1,2,4,4,7,0,1,3,4] + [1,4,5,2,0,2,1,8,6,6] , A=[7,2,8,2,8,2,4,7] , C=0 , 4+6+0=10 , A->0 , C->1
[4,1,2,4,4,7,0,1,3] + [1,4,5,2,0,2,1,8,6] , A=[0,7,2,8,2,8,2,4,7] , C=1 , 3+6+1=10 , A->0 , C->1
[4,1,2,4,4,7,0,1] + [1,4,5,2,0,2,1,8] , A=[0,0,7,2,8,2,8,2,4,7] , C=1 , 1+8+1=10 , A->0 , C->1
[4,1,2,4,4,7,0] + [1,4,5,2,0,2,1] , A=[0,0,0,7,2,8,2,8,2,4,7] , C=1 , 0+1+1=2 , A->2 , C->0
[4,1,2,4,4,7] + [1,4,5,2,0,2] , A=[2,0,0,0,7,2,8,2,8,2,4,7] , C=0 , 7+2+0=9 , A->9 , C->0
[4,1,2,4,4] + [1,4,5,2,0] , A=[9,2,0,0,0,7,2,8,2,8,2,4,7] , C=0 , 4+0+0=4 , A->4 , C->0
[4,1,2,4] + [1,4,5,2] , A=[4,9,2,0,0,0,7,2,8,2,8,2,4,7] , C=0 , 4+2+0=6 , A->6 , C->0
[4,1,2] + [1,4,5] , A=[6,4,9,2,0,0,0,7,2,8,2,8,2,4,7] , C=0 , 2+5+0=7 , A->7 , C->0
[4,1] + [1,4] , A=[7,6,4,9,2,0,0,0,7,2,8,2,8,2,4,7] , C=0 , 1+4+0=5 , A->5 , C->0
[4] + [1] , A=[5,7,6,4,9,2,0,0,0,7,2,8,2,8,2,4,7] , C=0 , 4+1+0=5 , A->5 , C->0
[] + [] , A=[5,5,7,6,4,9,2,0,0,0,7,2,8,2,8,2,4,7] C=0 , END
</scratch>
557649200072828247
| 557649200072828247 | 18 |
Input:
513011314954038538+103481849290551085
Target:
| Input:
513011314954038538+103481849290551085
Target:
[5,1,3,0,1,1,3,1,4,9,5,4,0,3,8,5,3,8] + [1,0,3,4,8,1,8,4,9,2,9,0,5,5,1,0,8,5] , A=[] , C=0 , 8+5+0=13 , A->3 , C->1
[5,1,3,0,1,1,3,1,4,9,5,4,0,3,8,5,3] + [1,0,3,4,8,1,8,4,9,2,9,0,5,5,1,0,8] , A=[3] , C=1 , 3+8+1=12 , A->2 , C->1
[5,1,3,0,1,1,3,1,4,9,5,4,0,3,8,5] + [1,0,3,4,8,1,8,4,9,2,9,0,5,5,1,0] , A=[2,3] , C=1 , 5+0+1=6 , A->6 , C->0
[5,1,3,0,1,1,3,1,4,9,5,4,0,3,8] + [1,0,3,4,8,1,8,4,9,2,9,0,5,5,1] , A=[6,2,3] , C=0 , 8+1+0=9 , A->9 , C->0
[5,1,3,0,1,1,3,1,4,9,5,4,0,3] + [1,0,3,4,8,1,8,4,9,2,9,0,5,5] , A=[9,6,2,3] , C=0 , 3+5+0=8 , A->8 , C->0
[5,1,3,0,1,1,3,1,4,9,5,4,0] + [1,0,3,4,8,1,8,4,9,2,9,0,5] , A=[8,9,6,2,3] , C=0 , 0+5+0=5 , A->5 , C->0
[5,1,3,0,1,1,3,1,4,9,5,4] + [1,0,3,4,8,1,8,4,9,2,9,0] , A=[5,8,9,6,2,3] , C=0 , 4+0+0=4 , A->4 , C->0
[5,1,3,0,1,1,3,1,4,9,5] + [1,0,3,4,8,1,8,4,9,2,9] , A=[4,5,8,9,6,2,3] , C=0 , 5+9+0=14 , A->4 , C->1
[5,1,3,0,1,1,3,1,4,9] + [1,0,3,4,8,1,8,4,9,2] , A=[4,4,5,8,9,6,2,3] , C=1 , 9+2+1=12 , A->2 , C->1
[5,1,3,0,1,1,3,1,4] + [1,0,3,4,8,1,8,4,9] , A=[2,4,4,5,8,9,6,2,3] , C=1 , 4+9+1=14 , A->4 , C->1
[5,1,3,0,1,1,3,1] + [1,0,3,4,8,1,8,4] , A=[4,2,4,4,5,8,9,6,2,3] , C=1 , 1+4+1=6 , A->6 , C->0
[5,1,3,0,1,1,3] + [1,0,3,4,8,1,8] , A=[6,4,2,4,4,5,8,9,6,2,3] , C=0 , 3+8+0=11 , A->1 , C->1
[5,1,3,0,1,1] + [1,0,3,4,8,1] , A=[1,6,4,2,4,4,5,8,9,6,2,3] , C=1 , 1+1+1=3 , A->3 , C->0
[5,1,3,0,1] + [1,0,3,4,8] , A=[3,1,6,4,2,4,4,5,8,9,6,2,3] , C=0 , 1+8+0=9 , A->9 , C->0
[5,1,3,0] + [1,0,3,4] , A=[9,3,1,6,4,2,4,4,5,8,9,6,2,3] , C=0 , 0+4+0=4 , A->4 , C->0
[5,1,3] + [1,0,3] , A=[4,9,3,1,6,4,2,4,4,5,8,9,6,2,3] , C=0 , 3+3+0=6 , A->6 , C->0
[5,1] + [1,0] , A=[6,4,9,3,1,6,4,2,4,4,5,8,9,6,2,3] , C=0 , 1+0+0=1 , A->1 , C->0
[5] + [1] , A=[1,6,4,9,3,1,6,4,2,4,4,5,8,9,6,2,3] , C=0 , 5+1+0=6 , A->6 , C->0
[] + [] , A=[6,1,6,4,9,3,1,6,4,2,4,4,5,8,9,6,2,3] C=0 , END
</scratch>
616493164244589623
| 616493164244589623 | 18 |
Input:
343116555533532043+745407730340812178
Target:
| Input:
343116555533532043+745407730340812178
Target:
[3,4,3,1,1,6,5,5,5,5,3,3,5,3,2,0,4,3] + [7,4,5,4,0,7,7,3,0,3,4,0,8,1,2,1,7,8] , A=[] , C=0 , 3+8+0=11 , A->1 , C->1
[3,4,3,1,1,6,5,5,5,5,3,3,5,3,2,0,4] + [7,4,5,4,0,7,7,3,0,3,4,0,8,1,2,1,7] , A=[1] , C=1 , 4+7+1=12 , A->2 , C->1
[3,4,3,1,1,6,5,5,5,5,3,3,5,3,2,0] + [7,4,5,4,0,7,7,3,0,3,4,0,8,1,2,1] , A=[2,1] , C=1 , 0+1+1=2 , A->2 , C->0
[3,4,3,1,1,6,5,5,5,5,3,3,5,3,2] + [7,4,5,4,0,7,7,3,0,3,4,0,8,1,2] , A=[2,2,1] , C=0 , 2+2+0=4 , A->4 , C->0
[3,4,3,1,1,6,5,5,5,5,3,3,5,3] + [7,4,5,4,0,7,7,3,0,3,4,0,8,1] , A=[4,2,2,1] , C=0 , 3+1+0=4 , A->4 , C->0
[3,4,3,1,1,6,5,5,5,5,3,3,5] + [7,4,5,4,0,7,7,3,0,3,4,0,8] , A=[4,4,2,2,1] , C=0 , 5+8+0=13 , A->3 , C->1
[3,4,3,1,1,6,5,5,5,5,3,3] + [7,4,5,4,0,7,7,3,0,3,4,0] , A=[3,4,4,2,2,1] , C=1 , 3+0+1=4 , A->4 , C->0
[3,4,3,1,1,6,5,5,5,5,3] + [7,4,5,4,0,7,7,3,0,3,4] , A=[4,3,4,4,2,2,1] , C=0 , 3+4+0=7 , A->7 , C->0
[3,4,3,1,1,6,5,5,5,5] + [7,4,5,4,0,7,7,3,0,3] , A=[7,4,3,4,4,2,2,1] , C=0 , 5+3+0=8 , A->8 , C->0
[3,4,3,1,1,6,5,5,5] + [7,4,5,4,0,7,7,3,0] , A=[8,7,4,3,4,4,2,2,1] , C=0 , 5+0+0=5 , A->5 , C->0
[3,4,3,1,1,6,5,5] + [7,4,5,4,0,7,7,3] , A=[5,8,7,4,3,4,4,2,2,1] , C=0 , 5+3+0=8 , A->8 , C->0
[3,4,3,1,1,6,5] + [7,4,5,4,0,7,7] , A=[8,5,8,7,4,3,4,4,2,2,1] , C=0 , 5+7+0=12 , A->2 , C->1
[3,4,3,1,1,6] + [7,4,5,4,0,7] , A=[2,8,5,8,7,4,3,4,4,2,2,1] , C=1 , 6+7+1=14 , A->4 , C->1
[3,4,3,1,1] + [7,4,5,4,0] , A=[4,2,8,5,8,7,4,3,4,4,2,2,1] , C=1 , 1+0+1=2 , A->2 , C->0
[3,4,3,1] + [7,4,5,4] , A=[2,4,2,8,5,8,7,4,3,4,4,2,2,1] , C=0 , 1+4+0=5 , A->5 , C->0
[3,4,3] + [7,4,5] , A=[5,2,4,2,8,5,8,7,4,3,4,4,2,2,1] , C=0 , 3+5+0=8 , A->8 , C->0
[3,4] + [7,4] , A=[8,5,2,4,2,8,5,8,7,4,3,4,4,2,2,1] , C=0 , 4+4+0=8 , A->8 , C->0
[3] + [7] , A=[8,8,5,2,4,2,8,5,8,7,4,3,4,4,2,2,1] , C=0 , 3+7+0=10 , A->0 , C->1
[] + [] , A=[0,8,8,5,2,4,2,8,5,8,7,4,3,4,4,2,2,1] C=1 , END
</scratch>
1088524285874344221
| 1088524285874344221 | 18 |
Input:
364116177752551380+673282272399807896
Target:
| Input:
364116177752551380+673282272399807896
Target:
[3,6,4,1,1,6,1,7,7,7,5,2,5,5,1,3,8,0] + [6,7,3,2,8,2,2,7,2,3,9,9,8,0,7,8,9,6] , A=[] , C=0 , 0+6+0=6 , A->6 , C->0
[3,6,4,1,1,6,1,7,7,7,5,2,5,5,1,3,8] + [6,7,3,2,8,2,2,7,2,3,9,9,8,0,7,8,9] , A=[6] , C=0 , 8+9+0=17 , A->7 , C->1
[3,6,4,1,1,6,1,7,7,7,5,2,5,5,1,3] + [6,7,3,2,8,2,2,7,2,3,9,9,8,0,7,8] , A=[7,6] , C=1 , 3+8+1=12 , A->2 , C->1
[3,6,4,1,1,6,1,7,7,7,5,2,5,5,1] + [6,7,3,2,8,2,2,7,2,3,9,9,8,0,7] , A=[2,7,6] , C=1 , 1+7+1=9 , A->9 , C->0
[3,6,4,1,1,6,1,7,7,7,5,2,5,5] + [6,7,3,2,8,2,2,7,2,3,9,9,8,0] , A=[9,2,7,6] , C=0 , 5+0+0=5 , A->5 , C->0
[3,6,4,1,1,6,1,7,7,7,5,2,5] + [6,7,3,2,8,2,2,7,2,3,9,9,8] , A=[5,9,2,7,6] , C=0 , 5+8+0=13 , A->3 , C->1
[3,6,4,1,1,6,1,7,7,7,5,2] + [6,7,3,2,8,2,2,7,2,3,9,9] , A=[3,5,9,2,7,6] , C=1 , 2+9+1=12 , A->2 , C->1
[3,6,4,1,1,6,1,7,7,7,5] + [6,7,3,2,8,2,2,7,2,3,9] , A=[2,3,5,9,2,7,6] , C=1 , 5+9+1=15 , A->5 , C->1
[3,6,4,1,1,6,1,7,7,7] + [6,7,3,2,8,2,2,7,2,3] , A=[5,2,3,5,9,2,7,6] , C=1 , 7+3+1=11 , A->1 , C->1
[3,6,4,1,1,6,1,7,7] + [6,7,3,2,8,2,2,7,2] , A=[1,5,2,3,5,9,2,7,6] , C=1 , 7+2+1=10 , A->0 , C->1
[3,6,4,1,1,6,1,7] + [6,7,3,2,8,2,2,7] , A=[0,1,5,2,3,5,9,2,7,6] , C=1 , 7+7+1=15 , A->5 , C->1
[3,6,4,1,1,6,1] + [6,7,3,2,8,2,2] , A=[5,0,1,5,2,3,5,9,2,7,6] , C=1 , 1+2+1=4 , A->4 , C->0
[3,6,4,1,1,6] + [6,7,3,2,8,2] , A=[4,5,0,1,5,2,3,5,9,2,7,6] , C=0 , 6+2+0=8 , A->8 , C->0
[3,6,4,1,1] + [6,7,3,2,8] , A=[8,4,5,0,1,5,2,3,5,9,2,7,6] , C=0 , 1+8+0=9 , A->9 , C->0
[3,6,4,1] + [6,7,3,2] , A=[9,8,4,5,0,1,5,2,3,5,9,2,7,6] , C=0 , 1+2+0=3 , A->3 , C->0
[3,6,4] + [6,7,3] , A=[3,9,8,4,5,0,1,5,2,3,5,9,2,7,6] , C=0 , 4+3+0=7 , A->7 , C->0
[3,6] + [6,7] , A=[7,3,9,8,4,5,0,1,5,2,3,5,9,2,7,6] , C=0 , 6+7+0=13 , A->3 , C->1
[3] + [6] , A=[3,7,3,9,8,4,5,0,1,5,2,3,5,9,2,7,6] , C=1 , 3+6+1=10 , A->0 , C->1
[] + [] , A=[0,3,7,3,9,8,4,5,0,1,5,2,3,5,9,2,7,6] C=1 , END
</scratch>
1037398450152359276
| 1037398450152359276 | 18 |
Input:
976371991324073522+169120620321429209
Target:
| Input:
976371991324073522+169120620321429209
Target:
[9,7,6,3,7,1,9,9,1,3,2,4,0,7,3,5,2,2] + [1,6,9,1,2,0,6,2,0,3,2,1,4,2,9,2,0,9] , A=[] , C=0 , 2+9+0=11 , A->1 , C->1
[9,7,6,3,7,1,9,9,1,3,2,4,0,7,3,5,2] + [1,6,9,1,2,0,6,2,0,3,2,1,4,2,9,2,0] , A=[1] , C=1 , 2+0+1=3 , A->3 , C->0
[9,7,6,3,7,1,9,9,1,3,2,4,0,7,3,5] + [1,6,9,1,2,0,6,2,0,3,2,1,4,2,9,2] , A=[3,1] , C=0 , 5+2+0=7 , A->7 , C->0
[9,7,6,3,7,1,9,9,1,3,2,4,0,7,3] + [1,6,9,1,2,0,6,2,0,3,2,1,4,2,9] , A=[7,3,1] , C=0 , 3+9+0=12 , A->2 , C->1
[9,7,6,3,7,1,9,9,1,3,2,4,0,7] + [1,6,9,1,2,0,6,2,0,3,2,1,4,2] , A=[2,7,3,1] , C=1 , 7+2+1=10 , A->0 , C->1
[9,7,6,3,7,1,9,9,1,3,2,4,0] + [1,6,9,1,2,0,6,2,0,3,2,1,4] , A=[0,2,7,3,1] , C=1 , 0+4+1=5 , A->5 , C->0
[9,7,6,3,7,1,9,9,1,3,2,4] + [1,6,9,1,2,0,6,2,0,3,2,1] , A=[5,0,2,7,3,1] , C=0 , 4+1+0=5 , A->5 , C->0
[9,7,6,3,7,1,9,9,1,3,2] + [1,6,9,1,2,0,6,2,0,3,2] , A=[5,5,0,2,7,3,1] , C=0 , 2+2+0=4 , A->4 , C->0
[9,7,6,3,7,1,9,9,1,3] + [1,6,9,1,2,0,6,2,0,3] , A=[4,5,5,0,2,7,3,1] , C=0 , 3+3+0=6 , A->6 , C->0
[9,7,6,3,7,1,9,9,1] + [1,6,9,1,2,0,6,2,0] , A=[6,4,5,5,0,2,7,3,1] , C=0 , 1+0+0=1 , A->1 , C->0
[9,7,6,3,7,1,9,9] + [1,6,9,1,2,0,6,2] , A=[1,6,4,5,5,0,2,7,3,1] , C=0 , 9+2+0=11 , A->1 , C->1
[9,7,6,3,7,1,9] + [1,6,9,1,2,0,6] , A=[1,1,6,4,5,5,0,2,7,3,1] , C=1 , 9+6+1=16 , A->6 , C->1
[9,7,6,3,7,1] + [1,6,9,1,2,0] , A=[6,1,1,6,4,5,5,0,2,7,3,1] , C=1 , 1+0+1=2 , A->2 , C->0
[9,7,6,3,7] + [1,6,9,1,2] , A=[2,6,1,1,6,4,5,5,0,2,7,3,1] , C=0 , 7+2+0=9 , A->9 , C->0
[9,7,6,3] + [1,6,9,1] , A=[9,2,6,1,1,6,4,5,5,0,2,7,3,1] , C=0 , 3+1+0=4 , A->4 , C->0
[9,7,6] + [1,6,9] , A=[4,9,2,6,1,1,6,4,5,5,0,2,7,3,1] , C=0 , 6+9+0=15 , A->5 , C->1
[9,7] + [1,6] , A=[5,4,9,2,6,1,1,6,4,5,5,0,2,7,3,1] , C=1 , 7+6+1=14 , A->4 , C->1
[9] + [1] , A=[4,5,4,9,2,6,1,1,6,4,5,5,0,2,7,3,1] , C=1 , 9+1+1=11 , A->1 , C->1
[] + [] , A=[1,4,5,4,9,2,6,1,1,6,4,5,5,0,2,7,3,1] C=1 , END
</scratch>
1145492611645502731
| 1145492611645502731 | 18 |
Input:
385010338269694760+508341731488114815
Target:
| Input:
385010338269694760+508341731488114815
Target:
[3,8,5,0,1,0,3,3,8,2,6,9,6,9,4,7,6,0] + [5,0,8,3,4,1,7,3,1,4,8,8,1,1,4,8,1,5] , A=[] , C=0 , 0+5+0=5 , A->5 , C->0
[3,8,5,0,1,0,3,3,8,2,6,9,6,9,4,7,6] + [5,0,8,3,4,1,7,3,1,4,8,8,1,1,4,8,1] , A=[5] , C=0 , 6+1+0=7 , A->7 , C->0
[3,8,5,0,1,0,3,3,8,2,6,9,6,9,4,7] + [5,0,8,3,4,1,7,3,1,4,8,8,1,1,4,8] , A=[7,5] , C=0 , 7+8+0=15 , A->5 , C->1
[3,8,5,0,1,0,3,3,8,2,6,9,6,9,4] + [5,0,8,3,4,1,7,3,1,4,8,8,1,1,4] , A=[5,7,5] , C=1 , 4+4+1=9 , A->9 , C->0
[3,8,5,0,1,0,3,3,8,2,6,9,6,9] + [5,0,8,3,4,1,7,3,1,4,8,8,1,1] , A=[9,5,7,5] , C=0 , 9+1+0=10 , A->0 , C->1
[3,8,5,0,1,0,3,3,8,2,6,9,6] + [5,0,8,3,4,1,7,3,1,4,8,8,1] , A=[0,9,5,7,5] , C=1 , 6+1+1=8 , A->8 , C->0
[3,8,5,0,1,0,3,3,8,2,6,9] + [5,0,8,3,4,1,7,3,1,4,8,8] , A=[8,0,9,5,7,5] , C=0 , 9+8+0=17 , A->7 , C->1
[3,8,5,0,1,0,3,3,8,2,6] + [5,0,8,3,4,1,7,3,1,4,8] , A=[7,8,0,9,5,7,5] , C=1 , 6+8+1=15 , A->5 , C->1
[3,8,5,0,1,0,3,3,8,2] + [5,0,8,3,4,1,7,3,1,4] , A=[5,7,8,0,9,5,7,5] , C=1 , 2+4+1=7 , A->7 , C->0
[3,8,5,0,1,0,3,3,8] + [5,0,8,3,4,1,7,3,1] , A=[7,5,7,8,0,9,5,7,5] , C=0 , 8+1+0=9 , A->9 , C->0
[3,8,5,0,1,0,3,3] + [5,0,8,3,4,1,7,3] , A=[9,7,5,7,8,0,9,5,7,5] , C=0 , 3+3+0=6 , A->6 , C->0
[3,8,5,0,1,0,3] + [5,0,8,3,4,1,7] , A=[6,9,7,5,7,8,0,9,5,7,5] , C=0 , 3+7+0=10 , A->0 , C->1
[3,8,5,0,1,0] + [5,0,8,3,4,1] , A=[0,6,9,7,5,7,8,0,9,5,7,5] , C=1 , 0+1+1=2 , A->2 , C->0
[3,8,5,0,1] + [5,0,8,3,4] , A=[2,0,6,9,7,5,7,8,0,9,5,7,5] , C=0 , 1+4+0=5 , A->5 , C->0
[3,8,5,0] + [5,0,8,3] , A=[5,2,0,6,9,7,5,7,8,0,9,5,7,5] , C=0 , 0+3+0=3 , A->3 , C->0
[3,8,5] + [5,0,8] , A=[3,5,2,0,6,9,7,5,7,8,0,9,5,7,5] , C=0 , 5+8+0=13 , A->3 , C->1
[3,8] + [5,0] , A=[3,3,5,2,0,6,9,7,5,7,8,0,9,5,7,5] , C=1 , 8+0+1=9 , A->9 , C->0
[3] + [5] , A=[9,3,3,5,2,0,6,9,7,5,7,8,0,9,5,7,5] , C=0 , 3+5+0=8 , A->8 , C->0
[] + [] , A=[8,9,3,3,5,2,0,6,9,7,5,7,8,0,9,5,7,5] C=0 , END
</scratch>
893352069757809575
| 893352069757809575 | 18 |
Input:
822025864028083499+783991218015161685
Target:
| Input:
822025864028083499+783991218015161685
Target:
[8,2,2,0,2,5,8,6,4,0,2,8,0,8,3,4,9,9] + [7,8,3,9,9,1,2,1,8,0,1,5,1,6,1,6,8,5] , A=[] , C=0 , 9+5+0=14 , A->4 , C->1
[8,2,2,0,2,5,8,6,4,0,2,8,0,8,3,4,9] + [7,8,3,9,9,1,2,1,8,0,1,5,1,6,1,6,8] , A=[4] , C=1 , 9+8+1=18 , A->8 , C->1
[8,2,2,0,2,5,8,6,4,0,2,8,0,8,3,4] + [7,8,3,9,9,1,2,1,8,0,1,5,1,6,1,6] , A=[8,4] , C=1 , 4+6+1=11 , A->1 , C->1
[8,2,2,0,2,5,8,6,4,0,2,8,0,8,3] + [7,8,3,9,9,1,2,1,8,0,1,5,1,6,1] , A=[1,8,4] , C=1 , 3+1+1=5 , A->5 , C->0
[8,2,2,0,2,5,8,6,4,0,2,8,0,8] + [7,8,3,9,9,1,2,1,8,0,1,5,1,6] , A=[5,1,8,4] , C=0 , 8+6+0=14 , A->4 , C->1
[8,2,2,0,2,5,8,6,4,0,2,8,0] + [7,8,3,9,9,1,2,1,8,0,1,5,1] , A=[4,5,1,8,4] , C=1 , 0+1+1=2 , A->2 , C->0
[8,2,2,0,2,5,8,6,4,0,2,8] + [7,8,3,9,9,1,2,1,8,0,1,5] , A=[2,4,5,1,8,4] , C=0 , 8+5+0=13 , A->3 , C->1
[8,2,2,0,2,5,8,6,4,0,2] + [7,8,3,9,9,1,2,1,8,0,1] , A=[3,2,4,5,1,8,4] , C=1 , 2+1+1=4 , A->4 , C->0
[8,2,2,0,2,5,8,6,4,0] + [7,8,3,9,9,1,2,1,8,0] , A=[4,3,2,4,5,1,8,4] , C=0 , 0+0+0=0 , A->0 , C->0
[8,2,2,0,2,5,8,6,4] + [7,8,3,9,9,1,2,1,8] , A=[0,4,3,2,4,5,1,8,4] , C=0 , 4+8+0=12 , A->2 , C->1
[8,2,2,0,2,5,8,6] + [7,8,3,9,9,1,2,1] , A=[2,0,4,3,2,4,5,1,8,4] , C=1 , 6+1+1=8 , A->8 , C->0
[8,2,2,0,2,5,8] + [7,8,3,9,9,1,2] , A=[8,2,0,4,3,2,4,5,1,8,4] , C=0 , 8+2+0=10 , A->0 , C->1
[8,2,2,0,2,5] + [7,8,3,9,9,1] , A=[0,8,2,0,4,3,2,4,5,1,8,4] , C=1 , 5+1+1=7 , A->7 , C->0
[8,2,2,0,2] + [7,8,3,9,9] , A=[7,0,8,2,0,4,3,2,4,5,1,8,4] , C=0 , 2+9+0=11 , A->1 , C->1
[8,2,2,0] + [7,8,3,9] , A=[1,7,0,8,2,0,4,3,2,4,5,1,8,4] , C=1 , 0+9+1=10 , A->0 , C->1
[8,2,2] + [7,8,3] , A=[0,1,7,0,8,2,0,4,3,2,4,5,1,8,4] , C=1 , 2+3+1=6 , A->6 , C->0
[8,2] + [7,8] , A=[6,0,1,7,0,8,2,0,4,3,2,4,5,1,8,4] , C=0 , 2+8+0=10 , A->0 , C->1
[8] + [7] , A=[0,6,0,1,7,0,8,2,0,4,3,2,4,5,1,8,4] , C=1 , 8+7+1=16 , A->6 , C->1
[] + [] , A=[6,0,6,0,1,7,0,8,2,0,4,3,2,4,5,1,8,4] C=1 , END
</scratch>
1606017082043245184
| 1606017082043245184 | 18 |
Input:
676554311928528653+668163769433449465
Target:
| Input:
676554311928528653+668163769433449465
Target:
[6,7,6,5,5,4,3,1,1,9,2,8,5,2,8,6,5,3] + [6,6,8,1,6,3,7,6,9,4,3,3,4,4,9,4,6,5] , A=[] , C=0 , 3+5+0=8 , A->8 , C->0
[6,7,6,5,5,4,3,1,1,9,2,8,5,2,8,6,5] + [6,6,8,1,6,3,7,6,9,4,3,3,4,4,9,4,6] , A=[8] , C=0 , 5+6+0=11 , A->1 , C->1
[6,7,6,5,5,4,3,1,1,9,2,8,5,2,8,6] + [6,6,8,1,6,3,7,6,9,4,3,3,4,4,9,4] , A=[1,8] , C=1 , 6+4+1=11 , A->1 , C->1
[6,7,6,5,5,4,3,1,1,9,2,8,5,2,8] + [6,6,8,1,6,3,7,6,9,4,3,3,4,4,9] , A=[1,1,8] , C=1 , 8+9+1=18 , A->8 , C->1
[6,7,6,5,5,4,3,1,1,9,2,8,5,2] + [6,6,8,1,6,3,7,6,9,4,3,3,4,4] , A=[8,1,1,8] , C=1 , 2+4+1=7 , A->7 , C->0
[6,7,6,5,5,4,3,1,1,9,2,8,5] + [6,6,8,1,6,3,7,6,9,4,3,3,4] , A=[7,8,1,1,8] , C=0 , 5+4+0=9 , A->9 , C->0
[6,7,6,5,5,4,3,1,1,9,2,8] + [6,6,8,1,6,3,7,6,9,4,3,3] , A=[9,7,8,1,1,8] , C=0 , 8+3+0=11 , A->1 , C->1
[6,7,6,5,5,4,3,1,1,9,2] + [6,6,8,1,6,3,7,6,9,4,3] , A=[1,9,7,8,1,1,8] , C=1 , 2+3+1=6 , A->6 , C->0
[6,7,6,5,5,4,3,1,1,9] + [6,6,8,1,6,3,7,6,9,4] , A=[6,1,9,7,8,1,1,8] , C=0 , 9+4+0=13 , A->3 , C->1
[6,7,6,5,5,4,3,1,1] + [6,6,8,1,6,3,7,6,9] , A=[3,6,1,9,7,8,1,1,8] , C=1 , 1+9+1=11 , A->1 , C->1
[6,7,6,5,5,4,3,1] + [6,6,8,1,6,3,7,6] , A=[1,3,6,1,9,7,8,1,1,8] , C=1 , 1+6+1=8 , A->8 , C->0
[6,7,6,5,5,4,3] + [6,6,8,1,6,3,7] , A=[8,1,3,6,1,9,7,8,1,1,8] , C=0 , 3+7+0=10 , A->0 , C->1
[6,7,6,5,5,4] + [6,6,8,1,6,3] , A=[0,8,1,3,6,1,9,7,8,1,1,8] , C=1 , 4+3+1=8 , A->8 , C->0
[6,7,6,5,5] + [6,6,8,1,6] , A=[8,0,8,1,3,6,1,9,7,8,1,1,8] , C=0 , 5+6+0=11 , A->1 , C->1
[6,7,6,5] + [6,6,8,1] , A=[1,8,0,8,1,3,6,1,9,7,8,1,1,8] , C=1 , 5+1+1=7 , A->7 , C->0
[6,7,6] + [6,6,8] , A=[7,1,8,0,8,1,3,6,1,9,7,8,1,1,8] , C=0 , 6+8+0=14 , A->4 , C->1
[6,7] + [6,6] , A=[4,7,1,8,0,8,1,3,6,1,9,7,8,1,1,8] , C=1 , 7+6+1=14 , A->4 , C->1
[6] + [6] , A=[4,4,7,1,8,0,8,1,3,6,1,9,7,8,1,1,8] , C=1 , 6+6+1=13 , A->3 , C->1
[] + [] , A=[3,4,4,7,1,8,0,8,1,3,6,1,9,7,8,1,1,8] C=1 , END
</scratch>
1344718081361978118
| 1344718081361978118 | 18 |
Input:
252432084576080658+994050840102593486
Target:
| Input:
252432084576080658+994050840102593486
Target:
[2,5,2,4,3,2,0,8,4,5,7,6,0,8,0,6,5,8] + [9,9,4,0,5,0,8,4,0,1,0,2,5,9,3,4,8,6] , A=[] , C=0 , 8+6+0=14 , A->4 , C->1
[2,5,2,4,3,2,0,8,4,5,7,6,0,8,0,6,5] + [9,9,4,0,5,0,8,4,0,1,0,2,5,9,3,4,8] , A=[4] , C=1 , 5+8+1=14 , A->4 , C->1
[2,5,2,4,3,2,0,8,4,5,7,6,0,8,0,6] + [9,9,4,0,5,0,8,4,0,1,0,2,5,9,3,4] , A=[4,4] , C=1 , 6+4+1=11 , A->1 , C->1
[2,5,2,4,3,2,0,8,4,5,7,6,0,8,0] + [9,9,4,0,5,0,8,4,0,1,0,2,5,9,3] , A=[1,4,4] , C=1 , 0+3+1=4 , A->4 , C->0
[2,5,2,4,3,2,0,8,4,5,7,6,0,8] + [9,9,4,0,5,0,8,4,0,1,0,2,5,9] , A=[4,1,4,4] , C=0 , 8+9+0=17 , A->7 , C->1
[2,5,2,4,3,2,0,8,4,5,7,6,0] + [9,9,4,0,5,0,8,4,0,1,0,2,5] , A=[7,4,1,4,4] , C=1 , 0+5+1=6 , A->6 , C->0
[2,5,2,4,3,2,0,8,4,5,7,6] + [9,9,4,0,5,0,8,4,0,1,0,2] , A=[6,7,4,1,4,4] , C=0 , 6+2+0=8 , A->8 , C->0
[2,5,2,4,3,2,0,8,4,5,7] + [9,9,4,0,5,0,8,4,0,1,0] , A=[8,6,7,4,1,4,4] , C=0 , 7+0+0=7 , A->7 , C->0
[2,5,2,4,3,2,0,8,4,5] + [9,9,4,0,5,0,8,4,0,1] , A=[7,8,6,7,4,1,4,4] , C=0 , 5+1+0=6 , A->6 , C->0
[2,5,2,4,3,2,0,8,4] + [9,9,4,0,5,0,8,4,0] , A=[6,7,8,6,7,4,1,4,4] , C=0 , 4+0+0=4 , A->4 , C->0
[2,5,2,4,3,2,0,8] + [9,9,4,0,5,0,8,4] , A=[4,6,7,8,6,7,4,1,4,4] , C=0 , 8+4+0=12 , A->2 , C->1
[2,5,2,4,3,2,0] + [9,9,4,0,5,0,8] , A=[2,4,6,7,8,6,7,4,1,4,4] , C=1 , 0+8+1=9 , A->9 , C->0
[2,5,2,4,3,2] + [9,9,4,0,5,0] , A=[9,2,4,6,7,8,6,7,4,1,4,4] , C=0 , 2+0+0=2 , A->2 , C->0
[2,5,2,4,3] + [9,9,4,0,5] , A=[2,9,2,4,6,7,8,6,7,4,1,4,4] , C=0 , 3+5+0=8 , A->8 , C->0
[2,5,2,4] + [9,9,4,0] , A=[8,2,9,2,4,6,7,8,6,7,4,1,4,4] , C=0 , 4+0+0=4 , A->4 , C->0
[2,5,2] + [9,9,4] , A=[4,8,2,9,2,4,6,7,8,6,7,4,1,4,4] , C=0 , 2+4+0=6 , A->6 , C->0
[2,5] + [9,9] , A=[6,4,8,2,9,2,4,6,7,8,6,7,4,1,4,4] , C=0 , 5+9+0=14 , A->4 , C->1
[2] + [9] , A=[4,6,4,8,2,9,2,4,6,7,8,6,7,4,1,4,4] , C=1 , 2+9+1=12 , A->2 , C->1
[] + [] , A=[2,4,6,4,8,2,9,2,4,6,7,8,6,7,4,1,4,4] C=1 , END
</scratch>
1246482924678674144
| 1246482924678674144 | 18 |
Input:
422211196077631541+904293858955120795
Target:
| Input:
422211196077631541+904293858955120795
Target:
[4,2,2,2,1,1,1,9,6,0,7,7,6,3,1,5,4,1] + [9,0,4,2,9,3,8,5,8,9,5,5,1,2,0,7,9,5] , A=[] , C=0 , 1+5+0=6 , A->6 , C->0
[4,2,2,2,1,1,1,9,6,0,7,7,6,3,1,5,4] + [9,0,4,2,9,3,8,5,8,9,5,5,1,2,0,7,9] , A=[6] , C=0 , 4+9+0=13 , A->3 , C->1
[4,2,2,2,1,1,1,9,6,0,7,7,6,3,1,5] + [9,0,4,2,9,3,8,5,8,9,5,5,1,2,0,7] , A=[3,6] , C=1 , 5+7+1=13 , A->3 , C->1
[4,2,2,2,1,1,1,9,6,0,7,7,6,3,1] + [9,0,4,2,9,3,8,5,8,9,5,5,1,2,0] , A=[3,3,6] , C=1 , 1+0+1=2 , A->2 , C->0
[4,2,2,2,1,1,1,9,6,0,7,7,6,3] + [9,0,4,2,9,3,8,5,8,9,5,5,1,2] , A=[2,3,3,6] , C=0 , 3+2+0=5 , A->5 , C->0
[4,2,2,2,1,1,1,9,6,0,7,7,6] + [9,0,4,2,9,3,8,5,8,9,5,5,1] , A=[5,2,3,3,6] , C=0 , 6+1+0=7 , A->7 , C->0
[4,2,2,2,1,1,1,9,6,0,7,7] + [9,0,4,2,9,3,8,5,8,9,5,5] , A=[7,5,2,3,3,6] , C=0 , 7+5+0=12 , A->2 , C->1
[4,2,2,2,1,1,1,9,6,0,7] + [9,0,4,2,9,3,8,5,8,9,5] , A=[2,7,5,2,3,3,6] , C=1 , 7+5+1=13 , A->3 , C->1
[4,2,2,2,1,1,1,9,6,0] + [9,0,4,2,9,3,8,5,8,9] , A=[3,2,7,5,2,3,3,6] , C=1 , 0+9+1=10 , A->0 , C->1
[4,2,2,2,1,1,1,9,6] + [9,0,4,2,9,3,8,5,8] , A=[0,3,2,7,5,2,3,3,6] , C=1 , 6+8+1=15 , A->5 , C->1
[4,2,2,2,1,1,1,9] + [9,0,4,2,9,3,8,5] , A=[5,0,3,2,7,5,2,3,3,6] , C=1 , 9+5+1=15 , A->5 , C->1
[4,2,2,2,1,1,1] + [9,0,4,2,9,3,8] , A=[5,5,0,3,2,7,5,2,3,3,6] , C=1 , 1+8+1=10 , A->0 , C->1
[4,2,2,2,1,1] + [9,0,4,2,9,3] , A=[0,5,5,0,3,2,7,5,2,3,3,6] , C=1 , 1+3+1=5 , A->5 , C->0
[4,2,2,2,1] + [9,0,4,2,9] , A=[5,0,5,5,0,3,2,7,5,2,3,3,6] , C=0 , 1+9+0=10 , A->0 , C->1
[4,2,2,2] + [9,0,4,2] , A=[0,5,0,5,5,0,3,2,7,5,2,3,3,6] , C=1 , 2+2+1=5 , A->5 , C->0
[4,2,2] + [9,0,4] , A=[5,0,5,0,5,5,0,3,2,7,5,2,3,3,6] , C=0 , 2+4+0=6 , A->6 , C->0
[4,2] + [9,0] , A=[6,5,0,5,0,5,5,0,3,2,7,5,2,3,3,6] , C=0 , 2+0+0=2 , A->2 , C->0
[4] + [9] , A=[2,6,5,0,5,0,5,5,0,3,2,7,5,2,3,3,6] , C=0 , 4+9+0=13 , A->3 , C->1
[] + [] , A=[3,2,6,5,0,5,0,5,5,0,3,2,7,5,2,3,3,6] C=1 , END
</scratch>
1326505055032752336
| 1326505055032752336 | 18 |
Input:
544744257741040695+750185663133578491
Target:
| Input:
544744257741040695+750185663133578491
Target:
[5,4,4,7,4,4,2,5,7,7,4,1,0,4,0,6,9,5] + [7,5,0,1,8,5,6,6,3,1,3,3,5,7,8,4,9,1] , A=[] , C=0 , 5+1+0=6 , A->6 , C->0
[5,4,4,7,4,4,2,5,7,7,4,1,0,4,0,6,9] + [7,5,0,1,8,5,6,6,3,1,3,3,5,7,8,4,9] , A=[6] , C=0 , 9+9+0=18 , A->8 , C->1
[5,4,4,7,4,4,2,5,7,7,4,1,0,4,0,6] + [7,5,0,1,8,5,6,6,3,1,3,3,5,7,8,4] , A=[8,6] , C=1 , 6+4+1=11 , A->1 , C->1
[5,4,4,7,4,4,2,5,7,7,4,1,0,4,0] + [7,5,0,1,8,5,6,6,3,1,3,3,5,7,8] , A=[1,8,6] , C=1 , 0+8+1=9 , A->9 , C->0
[5,4,4,7,4,4,2,5,7,7,4,1,0,4] + [7,5,0,1,8,5,6,6,3,1,3,3,5,7] , A=[9,1,8,6] , C=0 , 4+7+0=11 , A->1 , C->1
[5,4,4,7,4,4,2,5,7,7,4,1,0] + [7,5,0,1,8,5,6,6,3,1,3,3,5] , A=[1,9,1,8,6] , C=1 , 0+5+1=6 , A->6 , C->0
[5,4,4,7,4,4,2,5,7,7,4,1] + [7,5,0,1,8,5,6,6,3,1,3,3] , A=[6,1,9,1,8,6] , C=0 , 1+3+0=4 , A->4 , C->0
[5,4,4,7,4,4,2,5,7,7,4] + [7,5,0,1,8,5,6,6,3,1,3] , A=[4,6,1,9,1,8,6] , C=0 , 4+3+0=7 , A->7 , C->0
[5,4,4,7,4,4,2,5,7,7] + [7,5,0,1,8,5,6,6,3,1] , A=[7,4,6,1,9,1,8,6] , C=0 , 7+1+0=8 , A->8 , C->0
[5,4,4,7,4,4,2,5,7] + [7,5,0,1,8,5,6,6,3] , A=[8,7,4,6,1,9,1,8,6] , C=0 , 7+3+0=10 , A->0 , C->1
[5,4,4,7,4,4,2,5] + [7,5,0,1,8,5,6,6] , A=[0,8,7,4,6,1,9,1,8,6] , C=1 , 5+6+1=12 , A->2 , C->1
[5,4,4,7,4,4,2] + [7,5,0,1,8,5,6] , A=[2,0,8,7,4,6,1,9,1,8,6] , C=1 , 2+6+1=9 , A->9 , C->0
[5,4,4,7,4,4] + [7,5,0,1,8,5] , A=[9,2,0,8,7,4,6,1,9,1,8,6] , C=0 , 4+5+0=9 , A->9 , C->0
[5,4,4,7,4] + [7,5,0,1,8] , A=[9,9,2,0,8,7,4,6,1,9,1,8,6] , C=0 , 4+8+0=12 , A->2 , C->1
[5,4,4,7] + [7,5,0,1] , A=[2,9,9,2,0,8,7,4,6,1,9,1,8,6] , C=1 , 7+1+1=9 , A->9 , C->0
[5,4,4] + [7,5,0] , A=[9,2,9,9,2,0,8,7,4,6,1,9,1,8,6] , C=0 , 4+0+0=4 , A->4 , C->0
[5,4] + [7,5] , A=[4,9,2,9,9,2,0,8,7,4,6,1,9,1,8,6] , C=0 , 4+5+0=9 , A->9 , C->0
[5] + [7] , A=[9,4,9,2,9,9,2,0,8,7,4,6,1,9,1,8,6] , C=0 , 5+7+0=12 , A->2 , C->1
[] + [] , A=[2,9,4,9,2,9,9,2,0,8,7,4,6,1,9,1,8,6] C=1 , END
</scratch>
1294929920874619186
| 1294929920874619186 | 18 |
Input:
632490984249110938+493461764465731351
Target:
| Input:
632490984249110938+493461764465731351
Target:
[6,3,2,4,9,0,9,8,4,2,4,9,1,1,0,9,3,8] + [4,9,3,4,6,1,7,6,4,4,6,5,7,3,1,3,5,1] , A=[] , C=0 , 8+1+0=9 , A->9 , C->0
[6,3,2,4,9,0,9,8,4,2,4,9,1,1,0,9,3] + [4,9,3,4,6,1,7,6,4,4,6,5,7,3,1,3,5] , A=[9] , C=0 , 3+5+0=8 , A->8 , C->0
[6,3,2,4,9,0,9,8,4,2,4,9,1,1,0,9] + [4,9,3,4,6,1,7,6,4,4,6,5,7,3,1,3] , A=[8,9] , C=0 , 9+3+0=12 , A->2 , C->1
[6,3,2,4,9,0,9,8,4,2,4,9,1,1,0] + [4,9,3,4,6,1,7,6,4,4,6,5,7,3,1] , A=[2,8,9] , C=1 , 0+1+1=2 , A->2 , C->0
[6,3,2,4,9,0,9,8,4,2,4,9,1,1] + [4,9,3,4,6,1,7,6,4,4,6,5,7,3] , A=[2,2,8,9] , C=0 , 1+3+0=4 , A->4 , C->0
[6,3,2,4,9,0,9,8,4,2,4,9,1] + [4,9,3,4,6,1,7,6,4,4,6,5,7] , A=[4,2,2,8,9] , C=0 , 1+7+0=8 , A->8 , C->0
[6,3,2,4,9,0,9,8,4,2,4,9] + [4,9,3,4,6,1,7,6,4,4,6,5] , A=[8,4,2,2,8,9] , C=0 , 9+5+0=14 , A->4 , C->1
[6,3,2,4,9,0,9,8,4,2,4] + [4,9,3,4,6,1,7,6,4,4,6] , A=[4,8,4,2,2,8,9] , C=1 , 4+6+1=11 , A->1 , C->1
[6,3,2,4,9,0,9,8,4,2] + [4,9,3,4,6,1,7,6,4,4] , A=[1,4,8,4,2,2,8,9] , C=1 , 2+4+1=7 , A->7 , C->0
[6,3,2,4,9,0,9,8,4] + [4,9,3,4,6,1,7,6,4] , A=[7,1,4,8,4,2,2,8,9] , C=0 , 4+4+0=8 , A->8 , C->0
[6,3,2,4,9,0,9,8] + [4,9,3,4,6,1,7,6] , A=[8,7,1,4,8,4,2,2,8,9] , C=0 , 8+6+0=14 , A->4 , C->1
[6,3,2,4,9,0,9] + [4,9,3,4,6,1,7] , A=[4,8,7,1,4,8,4,2,2,8,9] , C=1 , 9+7+1=17 , A->7 , C->1
[6,3,2,4,9,0] + [4,9,3,4,6,1] , A=[7,4,8,7,1,4,8,4,2,2,8,9] , C=1 , 0+1+1=2 , A->2 , C->0
[6,3,2,4,9] + [4,9,3,4,6] , A=[2,7,4,8,7,1,4,8,4,2,2,8,9] , C=0 , 9+6+0=15 , A->5 , C->1
[6,3,2,4] + [4,9,3,4] , A=[5,2,7,4,8,7,1,4,8,4,2,2,8,9] , C=1 , 4+4+1=9 , A->9 , C->0
[6,3,2] + [4,9,3] , A=[9,5,2,7,4,8,7,1,4,8,4,2,2,8,9] , C=0 , 2+3+0=5 , A->5 , C->0
[6,3] + [4,9] , A=[5,9,5,2,7,4,8,7,1,4,8,4,2,2,8,9] , C=0 , 3+9+0=12 , A->2 , C->1
[6] + [4] , A=[2,5,9,5,2,7,4,8,7,1,4,8,4,2,2,8,9] , C=1 , 6+4+1=11 , A->1 , C->1
[] + [] , A=[1,2,5,9,5,2,7,4,8,7,1,4,8,4,2,2,8,9] C=1 , END
</scratch>
1125952748714842289
| 1125952748714842289 | 18 |
Input:
264212244141312004+951486638083465078
Target:
| Input:
264212244141312004+951486638083465078
Target:
[2,6,4,2,1,2,2,4,4,1,4,1,3,1,2,0,0,4] + [9,5,1,4,8,6,6,3,8,0,8,3,4,6,5,0,7,8] , A=[] , C=0 , 4+8+0=12 , A->2 , C->1
[2,6,4,2,1,2,2,4,4,1,4,1,3,1,2,0,0] + [9,5,1,4,8,6,6,3,8,0,8,3,4,6,5,0,7] , A=[2] , C=1 , 0+7+1=8 , A->8 , C->0
[2,6,4,2,1,2,2,4,4,1,4,1,3,1,2,0] + [9,5,1,4,8,6,6,3,8,0,8,3,4,6,5,0] , A=[8,2] , C=0 , 0+0+0=0 , A->0 , C->0
[2,6,4,2,1,2,2,4,4,1,4,1,3,1,2] + [9,5,1,4,8,6,6,3,8,0,8,3,4,6,5] , A=[0,8,2] , C=0 , 2+5+0=7 , A->7 , C->0
[2,6,4,2,1,2,2,4,4,1,4,1,3,1] + [9,5,1,4,8,6,6,3,8,0,8,3,4,6] , A=[7,0,8,2] , C=0 , 1+6+0=7 , A->7 , C->0
[2,6,4,2,1,2,2,4,4,1,4,1,3] + [9,5,1,4,8,6,6,3,8,0,8,3,4] , A=[7,7,0,8,2] , C=0 , 3+4+0=7 , A->7 , C->0
[2,6,4,2,1,2,2,4,4,1,4,1] + [9,5,1,4,8,6,6,3,8,0,8,3] , A=[7,7,7,0,8,2] , C=0 , 1+3+0=4 , A->4 , C->0
[2,6,4,2,1,2,2,4,4,1,4] + [9,5,1,4,8,6,6,3,8,0,8] , A=[4,7,7,7,0,8,2] , C=0 , 4+8+0=12 , A->2 , C->1
[2,6,4,2,1,2,2,4,4,1] + [9,5,1,4,8,6,6,3,8,0] , A=[2,4,7,7,7,0,8,2] , C=1 , 1+0+1=2 , A->2 , C->0
[2,6,4,2,1,2,2,4,4] + [9,5,1,4,8,6,6,3,8] , A=[2,2,4,7,7,7,0,8,2] , C=0 , 4+8+0=12 , A->2 , C->1
[2,6,4,2,1,2,2,4] + [9,5,1,4,8,6,6,3] , A=[2,2,2,4,7,7,7,0,8,2] , C=1 , 4+3+1=8 , A->8 , C->0
[2,6,4,2,1,2,2] + [9,5,1,4,8,6,6] , A=[8,2,2,2,4,7,7,7,0,8,2] , C=0 , 2+6+0=8 , A->8 , C->0
[2,6,4,2,1,2] + [9,5,1,4,8,6] , A=[8,8,2,2,2,4,7,7,7,0,8,2] , C=0 , 2+6+0=8 , A->8 , C->0
[2,6,4,2,1] + [9,5,1,4,8] , A=[8,8,8,2,2,2,4,7,7,7,0,8,2] , C=0 , 1+8+0=9 , A->9 , C->0
[2,6,4,2] + [9,5,1,4] , A=[9,8,8,8,2,2,2,4,7,7,7,0,8,2] , C=0 , 2+4+0=6 , A->6 , C->0
[2,6,4] + [9,5,1] , A=[6,9,8,8,8,2,2,2,4,7,7,7,0,8,2] , C=0 , 4+1+0=5 , A->5 , C->0
[2,6] + [9,5] , A=[5,6,9,8,8,8,2,2,2,4,7,7,7,0,8,2] , C=0 , 6+5+0=11 , A->1 , C->1
[2] + [9] , A=[1,5,6,9,8,8,8,2,2,2,4,7,7,7,0,8,2] , C=1 , 2+9+1=12 , A->2 , C->1
[] + [] , A=[2,1,5,6,9,8,8,8,2,2,2,4,7,7,7,0,8,2] C=1 , END
</scratch>
1215698882224777082
| 1215698882224777082 | 18 |
Input:
410108443677511887+768939490032096110
Target:
| Input:
410108443677511887+768939490032096110
Target:
[4,1,0,1,0,8,4,4,3,6,7,7,5,1,1,8,8,7] + [7,6,8,9,3,9,4,9,0,0,3,2,0,9,6,1,1,0] , A=[] , C=0 , 7+0+0=7 , A->7 , C->0
[4,1,0,1,0,8,4,4,3,6,7,7,5,1,1,8,8] + [7,6,8,9,3,9,4,9,0,0,3,2,0,9,6,1,1] , A=[7] , C=0 , 8+1+0=9 , A->9 , C->0
[4,1,0,1,0,8,4,4,3,6,7,7,5,1,1,8] + [7,6,8,9,3,9,4,9,0,0,3,2,0,9,6,1] , A=[9,7] , C=0 , 8+1+0=9 , A->9 , C->0
[4,1,0,1,0,8,4,4,3,6,7,7,5,1,1] + [7,6,8,9,3,9,4,9,0,0,3,2,0,9,6] , A=[9,9,7] , C=0 , 1+6+0=7 , A->7 , C->0
[4,1,0,1,0,8,4,4,3,6,7,7,5,1] + [7,6,8,9,3,9,4,9,0,0,3,2,0,9] , A=[7,9,9,7] , C=0 , 1+9+0=10 , A->0 , C->1
[4,1,0,1,0,8,4,4,3,6,7,7,5] + [7,6,8,9,3,9,4,9,0,0,3,2,0] , A=[0,7,9,9,7] , C=1 , 5+0+1=6 , A->6 , C->0
[4,1,0,1,0,8,4,4,3,6,7,7] + [7,6,8,9,3,9,4,9,0,0,3,2] , A=[6,0,7,9,9,7] , C=0 , 7+2+0=9 , A->9 , C->0
[4,1,0,1,0,8,4,4,3,6,7] + [7,6,8,9,3,9,4,9,0,0,3] , A=[9,6,0,7,9,9,7] , C=0 , 7+3+0=10 , A->0 , C->1
[4,1,0,1,0,8,4,4,3,6] + [7,6,8,9,3,9,4,9,0,0] , A=[0,9,6,0,7,9,9,7] , C=1 , 6+0+1=7 , A->7 , C->0
[4,1,0,1,0,8,4,4,3] + [7,6,8,9,3,9,4,9,0] , A=[7,0,9,6,0,7,9,9,7] , C=0 , 3+0+0=3 , A->3 , C->0
[4,1,0,1,0,8,4,4] + [7,6,8,9,3,9,4,9] , A=[3,7,0,9,6,0,7,9,9,7] , C=0 , 4+9+0=13 , A->3 , C->1
[4,1,0,1,0,8,4] + [7,6,8,9,3,9,4] , A=[3,3,7,0,9,6,0,7,9,9,7] , C=1 , 4+4+1=9 , A->9 , C->0
[4,1,0,1,0,8] + [7,6,8,9,3,9] , A=[9,3,3,7,0,9,6,0,7,9,9,7] , C=0 , 8+9+0=17 , A->7 , C->1
[4,1,0,1,0] + [7,6,8,9,3] , A=[7,9,3,3,7,0,9,6,0,7,9,9,7] , C=1 , 0+3+1=4 , A->4 , C->0
[4,1,0,1] + [7,6,8,9] , A=[4,7,9,3,3,7,0,9,6,0,7,9,9,7] , C=0 , 1+9+0=10 , A->0 , C->1
[4,1,0] + [7,6,8] , A=[0,4,7,9,3,3,7,0,9,6,0,7,9,9,7] , C=1 , 0+8+1=9 , A->9 , C->0
[4,1] + [7,6] , A=[9,0,4,7,9,3,3,7,0,9,6,0,7,9,9,7] , C=0 , 1+6+0=7 , A->7 , C->0
[4] + [7] , A=[7,9,0,4,7,9,3,3,7,0,9,6,0,7,9,9,7] , C=0 , 4+7+0=11 , A->1 , C->1
[] + [] , A=[1,7,9,0,4,7,9,3,3,7,0,9,6,0,7,9,9,7] C=1 , END
</scratch>
1179047933709607997
| 1179047933709607997 | 18 |
Input:
737111333507486962+523738988314932035
Target:
| Input:
737111333507486962+523738988314932035
Target:
[7,3,7,1,1,1,3,3,3,5,0,7,4,8,6,9,6,2] + [5,2,3,7,3,8,9,8,8,3,1,4,9,3,2,0,3,5] , A=[] , C=0 , 2+5+0=7 , A->7 , C->0
[7,3,7,1,1,1,3,3,3,5,0,7,4,8,6,9,6] + [5,2,3,7,3,8,9,8,8,3,1,4,9,3,2,0,3] , A=[7] , C=0 , 6+3+0=9 , A->9 , C->0
[7,3,7,1,1,1,3,3,3,5,0,7,4,8,6,9] + [5,2,3,7,3,8,9,8,8,3,1,4,9,3,2,0] , A=[9,7] , C=0 , 9+0+0=9 , A->9 , C->0
[7,3,7,1,1,1,3,3,3,5,0,7,4,8,6] + [5,2,3,7,3,8,9,8,8,3,1,4,9,3,2] , A=[9,9,7] , C=0 , 6+2+0=8 , A->8 , C->0
[7,3,7,1,1,1,3,3,3,5,0,7,4,8] + [5,2,3,7,3,8,9,8,8,3,1,4,9,3] , A=[8,9,9,7] , C=0 , 8+3+0=11 , A->1 , C->1
[7,3,7,1,1,1,3,3,3,5,0,7,4] + [5,2,3,7,3,8,9,8,8,3,1,4,9] , A=[1,8,9,9,7] , C=1 , 4+9+1=14 , A->4 , C->1
[7,3,7,1,1,1,3,3,3,5,0,7] + [5,2,3,7,3,8,9,8,8,3,1,4] , A=[4,1,8,9,9,7] , C=1 , 7+4+1=12 , A->2 , C->1
[7,3,7,1,1,1,3,3,3,5,0] + [5,2,3,7,3,8,9,8,8,3,1] , A=[2,4,1,8,9,9,7] , C=1 , 0+1+1=2 , A->2 , C->0
[7,3,7,1,1,1,3,3,3,5] + [5,2,3,7,3,8,9,8,8,3] , A=[2,2,4,1,8,9,9,7] , C=0 , 5+3+0=8 , A->8 , C->0
[7,3,7,1,1,1,3,3,3] + [5,2,3,7,3,8,9,8,8] , A=[8,2,2,4,1,8,9,9,7] , C=0 , 3+8+0=11 , A->1 , C->1
[7,3,7,1,1,1,3,3] + [5,2,3,7,3,8,9,8] , A=[1,8,2,2,4,1,8,9,9,7] , C=1 , 3+8+1=12 , A->2 , C->1
[7,3,7,1,1,1,3] + [5,2,3,7,3,8,9] , A=[2,1,8,2,2,4,1,8,9,9,7] , C=1 , 3+9+1=13 , A->3 , C->1
[7,3,7,1,1,1] + [5,2,3,7,3,8] , A=[3,2,1,8,2,2,4,1,8,9,9,7] , C=1 , 1+8+1=10 , A->0 , C->1
[7,3,7,1,1] + [5,2,3,7,3] , A=[0,3,2,1,8,2,2,4,1,8,9,9,7] , C=1 , 1+3+1=5 , A->5 , C->0
[7,3,7,1] + [5,2,3,7] , A=[5,0,3,2,1,8,2,2,4,1,8,9,9,7] , C=0 , 1+7+0=8 , A->8 , C->0
[7,3,7] + [5,2,3] , A=[8,5,0,3,2,1,8,2,2,4,1,8,9,9,7] , C=0 , 7+3+0=10 , A->0 , C->1
[7,3] + [5,2] , A=[0,8,5,0,3,2,1,8,2,2,4,1,8,9,9,7] , C=1 , 3+2+1=6 , A->6 , C->0
[7] + [5] , A=[6,0,8,5,0,3,2,1,8,2,2,4,1,8,9,9,7] , C=0 , 7+5+0=12 , A->2 , C->1
[] + [] , A=[2,6,0,8,5,0,3,2,1,8,2,2,4,1,8,9,9,7] C=1 , END
</scratch>
1260850321822418997
| 1260850321822418997 | 18 |
Input:
220317601986992916+629614401156868546
Target:
| Input:
220317601986992916+629614401156868546
Target:
[2,2,0,3,1,7,6,0,1,9,8,6,9,9,2,9,1,6] + [6,2,9,6,1,4,4,0,1,1,5,6,8,6,8,5,4,6] , A=[] , C=0 , 6+6+0=12 , A->2 , C->1
[2,2,0,3,1,7,6,0,1,9,8,6,9,9,2,9,1] + [6,2,9,6,1,4,4,0,1,1,5,6,8,6,8,5,4] , A=[2] , C=1 , 1+4+1=6 , A->6 , C->0
[2,2,0,3,1,7,6,0,1,9,8,6,9,9,2,9] + [6,2,9,6,1,4,4,0,1,1,5,6,8,6,8,5] , A=[6,2] , C=0 , 9+5+0=14 , A->4 , C->1
[2,2,0,3,1,7,6,0,1,9,8,6,9,9,2] + [6,2,9,6,1,4,4,0,1,1,5,6,8,6,8] , A=[4,6,2] , C=1 , 2+8+1=11 , A->1 , C->1
[2,2,0,3,1,7,6,0,1,9,8,6,9,9] + [6,2,9,6,1,4,4,0,1,1,5,6,8,6] , A=[1,4,6,2] , C=1 , 9+6+1=16 , A->6 , C->1
[2,2,0,3,1,7,6,0,1,9,8,6,9] + [6,2,9,6,1,4,4,0,1,1,5,6,8] , A=[6,1,4,6,2] , C=1 , 9+8+1=18 , A->8 , C->1
[2,2,0,3,1,7,6,0,1,9,8,6] + [6,2,9,6,1,4,4,0,1,1,5,6] , A=[8,6,1,4,6,2] , C=1 , 6+6+1=13 , A->3 , C->1
[2,2,0,3,1,7,6,0,1,9,8] + [6,2,9,6,1,4,4,0,1,1,5] , A=[3,8,6,1,4,6,2] , C=1 , 8+5+1=14 , A->4 , C->1
[2,2,0,3,1,7,6,0,1,9] + [6,2,9,6,1,4,4,0,1,1] , A=[4,3,8,6,1,4,6,2] , C=1 , 9+1+1=11 , A->1 , C->1
[2,2,0,3,1,7,6,0,1] + [6,2,9,6,1,4,4,0,1] , A=[1,4,3,8,6,1,4,6,2] , C=1 , 1+1+1=3 , A->3 , C->0
[2,2,0,3,1,7,6,0] + [6,2,9,6,1,4,4,0] , A=[3,1,4,3,8,6,1,4,6,2] , C=0 , 0+0+0=0 , A->0 , C->0
[2,2,0,3,1,7,6] + [6,2,9,6,1,4,4] , A=[0,3,1,4,3,8,6,1,4,6,2] , C=0 , 6+4+0=10 , A->0 , C->1
[2,2,0,3,1,7] + [6,2,9,6,1,4] , A=[0,0,3,1,4,3,8,6,1,4,6,2] , C=1 , 7+4+1=12 , A->2 , C->1
[2,2,0,3,1] + [6,2,9,6,1] , A=[2,0,0,3,1,4,3,8,6,1,4,6,2] , C=1 , 1+1+1=3 , A->3 , C->0
[2,2,0,3] + [6,2,9,6] , A=[3,2,0,0,3,1,4,3,8,6,1,4,6,2] , C=0 , 3+6+0=9 , A->9 , C->0
[2,2,0] + [6,2,9] , A=[9,3,2,0,0,3,1,4,3,8,6,1,4,6,2] , C=0 , 0+9+0=9 , A->9 , C->0
[2,2] + [6,2] , A=[9,9,3,2,0,0,3,1,4,3,8,6,1,4,6,2] , C=0 , 2+2+0=4 , A->4 , C->0
[2] + [6] , A=[4,9,9,3,2,0,0,3,1,4,3,8,6,1,4,6,2] , C=0 , 2+6+0=8 , A->8 , C->0
[] + [] , A=[8,4,9,9,3,2,0,0,3,1,4,3,8,6,1,4,6,2] C=0 , END
</scratch>
849932003143861462
| 849932003143861462 | 18 |
Input:
879553295287312209+536649247357203228
Target:
| Input:
879553295287312209+536649247357203228
Target:
[8,7,9,5,5,3,2,9,5,2,8,7,3,1,2,2,0,9] + [5,3,6,6,4,9,2,4,7,3,5,7,2,0,3,2,2,8] , A=[] , C=0 , 9+8+0=17 , A->7 , C->1
[8,7,9,5,5,3,2,9,5,2,8,7,3,1,2,2,0] + [5,3,6,6,4,9,2,4,7,3,5,7,2,0,3,2,2] , A=[7] , C=1 , 0+2+1=3 , A->3 , C->0
[8,7,9,5,5,3,2,9,5,2,8,7,3,1,2,2] + [5,3,6,6,4,9,2,4,7,3,5,7,2,0,3,2] , A=[3,7] , C=0 , 2+2+0=4 , A->4 , C->0
[8,7,9,5,5,3,2,9,5,2,8,7,3,1,2] + [5,3,6,6,4,9,2,4,7,3,5,7,2,0,3] , A=[4,3,7] , C=0 , 2+3+0=5 , A->5 , C->0
[8,7,9,5,5,3,2,9,5,2,8,7,3,1] + [5,3,6,6,4,9,2,4,7,3,5,7,2,0] , A=[5,4,3,7] , C=0 , 1+0+0=1 , A->1 , C->0
[8,7,9,5,5,3,2,9,5,2,8,7,3] + [5,3,6,6,4,9,2,4,7,3,5,7,2] , A=[1,5,4,3,7] , C=0 , 3+2+0=5 , A->5 , C->0
[8,7,9,5,5,3,2,9,5,2,8,7] + [5,3,6,6,4,9,2,4,7,3,5,7] , A=[5,1,5,4,3,7] , C=0 , 7+7+0=14 , A->4 , C->1
[8,7,9,5,5,3,2,9,5,2,8] + [5,3,6,6,4,9,2,4,7,3,5] , A=[4,5,1,5,4,3,7] , C=1 , 8+5+1=14 , A->4 , C->1
[8,7,9,5,5,3,2,9,5,2] + [5,3,6,6,4,9,2,4,7,3] , A=[4,4,5,1,5,4,3,7] , C=1 , 2+3+1=6 , A->6 , C->0
[8,7,9,5,5,3,2,9,5] + [5,3,6,6,4,9,2,4,7] , A=[6,4,4,5,1,5,4,3,7] , C=0 , 5+7+0=12 , A->2 , C->1
[8,7,9,5,5,3,2,9] + [5,3,6,6,4,9,2,4] , A=[2,6,4,4,5,1,5,4,3,7] , C=1 , 9+4+1=14 , A->4 , C->1
[8,7,9,5,5,3,2] + [5,3,6,6,4,9,2] , A=[4,2,6,4,4,5,1,5,4,3,7] , C=1 , 2+2+1=5 , A->5 , C->0
[8,7,9,5,5,3] + [5,3,6,6,4,9] , A=[5,4,2,6,4,4,5,1,5,4,3,7] , C=0 , 3+9+0=12 , A->2 , C->1
[8,7,9,5,5] + [5,3,6,6,4] , A=[2,5,4,2,6,4,4,5,1,5,4,3,7] , C=1 , 5+4+1=10 , A->0 , C->1
[8,7,9,5] + [5,3,6,6] , A=[0,2,5,4,2,6,4,4,5,1,5,4,3,7] , C=1 , 5+6+1=12 , A->2 , C->1
[8,7,9] + [5,3,6] , A=[2,0,2,5,4,2,6,4,4,5,1,5,4,3,7] , C=1 , 9+6+1=16 , A->6 , C->1
[8,7] + [5,3] , A=[6,2,0,2,5,4,2,6,4,4,5,1,5,4,3,7] , C=1 , 7+3+1=11 , A->1 , C->1
[8] + [5] , A=[1,6,2,0,2,5,4,2,6,4,4,5,1,5,4,3,7] , C=1 , 8+5+1=14 , A->4 , C->1
[] + [] , A=[4,1,6,2,0,2,5,4,2,6,4,4,5,1,5,4,3,7] C=1 , END
</scratch>
1416202542644515437
| 1416202542644515437 | 18 |
Input:
360199897629377930+321962929358358233
Target:
| Input:
360199897629377930+321962929358358233
Target:
[3,6,0,1,9,9,8,9,7,6,2,9,3,7,7,9,3,0] + [3,2,1,9,6,2,9,2,9,3,5,8,3,5,8,2,3,3] , A=[] , C=0 , 0+3+0=3 , A->3 , C->0
[3,6,0,1,9,9,8,9,7,6,2,9,3,7,7,9,3] + [3,2,1,9,6,2,9,2,9,3,5,8,3,5,8,2,3] , A=[3] , C=0 , 3+3+0=6 , A->6 , C->0
[3,6,0,1,9,9,8,9,7,6,2,9,3,7,7,9] + [3,2,1,9,6,2,9,2,9,3,5,8,3,5,8,2] , A=[6,3] , C=0 , 9+2+0=11 , A->1 , C->1
[3,6,0,1,9,9,8,9,7,6,2,9,3,7,7] + [3,2,1,9,6,2,9,2,9,3,5,8,3,5,8] , A=[1,6,3] , C=1 , 7+8+1=16 , A->6 , C->1
[3,6,0,1,9,9,8,9,7,6,2,9,3,7] + [3,2,1,9,6,2,9,2,9,3,5,8,3,5] , A=[6,1,6,3] , C=1 , 7+5+1=13 , A->3 , C->1
[3,6,0,1,9,9,8,9,7,6,2,9,3] + [3,2,1,9,6,2,9,2,9,3,5,8,3] , A=[3,6,1,6,3] , C=1 , 3+3+1=7 , A->7 , C->0
[3,6,0,1,9,9,8,9,7,6,2,9] + [3,2,1,9,6,2,9,2,9,3,5,8] , A=[7,3,6,1,6,3] , C=0 , 9+8+0=17 , A->7 , C->1
[3,6,0,1,9,9,8,9,7,6,2] + [3,2,1,9,6,2,9,2,9,3,5] , A=[7,7,3,6,1,6,3] , C=1 , 2+5+1=8 , A->8 , C->0
[3,6,0,1,9,9,8,9,7,6] + [3,2,1,9,6,2,9,2,9,3] , A=[8,7,7,3,6,1,6,3] , C=0 , 6+3+0=9 , A->9 , C->0
[3,6,0,1,9,9,8,9,7] + [3,2,1,9,6,2,9,2,9] , A=[9,8,7,7,3,6,1,6,3] , C=0 , 7+9+0=16 , A->6 , C->1
[3,6,0,1,9,9,8,9] + [3,2,1,9,6,2,9,2] , A=[6,9,8,7,7,3,6,1,6,3] , C=1 , 9+2+1=12 , A->2 , C->1
[3,6,0,1,9,9,8] + [3,2,1,9,6,2,9] , A=[2,6,9,8,7,7,3,6,1,6,3] , C=1 , 8+9+1=18 , A->8 , C->1
[3,6,0,1,9,9] + [3,2,1,9,6,2] , A=[8,2,6,9,8,7,7,3,6,1,6,3] , C=1 , 9+2+1=12 , A->2 , C->1
[3,6,0,1,9] + [3,2,1,9,6] , A=[2,8,2,6,9,8,7,7,3,6,1,6,3] , C=1 , 9+6+1=16 , A->6 , C->1
[3,6,0,1] + [3,2,1,9] , A=[6,2,8,2,6,9,8,7,7,3,6,1,6,3] , C=1 , 1+9+1=11 , A->1 , C->1
[3,6,0] + [3,2,1] , A=[1,6,2,8,2,6,9,8,7,7,3,6,1,6,3] , C=1 , 0+1+1=2 , A->2 , C->0
[3,6] + [3,2] , A=[2,1,6,2,8,2,6,9,8,7,7,3,6,1,6,3] , C=0 , 6+2+0=8 , A->8 , C->0
[3] + [3] , A=[8,2,1,6,2,8,2,6,9,8,7,7,3,6,1,6,3] , C=0 , 3+3+0=6 , A->6 , C->0
[] + [] , A=[6,8,2,1,6,2,8,2,6,9,8,7,7,3,6,1,6,3] C=0 , END
</scratch>
682162826987736163
| 682162826987736163 | 18 |
Input:
854680991105817742+201085643046175344
Target:
| Input:
854680991105817742+201085643046175344
Target:
[8,5,4,6,8,0,9,9,1,1,0,5,8,1,7,7,4,2] + [2,0,1,0,8,5,6,4,3,0,4,6,1,7,5,3,4,4] , A=[] , C=0 , 2+4+0=6 , A->6 , C->0
[8,5,4,6,8,0,9,9,1,1,0,5,8,1,7,7,4] + [2,0,1,0,8,5,6,4,3,0,4,6,1,7,5,3,4] , A=[6] , C=0 , 4+4+0=8 , A->8 , C->0
[8,5,4,6,8,0,9,9,1,1,0,5,8,1,7,7] + [2,0,1,0,8,5,6,4,3,0,4,6,1,7,5,3] , A=[8,6] , C=0 , 7+3+0=10 , A->0 , C->1
[8,5,4,6,8,0,9,9,1,1,0,5,8,1,7] + [2,0,1,0,8,5,6,4,3,0,4,6,1,7,5] , A=[0,8,6] , C=1 , 7+5+1=13 , A->3 , C->1
[8,5,4,6,8,0,9,9,1,1,0,5,8,1] + [2,0,1,0,8,5,6,4,3,0,4,6,1,7] , A=[3,0,8,6] , C=1 , 1+7+1=9 , A->9 , C->0
[8,5,4,6,8,0,9,9,1,1,0,5,8] + [2,0,1,0,8,5,6,4,3,0,4,6,1] , A=[9,3,0,8,6] , C=0 , 8+1+0=9 , A->9 , C->0
[8,5,4,6,8,0,9,9,1,1,0,5] + [2,0,1,0,8,5,6,4,3,0,4,6] , A=[9,9,3,0,8,6] , C=0 , 5+6+0=11 , A->1 , C->1
[8,5,4,6,8,0,9,9,1,1,0] + [2,0,1,0,8,5,6,4,3,0,4] , A=[1,9,9,3,0,8,6] , C=1 , 0+4+1=5 , A->5 , C->0
[8,5,4,6,8,0,9,9,1,1] + [2,0,1,0,8,5,6,4,3,0] , A=[5,1,9,9,3,0,8,6] , C=0 , 1+0+0=1 , A->1 , C->0
[8,5,4,6,8,0,9,9,1] + [2,0,1,0,8,5,6,4,3] , A=[1,5,1,9,9,3,0,8,6] , C=0 , 1+3+0=4 , A->4 , C->0
[8,5,4,6,8,0,9,9] + [2,0,1,0,8,5,6,4] , A=[4,1,5,1,9,9,3,0,8,6] , C=0 , 9+4+0=13 , A->3 , C->1
[8,5,4,6,8,0,9] + [2,0,1,0,8,5,6] , A=[3,4,1,5,1,9,9,3,0,8,6] , C=1 , 9+6+1=16 , A->6 , C->1
[8,5,4,6,8,0] + [2,0,1,0,8,5] , A=[6,3,4,1,5,1,9,9,3,0,8,6] , C=1 , 0+5+1=6 , A->6 , C->0
[8,5,4,6,8] + [2,0,1,0,8] , A=[6,6,3,4,1,5,1,9,9,3,0,8,6] , C=0 , 8+8+0=16 , A->6 , C->1
[8,5,4,6] + [2,0,1,0] , A=[6,6,6,3,4,1,5,1,9,9,3,0,8,6] , C=1 , 6+0+1=7 , A->7 , C->0
[8,5,4] + [2,0,1] , A=[7,6,6,6,3,4,1,5,1,9,9,3,0,8,6] , C=0 , 4+1+0=5 , A->5 , C->0
[8,5] + [2,0] , A=[5,7,6,6,6,3,4,1,5,1,9,9,3,0,8,6] , C=0 , 5+0+0=5 , A->5 , C->0
[8] + [2] , A=[5,5,7,6,6,6,3,4,1,5,1,9,9,3,0,8,6] , C=0 , 8+2+0=10 , A->0 , C->1
[] + [] , A=[0,5,5,7,6,6,6,3,4,1,5,1,9,9,3,0,8,6] C=1 , END
</scratch>
1055766634151993086
| 1055766634151993086 | 18 |
Input:
470524801444909549+242941864670572277
Target:
| Input:
470524801444909549+242941864670572277
Target:
[4,7,0,5,2,4,8,0,1,4,4,4,9,0,9,5,4,9] + [2,4,2,9,4,1,8,6,4,6,7,0,5,7,2,2,7,7] , A=[] , C=0 , 9+7+0=16 , A->6 , C->1
[4,7,0,5,2,4,8,0,1,4,4,4,9,0,9,5,4] + [2,4,2,9,4,1,8,6,4,6,7,0,5,7,2,2,7] , A=[6] , C=1 , 4+7+1=12 , A->2 , C->1
[4,7,0,5,2,4,8,0,1,4,4,4,9,0,9,5] + [2,4,2,9,4,1,8,6,4,6,7,0,5,7,2,2] , A=[2,6] , C=1 , 5+2+1=8 , A->8 , C->0
[4,7,0,5,2,4,8,0,1,4,4,4,9,0,9] + [2,4,2,9,4,1,8,6,4,6,7,0,5,7,2] , A=[8,2,6] , C=0 , 9+2+0=11 , A->1 , C->1
[4,7,0,5,2,4,8,0,1,4,4,4,9,0] + [2,4,2,9,4,1,8,6,4,6,7,0,5,7] , A=[1,8,2,6] , C=1 , 0+7+1=8 , A->8 , C->0
[4,7,0,5,2,4,8,0,1,4,4,4,9] + [2,4,2,9,4,1,8,6,4,6,7,0,5] , A=[8,1,8,2,6] , C=0 , 9+5+0=14 , A->4 , C->1
[4,7,0,5,2,4,8,0,1,4,4,4] + [2,4,2,9,4,1,8,6,4,6,7,0] , A=[4,8,1,8,2,6] , C=1 , 4+0+1=5 , A->5 , C->0
[4,7,0,5,2,4,8,0,1,4,4] + [2,4,2,9,4,1,8,6,4,6,7] , A=[5,4,8,1,8,2,6] , C=0 , 4+7+0=11 , A->1 , C->1
[4,7,0,5,2,4,8,0,1,4] + [2,4,2,9,4,1,8,6,4,6] , A=[1,5,4,8,1,8,2,6] , C=1 , 4+6+1=11 , A->1 , C->1
[4,7,0,5,2,4,8,0,1] + [2,4,2,9,4,1,8,6,4] , A=[1,1,5,4,8,1,8,2,6] , C=1 , 1+4+1=6 , A->6 , C->0
[4,7,0,5,2,4,8,0] + [2,4,2,9,4,1,8,6] , A=[6,1,1,5,4,8,1,8,2,6] , C=0 , 0+6+0=6 , A->6 , C->0
[4,7,0,5,2,4,8] + [2,4,2,9,4,1,8] , A=[6,6,1,1,5,4,8,1,8,2,6] , C=0 , 8+8+0=16 , A->6 , C->1
[4,7,0,5,2,4] + [2,4,2,9,4,1] , A=[6,6,6,1,1,5,4,8,1,8,2,6] , C=1 , 4+1+1=6 , A->6 , C->0
[4,7,0,5,2] + [2,4,2,9,4] , A=[6,6,6,6,1,1,5,4,8,1,8,2,6] , C=0 , 2+4+0=6 , A->6 , C->0
[4,7,0,5] + [2,4,2,9] , A=[6,6,6,6,6,1,1,5,4,8,1,8,2,6] , C=0 , 5+9+0=14 , A->4 , C->1
[4,7,0] + [2,4,2] , A=[4,6,6,6,6,6,1,1,5,4,8,1,8,2,6] , C=1 , 0+2+1=3 , A->3 , C->0
[4,7] + [2,4] , A=[3,4,6,6,6,6,6,1,1,5,4,8,1,8,2,6] , C=0 , 7+4+0=11 , A->1 , C->1
[4] + [2] , A=[1,3,4,6,6,6,6,6,1,1,5,4,8,1,8,2,6] , C=1 , 4+2+1=7 , A->7 , C->0
[] + [] , A=[7,1,3,4,6,6,6,6,6,1,1,5,4,8,1,8,2,6] C=0 , END
</scratch>
713466666115481826
| 713466666115481826 | 18 |
Input:
230785151696452712+906894432467017731
Target:
| Input:
230785151696452712+906894432467017731
Target:
[2,3,0,7,8,5,1,5,1,6,9,6,4,5,2,7,1,2] + [9,0,6,8,9,4,4,3,2,4,6,7,0,1,7,7,3,1] , A=[] , C=0 , 2+1+0=3 , A->3 , C->0
[2,3,0,7,8,5,1,5,1,6,9,6,4,5,2,7,1] + [9,0,6,8,9,4,4,3,2,4,6,7,0,1,7,7,3] , A=[3] , C=0 , 1+3+0=4 , A->4 , C->0
[2,3,0,7,8,5,1,5,1,6,9,6,4,5,2,7] + [9,0,6,8,9,4,4,3,2,4,6,7,0,1,7,7] , A=[4,3] , C=0 , 7+7+0=14 , A->4 , C->1
[2,3,0,7,8,5,1,5,1,6,9,6,4,5,2] + [9,0,6,8,9,4,4,3,2,4,6,7,0,1,7] , A=[4,4,3] , C=1 , 2+7+1=10 , A->0 , C->1
[2,3,0,7,8,5,1,5,1,6,9,6,4,5] + [9,0,6,8,9,4,4,3,2,4,6,7,0,1] , A=[0,4,4,3] , C=1 , 5+1+1=7 , A->7 , C->0
[2,3,0,7,8,5,1,5,1,6,9,6,4] + [9,0,6,8,9,4,4,3,2,4,6,7,0] , A=[7,0,4,4,3] , C=0 , 4+0+0=4 , A->4 , C->0
[2,3,0,7,8,5,1,5,1,6,9,6] + [9,0,6,8,9,4,4,3,2,4,6,7] , A=[4,7,0,4,4,3] , C=0 , 6+7+0=13 , A->3 , C->1
[2,3,0,7,8,5,1,5,1,6,9] + [9,0,6,8,9,4,4,3,2,4,6] , A=[3,4,7,0,4,4,3] , C=1 , 9+6+1=16 , A->6 , C->1
[2,3,0,7,8,5,1,5,1,6] + [9,0,6,8,9,4,4,3,2,4] , A=[6,3,4,7,0,4,4,3] , C=1 , 6+4+1=11 , A->1 , C->1
[2,3,0,7,8,5,1,5,1] + [9,0,6,8,9,4,4,3,2] , A=[1,6,3,4,7,0,4,4,3] , C=1 , 1+2+1=4 , A->4 , C->0
[2,3,0,7,8,5,1,5] + [9,0,6,8,9,4,4,3] , A=[4,1,6,3,4,7,0,4,4,3] , C=0 , 5+3+0=8 , A->8 , C->0
[2,3,0,7,8,5,1] + [9,0,6,8,9,4,4] , A=[8,4,1,6,3,4,7,0,4,4,3] , C=0 , 1+4+0=5 , A->5 , C->0
[2,3,0,7,8,5] + [9,0,6,8,9,4] , A=[5,8,4,1,6,3,4,7,0,4,4,3] , C=0 , 5+4+0=9 , A->9 , C->0
[2,3,0,7,8] + [9,0,6,8,9] , A=[9,5,8,4,1,6,3,4,7,0,4,4,3] , C=0 , 8+9+0=17 , A->7 , C->1
[2,3,0,7] + [9,0,6,8] , A=[7,9,5,8,4,1,6,3,4,7,0,4,4,3] , C=1 , 7+8+1=16 , A->6 , C->1
[2,3,0] + [9,0,6] , A=[6,7,9,5,8,4,1,6,3,4,7,0,4,4,3] , C=1 , 0+6+1=7 , A->7 , C->0
[2,3] + [9,0] , A=[7,6,7,9,5,8,4,1,6,3,4,7,0,4,4,3] , C=0 , 3+0+0=3 , A->3 , C->0
[2] + [9] , A=[3,7,6,7,9,5,8,4,1,6,3,4,7,0,4,4,3] , C=0 , 2+9+0=11 , A->1 , C->1
[] + [] , A=[1,3,7,6,7,9,5,8,4,1,6,3,4,7,0,4,4,3] C=1 , END
</scratch>
1137679584163470443
| 1137679584163470443 | 18 |
Input:
866870985670435013+825673800608472321
Target:
| Input:
866870985670435013+825673800608472321
Target:
[8,6,6,8,7,0,9,8,5,6,7,0,4,3,5,0,1,3] + [8,2,5,6,7,3,8,0,0,6,0,8,4,7,2,3,2,1] , A=[] , C=0 , 3+1+0=4 , A->4 , C->0
[8,6,6,8,7,0,9,8,5,6,7,0,4,3,5,0,1] + [8,2,5,6,7,3,8,0,0,6,0,8,4,7,2,3,2] , A=[4] , C=0 , 1+2+0=3 , A->3 , C->0
[8,6,6,8,7,0,9,8,5,6,7,0,4,3,5,0] + [8,2,5,6,7,3,8,0,0,6,0,8,4,7,2,3] , A=[3,4] , C=0 , 0+3+0=3 , A->3 , C->0
[8,6,6,8,7,0,9,8,5,6,7,0,4,3,5] + [8,2,5,6,7,3,8,0,0,6,0,8,4,7,2] , A=[3,3,4] , C=0 , 5+2+0=7 , A->7 , C->0
[8,6,6,8,7,0,9,8,5,6,7,0,4,3] + [8,2,5,6,7,3,8,0,0,6,0,8,4,7] , A=[7,3,3,4] , C=0 , 3+7+0=10 , A->0 , C->1
[8,6,6,8,7,0,9,8,5,6,7,0,4] + [8,2,5,6,7,3,8,0,0,6,0,8,4] , A=[0,7,3,3,4] , C=1 , 4+4+1=9 , A->9 , C->0
[8,6,6,8,7,0,9,8,5,6,7,0] + [8,2,5,6,7,3,8,0,0,6,0,8] , A=[9,0,7,3,3,4] , C=0 , 0+8+0=8 , A->8 , C->0
[8,6,6,8,7,0,9,8,5,6,7] + [8,2,5,6,7,3,8,0,0,6,0] , A=[8,9,0,7,3,3,4] , C=0 , 7+0+0=7 , A->7 , C->0
[8,6,6,8,7,0,9,8,5,6] + [8,2,5,6,7,3,8,0,0,6] , A=[7,8,9,0,7,3,3,4] , C=0 , 6+6+0=12 , A->2 , C->1
[8,6,6,8,7,0,9,8,5] + [8,2,5,6,7,3,8,0,0] , A=[2,7,8,9,0,7,3,3,4] , C=1 , 5+0+1=6 , A->6 , C->0
[8,6,6,8,7,0,9,8] + [8,2,5,6,7,3,8,0] , A=[6,2,7,8,9,0,7,3,3,4] , C=0 , 8+0+0=8 , A->8 , C->0
[8,6,6,8,7,0,9] + [8,2,5,6,7,3,8] , A=[8,6,2,7,8,9,0,7,3,3,4] , C=0 , 9+8+0=17 , A->7 , C->1
[8,6,6,8,7,0] + [8,2,5,6,7,3] , A=[7,8,6,2,7,8,9,0,7,3,3,4] , C=1 , 0+3+1=4 , A->4 , C->0
[8,6,6,8,7] + [8,2,5,6,7] , A=[4,7,8,6,2,7,8,9,0,7,3,3,4] , C=0 , 7+7+0=14 , A->4 , C->1
[8,6,6,8] + [8,2,5,6] , A=[4,4,7,8,6,2,7,8,9,0,7,3,3,4] , C=1 , 8+6+1=15 , A->5 , C->1
[8,6,6] + [8,2,5] , A=[5,4,4,7,8,6,2,7,8,9,0,7,3,3,4] , C=1 , 6+5+1=12 , A->2 , C->1
[8,6] + [8,2] , A=[2,5,4,4,7,8,6,2,7,8,9,0,7,3,3,4] , C=1 , 6+2+1=9 , A->9 , C->0
[8] + [8] , A=[9,2,5,4,4,7,8,6,2,7,8,9,0,7,3,3,4] , C=0 , 8+8+0=16 , A->6 , C->1
[] + [] , A=[6,9,2,5,4,4,7,8,6,2,7,8,9,0,7,3,3,4] C=1 , END
</scratch>
1692544786278907334
| 1692544786278907334 | 18 |
Input:
118473234865300548+743869471284947749
Target:
| Input:
118473234865300548+743869471284947749
Target:
[1,1,8,4,7,3,2,3,4,8,6,5,3,0,0,5,4,8] + [7,4,3,8,6,9,4,7,1,2,8,4,9,4,7,7,4,9] , A=[] , C=0 , 8+9+0=17 , A->7 , C->1
[1,1,8,4,7,3,2,3,4,8,6,5,3,0,0,5,4] + [7,4,3,8,6,9,4,7,1,2,8,4,9,4,7,7,4] , A=[7] , C=1 , 4+4+1=9 , A->9 , C->0
[1,1,8,4,7,3,2,3,4,8,6,5,3,0,0,5] + [7,4,3,8,6,9,4,7,1,2,8,4,9,4,7,7] , A=[9,7] , C=0 , 5+7+0=12 , A->2 , C->1
[1,1,8,4,7,3,2,3,4,8,6,5,3,0,0] + [7,4,3,8,6,9,4,7,1,2,8,4,9,4,7] , A=[2,9,7] , C=1 , 0+7+1=8 , A->8 , C->0
[1,1,8,4,7,3,2,3,4,8,6,5,3,0] + [7,4,3,8,6,9,4,7,1,2,8,4,9,4] , A=[8,2,9,7] , C=0 , 0+4+0=4 , A->4 , C->0
[1,1,8,4,7,3,2,3,4,8,6,5,3] + [7,4,3,8,6,9,4,7,1,2,8,4,9] , A=[4,8,2,9,7] , C=0 , 3+9+0=12 , A->2 , C->1
[1,1,8,4,7,3,2,3,4,8,6,5] + [7,4,3,8,6,9,4,7,1,2,8,4] , A=[2,4,8,2,9,7] , C=1 , 5+4+1=10 , A->0 , C->1
[1,1,8,4,7,3,2,3,4,8,6] + [7,4,3,8,6,9,4,7,1,2,8] , A=[0,2,4,8,2,9,7] , C=1 , 6+8+1=15 , A->5 , C->1
[1,1,8,4,7,3,2,3,4,8] + [7,4,3,8,6,9,4,7,1,2] , A=[5,0,2,4,8,2,9,7] , C=1 , 8+2+1=11 , A->1 , C->1
[1,1,8,4,7,3,2,3,4] + [7,4,3,8,6,9,4,7,1] , A=[1,5,0,2,4,8,2,9,7] , C=1 , 4+1+1=6 , A->6 , C->0
[1,1,8,4,7,3,2,3] + [7,4,3,8,6,9,4,7] , A=[6,1,5,0,2,4,8,2,9,7] , C=0 , 3+7+0=10 , A->0 , C->1
[1,1,8,4,7,3,2] + [7,4,3,8,6,9,4] , A=[0,6,1,5,0,2,4,8,2,9,7] , C=1 , 2+4+1=7 , A->7 , C->0
[1,1,8,4,7,3] + [7,4,3,8,6,9] , A=[7,0,6,1,5,0,2,4,8,2,9,7] , C=0 , 3+9+0=12 , A->2 , C->1
[1,1,8,4,7] + [7,4,3,8,6] , A=[2,7,0,6,1,5,0,2,4,8,2,9,7] , C=1 , 7+6+1=14 , A->4 , C->1
[1,1,8,4] + [7,4,3,8] , A=[4,2,7,0,6,1,5,0,2,4,8,2,9,7] , C=1 , 4+8+1=13 , A->3 , C->1
[1,1,8] + [7,4,3] , A=[3,4,2,7,0,6,1,5,0,2,4,8,2,9,7] , C=1 , 8+3+1=12 , A->2 , C->1
[1,1] + [7,4] , A=[2,3,4,2,7,0,6,1,5,0,2,4,8,2,9,7] , C=1 , 1+4+1=6 , A->6 , C->0
[1] + [7] , A=[6,2,3,4,2,7,0,6,1,5,0,2,4,8,2,9,7] , C=0 , 1+7+0=8 , A->8 , C->0
[] + [] , A=[8,6,2,3,4,2,7,0,6,1,5,0,2,4,8,2,9,7] C=0 , END
</scratch>
862342706150248297
| 862342706150248297 | 18 |
Input:
798423668918881156+368814974818738703
Target:
| Input:
798423668918881156+368814974818738703
Target:
[7,9,8,4,2,3,6,6,8,9,1,8,8,8,1,1,5,6] + [3,6,8,8,1,4,9,7,4,8,1,8,7,3,8,7,0,3] , A=[] , C=0 , 6+3+0=9 , A->9 , C->0
[7,9,8,4,2,3,6,6,8,9,1,8,8,8,1,1,5] + [3,6,8,8,1,4,9,7,4,8,1,8,7,3,8,7,0] , A=[9] , C=0 , 5+0+0=5 , A->5 , C->0
[7,9,8,4,2,3,6,6,8,9,1,8,8,8,1,1] + [3,6,8,8,1,4,9,7,4,8,1,8,7,3,8,7] , A=[5,9] , C=0 , 1+7+0=8 , A->8 , C->0
[7,9,8,4,2,3,6,6,8,9,1,8,8,8,1] + [3,6,8,8,1,4,9,7,4,8,1,8,7,3,8] , A=[8,5,9] , C=0 , 1+8+0=9 , A->9 , C->0
[7,9,8,4,2,3,6,6,8,9,1,8,8,8] + [3,6,8,8,1,4,9,7,4,8,1,8,7,3] , A=[9,8,5,9] , C=0 , 8+3+0=11 , A->1 , C->1
[7,9,8,4,2,3,6,6,8,9,1,8,8] + [3,6,8,8,1,4,9,7,4,8,1,8,7] , A=[1,9,8,5,9] , C=1 , 8+7+1=16 , A->6 , C->1
[7,9,8,4,2,3,6,6,8,9,1,8] + [3,6,8,8,1,4,9,7,4,8,1,8] , A=[6,1,9,8,5,9] , C=1 , 8+8+1=17 , A->7 , C->1
[7,9,8,4,2,3,6,6,8,9,1] + [3,6,8,8,1,4,9,7,4,8,1] , A=[7,6,1,9,8,5,9] , C=1 , 1+1+1=3 , A->3 , C->0
[7,9,8,4,2,3,6,6,8,9] + [3,6,8,8,1,4,9,7,4,8] , A=[3,7,6,1,9,8,5,9] , C=0 , 9+8+0=17 , A->7 , C->1
[7,9,8,4,2,3,6,6,8] + [3,6,8,8,1,4,9,7,4] , A=[7,3,7,6,1,9,8,5,9] , C=1 , 8+4+1=13 , A->3 , C->1
[7,9,8,4,2,3,6,6] + [3,6,8,8,1,4,9,7] , A=[3,7,3,7,6,1,9,8,5,9] , C=1 , 6+7+1=14 , A->4 , C->1
[7,9,8,4,2,3,6] + [3,6,8,8,1,4,9] , A=[4,3,7,3,7,6,1,9,8,5,9] , C=1 , 6+9+1=16 , A->6 , C->1
[7,9,8,4,2,3] + [3,6,8,8,1,4] , A=[6,4,3,7,3,7,6,1,9,8,5,9] , C=1 , 3+4+1=8 , A->8 , C->0
[7,9,8,4,2] + [3,6,8,8,1] , A=[8,6,4,3,7,3,7,6,1,9,8,5,9] , C=0 , 2+1+0=3 , A->3 , C->0
[7,9,8,4] + [3,6,8,8] , A=[3,8,6,4,3,7,3,7,6,1,9,8,5,9] , C=0 , 4+8+0=12 , A->2 , C->1
[7,9,8] + [3,6,8] , A=[2,3,8,6,4,3,7,3,7,6,1,9,8,5,9] , C=1 , 8+8+1=17 , A->7 , C->1
[7,9] + [3,6] , A=[7,2,3,8,6,4,3,7,3,7,6,1,9,8,5,9] , C=1 , 9+6+1=16 , A->6 , C->1
[7] + [3] , A=[6,7,2,3,8,6,4,3,7,3,7,6,1,9,8,5,9] , C=1 , 7+3+1=11 , A->1 , C->1
[] + [] , A=[1,6,7,2,3,8,6,4,3,7,3,7,6,1,9,8,5,9] C=1 , END
</scratch>
1167238643737619859
| 1167238643737619859 | 18 |
Input:
799055219507893232+179185836598431689
Target:
| Input:
799055219507893232+179185836598431689
Target:
[7,9,9,0,5,5,2,1,9,5,0,7,8,9,3,2,3,2] + [1,7,9,1,8,5,8,3,6,5,9,8,4,3,1,6,8,9] , A=[] , C=0 , 2+9+0=11 , A->1 , C->1
[7,9,9,0,5,5,2,1,9,5,0,7,8,9,3,2,3] + [1,7,9,1,8,5,8,3,6,5,9,8,4,3,1,6,8] , A=[1] , C=1 , 3+8+1=12 , A->2 , C->1
[7,9,9,0,5,5,2,1,9,5,0,7,8,9,3,2] + [1,7,9,1,8,5,8,3,6,5,9,8,4,3,1,6] , A=[2,1] , C=1 , 2+6+1=9 , A->9 , C->0
[7,9,9,0,5,5,2,1,9,5,0,7,8,9,3] + [1,7,9,1,8,5,8,3,6,5,9,8,4,3,1] , A=[9,2,1] , C=0 , 3+1+0=4 , A->4 , C->0
[7,9,9,0,5,5,2,1,9,5,0,7,8,9] + [1,7,9,1,8,5,8,3,6,5,9,8,4,3] , A=[4,9,2,1] , C=0 , 9+3+0=12 , A->2 , C->1
[7,9,9,0,5,5,2,1,9,5,0,7,8] + [1,7,9,1,8,5,8,3,6,5,9,8,4] , A=[2,4,9,2,1] , C=1 , 8+4+1=13 , A->3 , C->1
[7,9,9,0,5,5,2,1,9,5,0,7] + [1,7,9,1,8,5,8,3,6,5,9,8] , A=[3,2,4,9,2,1] , C=1 , 7+8+1=16 , A->6 , C->1
[7,9,9,0,5,5,2,1,9,5,0] + [1,7,9,1,8,5,8,3,6,5,9] , A=[6,3,2,4,9,2,1] , C=1 , 0+9+1=10 , A->0 , C->1
[7,9,9,0,5,5,2,1,9,5] + [1,7,9,1,8,5,8,3,6,5] , A=[0,6,3,2,4,9,2,1] , C=1 , 5+5+1=11 , A->1 , C->1
[7,9,9,0,5,5,2,1,9] + [1,7,9,1,8,5,8,3,6] , A=[1,0,6,3,2,4,9,2,1] , C=1 , 9+6+1=16 , A->6 , C->1
[7,9,9,0,5,5,2,1] + [1,7,9,1,8,5,8,3] , A=[6,1,0,6,3,2,4,9,2,1] , C=1 , 1+3+1=5 , A->5 , C->0
[7,9,9,0,5,5,2] + [1,7,9,1,8,5,8] , A=[5,6,1,0,6,3,2,4,9,2,1] , C=0 , 2+8+0=10 , A->0 , C->1
[7,9,9,0,5,5] + [1,7,9,1,8,5] , A=[0,5,6,1,0,6,3,2,4,9,2,1] , C=1 , 5+5+1=11 , A->1 , C->1
[7,9,9,0,5] + [1,7,9,1,8] , A=[1,0,5,6,1,0,6,3,2,4,9,2,1] , C=1 , 5+8+1=14 , A->4 , C->1
[7,9,9,0] + [1,7,9,1] , A=[4,1,0,5,6,1,0,6,3,2,4,9,2,1] , C=1 , 0+1+1=2 , A->2 , C->0
[7,9,9] + [1,7,9] , A=[2,4,1,0,5,6,1,0,6,3,2,4,9,2,1] , C=0 , 9+9+0=18 , A->8 , C->1
[7,9] + [1,7] , A=[8,2,4,1,0,5,6,1,0,6,3,2,4,9,2,1] , C=1 , 9+7+1=17 , A->7 , C->1
[7] + [1] , A=[7,8,2,4,1,0,5,6,1,0,6,3,2,4,9,2,1] , C=1 , 7+1+1=9 , A->9 , C->0
[] + [] , A=[9,7,8,2,4,1,0,5,6,1,0,6,3,2,4,9,2,1] C=0 , END
</scratch>
978241056106324921
| 978241056106324921 | 18 |
Input:
663647926554800275+594424883537099700
Target:
| Input:
663647926554800275+594424883537099700
Target:
[6,6,3,6,4,7,9,2,6,5,5,4,8,0,0,2,7,5] + [5,9,4,4,2,4,8,8,3,5,3,7,0,9,9,7,0,0] , A=[] , C=0 , 5+0+0=5 , A->5 , C->0
[6,6,3,6,4,7,9,2,6,5,5,4,8,0,0,2,7] + [5,9,4,4,2,4,8,8,3,5,3,7,0,9,9,7,0] , A=[5] , C=0 , 7+0+0=7 , A->7 , C->0
[6,6,3,6,4,7,9,2,6,5,5,4,8,0,0,2] + [5,9,4,4,2,4,8,8,3,5,3,7,0,9,9,7] , A=[7,5] , C=0 , 2+7+0=9 , A->9 , C->0
[6,6,3,6,4,7,9,2,6,5,5,4,8,0,0] + [5,9,4,4,2,4,8,8,3,5,3,7,0,9,9] , A=[9,7,5] , C=0 , 0+9+0=9 , A->9 , C->0
[6,6,3,6,4,7,9,2,6,5,5,4,8,0] + [5,9,4,4,2,4,8,8,3,5,3,7,0,9] , A=[9,9,7,5] , C=0 , 0+9+0=9 , A->9 , C->0
[6,6,3,6,4,7,9,2,6,5,5,4,8] + [5,9,4,4,2,4,8,8,3,5,3,7,0] , A=[9,9,9,7,5] , C=0 , 8+0+0=8 , A->8 , C->0
[6,6,3,6,4,7,9,2,6,5,5,4] + [5,9,4,4,2,4,8,8,3,5,3,7] , A=[8,9,9,9,7,5] , C=0 , 4+7+0=11 , A->1 , C->1
[6,6,3,6,4,7,9,2,6,5,5] + [5,9,4,4,2,4,8,8,3,5,3] , A=[1,8,9,9,9,7,5] , C=1 , 5+3+1=9 , A->9 , C->0
[6,6,3,6,4,7,9,2,6,5] + [5,9,4,4,2,4,8,8,3,5] , A=[9,1,8,9,9,9,7,5] , C=0 , 5+5+0=10 , A->0 , C->1
[6,6,3,6,4,7,9,2,6] + [5,9,4,4,2,4,8,8,3] , A=[0,9,1,8,9,9,9,7,5] , C=1 , 6+3+1=10 , A->0 , C->1
[6,6,3,6,4,7,9,2] + [5,9,4,4,2,4,8,8] , A=[0,0,9,1,8,9,9,9,7,5] , C=1 , 2+8+1=11 , A->1 , C->1
[6,6,3,6,4,7,9] + [5,9,4,4,2,4,8] , A=[1,0,0,9,1,8,9,9,9,7,5] , C=1 , 9+8+1=18 , A->8 , C->1
[6,6,3,6,4,7] + [5,9,4,4,2,4] , A=[8,1,0,0,9,1,8,9,9,9,7,5] , C=1 , 7+4+1=12 , A->2 , C->1
[6,6,3,6,4] + [5,9,4,4,2] , A=[2,8,1,0,0,9,1,8,9,9,9,7,5] , C=1 , 4+2+1=7 , A->7 , C->0
[6,6,3,6] + [5,9,4,4] , A=[7,2,8,1,0,0,9,1,8,9,9,9,7,5] , C=0 , 6+4+0=10 , A->0 , C->1
[6,6,3] + [5,9,4] , A=[0,7,2,8,1,0,0,9,1,8,9,9,9,7,5] , C=1 , 3+4+1=8 , A->8 , C->0
[6,6] + [5,9] , A=[8,0,7,2,8,1,0,0,9,1,8,9,9,9,7,5] , C=0 , 6+9+0=15 , A->5 , C->1
[6] + [5] , A=[5,8,0,7,2,8,1,0,0,9,1,8,9,9,9,7,5] , C=1 , 6+5+1=12 , A->2 , C->1
[] + [] , A=[2,5,8,0,7,2,8,1,0,0,9,1,8,9,9,9,7,5] C=1 , END
</scratch>
1258072810091899975
| 1258072810091899975 | 18 |
Input:
449537327407106720+556639373946302947
Target:
| Input:
449537327407106720+556639373946302947
Target:
[4,4,9,5,3,7,3,2,7,4,0,7,1,0,6,7,2,0] + [5,5,6,6,3,9,3,7,3,9,4,6,3,0,2,9,4,7] , A=[] , C=0 , 0+7+0=7 , A->7 , C->0
[4,4,9,5,3,7,3,2,7,4,0,7,1,0,6,7,2] + [5,5,6,6,3,9,3,7,3,9,4,6,3,0,2,9,4] , A=[7] , C=0 , 2+4+0=6 , A->6 , C->0
[4,4,9,5,3,7,3,2,7,4,0,7,1,0,6,7] + [5,5,6,6,3,9,3,7,3,9,4,6,3,0,2,9] , A=[6,7] , C=0 , 7+9+0=16 , A->6 , C->1
[4,4,9,5,3,7,3,2,7,4,0,7,1,0,6] + [5,5,6,6,3,9,3,7,3,9,4,6,3,0,2] , A=[6,6,7] , C=1 , 6+2+1=9 , A->9 , C->0
[4,4,9,5,3,7,3,2,7,4,0,7,1,0] + [5,5,6,6,3,9,3,7,3,9,4,6,3,0] , A=[9,6,6,7] , C=0 , 0+0+0=0 , A->0 , C->0
[4,4,9,5,3,7,3,2,7,4,0,7,1] + [5,5,6,6,3,9,3,7,3,9,4,6,3] , A=[0,9,6,6,7] , C=0 , 1+3+0=4 , A->4 , C->0
[4,4,9,5,3,7,3,2,7,4,0,7] + [5,5,6,6,3,9,3,7,3,9,4,6] , A=[4,0,9,6,6,7] , C=0 , 7+6+0=13 , A->3 , C->1
[4,4,9,5,3,7,3,2,7,4,0] + [5,5,6,6,3,9,3,7,3,9,4] , A=[3,4,0,9,6,6,7] , C=1 , 0+4+1=5 , A->5 , C->0
[4,4,9,5,3,7,3,2,7,4] + [5,5,6,6,3,9,3,7,3,9] , A=[5,3,4,0,9,6,6,7] , C=0 , 4+9+0=13 , A->3 , C->1
[4,4,9,5,3,7,3,2,7] + [5,5,6,6,3,9,3,7,3] , A=[3,5,3,4,0,9,6,6,7] , C=1 , 7+3+1=11 , A->1 , C->1
[4,4,9,5,3,7,3,2] + [5,5,6,6,3,9,3,7] , A=[1,3,5,3,4,0,9,6,6,7] , C=1 , 2+7+1=10 , A->0 , C->1
[4,4,9,5,3,7,3] + [5,5,6,6,3,9,3] , A=[0,1,3,5,3,4,0,9,6,6,7] , C=1 , 3+3+1=7 , A->7 , C->0
[4,4,9,5,3,7] + [5,5,6,6,3,9] , A=[7,0,1,3,5,3,4,0,9,6,6,7] , C=0 , 7+9+0=16 , A->6 , C->1
[4,4,9,5,3] + [5,5,6,6,3] , A=[6,7,0,1,3,5,3,4,0,9,6,6,7] , C=1 , 3+3+1=7 , A->7 , C->0
[4,4,9,5] + [5,5,6,6] , A=[7,6,7,0,1,3,5,3,4,0,9,6,6,7] , C=0 , 5+6+0=11 , A->1 , C->1
[4,4,9] + [5,5,6] , A=[1,7,6,7,0,1,3,5,3,4,0,9,6,6,7] , C=1 , 9+6+1=16 , A->6 , C->1
[4,4] + [5,5] , A=[6,1,7,6,7,0,1,3,5,3,4,0,9,6,6,7] , C=1 , 4+5+1=10 , A->0 , C->1
[4] + [5] , A=[0,6,1,7,6,7,0,1,3,5,3,4,0,9,6,6,7] , C=1 , 4+5+1=10 , A->0 , C->1
[] + [] , A=[0,0,6,1,7,6,7,0,1,3,5,3,4,0,9,6,6,7] C=1 , END
</scratch>
1006176701353409667
| 1006176701353409667 | 18 |
Input:
640730823031695742+214913645128134877
Target:
| Input:
640730823031695742+214913645128134877
Target:
[6,4,0,7,3,0,8,2,3,0,3,1,6,9,5,7,4,2] + [2,1,4,9,1,3,6,4,5,1,2,8,1,3,4,8,7,7] , A=[] , C=0 , 2+7+0=9 , A->9 , C->0
[6,4,0,7,3,0,8,2,3,0,3,1,6,9,5,7,4] + [2,1,4,9,1,3,6,4,5,1,2,8,1,3,4,8,7] , A=[9] , C=0 , 4+7+0=11 , A->1 , C->1
[6,4,0,7,3,0,8,2,3,0,3,1,6,9,5,7] + [2,1,4,9,1,3,6,4,5,1,2,8,1,3,4,8] , A=[1,9] , C=1 , 7+8+1=16 , A->6 , C->1
[6,4,0,7,3,0,8,2,3,0,3,1,6,9,5] + [2,1,4,9,1,3,6,4,5,1,2,8,1,3,4] , A=[6,1,9] , C=1 , 5+4+1=10 , A->0 , C->1
[6,4,0,7,3,0,8,2,3,0,3,1,6,9] + [2,1,4,9,1,3,6,4,5,1,2,8,1,3] , A=[0,6,1,9] , C=1 , 9+3+1=13 , A->3 , C->1
[6,4,0,7,3,0,8,2,3,0,3,1,6] + [2,1,4,9,1,3,6,4,5,1,2,8,1] , A=[3,0,6,1,9] , C=1 , 6+1+1=8 , A->8 , C->0
[6,4,0,7,3,0,8,2,3,0,3,1] + [2,1,4,9,1,3,6,4,5,1,2,8] , A=[8,3,0,6,1,9] , C=0 , 1+8+0=9 , A->9 , C->0
[6,4,0,7,3,0,8,2,3,0,3] + [2,1,4,9,1,3,6,4,5,1,2] , A=[9,8,3,0,6,1,9] , C=0 , 3+2+0=5 , A->5 , C->0
[6,4,0,7,3,0,8,2,3,0] + [2,1,4,9,1,3,6,4,5,1] , A=[5,9,8,3,0,6,1,9] , C=0 , 0+1+0=1 , A->1 , C->0
[6,4,0,7,3,0,8,2,3] + [2,1,4,9,1,3,6,4,5] , A=[1,5,9,8,3,0,6,1,9] , C=0 , 3+5+0=8 , A->8 , C->0
[6,4,0,7,3,0,8,2] + [2,1,4,9,1,3,6,4] , A=[8,1,5,9,8,3,0,6,1,9] , C=0 , 2+4+0=6 , A->6 , C->0
[6,4,0,7,3,0,8] + [2,1,4,9,1,3,6] , A=[6,8,1,5,9,8,3,0,6,1,9] , C=0 , 8+6+0=14 , A->4 , C->1
[6,4,0,7,3,0] + [2,1,4,9,1,3] , A=[4,6,8,1,5,9,8,3,0,6,1,9] , C=1 , 0+3+1=4 , A->4 , C->0
[6,4,0,7,3] + [2,1,4,9,1] , A=[4,4,6,8,1,5,9,8,3,0,6,1,9] , C=0 , 3+1+0=4 , A->4 , C->0
[6,4,0,7] + [2,1,4,9] , A=[4,4,4,6,8,1,5,9,8,3,0,6,1,9] , C=0 , 7+9+0=16 , A->6 , C->1
[6,4,0] + [2,1,4] , A=[6,4,4,4,6,8,1,5,9,8,3,0,6,1,9] , C=1 , 0+4+1=5 , A->5 , C->0
[6,4] + [2,1] , A=[5,6,4,4,4,6,8,1,5,9,8,3,0,6,1,9] , C=0 , 4+1+0=5 , A->5 , C->0
[6] + [2] , A=[5,5,6,4,4,4,6,8,1,5,9,8,3,0,6,1,9] , C=0 , 6+2+0=8 , A->8 , C->0
[] + [] , A=[8,5,5,6,4,4,4,6,8,1,5,9,8,3,0,6,1,9] C=0 , END
</scratch>
855644468159830619
| 855644468159830619 | 18 |
Input:
363624669095019399+834855453618881694
Target:
| Input:
363624669095019399+834855453618881694
Target:
[3,6,3,6,2,4,6,6,9,0,9,5,0,1,9,3,9,9] + [8,3,4,8,5,5,4,5,3,6,1,8,8,8,1,6,9,4] , A=[] , C=0 , 9+4+0=13 , A->3 , C->1
[3,6,3,6,2,4,6,6,9,0,9,5,0,1,9,3,9] + [8,3,4,8,5,5,4,5,3,6,1,8,8,8,1,6,9] , A=[3] , C=1 , 9+9+1=19 , A->9 , C->1
[3,6,3,6,2,4,6,6,9,0,9,5,0,1,9,3] + [8,3,4,8,5,5,4,5,3,6,1,8,8,8,1,6] , A=[9,3] , C=1 , 3+6+1=10 , A->0 , C->1
[3,6,3,6,2,4,6,6,9,0,9,5,0,1,9] + [8,3,4,8,5,5,4,5,3,6,1,8,8,8,1] , A=[0,9,3] , C=1 , 9+1+1=11 , A->1 , C->1
[3,6,3,6,2,4,6,6,9,0,9,5,0,1] + [8,3,4,8,5,5,4,5,3,6,1,8,8,8] , A=[1,0,9,3] , C=1 , 1+8+1=10 , A->0 , C->1
[3,6,3,6,2,4,6,6,9,0,9,5,0] + [8,3,4,8,5,5,4,5,3,6,1,8,8] , A=[0,1,0,9,3] , C=1 , 0+8+1=9 , A->9 , C->0
[3,6,3,6,2,4,6,6,9,0,9,5] + [8,3,4,8,5,5,4,5,3,6,1,8] , A=[9,0,1,0,9,3] , C=0 , 5+8+0=13 , A->3 , C->1
[3,6,3,6,2,4,6,6,9,0,9] + [8,3,4,8,5,5,4,5,3,6,1] , A=[3,9,0,1,0,9,3] , C=1 , 9+1+1=11 , A->1 , C->1
[3,6,3,6,2,4,6,6,9,0] + [8,3,4,8,5,5,4,5,3,6] , A=[1,3,9,0,1,0,9,3] , C=1 , 0+6+1=7 , A->7 , C->0
[3,6,3,6,2,4,6,6,9] + [8,3,4,8,5,5,4,5,3] , A=[7,1,3,9,0,1,0,9,3] , C=0 , 9+3+0=12 , A->2 , C->1
[3,6,3,6,2,4,6,6] + [8,3,4,8,5,5,4,5] , A=[2,7,1,3,9,0,1,0,9,3] , C=1 , 6+5+1=12 , A->2 , C->1
[3,6,3,6,2,4,6] + [8,3,4,8,5,5,4] , A=[2,2,7,1,3,9,0,1,0,9,3] , C=1 , 6+4+1=11 , A->1 , C->1
[3,6,3,6,2,4] + [8,3,4,8,5,5] , A=[1,2,2,7,1,3,9,0,1,0,9,3] , C=1 , 4+5+1=10 , A->0 , C->1
[3,6,3,6,2] + [8,3,4,8,5] , A=[0,1,2,2,7,1,3,9,0,1,0,9,3] , C=1 , 2+5+1=8 , A->8 , C->0
[3,6,3,6] + [8,3,4,8] , A=[8,0,1,2,2,7,1,3,9,0,1,0,9,3] , C=0 , 6+8+0=14 , A->4 , C->1
[3,6,3] + [8,3,4] , A=[4,8,0,1,2,2,7,1,3,9,0,1,0,9,3] , C=1 , 3+4+1=8 , A->8 , C->0
[3,6] + [8,3] , A=[8,4,8,0,1,2,2,7,1,3,9,0,1,0,9,3] , C=0 , 6+3+0=9 , A->9 , C->0
[3] + [8] , A=[9,8,4,8,0,1,2,2,7,1,3,9,0,1,0,9,3] , C=0 , 3+8+0=11 , A->1 , C->1
[] + [] , A=[1,9,8,4,8,0,1,2,2,7,1,3,9,0,1,0,9,3] C=1 , END
</scratch>
1198480122713901093
| 1198480122713901093 | 18 |
Input:
446654982302738360+351076715332291111
Target:
| Input:
446654982302738360+351076715332291111
Target:
[4,4,6,6,5,4,9,8,2,3,0,2,7,3,8,3,6,0] + [3,5,1,0,7,6,7,1,5,3,3,2,2,9,1,1,1,1] , A=[] , C=0 , 0+1+0=1 , A->1 , C->0
[4,4,6,6,5,4,9,8,2,3,0,2,7,3,8,3,6] + [3,5,1,0,7,6,7,1,5,3,3,2,2,9,1,1,1] , A=[1] , C=0 , 6+1+0=7 , A->7 , C->0
[4,4,6,6,5,4,9,8,2,3,0,2,7,3,8,3] + [3,5,1,0,7,6,7,1,5,3,3,2,2,9,1,1] , A=[7,1] , C=0 , 3+1+0=4 , A->4 , C->0
[4,4,6,6,5,4,9,8,2,3,0,2,7,3,8] + [3,5,1,0,7,6,7,1,5,3,3,2,2,9,1] , A=[4,7,1] , C=0 , 8+1+0=9 , A->9 , C->0
[4,4,6,6,5,4,9,8,2,3,0,2,7,3] + [3,5,1,0,7,6,7,1,5,3,3,2,2,9] , A=[9,4,7,1] , C=0 , 3+9+0=12 , A->2 , C->1
[4,4,6,6,5,4,9,8,2,3,0,2,7] + [3,5,1,0,7,6,7,1,5,3,3,2,2] , A=[2,9,4,7,1] , C=1 , 7+2+1=10 , A->0 , C->1
[4,4,6,6,5,4,9,8,2,3,0,2] + [3,5,1,0,7,6,7,1,5,3,3,2] , A=[0,2,9,4,7,1] , C=1 , 2+2+1=5 , A->5 , C->0
[4,4,6,6,5,4,9,8,2,3,0] + [3,5,1,0,7,6,7,1,5,3,3] , A=[5,0,2,9,4,7,1] , C=0 , 0+3+0=3 , A->3 , C->0
[4,4,6,6,5,4,9,8,2,3] + [3,5,1,0,7,6,7,1,5,3] , A=[3,5,0,2,9,4,7,1] , C=0 , 3+3+0=6 , A->6 , C->0
[4,4,6,6,5,4,9,8,2] + [3,5,1,0,7,6,7,1,5] , A=[6,3,5,0,2,9,4,7,1] , C=0 , 2+5+0=7 , A->7 , C->0
[4,4,6,6,5,4,9,8] + [3,5,1,0,7,6,7,1] , A=[7,6,3,5,0,2,9,4,7,1] , C=0 , 8+1+0=9 , A->9 , C->0
[4,4,6,6,5,4,9] + [3,5,1,0,7,6,7] , A=[9,7,6,3,5,0,2,9,4,7,1] , C=0 , 9+7+0=16 , A->6 , C->1
[4,4,6,6,5,4] + [3,5,1,0,7,6] , A=[6,9,7,6,3,5,0,2,9,4,7,1] , C=1 , 4+6+1=11 , A->1 , C->1
[4,4,6,6,5] + [3,5,1,0,7] , A=[1,6,9,7,6,3,5,0,2,9,4,7,1] , C=1 , 5+7+1=13 , A->3 , C->1
[4,4,6,6] + [3,5,1,0] , A=[3,1,6,9,7,6,3,5,0,2,9,4,7,1] , C=1 , 6+0+1=7 , A->7 , C->0
[4,4,6] + [3,5,1] , A=[7,3,1,6,9,7,6,3,5,0,2,9,4,7,1] , C=0 , 6+1+0=7 , A->7 , C->0
[4,4] + [3,5] , A=[7,7,3,1,6,9,7,6,3,5,0,2,9,4,7,1] , C=0 , 4+5+0=9 , A->9 , C->0
[4] + [3] , A=[9,7,7,3,1,6,9,7,6,3,5,0,2,9,4,7,1] , C=0 , 4+3+0=7 , A->7 , C->0
[] + [] , A=[7,9,7,7,3,1,6,9,7,6,3,5,0,2,9,4,7,1] C=0 , END
</scratch>
797731697635029471
| 797731697635029471 | 18 |
Input:
740979769347050585+968788645580743759
Target:
| Input:
740979769347050585+968788645580743759
Target:
[7,4,0,9,7,9,7,6,9,3,4,7,0,5,0,5,8,5] + [9,6,8,7,8,8,6,4,5,5,8,0,7,4,3,7,5,9] , A=[] , C=0 , 5+9+0=14 , A->4 , C->1
[7,4,0,9,7,9,7,6,9,3,4,7,0,5,0,5,8] + [9,6,8,7,8,8,6,4,5,5,8,0,7,4,3,7,5] , A=[4] , C=1 , 8+5+1=14 , A->4 , C->1
[7,4,0,9,7,9,7,6,9,3,4,7,0,5,0,5] + [9,6,8,7,8,8,6,4,5,5,8,0,7,4,3,7] , A=[4,4] , C=1 , 5+7+1=13 , A->3 , C->1
[7,4,0,9,7,9,7,6,9,3,4,7,0,5,0] + [9,6,8,7,8,8,6,4,5,5,8,0,7,4,3] , A=[3,4,4] , C=1 , 0+3+1=4 , A->4 , C->0
[7,4,0,9,7,9,7,6,9,3,4,7,0,5] + [9,6,8,7,8,8,6,4,5,5,8,0,7,4] , A=[4,3,4,4] , C=0 , 5+4+0=9 , A->9 , C->0
[7,4,0,9,7,9,7,6,9,3,4,7,0] + [9,6,8,7,8,8,6,4,5,5,8,0,7] , A=[9,4,3,4,4] , C=0 , 0+7+0=7 , A->7 , C->0
[7,4,0,9,7,9,7,6,9,3,4,7] + [9,6,8,7,8,8,6,4,5,5,8,0] , A=[7,9,4,3,4,4] , C=0 , 7+0+0=7 , A->7 , C->0
[7,4,0,9,7,9,7,6,9,3,4] + [9,6,8,7,8,8,6,4,5,5,8] , A=[7,7,9,4,3,4,4] , C=0 , 4+8+0=12 , A->2 , C->1
[7,4,0,9,7,9,7,6,9,3] + [9,6,8,7,8,8,6,4,5,5] , A=[2,7,7,9,4,3,4,4] , C=1 , 3+5+1=9 , A->9 , C->0
[7,4,0,9,7,9,7,6,9] + [9,6,8,7,8,8,6,4,5] , A=[9,2,7,7,9,4,3,4,4] , C=0 , 9+5+0=14 , A->4 , C->1
[7,4,0,9,7,9,7,6] + [9,6,8,7,8,8,6,4] , A=[4,9,2,7,7,9,4,3,4,4] , C=1 , 6+4+1=11 , A->1 , C->1
[7,4,0,9,7,9,7] + [9,6,8,7,8,8,6] , A=[1,4,9,2,7,7,9,4,3,4,4] , C=1 , 7+6+1=14 , A->4 , C->1
[7,4,0,9,7,9] + [9,6,8,7,8,8] , A=[4,1,4,9,2,7,7,9,4,3,4,4] , C=1 , 9+8+1=18 , A->8 , C->1
[7,4,0,9,7] + [9,6,8,7,8] , A=[8,4,1,4,9,2,7,7,9,4,3,4,4] , C=1 , 7+8+1=16 , A->6 , C->1
[7,4,0,9] + [9,6,8,7] , A=[6,8,4,1,4,9,2,7,7,9,4,3,4,4] , C=1 , 9+7+1=17 , A->7 , C->1
[7,4,0] + [9,6,8] , A=[7,6,8,4,1,4,9,2,7,7,9,4,3,4,4] , C=1 , 0+8+1=9 , A->9 , C->0
[7,4] + [9,6] , A=[9,7,6,8,4,1,4,9,2,7,7,9,4,3,4,4] , C=0 , 4+6+0=10 , A->0 , C->1
[7] + [9] , A=[0,9,7,6,8,4,1,4,9,2,7,7,9,4,3,4,4] , C=1 , 7+9+1=17 , A->7 , C->1
[] + [] , A=[7,0,9,7,6,8,4,1,4,9,2,7,7,9,4,3,4,4] C=1 , END
</scratch>
1709768414927794344
| 1709768414927794344 | 18 |
Input:
245750124236437058+578647102709058052
Target:
| Input:
245750124236437058+578647102709058052
Target:
[2,4,5,7,5,0,1,2,4,2,3,6,4,3,7,0,5,8] + [5,7,8,6,4,7,1,0,2,7,0,9,0,5,8,0,5,2] , A=[] , C=0 , 8+2+0=10 , A->0 , C->1
[2,4,5,7,5,0,1,2,4,2,3,6,4,3,7,0,5] + [5,7,8,6,4,7,1,0,2,7,0,9,0,5,8,0,5] , A=[0] , C=1 , 5+5+1=11 , A->1 , C->1
[2,4,5,7,5,0,1,2,4,2,3,6,4,3,7,0] + [5,7,8,6,4,7,1,0,2,7,0,9,0,5,8,0] , A=[1,0] , C=1 , 0+0+1=1 , A->1 , C->0
[2,4,5,7,5,0,1,2,4,2,3,6,4,3,7] + [5,7,8,6,4,7,1,0,2,7,0,9,0,5,8] , A=[1,1,0] , C=0 , 7+8+0=15 , A->5 , C->1
[2,4,5,7,5,0,1,2,4,2,3,6,4,3] + [5,7,8,6,4,7,1,0,2,7,0,9,0,5] , A=[5,1,1,0] , C=1 , 3+5+1=9 , A->9 , C->0
[2,4,5,7,5,0,1,2,4,2,3,6,4] + [5,7,8,6,4,7,1,0,2,7,0,9,0] , A=[9,5,1,1,0] , C=0 , 4+0+0=4 , A->4 , C->0
[2,4,5,7,5,0,1,2,4,2,3,6] + [5,7,8,6,4,7,1,0,2,7,0,9] , A=[4,9,5,1,1,0] , C=0 , 6+9+0=15 , A->5 , C->1
[2,4,5,7,5,0,1,2,4,2,3] + [5,7,8,6,4,7,1,0,2,7,0] , A=[5,4,9,5,1,1,0] , C=1 , 3+0+1=4 , A->4 , C->0
[2,4,5,7,5,0,1,2,4,2] + [5,7,8,6,4,7,1,0,2,7] , A=[4,5,4,9,5,1,1,0] , C=0 , 2+7+0=9 , A->9 , C->0
[2,4,5,7,5,0,1,2,4] + [5,7,8,6,4,7,1,0,2] , A=[9,4,5,4,9,5,1,1,0] , C=0 , 4+2+0=6 , A->6 , C->0
[2,4,5,7,5,0,1,2] + [5,7,8,6,4,7,1,0] , A=[6,9,4,5,4,9,5,1,1,0] , C=0 , 2+0+0=2 , A->2 , C->0
[2,4,5,7,5,0,1] + [5,7,8,6,4,7,1] , A=[2,6,9,4,5,4,9,5,1,1,0] , C=0 , 1+1+0=2 , A->2 , C->0
[2,4,5,7,5,0] + [5,7,8,6,4,7] , A=[2,2,6,9,4,5,4,9,5,1,1,0] , C=0 , 0+7+0=7 , A->7 , C->0
[2,4,5,7,5] + [5,7,8,6,4] , A=[7,2,2,6,9,4,5,4,9,5,1,1,0] , C=0 , 5+4+0=9 , A->9 , C->0
[2,4,5,7] + [5,7,8,6] , A=[9,7,2,2,6,9,4,5,4,9,5,1,1,0] , C=0 , 7+6+0=13 , A->3 , C->1
[2,4,5] + [5,7,8] , A=[3,9,7,2,2,6,9,4,5,4,9,5,1,1,0] , C=1 , 5+8+1=14 , A->4 , C->1
[2,4] + [5,7] , A=[4,3,9,7,2,2,6,9,4,5,4,9,5,1,1,0] , C=1 , 4+7+1=12 , A->2 , C->1
[2] + [5] , A=[2,4,3,9,7,2,2,6,9,4,5,4,9,5,1,1,0] , C=1 , 2+5+1=8 , A->8 , C->0
[] + [] , A=[8,2,4,3,9,7,2,2,6,9,4,5,4,9,5,1,1,0] C=0 , END
</scratch>
824397226945495110
| 824397226945495110 | 18 |
Input:
172374722983701656+763600504045417338
Target:
| Input:
172374722983701656+763600504045417338
Target:
[1,7,2,3,7,4,7,2,2,9,8,3,7,0,1,6,5,6] + [7,6,3,6,0,0,5,0,4,0,4,5,4,1,7,3,3,8] , A=[] , C=0 , 6+8+0=14 , A->4 , C->1
[1,7,2,3,7,4,7,2,2,9,8,3,7,0,1,6,5] + [7,6,3,6,0,0,5,0,4,0,4,5,4,1,7,3,3] , A=[4] , C=1 , 5+3+1=9 , A->9 , C->0
[1,7,2,3,7,4,7,2,2,9,8,3,7,0,1,6] + [7,6,3,6,0,0,5,0,4,0,4,5,4,1,7,3] , A=[9,4] , C=0 , 6+3+0=9 , A->9 , C->0
[1,7,2,3,7,4,7,2,2,9,8,3,7,0,1] + [7,6,3,6,0,0,5,0,4,0,4,5,4,1,7] , A=[9,9,4] , C=0 , 1+7+0=8 , A->8 , C->0
[1,7,2,3,7,4,7,2,2,9,8,3,7,0] + [7,6,3,6,0,0,5,0,4,0,4,5,4,1] , A=[8,9,9,4] , C=0 , 0+1+0=1 , A->1 , C->0
[1,7,2,3,7,4,7,2,2,9,8,3,7] + [7,6,3,6,0,0,5,0,4,0,4,5,4] , A=[1,8,9,9,4] , C=0 , 7+4+0=11 , A->1 , C->1
[1,7,2,3,7,4,7,2,2,9,8,3] + [7,6,3,6,0,0,5,0,4,0,4,5] , A=[1,1,8,9,9,4] , C=1 , 3+5+1=9 , A->9 , C->0
[1,7,2,3,7,4,7,2,2,9,8] + [7,6,3,6,0,0,5,0,4,0,4] , A=[9,1,1,8,9,9,4] , C=0 , 8+4+0=12 , A->2 , C->1
[1,7,2,3,7,4,7,2,2,9] + [7,6,3,6,0,0,5,0,4,0] , A=[2,9,1,1,8,9,9,4] , C=1 , 9+0+1=10 , A->0 , C->1
[1,7,2,3,7,4,7,2,2] + [7,6,3,6,0,0,5,0,4] , A=[0,2,9,1,1,8,9,9,4] , C=1 , 2+4+1=7 , A->7 , C->0
[1,7,2,3,7,4,7,2] + [7,6,3,6,0,0,5,0] , A=[7,0,2,9,1,1,8,9,9,4] , C=0 , 2+0+0=2 , A->2 , C->0
[1,7,2,3,7,4,7] + [7,6,3,6,0,0,5] , A=[2,7,0,2,9,1,1,8,9,9,4] , C=0 , 7+5+0=12 , A->2 , C->1
[1,7,2,3,7,4] + [7,6,3,6,0,0] , A=[2,2,7,0,2,9,1,1,8,9,9,4] , C=1 , 4+0+1=5 , A->5 , C->0
[1,7,2,3,7] + [7,6,3,6,0] , A=[5,2,2,7,0,2,9,1,1,8,9,9,4] , C=0 , 7+0+0=7 , A->7 , C->0
[1,7,2,3] + [7,6,3,6] , A=[7,5,2,2,7,0,2,9,1,1,8,9,9,4] , C=0 , 3+6+0=9 , A->9 , C->0
[1,7,2] + [7,6,3] , A=[9,7,5,2,2,7,0,2,9,1,1,8,9,9,4] , C=0 , 2+3+0=5 , A->5 , C->0
[1,7] + [7,6] , A=[5,9,7,5,2,2,7,0,2,9,1,1,8,9,9,4] , C=0 , 7+6+0=13 , A->3 , C->1
[1] + [7] , A=[3,5,9,7,5,2,2,7,0,2,9,1,1,8,9,9,4] , C=1 , 1+7+1=9 , A->9 , C->0
[] + [] , A=[9,3,5,9,7,5,2,2,7,0,2,9,1,1,8,9,9,4] C=0 , END
</scratch>
935975227029118994
| 935975227029118994 | 18 |
Input:
453970333189165546+301244363782750316
Target:
| Input:
453970333189165546+301244363782750316
Target:
[4,5,3,9,7,0,3,3,3,1,8,9,1,6,5,5,4,6] + [3,0,1,2,4,4,3,6,3,7,8,2,7,5,0,3,1,6] , A=[] , C=0 , 6+6+0=12 , A->2 , C->1
[4,5,3,9,7,0,3,3,3,1,8,9,1,6,5,5,4] + [3,0,1,2,4,4,3,6,3,7,8,2,7,5,0,3,1] , A=[2] , C=1 , 4+1+1=6 , A->6 , C->0
[4,5,3,9,7,0,3,3,3,1,8,9,1,6,5,5] + [3,0,1,2,4,4,3,6,3,7,8,2,7,5,0,3] , A=[6,2] , C=0 , 5+3+0=8 , A->8 , C->0
[4,5,3,9,7,0,3,3,3,1,8,9,1,6,5] + [3,0,1,2,4,4,3,6,3,7,8,2,7,5,0] , A=[8,6,2] , C=0 , 5+0+0=5 , A->5 , C->0
[4,5,3,9,7,0,3,3,3,1,8,9,1,6] + [3,0,1,2,4,4,3,6,3,7,8,2,7,5] , A=[5,8,6,2] , C=0 , 6+5+0=11 , A->1 , C->1
[4,5,3,9,7,0,3,3,3,1,8,9,1] + [3,0,1,2,4,4,3,6,3,7,8,2,7] , A=[1,5,8,6,2] , C=1 , 1+7+1=9 , A->9 , C->0
[4,5,3,9,7,0,3,3,3,1,8,9] + [3,0,1,2,4,4,3,6,3,7,8,2] , A=[9,1,5,8,6,2] , C=0 , 9+2+0=11 , A->1 , C->1
[4,5,3,9,7,0,3,3,3,1,8] + [3,0,1,2,4,4,3,6,3,7,8] , A=[1,9,1,5,8,6,2] , C=1 , 8+8+1=17 , A->7 , C->1
[4,5,3,9,7,0,3,3,3,1] + [3,0,1,2,4,4,3,6,3,7] , A=[7,1,9,1,5,8,6,2] , C=1 , 1+7+1=9 , A->9 , C->0
[4,5,3,9,7,0,3,3,3] + [3,0,1,2,4,4,3,6,3] , A=[9,7,1,9,1,5,8,6,2] , C=0 , 3+3+0=6 , A->6 , C->0
[4,5,3,9,7,0,3,3] + [3,0,1,2,4,4,3,6] , A=[6,9,7,1,9,1,5,8,6,2] , C=0 , 3+6+0=9 , A->9 , C->0
[4,5,3,9,7,0,3] + [3,0,1,2,4,4,3] , A=[9,6,9,7,1,9,1,5,8,6,2] , C=0 , 3+3+0=6 , A->6 , C->0
[4,5,3,9,7,0] + [3,0,1,2,4,4] , A=[6,9,6,9,7,1,9,1,5,8,6,2] , C=0 , 0+4+0=4 , A->4 , C->0
[4,5,3,9,7] + [3,0,1,2,4] , A=[4,6,9,6,9,7,1,9,1,5,8,6,2] , C=0 , 7+4+0=11 , A->1 , C->1
[4,5,3,9] + [3,0,1,2] , A=[1,4,6,9,6,9,7,1,9,1,5,8,6,2] , C=1 , 9+2+1=12 , A->2 , C->1
[4,5,3] + [3,0,1] , A=[2,1,4,6,9,6,9,7,1,9,1,5,8,6,2] , C=1 , 3+1+1=5 , A->5 , C->0
[4,5] + [3,0] , A=[5,2,1,4,6,9,6,9,7,1,9,1,5,8,6,2] , C=0 , 5+0+0=5 , A->5 , C->0
[4] + [3] , A=[5,5,2,1,4,6,9,6,9,7,1,9,1,5,8,6,2] , C=0 , 4+3+0=7 , A->7 , C->0
[] + [] , A=[7,5,5,2,1,4,6,9,6,9,7,1,9,1,5,8,6,2] C=0 , END
</scratch>
755214696971915862
| 755214696971915862 | 18 |
Input:
197044311371604574+228720162659978899
Target:
| Input:
197044311371604574+228720162659978899
Target:
[1,9,7,0,4,4,3,1,1,3,7,1,6,0,4,5,7,4] + [2,2,8,7,2,0,1,6,2,6,5,9,9,7,8,8,9,9] , A=[] , C=0 , 4+9+0=13 , A->3 , C->1
[1,9,7,0,4,4,3,1,1,3,7,1,6,0,4,5,7] + [2,2,8,7,2,0,1,6,2,6,5,9,9,7,8,8,9] , A=[3] , C=1 , 7+9+1=17 , A->7 , C->1
[1,9,7,0,4,4,3,1,1,3,7,1,6,0,4,5] + [2,2,8,7,2,0,1,6,2,6,5,9,9,7,8,8] , A=[7,3] , C=1 , 5+8+1=14 , A->4 , C->1
[1,9,7,0,4,4,3,1,1,3,7,1,6,0,4] + [2,2,8,7,2,0,1,6,2,6,5,9,9,7,8] , A=[4,7,3] , C=1 , 4+8+1=13 , A->3 , C->1
[1,9,7,0,4,4,3,1,1,3,7,1,6,0] + [2,2,8,7,2,0,1,6,2,6,5,9,9,7] , A=[3,4,7,3] , C=1 , 0+7+1=8 , A->8 , C->0
[1,9,7,0,4,4,3,1,1,3,7,1,6] + [2,2,8,7,2,0,1,6,2,6,5,9,9] , A=[8,3,4,7,3] , C=0 , 6+9+0=15 , A->5 , C->1
[1,9,7,0,4,4,3,1,1,3,7,1] + [2,2,8,7,2,0,1,6,2,6,5,9] , A=[5,8,3,4,7,3] , C=1 , 1+9+1=11 , A->1 , C->1
[1,9,7,0,4,4,3,1,1,3,7] + [2,2,8,7,2,0,1,6,2,6,5] , A=[1,5,8,3,4,7,3] , C=1 , 7+5+1=13 , A->3 , C->1
[1,9,7,0,4,4,3,1,1,3] + [2,2,8,7,2,0,1,6,2,6] , A=[3,1,5,8,3,4,7,3] , C=1 , 3+6+1=10 , A->0 , C->1
[1,9,7,0,4,4,3,1,1] + [2,2,8,7,2,0,1,6,2] , A=[0,3,1,5,8,3,4,7,3] , C=1 , 1+2+1=4 , A->4 , C->0
[1,9,7,0,4,4,3,1] + [2,2,8,7,2,0,1,6] , A=[4,0,3,1,5,8,3,4,7,3] , C=0 , 1+6+0=7 , A->7 , C->0
[1,9,7,0,4,4,3] + [2,2,8,7,2,0,1] , A=[7,4,0,3,1,5,8,3,4,7,3] , C=0 , 3+1+0=4 , A->4 , C->0
[1,9,7,0,4,4] + [2,2,8,7,2,0] , A=[4,7,4,0,3,1,5,8,3,4,7,3] , C=0 , 4+0+0=4 , A->4 , C->0
[1,9,7,0,4] + [2,2,8,7,2] , A=[4,4,7,4,0,3,1,5,8,3,4,7,3] , C=0 , 4+2+0=6 , A->6 , C->0
[1,9,7,0] + [2,2,8,7] , A=[6,4,4,7,4,0,3,1,5,8,3,4,7,3] , C=0 , 0+7+0=7 , A->7 , C->0
[1,9,7] + [2,2,8] , A=[7,6,4,4,7,4,0,3,1,5,8,3,4,7,3] , C=0 , 7+8+0=15 , A->5 , C->1
[1,9] + [2,2] , A=[5,7,6,4,4,7,4,0,3,1,5,8,3,4,7,3] , C=1 , 9+2+1=12 , A->2 , C->1
[1] + [2] , A=[2,5,7,6,4,4,7,4,0,3,1,5,8,3,4,7,3] , C=1 , 1+2+1=4 , A->4 , C->0
[] + [] , A=[4,2,5,7,6,4,4,7,4,0,3,1,5,8,3,4,7,3] C=0 , END
</scratch>
425764474031583473
| 425764474031583473 | 18 |
Input:
835169303336279931+517981115070483621
Target:
| Input:
835169303336279931+517981115070483621
Target:
[8,3,5,1,6,9,3,0,3,3,3,6,2,7,9,9,3,1] + [5,1,7,9,8,1,1,1,5,0,7,0,4,8,3,6,2,1] , A=[] , C=0 , 1+1+0=2 , A->2 , C->0
[8,3,5,1,6,9,3,0,3,3,3,6,2,7,9,9,3] + [5,1,7,9,8,1,1,1,5,0,7,0,4,8,3,6,2] , A=[2] , C=0 , 3+2+0=5 , A->5 , C->0
[8,3,5,1,6,9,3,0,3,3,3,6,2,7,9,9] + [5,1,7,9,8,1,1,1,5,0,7,0,4,8,3,6] , A=[5,2] , C=0 , 9+6+0=15 , A->5 , C->1
[8,3,5,1,6,9,3,0,3,3,3,6,2,7,9] + [5,1,7,9,8,1,1,1,5,0,7,0,4,8,3] , A=[5,5,2] , C=1 , 9+3+1=13 , A->3 , C->1
[8,3,5,1,6,9,3,0,3,3,3,6,2,7] + [5,1,7,9,8,1,1,1,5,0,7,0,4,8] , A=[3,5,5,2] , C=1 , 7+8+1=16 , A->6 , C->1
[8,3,5,1,6,9,3,0,3,3,3,6,2] + [5,1,7,9,8,1,1,1,5,0,7,0,4] , A=[6,3,5,5,2] , C=1 , 2+4+1=7 , A->7 , C->0
[8,3,5,1,6,9,3,0,3,3,3,6] + [5,1,7,9,8,1,1,1,5,0,7,0] , A=[7,6,3,5,5,2] , C=0 , 6+0+0=6 , A->6 , C->0
[8,3,5,1,6,9,3,0,3,3,3] + [5,1,7,9,8,1,1,1,5,0,7] , A=[6,7,6,3,5,5,2] , C=0 , 3+7+0=10 , A->0 , C->1
[8,3,5,1,6,9,3,0,3,3] + [5,1,7,9,8,1,1,1,5,0] , A=[0,6,7,6,3,5,5,2] , C=1 , 3+0+1=4 , A->4 , C->0
[8,3,5,1,6,9,3,0,3] + [5,1,7,9,8,1,1,1,5] , A=[4,0,6,7,6,3,5,5,2] , C=0 , 3+5+0=8 , A->8 , C->0
[8,3,5,1,6,9,3,0] + [5,1,7,9,8,1,1,1] , A=[8,4,0,6,7,6,3,5,5,2] , C=0 , 0+1+0=1 , A->1 , C->0
[8,3,5,1,6,9,3] + [5,1,7,9,8,1,1] , A=[1,8,4,0,6,7,6,3,5,5,2] , C=0 , 3+1+0=4 , A->4 , C->0
[8,3,5,1,6,9] + [5,1,7,9,8,1] , A=[4,1,8,4,0,6,7,6,3,5,5,2] , C=0 , 9+1+0=10 , A->0 , C->1
[8,3,5,1,6] + [5,1,7,9,8] , A=[0,4,1,8,4,0,6,7,6,3,5,5,2] , C=1 , 6+8+1=15 , A->5 , C->1
[8,3,5,1] + [5,1,7,9] , A=[5,0,4,1,8,4,0,6,7,6,3,5,5,2] , C=1 , 1+9+1=11 , A->1 , C->1
[8,3,5] + [5,1,7] , A=[1,5,0,4,1,8,4,0,6,7,6,3,5,5,2] , C=1 , 5+7+1=13 , A->3 , C->1
[8,3] + [5,1] , A=[3,1,5,0,4,1,8,4,0,6,7,6,3,5,5,2] , C=1 , 3+1+1=5 , A->5 , C->0
[8] + [5] , A=[5,3,1,5,0,4,1,8,4,0,6,7,6,3,5,5,2] , C=0 , 8+5+0=13 , A->3 , C->1
[] + [] , A=[3,5,3,1,5,0,4,1,8,4,0,6,7,6,3,5,5,2] C=1 , END
</scratch>
1353150418406763552
| 1353150418406763552 | 18 |
Input:
462864783147723537+316144688786929154
Target:
| Input:
462864783147723537+316144688786929154
Target:
[4,6,2,8,6,4,7,8,3,1,4,7,7,2,3,5,3,7] + [3,1,6,1,4,4,6,8,8,7,8,6,9,2,9,1,5,4] , A=[] , C=0 , 7+4+0=11 , A->1 , C->1
[4,6,2,8,6,4,7,8,3,1,4,7,7,2,3,5,3] + [3,1,6,1,4,4,6,8,8,7,8,6,9,2,9,1,5] , A=[1] , C=1 , 3+5+1=9 , A->9 , C->0
[4,6,2,8,6,4,7,8,3,1,4,7,7,2,3,5] + [3,1,6,1,4,4,6,8,8,7,8,6,9,2,9,1] , A=[9,1] , C=0 , 5+1+0=6 , A->6 , C->0
[4,6,2,8,6,4,7,8,3,1,4,7,7,2,3] + [3,1,6,1,4,4,6,8,8,7,8,6,9,2,9] , A=[6,9,1] , C=0 , 3+9+0=12 , A->2 , C->1
[4,6,2,8,6,4,7,8,3,1,4,7,7,2] + [3,1,6,1,4,4,6,8,8,7,8,6,9,2] , A=[2,6,9,1] , C=1 , 2+2+1=5 , A->5 , C->0
[4,6,2,8,6,4,7,8,3,1,4,7,7] + [3,1,6,1,4,4,6,8,8,7,8,6,9] , A=[5,2,6,9,1] , C=0 , 7+9+0=16 , A->6 , C->1
[4,6,2,8,6,4,7,8,3,1,4,7] + [3,1,6,1,4,4,6,8,8,7,8,6] , A=[6,5,2,6,9,1] , C=1 , 7+6+1=14 , A->4 , C->1
[4,6,2,8,6,4,7,8,3,1,4] + [3,1,6,1,4,4,6,8,8,7,8] , A=[4,6,5,2,6,9,1] , C=1 , 4+8+1=13 , A->3 , C->1
[4,6,2,8,6,4,7,8,3,1] + [3,1,6,1,4,4,6,8,8,7] , A=[3,4,6,5,2,6,9,1] , C=1 , 1+7+1=9 , A->9 , C->0
[4,6,2,8,6,4,7,8,3] + [3,1,6,1,4,4,6,8,8] , A=[9,3,4,6,5,2,6,9,1] , C=0 , 3+8+0=11 , A->1 , C->1
[4,6,2,8,6,4,7,8] + [3,1,6,1,4,4,6,8] , A=[1,9,3,4,6,5,2,6,9,1] , C=1 , 8+8+1=17 , A->7 , C->1
[4,6,2,8,6,4,7] + [3,1,6,1,4,4,6] , A=[7,1,9,3,4,6,5,2,6,9,1] , C=1 , 7+6+1=14 , A->4 , C->1
[4,6,2,8,6,4] + [3,1,6,1,4,4] , A=[4,7,1,9,3,4,6,5,2,6,9,1] , C=1 , 4+4+1=9 , A->9 , C->0
[4,6,2,8,6] + [3,1,6,1,4] , A=[9,4,7,1,9,3,4,6,5,2,6,9,1] , C=0 , 6+4+0=10 , A->0 , C->1
[4,6,2,8] + [3,1,6,1] , A=[0,9,4,7,1,9,3,4,6,5,2,6,9,1] , C=1 , 8+1+1=10 , A->0 , C->1
[4,6,2] + [3,1,6] , A=[0,0,9,4,7,1,9,3,4,6,5,2,6,9,1] , C=1 , 2+6+1=9 , A->9 , C->0
[4,6] + [3,1] , A=[9,0,0,9,4,7,1,9,3,4,6,5,2,6,9,1] , C=0 , 6+1+0=7 , A->7 , C->0
[4] + [3] , A=[7,9,0,0,9,4,7,1,9,3,4,6,5,2,6,9,1] , C=0 , 4+3+0=7 , A->7 , C->0
[] + [] , A=[7,7,9,0,0,9,4,7,1,9,3,4,6,5,2,6,9,1] C=0 , END
</scratch>
779009471934652691
| 779009471934652691 | 18 |
Input:
346578661337732540+904084816330327862
Target:
| Input:
346578661337732540+904084816330327862
Target:
[3,4,6,5,7,8,6,6,1,3,3,7,7,3,2,5,4,0] + [9,0,4,0,8,4,8,1,6,3,3,0,3,2,7,8,6,2] , A=[] , C=0 , 0+2+0=2 , A->2 , C->0
[3,4,6,5,7,8,6,6,1,3,3,7,7,3,2,5,4] + [9,0,4,0,8,4,8,1,6,3,3,0,3,2,7,8,6] , A=[2] , C=0 , 4+6+0=10 , A->0 , C->1
[3,4,6,5,7,8,6,6,1,3,3,7,7,3,2,5] + [9,0,4,0,8,4,8,1,6,3,3,0,3,2,7,8] , A=[0,2] , C=1 , 5+8+1=14 , A->4 , C->1
[3,4,6,5,7,8,6,6,1,3,3,7,7,3,2] + [9,0,4,0,8,4,8,1,6,3,3,0,3,2,7] , A=[4,0,2] , C=1 , 2+7+1=10 , A->0 , C->1
[3,4,6,5,7,8,6,6,1,3,3,7,7,3] + [9,0,4,0,8,4,8,1,6,3,3,0,3,2] , A=[0,4,0,2] , C=1 , 3+2+1=6 , A->6 , C->0
[3,4,6,5,7,8,6,6,1,3,3,7,7] + [9,0,4,0,8,4,8,1,6,3,3,0,3] , A=[6,0,4,0,2] , C=0 , 7+3+0=10 , A->0 , C->1
[3,4,6,5,7,8,6,6,1,3,3,7] + [9,0,4,0,8,4,8,1,6,3,3,0] , A=[0,6,0,4,0,2] , C=1 , 7+0+1=8 , A->8 , C->0
[3,4,6,5,7,8,6,6,1,3,3] + [9,0,4,0,8,4,8,1,6,3,3] , A=[8,0,6,0,4,0,2] , C=0 , 3+3+0=6 , A->6 , C->0
[3,4,6,5,7,8,6,6,1,3] + [9,0,4,0,8,4,8,1,6,3] , A=[6,8,0,6,0,4,0,2] , C=0 , 3+3+0=6 , A->6 , C->0
[3,4,6,5,7,8,6,6,1] + [9,0,4,0,8,4,8,1,6] , A=[6,6,8,0,6,0,4,0,2] , C=0 , 1+6+0=7 , A->7 , C->0
[3,4,6,5,7,8,6,6] + [9,0,4,0,8,4,8,1] , A=[7,6,6,8,0,6,0,4,0,2] , C=0 , 6+1+0=7 , A->7 , C->0
[3,4,6,5,7,8,6] + [9,0,4,0,8,4,8] , A=[7,7,6,6,8,0,6,0,4,0,2] , C=0 , 6+8+0=14 , A->4 , C->1
[3,4,6,5,7,8] + [9,0,4,0,8,4] , A=[4,7,7,6,6,8,0,6,0,4,0,2] , C=1 , 8+4+1=13 , A->3 , C->1
[3,4,6,5,7] + [9,0,4,0,8] , A=[3,4,7,7,6,6,8,0,6,0,4,0,2] , C=1 , 7+8+1=16 , A->6 , C->1
[3,4,6,5] + [9,0,4,0] , A=[6,3,4,7,7,6,6,8,0,6,0,4,0,2] , C=1 , 5+0+1=6 , A->6 , C->0
[3,4,6] + [9,0,4] , A=[6,6,3,4,7,7,6,6,8,0,6,0,4,0,2] , C=0 , 6+4+0=10 , A->0 , C->1
[3,4] + [9,0] , A=[0,6,6,3,4,7,7,6,6,8,0,6,0,4,0,2] , C=1 , 4+0+1=5 , A->5 , C->0
[3] + [9] , A=[5,0,6,6,3,4,7,7,6,6,8,0,6,0,4,0,2] , C=0 , 3+9+0=12 , A->2 , C->1
[] + [] , A=[2,5,0,6,6,3,4,7,7,6,6,8,0,6,0,4,0,2] C=1 , END
</scratch>
1250663477668060402
| 1250663477668060402 | 18 |
Input:
262211965770646607+690599697788038749
Target:
| Input:
262211965770646607+690599697788038749
Target:
[2,6,2,2,1,1,9,6,5,7,7,0,6,4,6,6,0,7] + [6,9,0,5,9,9,6,9,7,7,8,8,0,3,8,7,4,9] , A=[] , C=0 , 7+9+0=16 , A->6 , C->1
[2,6,2,2,1,1,9,6,5,7,7,0,6,4,6,6,0] + [6,9,0,5,9,9,6,9,7,7,8,8,0,3,8,7,4] , A=[6] , C=1 , 0+4+1=5 , A->5 , C->0
[2,6,2,2,1,1,9,6,5,7,7,0,6,4,6,6] + [6,9,0,5,9,9,6,9,7,7,8,8,0,3,8,7] , A=[5,6] , C=0 , 6+7+0=13 , A->3 , C->1
[2,6,2,2,1,1,9,6,5,7,7,0,6,4,6] + [6,9,0,5,9,9,6,9,7,7,8,8,0,3,8] , A=[3,5,6] , C=1 , 6+8+1=15 , A->5 , C->1
[2,6,2,2,1,1,9,6,5,7,7,0,6,4] + [6,9,0,5,9,9,6,9,7,7,8,8,0,3] , A=[5,3,5,6] , C=1 , 4+3+1=8 , A->8 , C->0
[2,6,2,2,1,1,9,6,5,7,7,0,6] + [6,9,0,5,9,9,6,9,7,7,8,8,0] , A=[8,5,3,5,6] , C=0 , 6+0+0=6 , A->6 , C->0
[2,6,2,2,1,1,9,6,5,7,7,0] + [6,9,0,5,9,9,6,9,7,7,8,8] , A=[6,8,5,3,5,6] , C=0 , 0+8+0=8 , A->8 , C->0
[2,6,2,2,1,1,9,6,5,7,7] + [6,9,0,5,9,9,6,9,7,7,8] , A=[8,6,8,5,3,5,6] , C=0 , 7+8+0=15 , A->5 , C->1
[2,6,2,2,1,1,9,6,5,7] + [6,9,0,5,9,9,6,9,7,7] , A=[5,8,6,8,5,3,5,6] , C=1 , 7+7+1=15 , A->5 , C->1
[2,6,2,2,1,1,9,6,5] + [6,9,0,5,9,9,6,9,7] , A=[5,5,8,6,8,5,3,5,6] , C=1 , 5+7+1=13 , A->3 , C->1
[2,6,2,2,1,1,9,6] + [6,9,0,5,9,9,6,9] , A=[3,5,5,8,6,8,5,3,5,6] , C=1 , 6+9+1=16 , A->6 , C->1
[2,6,2,2,1,1,9] + [6,9,0,5,9,9,6] , A=[6,3,5,5,8,6,8,5,3,5,6] , C=1 , 9+6+1=16 , A->6 , C->1
[2,6,2,2,1,1] + [6,9,0,5,9,9] , A=[6,6,3,5,5,8,6,8,5,3,5,6] , C=1 , 1+9+1=11 , A->1 , C->1
[2,6,2,2,1] + [6,9,0,5,9] , A=[1,6,6,3,5,5,8,6,8,5,3,5,6] , C=1 , 1+9+1=11 , A->1 , C->1
[2,6,2,2] + [6,9,0,5] , A=[1,1,6,6,3,5,5,8,6,8,5,3,5,6] , C=1 , 2+5+1=8 , A->8 , C->0
[2,6,2] + [6,9,0] , A=[8,1,1,6,6,3,5,5,8,6,8,5,3,5,6] , C=0 , 2+0+0=2 , A->2 , C->0
[2,6] + [6,9] , A=[2,8,1,1,6,6,3,5,5,8,6,8,5,3,5,6] , C=0 , 6+9+0=15 , A->5 , C->1
[2] + [6] , A=[5,2,8,1,1,6,6,3,5,5,8,6,8,5,3,5,6] , C=1 , 2+6+1=9 , A->9 , C->0
[] + [] , A=[9,5,2,8,1,1,6,6,3,5,5,8,6,8,5,3,5,6] C=0 , END
</scratch>
952811663558685356
| 952811663558685356 | 18 |
Input:
161187736625429417+813073999889972009
Target:
| Input:
161187736625429417+813073999889972009
Target:
[1,6,1,1,8,7,7,3,6,6,2,5,4,2,9,4,1,7] + [8,1,3,0,7,3,9,9,9,8,8,9,9,7,2,0,0,9] , A=[] , C=0 , 7+9+0=16 , A->6 , C->1
[1,6,1,1,8,7,7,3,6,6,2,5,4,2,9,4,1] + [8,1,3,0,7,3,9,9,9,8,8,9,9,7,2,0,0] , A=[6] , C=1 , 1+0+1=2 , A->2 , C->0
[1,6,1,1,8,7,7,3,6,6,2,5,4,2,9,4] + [8,1,3,0,7,3,9,9,9,8,8,9,9,7,2,0] , A=[2,6] , C=0 , 4+0+0=4 , A->4 , C->0
[1,6,1,1,8,7,7,3,6,6,2,5,4,2,9] + [8,1,3,0,7,3,9,9,9,8,8,9,9,7,2] , A=[4,2,6] , C=0 , 9+2+0=11 , A->1 , C->1
[1,6,1,1,8,7,7,3,6,6,2,5,4,2] + [8,1,3,0,7,3,9,9,9,8,8,9,9,7] , A=[1,4,2,6] , C=1 , 2+7+1=10 , A->0 , C->1
[1,6,1,1,8,7,7,3,6,6,2,5,4] + [8,1,3,0,7,3,9,9,9,8,8,9,9] , A=[0,1,4,2,6] , C=1 , 4+9+1=14 , A->4 , C->1
[1,6,1,1,8,7,7,3,6,6,2,5] + [8,1,3,0,7,3,9,9,9,8,8,9] , A=[4,0,1,4,2,6] , C=1 , 5+9+1=15 , A->5 , C->1
[1,6,1,1,8,7,7,3,6,6,2] + [8,1,3,0,7,3,9,9,9,8,8] , A=[5,4,0,1,4,2,6] , C=1 , 2+8+1=11 , A->1 , C->1
[1,6,1,1,8,7,7,3,6,6] + [8,1,3,0,7,3,9,9,9,8] , A=[1,5,4,0,1,4,2,6] , C=1 , 6+8+1=15 , A->5 , C->1
[1,6,1,1,8,7,7,3,6] + [8,1,3,0,7,3,9,9,9] , A=[5,1,5,4,0,1,4,2,6] , C=1 , 6+9+1=16 , A->6 , C->1
[1,6,1,1,8,7,7,3] + [8,1,3,0,7,3,9,9] , A=[6,5,1,5,4,0,1,4,2,6] , C=1 , 3+9+1=13 , A->3 , C->1
[1,6,1,1,8,7,7] + [8,1,3,0,7,3,9] , A=[3,6,5,1,5,4,0,1,4,2,6] , C=1 , 7+9+1=17 , A->7 , C->1
[1,6,1,1,8,7] + [8,1,3,0,7,3] , A=[7,3,6,5,1,5,4,0,1,4,2,6] , C=1 , 7+3+1=11 , A->1 , C->1
[1,6,1,1,8] + [8,1,3,0,7] , A=[1,7,3,6,5,1,5,4,0,1,4,2,6] , C=1 , 8+7+1=16 , A->6 , C->1
[1,6,1,1] + [8,1,3,0] , A=[6,1,7,3,6,5,1,5,4,0,1,4,2,6] , C=1 , 1+0+1=2 , A->2 , C->0
[1,6,1] + [8,1,3] , A=[2,6,1,7,3,6,5,1,5,4,0,1,4,2,6] , C=0 , 1+3+0=4 , A->4 , C->0
[1,6] + [8,1] , A=[4,2,6,1,7,3,6,5,1,5,4,0,1,4,2,6] , C=0 , 6+1+0=7 , A->7 , C->0
[1] + [8] , A=[7,4,2,6,1,7,3,6,5,1,5,4,0,1,4,2,6] , C=0 , 1+8+0=9 , A->9 , C->0
[] + [] , A=[9,7,4,2,6,1,7,3,6,5,1,5,4,0,1,4,2,6] C=0 , END
</scratch>
974261736515401426
| 974261736515401426 | 18 |
Input:
318597775033115510+991983744531260649
Target:
| Input:
318597775033115510+991983744531260649
Target:
[3,1,8,5,9,7,7,7,5,0,3,3,1,1,5,5,1,0] + [9,9,1,9,8,3,7,4,4,5,3,1,2,6,0,6,4,9] , A=[] , C=0 , 0+9+0=9 , A->9 , C->0
[3,1,8,5,9,7,7,7,5,0,3,3,1,1,5,5,1] + [9,9,1,9,8,3,7,4,4,5,3,1,2,6,0,6,4] , A=[9] , C=0 , 1+4+0=5 , A->5 , C->0
[3,1,8,5,9,7,7,7,5,0,3,3,1,1,5,5] + [9,9,1,9,8,3,7,4,4,5,3,1,2,6,0,6] , A=[5,9] , C=0 , 5+6+0=11 , A->1 , C->1
[3,1,8,5,9,7,7,7,5,0,3,3,1,1,5] + [9,9,1,9,8,3,7,4,4,5,3,1,2,6,0] , A=[1,5,9] , C=1 , 5+0+1=6 , A->6 , C->0
[3,1,8,5,9,7,7,7,5,0,3,3,1,1] + [9,9,1,9,8,3,7,4,4,5,3,1,2,6] , A=[6,1,5,9] , C=0 , 1+6+0=7 , A->7 , C->0
[3,1,8,5,9,7,7,7,5,0,3,3,1] + [9,9,1,9,8,3,7,4,4,5,3,1,2] , A=[7,6,1,5,9] , C=0 , 1+2+0=3 , A->3 , C->0
[3,1,8,5,9,7,7,7,5,0,3,3] + [9,9,1,9,8,3,7,4,4,5,3,1] , A=[3,7,6,1,5,9] , C=0 , 3+1+0=4 , A->4 , C->0
[3,1,8,5,9,7,7,7,5,0,3] + [9,9,1,9,8,3,7,4,4,5,3] , A=[4,3,7,6,1,5,9] , C=0 , 3+3+0=6 , A->6 , C->0
[3,1,8,5,9,7,7,7,5,0] + [9,9,1,9,8,3,7,4,4,5] , A=[6,4,3,7,6,1,5,9] , C=0 , 0+5+0=5 , A->5 , C->0
[3,1,8,5,9,7,7,7,5] + [9,9,1,9,8,3,7,4,4] , A=[5,6,4,3,7,6,1,5,9] , C=0 , 5+4+0=9 , A->9 , C->0
[3,1,8,5,9,7,7,7] + [9,9,1,9,8,3,7,4] , A=[9,5,6,4,3,7,6,1,5,9] , C=0 , 7+4+0=11 , A->1 , C->1
[3,1,8,5,9,7,7] + [9,9,1,9,8,3,7] , A=[1,9,5,6,4,3,7,6,1,5,9] , C=1 , 7+7+1=15 , A->5 , C->1
[3,1,8,5,9,7] + [9,9,1,9,8,3] , A=[5,1,9,5,6,4,3,7,6,1,5,9] , C=1 , 7+3+1=11 , A->1 , C->1
[3,1,8,5,9] + [9,9,1,9,8] , A=[1,5,1,9,5,6,4,3,7,6,1,5,9] , C=1 , 9+8+1=18 , A->8 , C->1
[3,1,8,5] + [9,9,1,9] , A=[8,1,5,1,9,5,6,4,3,7,6,1,5,9] , C=1 , 5+9+1=15 , A->5 , C->1
[3,1,8] + [9,9,1] , A=[5,8,1,5,1,9,5,6,4,3,7,6,1,5,9] , C=1 , 8+1+1=10 , A->0 , C->1
[3,1] + [9,9] , A=[0,5,8,1,5,1,9,5,6,4,3,7,6,1,5,9] , C=1 , 1+9+1=11 , A->1 , C->1
[3] + [9] , A=[1,0,5,8,1,5,1,9,5,6,4,3,7,6,1,5,9] , C=1 , 3+9+1=13 , A->3 , C->1
[] + [] , A=[3,1,0,5,8,1,5,1,9,5,6,4,3,7,6,1,5,9] C=1 , END
</scratch>
1310581519564376159
| 1310581519564376159 | 18 |
Input:
671121673499749153+754481840597872169
Target:
| Input:
671121673499749153+754481840597872169
Target:
[6,7,1,1,2,1,6,7,3,4,9,9,7,4,9,1,5,3] + [7,5,4,4,8,1,8,4,0,5,9,7,8,7,2,1,6,9] , A=[] , C=0 , 3+9+0=12 , A->2 , C->1
[6,7,1,1,2,1,6,7,3,4,9,9,7,4,9,1,5] + [7,5,4,4,8,1,8,4,0,5,9,7,8,7,2,1,6] , A=[2] , C=1 , 5+6+1=12 , A->2 , C->1
[6,7,1,1,2,1,6,7,3,4,9,9,7,4,9,1] + [7,5,4,4,8,1,8,4,0,5,9,7,8,7,2,1] , A=[2,2] , C=1 , 1+1+1=3 , A->3 , C->0
[6,7,1,1,2,1,6,7,3,4,9,9,7,4,9] + [7,5,4,4,8,1,8,4,0,5,9,7,8,7,2] , A=[3,2,2] , C=0 , 9+2+0=11 , A->1 , C->1
[6,7,1,1,2,1,6,7,3,4,9,9,7,4] + [7,5,4,4,8,1,8,4,0,5,9,7,8,7] , A=[1,3,2,2] , C=1 , 4+7+1=12 , A->2 , C->1
[6,7,1,1,2,1,6,7,3,4,9,9,7] + [7,5,4,4,8,1,8,4,0,5,9,7,8] , A=[2,1,3,2,2] , C=1 , 7+8+1=16 , A->6 , C->1
[6,7,1,1,2,1,6,7,3,4,9,9] + [7,5,4,4,8,1,8,4,0,5,9,7] , A=[6,2,1,3,2,2] , C=1 , 9+7+1=17 , A->7 , C->1
[6,7,1,1,2,1,6,7,3,4,9] + [7,5,4,4,8,1,8,4,0,5,9] , A=[7,6,2,1,3,2,2] , C=1 , 9+9+1=19 , A->9 , C->1
[6,7,1,1,2,1,6,7,3,4] + [7,5,4,4,8,1,8,4,0,5] , A=[9,7,6,2,1,3,2,2] , C=1 , 4+5+1=10 , A->0 , C->1
[6,7,1,1,2,1,6,7,3] + [7,5,4,4,8,1,8,4,0] , A=[0,9,7,6,2,1,3,2,2] , C=1 , 3+0+1=4 , A->4 , C->0
[6,7,1,1,2,1,6,7] + [7,5,4,4,8,1,8,4] , A=[4,0,9,7,6,2,1,3,2,2] , C=0 , 7+4+0=11 , A->1 , C->1
[6,7,1,1,2,1,6] + [7,5,4,4,8,1,8] , A=[1,4,0,9,7,6,2,1,3,2,2] , C=1 , 6+8+1=15 , A->5 , C->1
[6,7,1,1,2,1] + [7,5,4,4,8,1] , A=[5,1,4,0,9,7,6,2,1,3,2,2] , C=1 , 1+1+1=3 , A->3 , C->0
[6,7,1,1,2] + [7,5,4,4,8] , A=[3,5,1,4,0,9,7,6,2,1,3,2,2] , C=0 , 2+8+0=10 , A->0 , C->1
[6,7,1,1] + [7,5,4,4] , A=[0,3,5,1,4,0,9,7,6,2,1,3,2,2] , C=1 , 1+4+1=6 , A->6 , C->0
[6,7,1] + [7,5,4] , A=[6,0,3,5,1,4,0,9,7,6,2,1,3,2,2] , C=0 , 1+4+0=5 , A->5 , C->0
[6,7] + [7,5] , A=[5,6,0,3,5,1,4,0,9,7,6,2,1,3,2,2] , C=0 , 7+5+0=12 , A->2 , C->1
[6] + [7] , A=[2,5,6,0,3,5,1,4,0,9,7,6,2,1,3,2,2] , C=1 , 6+7+1=14 , A->4 , C->1
[] + [] , A=[4,2,5,6,0,3,5,1,4,0,9,7,6,2,1,3,2,2] C=1 , END
</scratch>
1425603514097621322
| 1425603514097621322 | 18 |
Input:
532830147985556219+531862137482221864
Target:
| Input:
532830147985556219+531862137482221864
Target:
[5,3,2,8,3,0,1,4,7,9,8,5,5,5,6,2,1,9] + [5,3,1,8,6,2,1,3,7,4,8,2,2,2,1,8,6,4] , A=[] , C=0 , 9+4+0=13 , A->3 , C->1
[5,3,2,8,3,0,1,4,7,9,8,5,5,5,6,2,1] + [5,3,1,8,6,2,1,3,7,4,8,2,2,2,1,8,6] , A=[3] , C=1 , 1+6+1=8 , A->8 , C->0
[5,3,2,8,3,0,1,4,7,9,8,5,5,5,6,2] + [5,3,1,8,6,2,1,3,7,4,8,2,2,2,1,8] , A=[8,3] , C=0 , 2+8+0=10 , A->0 , C->1
[5,3,2,8,3,0,1,4,7,9,8,5,5,5,6] + [5,3,1,8,6,2,1,3,7,4,8,2,2,2,1] , A=[0,8,3] , C=1 , 6+1+1=8 , A->8 , C->0
[5,3,2,8,3,0,1,4,7,9,8,5,5,5] + [5,3,1,8,6,2,1,3,7,4,8,2,2,2] , A=[8,0,8,3] , C=0 , 5+2+0=7 , A->7 , C->0
[5,3,2,8,3,0,1,4,7,9,8,5,5] + [5,3,1,8,6,2,1,3,7,4,8,2,2] , A=[7,8,0,8,3] , C=0 , 5+2+0=7 , A->7 , C->0
[5,3,2,8,3,0,1,4,7,9,8,5] + [5,3,1,8,6,2,1,3,7,4,8,2] , A=[7,7,8,0,8,3] , C=0 , 5+2+0=7 , A->7 , C->0
[5,3,2,8,3,0,1,4,7,9,8] + [5,3,1,8,6,2,1,3,7,4,8] , A=[7,7,7,8,0,8,3] , C=0 , 8+8+0=16 , A->6 , C->1
[5,3,2,8,3,0,1,4,7,9] + [5,3,1,8,6,2,1,3,7,4] , A=[6,7,7,7,8,0,8,3] , C=1 , 9+4+1=14 , A->4 , C->1
[5,3,2,8,3,0,1,4,7] + [5,3,1,8,6,2,1,3,7] , A=[4,6,7,7,7,8,0,8,3] , C=1 , 7+7+1=15 , A->5 , C->1
[5,3,2,8,3,0,1,4] + [5,3,1,8,6,2,1,3] , A=[5,4,6,7,7,7,8,0,8,3] , C=1 , 4+3+1=8 , A->8 , C->0
[5,3,2,8,3,0,1] + [5,3,1,8,6,2,1] , A=[8,5,4,6,7,7,7,8,0,8,3] , C=0 , 1+1+0=2 , A->2 , C->0
[5,3,2,8,3,0] + [5,3,1,8,6,2] , A=[2,8,5,4,6,7,7,7,8,0,8,3] , C=0 , 0+2+0=2 , A->2 , C->0
[5,3,2,8,3] + [5,3,1,8,6] , A=[2,2,8,5,4,6,7,7,7,8,0,8,3] , C=0 , 3+6+0=9 , A->9 , C->0
[5,3,2,8] + [5,3,1,8] , A=[9,2,2,8,5,4,6,7,7,7,8,0,8,3] , C=0 , 8+8+0=16 , A->6 , C->1
[5,3,2] + [5,3,1] , A=[6,9,2,2,8,5,4,6,7,7,7,8,0,8,3] , C=1 , 2+1+1=4 , A->4 , C->0
[5,3] + [5,3] , A=[4,6,9,2,2,8,5,4,6,7,7,7,8,0,8,3] , C=0 , 3+3+0=6 , A->6 , C->0
[5] + [5] , A=[6,4,6,9,2,2,8,5,4,6,7,7,7,8,0,8,3] , C=0 , 5+5+0=10 , A->0 , C->1
[] + [] , A=[0,6,4,6,9,2,2,8,5,4,6,7,7,7,8,0,8,3] C=1 , END
</scratch>
1064692285467778083
| 1064692285467778083 | 18 |
Input:
222445278851535710+957198490871341851
Target:
| Input:
222445278851535710+957198490871341851
Target:
[2,2,2,4,4,5,2,7,8,8,5,1,5,3,5,7,1,0] + [9,5,7,1,9,8,4,9,0,8,7,1,3,4,1,8,5,1] , A=[] , C=0 , 0+1+0=1 , A->1 , C->0
[2,2,2,4,4,5,2,7,8,8,5,1,5,3,5,7,1] + [9,5,7,1,9,8,4,9,0,8,7,1,3,4,1,8,5] , A=[1] , C=0 , 1+5+0=6 , A->6 , C->0
[2,2,2,4,4,5,2,7,8,8,5,1,5,3,5,7] + [9,5,7,1,9,8,4,9,0,8,7,1,3,4,1,8] , A=[6,1] , C=0 , 7+8+0=15 , A->5 , C->1
[2,2,2,4,4,5,2,7,8,8,5,1,5,3,5] + [9,5,7,1,9,8,4,9,0,8,7,1,3,4,1] , A=[5,6,1] , C=1 , 5+1+1=7 , A->7 , C->0
[2,2,2,4,4,5,2,7,8,8,5,1,5,3] + [9,5,7,1,9,8,4,9,0,8,7,1,3,4] , A=[7,5,6,1] , C=0 , 3+4+0=7 , A->7 , C->0
[2,2,2,4,4,5,2,7,8,8,5,1,5] + [9,5,7,1,9,8,4,9,0,8,7,1,3] , A=[7,7,5,6,1] , C=0 , 5+3+0=8 , A->8 , C->0
[2,2,2,4,4,5,2,7,8,8,5,1] + [9,5,7,1,9,8,4,9,0,8,7,1] , A=[8,7,7,5,6,1] , C=0 , 1+1+0=2 , A->2 , C->0
[2,2,2,4,4,5,2,7,8,8,5] + [9,5,7,1,9,8,4,9,0,8,7] , A=[2,8,7,7,5,6,1] , C=0 , 5+7+0=12 , A->2 , C->1
[2,2,2,4,4,5,2,7,8,8] + [9,5,7,1,9,8,4,9,0,8] , A=[2,2,8,7,7,5,6,1] , C=1 , 8+8+1=17 , A->7 , C->1
[2,2,2,4,4,5,2,7,8] + [9,5,7,1,9,8,4,9,0] , A=[7,2,2,8,7,7,5,6,1] , C=1 , 8+0+1=9 , A->9 , C->0
[2,2,2,4,4,5,2,7] + [9,5,7,1,9,8,4,9] , A=[9,7,2,2,8,7,7,5,6,1] , C=0 , 7+9+0=16 , A->6 , C->1
[2,2,2,4,4,5,2] + [9,5,7,1,9,8,4] , A=[6,9,7,2,2,8,7,7,5,6,1] , C=1 , 2+4+1=7 , A->7 , C->0
[2,2,2,4,4,5] + [9,5,7,1,9,8] , A=[7,6,9,7,2,2,8,7,7,5,6,1] , C=0 , 5+8+0=13 , A->3 , C->1
[2,2,2,4,4] + [9,5,7,1,9] , A=[3,7,6,9,7,2,2,8,7,7,5,6,1] , C=1 , 4+9+1=14 , A->4 , C->1
[2,2,2,4] + [9,5,7,1] , A=[4,3,7,6,9,7,2,2,8,7,7,5,6,1] , C=1 , 4+1+1=6 , A->6 , C->0
[2,2,2] + [9,5,7] , A=[6,4,3,7,6,9,7,2,2,8,7,7,5,6,1] , C=0 , 2+7+0=9 , A->9 , C->0
[2,2] + [9,5] , A=[9,6,4,3,7,6,9,7,2,2,8,7,7,5,6,1] , C=0 , 2+5+0=7 , A->7 , C->0
[2] + [9] , A=[7,9,6,4,3,7,6,9,7,2,2,8,7,7,5,6,1] , C=0 , 2+9+0=11 , A->1 , C->1
[] + [] , A=[1,7,9,6,4,3,7,6,9,7,2,2,8,7,7,5,6,1] C=1 , END
</scratch>
1179643769722877561
| 1179643769722877561 | 18 |
Input:
478618033138277328+514966373957622654
Target:
| Input:
478618033138277328+514966373957622654
Target:
[4,7,8,6,1,8,0,3,3,1,3,8,2,7,7,3,2,8] + [5,1,4,9,6,6,3,7,3,9,5,7,6,2,2,6,5,4] , A=[] , C=0 , 8+4+0=12 , A->2 , C->1
[4,7,8,6,1,8,0,3,3,1,3,8,2,7,7,3,2] + [5,1,4,9,6,6,3,7,3,9,5,7,6,2,2,6,5] , A=[2] , C=1 , 2+5+1=8 , A->8 , C->0
[4,7,8,6,1,8,0,3,3,1,3,8,2,7,7,3] + [5,1,4,9,6,6,3,7,3,9,5,7,6,2,2,6] , A=[8,2] , C=0 , 3+6+0=9 , A->9 , C->0
[4,7,8,6,1,8,0,3,3,1,3,8,2,7,7] + [5,1,4,9,6,6,3,7,3,9,5,7,6,2,2] , A=[9,8,2] , C=0 , 7+2+0=9 , A->9 , C->0
[4,7,8,6,1,8,0,3,3,1,3,8,2,7] + [5,1,4,9,6,6,3,7,3,9,5,7,6,2] , A=[9,9,8,2] , C=0 , 7+2+0=9 , A->9 , C->0
[4,7,8,6,1,8,0,3,3,1,3,8,2] + [5,1,4,9,6,6,3,7,3,9,5,7,6] , A=[9,9,9,8,2] , C=0 , 2+6+0=8 , A->8 , C->0
[4,7,8,6,1,8,0,3,3,1,3,8] + [5,1,4,9,6,6,3,7,3,9,5,7] , A=[8,9,9,9,8,2] , C=0 , 8+7+0=15 , A->5 , C->1
[4,7,8,6,1,8,0,3,3,1,3] + [5,1,4,9,6,6,3,7,3,9,5] , A=[5,8,9,9,9,8,2] , C=1 , 3+5+1=9 , A->9 , C->0
[4,7,8,6,1,8,0,3,3,1] + [5,1,4,9,6,6,3,7,3,9] , A=[9,5,8,9,9,9,8,2] , C=0 , 1+9+0=10 , A->0 , C->1
[4,7,8,6,1,8,0,3,3] + [5,1,4,9,6,6,3,7,3] , A=[0,9,5,8,9,9,9,8,2] , C=1 , 3+3+1=7 , A->7 , C->0
[4,7,8,6,1,8,0,3] + [5,1,4,9,6,6,3,7] , A=[7,0,9,5,8,9,9,9,8,2] , C=0 , 3+7+0=10 , A->0 , C->1
[4,7,8,6,1,8,0] + [5,1,4,9,6,6,3] , A=[0,7,0,9,5,8,9,9,9,8,2] , C=1 , 0+3+1=4 , A->4 , C->0
[4,7,8,6,1,8] + [5,1,4,9,6,6] , A=[4,0,7,0,9,5,8,9,9,9,8,2] , C=0 , 8+6+0=14 , A->4 , C->1
[4,7,8,6,1] + [5,1,4,9,6] , A=[4,4,0,7,0,9,5,8,9,9,9,8,2] , C=1 , 1+6+1=8 , A->8 , C->0
[4,7,8,6] + [5,1,4,9] , A=[8,4,4,0,7,0,9,5,8,9,9,9,8,2] , C=0 , 6+9+0=15 , A->5 , C->1
[4,7,8] + [5,1,4] , A=[5,8,4,4,0,7,0,9,5,8,9,9,9,8,2] , C=1 , 8+4+1=13 , A->3 , C->1
[4,7] + [5,1] , A=[3,5,8,4,4,0,7,0,9,5,8,9,9,9,8,2] , C=1 , 7+1+1=9 , A->9 , C->0
[4] + [5] , A=[9,3,5,8,4,4,0,7,0,9,5,8,9,9,9,8,2] , C=0 , 4+5+0=9 , A->9 , C->0
[] + [] , A=[9,9,3,5,8,4,4,0,7,0,9,5,8,9,9,9,8,2] C=0 , END
</scratch>
993584407095899982
| 993584407095899982 | 18 |
Input:
279251224897758885+412885994202402306
Target:
| Input:
279251224897758885+412885994202402306
Target:
[2,7,9,2,5,1,2,2,4,8,9,7,7,5,8,8,8,5] + [4,1,2,8,8,5,9,9,4,2,0,2,4,0,2,3,0,6] , A=[] , C=0 , 5+6+0=11 , A->1 , C->1
[2,7,9,2,5,1,2,2,4,8,9,7,7,5,8,8,8] + [4,1,2,8,8,5,9,9,4,2,0,2,4,0,2,3,0] , A=[1] , C=1 , 8+0+1=9 , A->9 , C->0
[2,7,9,2,5,1,2,2,4,8,9,7,7,5,8,8] + [4,1,2,8,8,5,9,9,4,2,0,2,4,0,2,3] , A=[9,1] , C=0 , 8+3+0=11 , A->1 , C->1
[2,7,9,2,5,1,2,2,4,8,9,7,7,5,8] + [4,1,2,8,8,5,9,9,4,2,0,2,4,0,2] , A=[1,9,1] , C=1 , 8+2+1=11 , A->1 , C->1
[2,7,9,2,5,1,2,2,4,8,9,7,7,5] + [4,1,2,8,8,5,9,9,4,2,0,2,4,0] , A=[1,1,9,1] , C=1 , 5+0+1=6 , A->6 , C->0
[2,7,9,2,5,1,2,2,4,8,9,7,7] + [4,1,2,8,8,5,9,9,4,2,0,2,4] , A=[6,1,1,9,1] , C=0 , 7+4+0=11 , A->1 , C->1
[2,7,9,2,5,1,2,2,4,8,9,7] + [4,1,2,8,8,5,9,9,4,2,0,2] , A=[1,6,1,1,9,1] , C=1 , 7+2+1=10 , A->0 , C->1
[2,7,9,2,5,1,2,2,4,8,9] + [4,1,2,8,8,5,9,9,4,2,0] , A=[0,1,6,1,1,9,1] , C=1 , 9+0+1=10 , A->0 , C->1
[2,7,9,2,5,1,2,2,4,8] + [4,1,2,8,8,5,9,9,4,2] , A=[0,0,1,6,1,1,9,1] , C=1 , 8+2+1=11 , A->1 , C->1
[2,7,9,2,5,1,2,2,4] + [4,1,2,8,8,5,9,9,4] , A=[1,0,0,1,6,1,1,9,1] , C=1 , 4+4+1=9 , A->9 , C->0
[2,7,9,2,5,1,2,2] + [4,1,2,8,8,5,9,9] , A=[9,1,0,0,1,6,1,1,9,1] , C=0 , 2+9+0=11 , A->1 , C->1
[2,7,9,2,5,1,2] + [4,1,2,8,8,5,9] , A=[1,9,1,0,0,1,6,1,1,9,1] , C=1 , 2+9+1=12 , A->2 , C->1
[2,7,9,2,5,1] + [4,1,2,8,8,5] , A=[2,1,9,1,0,0,1,6,1,1,9,1] , C=1 , 1+5+1=7 , A->7 , C->0
[2,7,9,2,5] + [4,1,2,8,8] , A=[7,2,1,9,1,0,0,1,6,1,1,9,1] , C=0 , 5+8+0=13 , A->3 , C->1
[2,7,9,2] + [4,1,2,8] , A=[3,7,2,1,9,1,0,0,1,6,1,1,9,1] , C=1 , 2+8+1=11 , A->1 , C->1
[2,7,9] + [4,1,2] , A=[1,3,7,2,1,9,1,0,0,1,6,1,1,9,1] , C=1 , 9+2+1=12 , A->2 , C->1
[2,7] + [4,1] , A=[2,1,3,7,2,1,9,1,0,0,1,6,1,1,9,1] , C=1 , 7+1+1=9 , A->9 , C->0
[2] + [4] , A=[9,2,1,3,7,2,1,9,1,0,0,1,6,1,1,9,1] , C=0 , 2+4+0=6 , A->6 , C->0
[] + [] , A=[6,9,2,1,3,7,2,1,9,1,0,0,1,6,1,1,9,1] C=0 , END
</scratch>
692137219100161191
| 692137219100161191 | 18 |
Input:
432019851209343396+541913660910348028
Target:
| Input:
432019851209343396+541913660910348028
Target:
[4,3,2,0,1,9,8,5,1,2,0,9,3,4,3,3,9,6] + [5,4,1,9,1,3,6,6,0,9,1,0,3,4,8,0,2,8] , A=[] , C=0 , 6+8+0=14 , A->4 , C->1
[4,3,2,0,1,9,8,5,1,2,0,9,3,4,3,3,9] + [5,4,1,9,1,3,6,6,0,9,1,0,3,4,8,0,2] , A=[4] , C=1 , 9+2+1=12 , A->2 , C->1
[4,3,2,0,1,9,8,5,1,2,0,9,3,4,3,3] + [5,4,1,9,1,3,6,6,0,9,1,0,3,4,8,0] , A=[2,4] , C=1 , 3+0+1=4 , A->4 , C->0
[4,3,2,0,1,9,8,5,1,2,0,9,3,4,3] + [5,4,1,9,1,3,6,6,0,9,1,0,3,4,8] , A=[4,2,4] , C=0 , 3+8+0=11 , A->1 , C->1
[4,3,2,0,1,9,8,5,1,2,0,9,3,4] + [5,4,1,9,1,3,6,6,0,9,1,0,3,4] , A=[1,4,2,4] , C=1 , 4+4+1=9 , A->9 , C->0
[4,3,2,0,1,9,8,5,1,2,0,9,3] + [5,4,1,9,1,3,6,6,0,9,1,0,3] , A=[9,1,4,2,4] , C=0 , 3+3+0=6 , A->6 , C->0
[4,3,2,0,1,9,8,5,1,2,0,9] + [5,4,1,9,1,3,6,6,0,9,1,0] , A=[6,9,1,4,2,4] , C=0 , 9+0+0=9 , A->9 , C->0
[4,3,2,0,1,9,8,5,1,2,0] + [5,4,1,9,1,3,6,6,0,9,1] , A=[9,6,9,1,4,2,4] , C=0 , 0+1+0=1 , A->1 , C->0
[4,3,2,0,1,9,8,5,1,2] + [5,4,1,9,1,3,6,6,0,9] , A=[1,9,6,9,1,4,2,4] , C=0 , 2+9+0=11 , A->1 , C->1
[4,3,2,0,1,9,8,5,1] + [5,4,1,9,1,3,6,6,0] , A=[1,1,9,6,9,1,4,2,4] , C=1 , 1+0+1=2 , A->2 , C->0
[4,3,2,0,1,9,8,5] + [5,4,1,9,1,3,6,6] , A=[2,1,1,9,6,9,1,4,2,4] , C=0 , 5+6+0=11 , A->1 , C->1
[4,3,2,0,1,9,8] + [5,4,1,9,1,3,6] , A=[1,2,1,1,9,6,9,1,4,2,4] , C=1 , 8+6+1=15 , A->5 , C->1
[4,3,2,0,1,9] + [5,4,1,9,1,3] , A=[5,1,2,1,1,9,6,9,1,4,2,4] , C=1 , 9+3+1=13 , A->3 , C->1
[4,3,2,0,1] + [5,4,1,9,1] , A=[3,5,1,2,1,1,9,6,9,1,4,2,4] , C=1 , 1+1+1=3 , A->3 , C->0
[4,3,2,0] + [5,4,1,9] , A=[3,3,5,1,2,1,1,9,6,9,1,4,2,4] , C=0 , 0+9+0=9 , A->9 , C->0
[4,3,2] + [5,4,1] , A=[9,3,3,5,1,2,1,1,9,6,9,1,4,2,4] , C=0 , 2+1+0=3 , A->3 , C->0
[4,3] + [5,4] , A=[3,9,3,3,5,1,2,1,1,9,6,9,1,4,2,4] , C=0 , 3+4+0=7 , A->7 , C->0
[4] + [5] , A=[7,3,9,3,3,5,1,2,1,1,9,6,9,1,4,2,4] , C=0 , 4+5+0=9 , A->9 , C->0
[] + [] , A=[9,7,3,9,3,3,5,1,2,1,1,9,6,9,1,4,2,4] C=0 , END
</scratch>
973933512119691424
| 973933512119691424 | 18 |
Input:
752492277878103983+981898051304342139
Target:
| Input:
752492277878103983+981898051304342139
Target:
[7,5,2,4,9,2,2,7,7,8,7,8,1,0,3,9,8,3] + [9,8,1,8,9,8,0,5,1,3,0,4,3,4,2,1,3,9] , A=[] , C=0 , 3+9+0=12 , A->2 , C->1
[7,5,2,4,9,2,2,7,7,8,7,8,1,0,3,9,8] + [9,8,1,8,9,8,0,5,1,3,0,4,3,4,2,1,3] , A=[2] , C=1 , 8+3+1=12 , A->2 , C->1
[7,5,2,4,9,2,2,7,7,8,7,8,1,0,3,9] + [9,8,1,8,9,8,0,5,1,3,0,4,3,4,2,1] , A=[2,2] , C=1 , 9+1+1=11 , A->1 , C->1
[7,5,2,4,9,2,2,7,7,8,7,8,1,0,3] + [9,8,1,8,9,8,0,5,1,3,0,4,3,4,2] , A=[1,2,2] , C=1 , 3+2+1=6 , A->6 , C->0
[7,5,2,4,9,2,2,7,7,8,7,8,1,0] + [9,8,1,8,9,8,0,5,1,3,0,4,3,4] , A=[6,1,2,2] , C=0 , 0+4+0=4 , A->4 , C->0
[7,5,2,4,9,2,2,7,7,8,7,8,1] + [9,8,1,8,9,8,0,5,1,3,0,4,3] , A=[4,6,1,2,2] , C=0 , 1+3+0=4 , A->4 , C->0
[7,5,2,4,9,2,2,7,7,8,7,8] + [9,8,1,8,9,8,0,5,1,3,0,4] , A=[4,4,6,1,2,2] , C=0 , 8+4+0=12 , A->2 , C->1
[7,5,2,4,9,2,2,7,7,8,7] + [9,8,1,8,9,8,0,5,1,3,0] , A=[2,4,4,6,1,2,2] , C=1 , 7+0+1=8 , A->8 , C->0
[7,5,2,4,9,2,2,7,7,8] + [9,8,1,8,9,8,0,5,1,3] , A=[8,2,4,4,6,1,2,2] , C=0 , 8+3+0=11 , A->1 , C->1
[7,5,2,4,9,2,2,7,7] + [9,8,1,8,9,8,0,5,1] , A=[1,8,2,4,4,6,1,2,2] , C=1 , 7+1+1=9 , A->9 , C->0
[7,5,2,4,9,2,2,7] + [9,8,1,8,9,8,0,5] , A=[9,1,8,2,4,4,6,1,2,2] , C=0 , 7+5+0=12 , A->2 , C->1
[7,5,2,4,9,2,2] + [9,8,1,8,9,8,0] , A=[2,9,1,8,2,4,4,6,1,2,2] , C=1 , 2+0+1=3 , A->3 , C->0
[7,5,2,4,9,2] + [9,8,1,8,9,8] , A=[3,2,9,1,8,2,4,4,6,1,2,2] , C=0 , 2+8+0=10 , A->0 , C->1
[7,5,2,4,9] + [9,8,1,8,9] , A=[0,3,2,9,1,8,2,4,4,6,1,2,2] , C=1 , 9+9+1=19 , A->9 , C->1
[7,5,2,4] + [9,8,1,8] , A=[9,0,3,2,9,1,8,2,4,4,6,1,2,2] , C=1 , 4+8+1=13 , A->3 , C->1
[7,5,2] + [9,8,1] , A=[3,9,0,3,2,9,1,8,2,4,4,6,1,2,2] , C=1 , 2+1+1=4 , A->4 , C->0
[7,5] + [9,8] , A=[4,3,9,0,3,2,9,1,8,2,4,4,6,1,2,2] , C=0 , 5+8+0=13 , A->3 , C->1
[7] + [9] , A=[3,4,3,9,0,3,2,9,1,8,2,4,4,6,1,2,2] , C=1 , 7+9+1=17 , A->7 , C->1
[] + [] , A=[7,3,4,3,9,0,3,2,9,1,8,2,4,4,6,1,2,2] C=1 , END
</scratch>
1734390329182446122
| 1734390329182446122 | 18 |
Input:
628716454624364485+733918828440539560
Target:
| Input:
628716454624364485+733918828440539560
Target:
[6,2,8,7,1,6,4,5,4,6,2,4,3,6,4,4,8,5] + [7,3,3,9,1,8,8,2,8,4,4,0,5,3,9,5,6,0] , A=[] , C=0 , 5+0+0=5 , A->5 , C->0
[6,2,8,7,1,6,4,5,4,6,2,4,3,6,4,4,8] + [7,3,3,9,1,8,8,2,8,4,4,0,5,3,9,5,6] , A=[5] , C=0 , 8+6+0=14 , A->4 , C->1
[6,2,8,7,1,6,4,5,4,6,2,4,3,6,4,4] + [7,3,3,9,1,8,8,2,8,4,4,0,5,3,9,5] , A=[4,5] , C=1 , 4+5+1=10 , A->0 , C->1
[6,2,8,7,1,6,4,5,4,6,2,4,3,6,4] + [7,3,3,9,1,8,8,2,8,4,4,0,5,3,9] , A=[0,4,5] , C=1 , 4+9+1=14 , A->4 , C->1
[6,2,8,7,1,6,4,5,4,6,2,4,3,6] + [7,3,3,9,1,8,8,2,8,4,4,0,5,3] , A=[4,0,4,5] , C=1 , 6+3+1=10 , A->0 , C->1
[6,2,8,7,1,6,4,5,4,6,2,4,3] + [7,3,3,9,1,8,8,2,8,4,4,0,5] , A=[0,4,0,4,5] , C=1 , 3+5+1=9 , A->9 , C->0
[6,2,8,7,1,6,4,5,4,6,2,4] + [7,3,3,9,1,8,8,2,8,4,4,0] , A=[9,0,4,0,4,5] , C=0 , 4+0+0=4 , A->4 , C->0
[6,2,8,7,1,6,4,5,4,6,2] + [7,3,3,9,1,8,8,2,8,4,4] , A=[4,9,0,4,0,4,5] , C=0 , 2+4+0=6 , A->6 , C->0
[6,2,8,7,1,6,4,5,4,6] + [7,3,3,9,1,8,8,2,8,4] , A=[6,4,9,0,4,0,4,5] , C=0 , 6+4+0=10 , A->0 , C->1
[6,2,8,7,1,6,4,5,4] + [7,3,3,9,1,8,8,2,8] , A=[0,6,4,9,0,4,0,4,5] , C=1 , 4+8+1=13 , A->3 , C->1
[6,2,8,7,1,6,4,5] + [7,3,3,9,1,8,8,2] , A=[3,0,6,4,9,0,4,0,4,5] , C=1 , 5+2+1=8 , A->8 , C->0
[6,2,8,7,1,6,4] + [7,3,3,9,1,8,8] , A=[8,3,0,6,4,9,0,4,0,4,5] , C=0 , 4+8+0=12 , A->2 , C->1
[6,2,8,7,1,6] + [7,3,3,9,1,8] , A=[2,8,3,0,6,4,9,0,4,0,4,5] , C=1 , 6+8+1=15 , A->5 , C->1
[6,2,8,7,1] + [7,3,3,9,1] , A=[5,2,8,3,0,6,4,9,0,4,0,4,5] , C=1 , 1+1+1=3 , A->3 , C->0
[6,2,8,7] + [7,3,3,9] , A=[3,5,2,8,3,0,6,4,9,0,4,0,4,5] , C=0 , 7+9+0=16 , A->6 , C->1
[6,2,8] + [7,3,3] , A=[6,3,5,2,8,3,0,6,4,9,0,4,0,4,5] , C=1 , 8+3+1=12 , A->2 , C->1
[6,2] + [7,3] , A=[2,6,3,5,2,8,3,0,6,4,9,0,4,0,4,5] , C=1 , 2+3+1=6 , A->6 , C->0
[6] + [7] , A=[6,2,6,3,5,2,8,3,0,6,4,9,0,4,0,4,5] , C=0 , 6+7+0=13 , A->3 , C->1
[] + [] , A=[3,6,2,6,3,5,2,8,3,0,6,4,9,0,4,0,4,5] C=1 , END
</scratch>
1362635283064904045
| 1362635283064904045 | 18 |
Subsets and Splits