input_test
stringlengths 36
53
| scratchpad
stringlengths 1.55k
1.91k
| result_final
stringlengths 18
19
| y_digits
int64 1
18
|
---|---|---|---|
Input:
683353499017174232+729349061078827628
Target:
| Input:
683353499017174232+729349061078827628
Target:
[6,8,3,3,5,3,4,9,9,0,1,7,1,7,4,2,3,2] + [7,2,9,3,4,9,0,6,1,0,7,8,8,2,7,6,2,8] , A=[] , C=0 , 2+8+0=10 , A->0 , C->1
[6,8,3,3,5,3,4,9,9,0,1,7,1,7,4,2,3] + [7,2,9,3,4,9,0,6,1,0,7,8,8,2,7,6,2] , A=[0] , C=1 , 3+2+1=6 , A->6 , C->0
[6,8,3,3,5,3,4,9,9,0,1,7,1,7,4,2] + [7,2,9,3,4,9,0,6,1,0,7,8,8,2,7,6] , A=[6,0] , C=0 , 2+6+0=8 , A->8 , C->0
[6,8,3,3,5,3,4,9,9,0,1,7,1,7,4] + [7,2,9,3,4,9,0,6,1,0,7,8,8,2,7] , A=[8,6,0] , C=0 , 4+7+0=11 , A->1 , C->1
[6,8,3,3,5,3,4,9,9,0,1,7,1,7] + [7,2,9,3,4,9,0,6,1,0,7,8,8,2] , A=[1,8,6,0] , C=1 , 7+2+1=10 , A->0 , C->1
[6,8,3,3,5,3,4,9,9,0,1,7,1] + [7,2,9,3,4,9,0,6,1,0,7,8,8] , A=[0,1,8,6,0] , C=1 , 1+8+1=10 , A->0 , C->1
[6,8,3,3,5,3,4,9,9,0,1,7] + [7,2,9,3,4,9,0,6,1,0,7,8] , A=[0,0,1,8,6,0] , C=1 , 7+8+1=16 , A->6 , C->1
[6,8,3,3,5,3,4,9,9,0,1] + [7,2,9,3,4,9,0,6,1,0,7] , A=[6,0,0,1,8,6,0] , C=1 , 1+7+1=9 , A->9 , C->0
[6,8,3,3,5,3,4,9,9,0] + [7,2,9,3,4,9,0,6,1,0] , A=[9,6,0,0,1,8,6,0] , C=0 , 0+0+0=0 , A->0 , C->0
[6,8,3,3,5,3,4,9,9] + [7,2,9,3,4,9,0,6,1] , A=[0,9,6,0,0,1,8,6,0] , C=0 , 9+1+0=10 , A->0 , C->1
[6,8,3,3,5,3,4,9] + [7,2,9,3,4,9,0,6] , A=[0,0,9,6,0,0,1,8,6,0] , C=1 , 9+6+1=16 , A->6 , C->1
[6,8,3,3,5,3,4] + [7,2,9,3,4,9,0] , A=[6,0,0,9,6,0,0,1,8,6,0] , C=1 , 4+0+1=5 , A->5 , C->0
[6,8,3,3,5,3] + [7,2,9,3,4,9] , A=[5,6,0,0,9,6,0,0,1,8,6,0] , C=0 , 3+9+0=12 , A->2 , C->1
[6,8,3,3,5] + [7,2,9,3,4] , A=[2,5,6,0,0,9,6,0,0,1,8,6,0] , C=1 , 5+4+1=10 , A->0 , C->1
[6,8,3,3] + [7,2,9,3] , A=[0,2,5,6,0,0,9,6,0,0,1,8,6,0] , C=1 , 3+3+1=7 , A->7 , C->0
[6,8,3] + [7,2,9] , A=[7,0,2,5,6,0,0,9,6,0,0,1,8,6,0] , C=0 , 3+9+0=12 , A->2 , C->1
[6,8] + [7,2] , A=[2,7,0,2,5,6,0,0,9,6,0,0,1,8,6,0] , C=1 , 8+2+1=11 , A->1 , C->1
[6] + [7] , A=[1,2,7,0,2,5,6,0,0,9,6,0,0,1,8,6,0] , C=1 , 6+7+1=14 , A->4 , C->1
[] + [] , A=[4,1,2,7,0,2,5,6,0,0,9,6,0,0,1,8,6,0] C=1 , END
</scratch>
1412702560096001860
| 1412702560096001860 | 18 |
Input:
69054036+576555169754284627
Target:
| Input:
69054036+576555169754284627
Target:
[6,9,0,5,4,0,3,6] + [5,7,6,5,5,5,1,6,9,7,5,4,2,8,4,6,2,7] , A=[] , C=0 , 6+7+0=13 , A->3 , C->1
[6,9,0,5,4,0,3] + [5,7,6,5,5,5,1,6,9,7,5,4,2,8,4,6,2] , A=[3] , C=1 , 3+2+1=6 , A->6 , C->0
[6,9,0,5,4,0] + [5,7,6,5,5,5,1,6,9,7,5,4,2,8,4,6] , A=[6,3] , C=0 , 0+6+0=6 , A->6 , C->0
[6,9,0,5,4] + [5,7,6,5,5,5,1,6,9,7,5,4,2,8,4] , A=[6,6,3] , C=0 , 4+4+0=8 , A->8 , C->0
[6,9,0,5] + [5,7,6,5,5,5,1,6,9,7,5,4,2,8] , A=[8,6,6,3] , C=0 , 5+8+0=13 , A->3 , C->1
[6,9,0] + [5,7,6,5,5,5,1,6,9,7,5,4,2] , A=[3,8,6,6,3] , C=1 , 0+2+1=3 , A->3 , C->0
[6,9] + [5,7,6,5,5,5,1,6,9,7,5,4] , A=[3,3,8,6,6,3] , C=0 , 9+4+0=13 , A->3 , C->1
[6] + [5,7,6,5,5,5,1,6,9,7,5] , A=[3,3,3,8,6,6,3] , C=1 , 6+5+1=12 , A->2 , C->1
[] + [5,7,6,5,5,5,1,6,9,7] , A=[2,3,3,3,8,6,6,3] , C=1 , 0+7+1=8 , A->8 , C->0
[] + [5,7,6,5,5,5,1,6,9] , A=[8,2,3,3,3,8,6,6,3] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [5,7,6,5,5,5,1,6] , A=[9,8,2,3,3,3,8,6,6,3] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [5,7,6,5,5,5,1] , A=[6,9,8,2,3,3,3,8,6,6,3] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [5,7,6,5,5,5] , A=[1,6,9,8,2,3,3,3,8,6,6,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [5,7,6,5,5] , A=[5,1,6,9,8,2,3,3,3,8,6,6,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [5,7,6,5] , A=[5,5,1,6,9,8,2,3,3,3,8,6,6,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [5,7,6] , A=[5,5,5,1,6,9,8,2,3,3,3,8,6,6,3] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [5,7] , A=[6,5,5,5,1,6,9,8,2,3,3,3,8,6,6,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [5] , A=[7,6,5,5,5,1,6,9,8,2,3,3,3,8,6,6,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,7,6,5,5,5,1,6,9,8,2,3,3,3,8,6,6,3] C=0 , END
</scratch>
576555169823338663
| 576555169823338663 | 8 |
Input:
127171232634406651+513996856
Target:
| Input:
127171232634406651+513996856
Target:
[1,2,7,1,7,1,2,3,2,6,3,4,4,0,6,6,5,1] + [5,1,3,9,9,6,8,5,6] , A=[] , C=0 , 1+6+0=7 , A->7 , C->0
[1,2,7,1,7,1,2,3,2,6,3,4,4,0,6,6,5] + [5,1,3,9,9,6,8,5] , A=[7] , C=0 , 5+5+0=10 , A->0 , C->1
[1,2,7,1,7,1,2,3,2,6,3,4,4,0,6,6] + [5,1,3,9,9,6,8] , A=[0,7] , C=1 , 6+8+1=15 , A->5 , C->1
[1,2,7,1,7,1,2,3,2,6,3,4,4,0,6] + [5,1,3,9,9,6] , A=[5,0,7] , C=1 , 6+6+1=13 , A->3 , C->1
[1,2,7,1,7,1,2,3,2,6,3,4,4,0] + [5,1,3,9,9] , A=[3,5,0,7] , C=1 , 0+9+1=10 , A->0 , C->1
[1,2,7,1,7,1,2,3,2,6,3,4,4] + [5,1,3,9] , A=[0,3,5,0,7] , C=1 , 4+9+1=14 , A->4 , C->1
[1,2,7,1,7,1,2,3,2,6,3,4] + [5,1,3] , A=[4,0,3,5,0,7] , C=1 , 4+3+1=8 , A->8 , C->0
[1,2,7,1,7,1,2,3,2,6,3] + [5,1] , A=[8,4,0,3,5,0,7] , C=0 , 3+1+0=4 , A->4 , C->0
[1,2,7,1,7,1,2,3,2,6] + [5] , A=[4,8,4,0,3,5,0,7] , C=0 , 6+5+0=11 , A->1 , C->1
[1,2,7,1,7,1,2,3,2] + [] , A=[1,4,8,4,0,3,5,0,7] , C=1 , 2+0+1=3 , A->3 , C->0
[1,2,7,1,7,1,2,3] + [] , A=[3,1,4,8,4,0,3,5,0,7] , C=0 , 3+0+0=3 , A->3 , C->0
[1,2,7,1,7,1,2] + [] , A=[3,3,1,4,8,4,0,3,5,0,7] , C=0 , 2+0+0=2 , A->2 , C->0
[1,2,7,1,7,1] + [] , A=[2,3,3,1,4,8,4,0,3,5,0,7] , C=0 , 1+0+0=1 , A->1 , C->0
[1,2,7,1,7] + [] , A=[1,2,3,3,1,4,8,4,0,3,5,0,7] , C=0 , 7+0+0=7 , A->7 , C->0
[1,2,7,1] + [] , A=[7,1,2,3,3,1,4,8,4,0,3,5,0,7] , C=0 , 1+0+0=1 , A->1 , C->0
[1,2,7] + [] , A=[1,7,1,2,3,3,1,4,8,4,0,3,5,0,7] , C=0 , 7+0+0=7 , A->7 , C->0
[1,2] + [] , A=[7,1,7,1,2,3,3,1,4,8,4,0,3,5,0,7] , C=0 , 2+0+0=2 , A->2 , C->0
[1] + [] , A=[2,7,1,7,1,2,3,3,1,4,8,4,0,3,5,0,7] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,2,7,1,7,1,2,3,3,1,4,8,4,0,3,5,0,7] C=0 , END
</scratch>
127171233148403507
| 127171233148403507 | 9 |
Input:
72721+908262675849543584
Target:
| Input:
72721+908262675849543584
Target:
[7,2,7,2,1] + [9,0,8,2,6,2,6,7,5,8,4,9,5,4,3,5,8,4] , A=[] , C=0 , 1+4+0=5 , A->5 , C->0
[7,2,7,2] + [9,0,8,2,6,2,6,7,5,8,4,9,5,4,3,5,8] , A=[5] , C=0 , 2+8+0=10 , A->0 , C->1
[7,2,7] + [9,0,8,2,6,2,6,7,5,8,4,9,5,4,3,5] , A=[0,5] , C=1 , 7+5+1=13 , A->3 , C->1
[7,2] + [9,0,8,2,6,2,6,7,5,8,4,9,5,4,3] , A=[3,0,5] , C=1 , 2+3+1=6 , A->6 , C->0
[7] + [9,0,8,2,6,2,6,7,5,8,4,9,5,4] , A=[6,3,0,5] , C=0 , 7+4+0=11 , A->1 , C->1
[] + [9,0,8,2,6,2,6,7,5,8,4,9,5] , A=[1,6,3,0,5] , C=1 , 0+5+1=6 , A->6 , C->0
[] + [9,0,8,2,6,2,6,7,5,8,4,9] , A=[6,1,6,3,0,5] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [9,0,8,2,6,2,6,7,5,8,4] , A=[9,6,1,6,3,0,5] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [9,0,8,2,6,2,6,7,5,8] , A=[4,9,6,1,6,3,0,5] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [9,0,8,2,6,2,6,7,5] , A=[8,4,9,6,1,6,3,0,5] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,0,8,2,6,2,6,7] , A=[5,8,4,9,6,1,6,3,0,5] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [9,0,8,2,6,2,6] , A=[7,5,8,4,9,6,1,6,3,0,5] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [9,0,8,2,6,2] , A=[6,7,5,8,4,9,6,1,6,3,0,5] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9,0,8,2,6] , A=[2,6,7,5,8,4,9,6,1,6,3,0,5] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [9,0,8,2] , A=[6,2,6,7,5,8,4,9,6,1,6,3,0,5] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9,0,8] , A=[2,6,2,6,7,5,8,4,9,6,1,6,3,0,5] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [9,0] , A=[8,2,6,2,6,7,5,8,4,9,6,1,6,3,0,5] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [9] , A=[0,8,2,6,2,6,7,5,8,4,9,6,1,6,3,0,5] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,0,8,2,6,2,6,7,5,8,4,9,6,1,6,3,0,5] C=0 , END
</scratch>
908262675849616305
| 908262675849616305 | 5 |
Input:
892148504+949587436514142210
Target:
| Input:
892148504+949587436514142210
Target:
[8,9,2,1,4,8,5,0,4] + [9,4,9,5,8,7,4,3,6,5,1,4,1,4,2,2,1,0] , A=[] , C=0 , 4+0+0=4 , A->4 , C->0
[8,9,2,1,4,8,5,0] + [9,4,9,5,8,7,4,3,6,5,1,4,1,4,2,2,1] , A=[4] , C=0 , 0+1+0=1 , A->1 , C->0
[8,9,2,1,4,8,5] + [9,4,9,5,8,7,4,3,6,5,1,4,1,4,2,2] , A=[1,4] , C=0 , 5+2+0=7 , A->7 , C->0
[8,9,2,1,4,8] + [9,4,9,5,8,7,4,3,6,5,1,4,1,4,2] , A=[7,1,4] , C=0 , 8+2+0=10 , A->0 , C->1
[8,9,2,1,4] + [9,4,9,5,8,7,4,3,6,5,1,4,1,4] , A=[0,7,1,4] , C=1 , 4+4+1=9 , A->9 , C->0
[8,9,2,1] + [9,4,9,5,8,7,4,3,6,5,1,4,1] , A=[9,0,7,1,4] , C=0 , 1+1+0=2 , A->2 , C->0
[8,9,2] + [9,4,9,5,8,7,4,3,6,5,1,4] , A=[2,9,0,7,1,4] , C=0 , 2+4+0=6 , A->6 , C->0
[8,9] + [9,4,9,5,8,7,4,3,6,5,1] , A=[6,2,9,0,7,1,4] , C=0 , 9+1+0=10 , A->0 , C->1
[8] + [9,4,9,5,8,7,4,3,6,5] , A=[0,6,2,9,0,7,1,4] , C=1 , 8+5+1=14 , A->4 , C->1
[] + [9,4,9,5,8,7,4,3,6] , A=[4,0,6,2,9,0,7,1,4] , C=1 , 0+6+1=7 , A->7 , C->0
[] + [9,4,9,5,8,7,4,3] , A=[7,4,0,6,2,9,0,7,1,4] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [9,4,9,5,8,7,4] , A=[3,7,4,0,6,2,9,0,7,1,4] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [9,4,9,5,8,7] , A=[4,3,7,4,0,6,2,9,0,7,1,4] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [9,4,9,5,8] , A=[7,4,3,7,4,0,6,2,9,0,7,1,4] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [9,4,9,5] , A=[8,7,4,3,7,4,0,6,2,9,0,7,1,4] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,4,9] , A=[5,8,7,4,3,7,4,0,6,2,9,0,7,1,4] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [9,4] , A=[9,5,8,7,4,3,7,4,0,6,2,9,0,7,1,4] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [9] , A=[4,9,5,8,7,4,3,7,4,0,6,2,9,0,7,1,4] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,4,9,5,8,7,4,3,7,4,0,6,2,9,0,7,1,4] C=0 , END
</scratch>
949587437406290714
| 949587437406290714 | 9 |
Input:
543245466305535010+4
Target:
| Input:
543245466305535010+4
Target:
[5,4,3,2,4,5,4,6,6,3,0,5,5,3,5,0,1,0] + [4] , A=[] , C=0 , 0+4+0=4 , A->4 , C->0
[5,4,3,2,4,5,4,6,6,3,0,5,5,3,5,0,1] + [] , A=[4] , C=0 , 1+0+0=1 , A->1 , C->0
[5,4,3,2,4,5,4,6,6,3,0,5,5,3,5,0] + [] , A=[1,4] , C=0 , 0+0+0=0 , A->0 , C->0
[5,4,3,2,4,5,4,6,6,3,0,5,5,3,5] + [] , A=[0,1,4] , C=0 , 5+0+0=5 , A->5 , C->0
[5,4,3,2,4,5,4,6,6,3,0,5,5,3] + [] , A=[5,0,1,4] , C=0 , 3+0+0=3 , A->3 , C->0
[5,4,3,2,4,5,4,6,6,3,0,5,5] + [] , A=[3,5,0,1,4] , C=0 , 5+0+0=5 , A->5 , C->0
[5,4,3,2,4,5,4,6,6,3,0,5] + [] , A=[5,3,5,0,1,4] , C=0 , 5+0+0=5 , A->5 , C->0
[5,4,3,2,4,5,4,6,6,3,0] + [] , A=[5,5,3,5,0,1,4] , C=0 , 0+0+0=0 , A->0 , C->0
[5,4,3,2,4,5,4,6,6,3] + [] , A=[0,5,5,3,5,0,1,4] , C=0 , 3+0+0=3 , A->3 , C->0
[5,4,3,2,4,5,4,6,6] + [] , A=[3,0,5,5,3,5,0,1,4] , C=0 , 6+0+0=6 , A->6 , C->0
[5,4,3,2,4,5,4,6] + [] , A=[6,3,0,5,5,3,5,0,1,4] , C=0 , 6+0+0=6 , A->6 , C->0
[5,4,3,2,4,5,4] + [] , A=[6,6,3,0,5,5,3,5,0,1,4] , C=0 , 4+0+0=4 , A->4 , C->0
[5,4,3,2,4,5] + [] , A=[4,6,6,3,0,5,5,3,5,0,1,4] , C=0 , 5+0+0=5 , A->5 , C->0
[5,4,3,2,4] + [] , A=[5,4,6,6,3,0,5,5,3,5,0,1,4] , C=0 , 4+0+0=4 , A->4 , C->0
[5,4,3,2] + [] , A=[4,5,4,6,6,3,0,5,5,3,5,0,1,4] , C=0 , 2+0+0=2 , A->2 , C->0
[5,4,3] + [] , A=[2,4,5,4,6,6,3,0,5,5,3,5,0,1,4] , C=0 , 3+0+0=3 , A->3 , C->0
[5,4] + [] , A=[3,2,4,5,4,6,6,3,0,5,5,3,5,0,1,4] , C=0 , 4+0+0=4 , A->4 , C->0
[5] + [] , A=[4,3,2,4,5,4,6,6,3,0,5,5,3,5,0,1,4] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,4,3,2,4,5,4,6,6,3,0,5,5,3,5,0,1,4] C=0 , END
</scratch>
543245466305535014
| 543245466305535014 | 1 |
Input:
353505472987514829+251927789696052168
Target:
| Input:
353505472987514829+251927789696052168
Target:
[3,5,3,5,0,5,4,7,2,9,8,7,5,1,4,8,2,9] + [2,5,1,9,2,7,7,8,9,6,9,6,0,5,2,1,6,8] , A=[] , C=0 , 9+8+0=17 , A->7 , C->1
[3,5,3,5,0,5,4,7,2,9,8,7,5,1,4,8,2] + [2,5,1,9,2,7,7,8,9,6,9,6,0,5,2,1,6] , A=[7] , C=1 , 2+6+1=9 , A->9 , C->0
[3,5,3,5,0,5,4,7,2,9,8,7,5,1,4,8] + [2,5,1,9,2,7,7,8,9,6,9,6,0,5,2,1] , A=[9,7] , C=0 , 8+1+0=9 , A->9 , C->0
[3,5,3,5,0,5,4,7,2,9,8,7,5,1,4] + [2,5,1,9,2,7,7,8,9,6,9,6,0,5,2] , A=[9,9,7] , C=0 , 4+2+0=6 , A->6 , C->0
[3,5,3,5,0,5,4,7,2,9,8,7,5,1] + [2,5,1,9,2,7,7,8,9,6,9,6,0,5] , A=[6,9,9,7] , C=0 , 1+5+0=6 , A->6 , C->0
[3,5,3,5,0,5,4,7,2,9,8,7,5] + [2,5,1,9,2,7,7,8,9,6,9,6,0] , A=[6,6,9,9,7] , C=0 , 5+0+0=5 , A->5 , C->0
[3,5,3,5,0,5,4,7,2,9,8,7] + [2,5,1,9,2,7,7,8,9,6,9,6] , A=[5,6,6,9,9,7] , C=0 , 7+6+0=13 , A->3 , C->1
[3,5,3,5,0,5,4,7,2,9,8] + [2,5,1,9,2,7,7,8,9,6,9] , A=[3,5,6,6,9,9,7] , C=1 , 8+9+1=18 , A->8 , C->1
[3,5,3,5,0,5,4,7,2,9] + [2,5,1,9,2,7,7,8,9,6] , A=[8,3,5,6,6,9,9,7] , C=1 , 9+6+1=16 , A->6 , C->1
[3,5,3,5,0,5,4,7,2] + [2,5,1,9,2,7,7,8,9] , A=[6,8,3,5,6,6,9,9,7] , C=1 , 2+9+1=12 , A->2 , C->1
[3,5,3,5,0,5,4,7] + [2,5,1,9,2,7,7,8] , A=[2,6,8,3,5,6,6,9,9,7] , C=1 , 7+8+1=16 , A->6 , C->1
[3,5,3,5,0,5,4] + [2,5,1,9,2,7,7] , A=[6,2,6,8,3,5,6,6,9,9,7] , C=1 , 4+7+1=12 , A->2 , C->1
[3,5,3,5,0,5] + [2,5,1,9,2,7] , A=[2,6,2,6,8,3,5,6,6,9,9,7] , C=1 , 5+7+1=13 , A->3 , C->1
[3,5,3,5,0] + [2,5,1,9,2] , A=[3,2,6,2,6,8,3,5,6,6,9,9,7] , C=1 , 0+2+1=3 , A->3 , C->0
[3,5,3,5] + [2,5,1,9] , A=[3,3,2,6,2,6,8,3,5,6,6,9,9,7] , C=0 , 5+9+0=14 , A->4 , C->1
[3,5,3] + [2,5,1] , A=[4,3,3,2,6,2,6,8,3,5,6,6,9,9,7] , C=1 , 3+1+1=5 , A->5 , C->0
[3,5] + [2,5] , A=[5,4,3,3,2,6,2,6,8,3,5,6,6,9,9,7] , C=0 , 5+5+0=10 , A->0 , C->1
[3] + [2] , A=[0,5,4,3,3,2,6,2,6,8,3,5,6,6,9,9,7] , C=1 , 3+2+1=6 , A->6 , C->0
[] + [] , A=[6,0,5,4,3,3,2,6,2,6,8,3,5,6,6,9,9,7] C=0 , END
</scratch>
605433262683566997
| 605433262683566997 | 18 |
Input:
26829+382653791057301857
Target:
| Input:
26829+382653791057301857
Target:
[2,6,8,2,9] + [3,8,2,6,5,3,7,9,1,0,5,7,3,0,1,8,5,7] , A=[] , C=0 , 9+7+0=16 , A->6 , C->1
[2,6,8,2] + [3,8,2,6,5,3,7,9,1,0,5,7,3,0,1,8,5] , A=[6] , C=1 , 2+5+1=8 , A->8 , C->0
[2,6,8] + [3,8,2,6,5,3,7,9,1,0,5,7,3,0,1,8] , A=[8,6] , C=0 , 8+8+0=16 , A->6 , C->1
[2,6] + [3,8,2,6,5,3,7,9,1,0,5,7,3,0,1] , A=[6,8,6] , C=1 , 6+1+1=8 , A->8 , C->0
[2] + [3,8,2,6,5,3,7,9,1,0,5,7,3,0] , A=[8,6,8,6] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [3,8,2,6,5,3,7,9,1,0,5,7,3] , A=[2,8,6,8,6] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [3,8,2,6,5,3,7,9,1,0,5,7] , A=[3,2,8,6,8,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [3,8,2,6,5,3,7,9,1,0,5] , A=[7,3,2,8,6,8,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [3,8,2,6,5,3,7,9,1,0] , A=[5,7,3,2,8,6,8,6] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [3,8,2,6,5,3,7,9,1] , A=[0,5,7,3,2,8,6,8,6] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [3,8,2,6,5,3,7,9] , A=[1,0,5,7,3,2,8,6,8,6] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [3,8,2,6,5,3,7] , A=[9,1,0,5,7,3,2,8,6,8,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [3,8,2,6,5,3] , A=[7,9,1,0,5,7,3,2,8,6,8,6] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [3,8,2,6,5] , A=[3,7,9,1,0,5,7,3,2,8,6,8,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [3,8,2,6] , A=[5,3,7,9,1,0,5,7,3,2,8,6,8,6] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [3,8,2] , A=[6,5,3,7,9,1,0,5,7,3,2,8,6,8,6] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [3,8] , A=[2,6,5,3,7,9,1,0,5,7,3,2,8,6,8,6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [3] , A=[8,2,6,5,3,7,9,1,0,5,7,3,2,8,6,8,6] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [] , A=[3,8,2,6,5,3,7,9,1,0,5,7,3,2,8,6,8,6] C=0 , END
</scratch>
382653791057328686
| 382653791057328686 | 5 |
Input:
8406701451302227+129722375974321386
Target:
| Input:
8406701451302227+129722375974321386
Target:
[8,4,0,6,7,0,1,4,5,1,3,0,2,2,2,7] + [1,2,9,7,2,2,3,7,5,9,7,4,3,2,1,3,8,6] , A=[] , C=0 , 7+6+0=13 , A->3 , C->1
[8,4,0,6,7,0,1,4,5,1,3,0,2,2,2] + [1,2,9,7,2,2,3,7,5,9,7,4,3,2,1,3,8] , A=[3] , C=1 , 2+8+1=11 , A->1 , C->1
[8,4,0,6,7,0,1,4,5,1,3,0,2,2] + [1,2,9,7,2,2,3,7,5,9,7,4,3,2,1,3] , A=[1,3] , C=1 , 2+3+1=6 , A->6 , C->0
[8,4,0,6,7,0,1,4,5,1,3,0,2] + [1,2,9,7,2,2,3,7,5,9,7,4,3,2,1] , A=[6,1,3] , C=0 , 2+1+0=3 , A->3 , C->0
[8,4,0,6,7,0,1,4,5,1,3,0] + [1,2,9,7,2,2,3,7,5,9,7,4,3,2] , A=[3,6,1,3] , C=0 , 0+2+0=2 , A->2 , C->0
[8,4,0,6,7,0,1,4,5,1,3] + [1,2,9,7,2,2,3,7,5,9,7,4,3] , A=[2,3,6,1,3] , C=0 , 3+3+0=6 , A->6 , C->0
[8,4,0,6,7,0,1,4,5,1] + [1,2,9,7,2,2,3,7,5,9,7,4] , A=[6,2,3,6,1,3] , C=0 , 1+4+0=5 , A->5 , C->0
[8,4,0,6,7,0,1,4,5] + [1,2,9,7,2,2,3,7,5,9,7] , A=[5,6,2,3,6,1,3] , C=0 , 5+7+0=12 , A->2 , C->1
[8,4,0,6,7,0,1,4] + [1,2,9,7,2,2,3,7,5,9] , A=[2,5,6,2,3,6,1,3] , C=1 , 4+9+1=14 , A->4 , C->1
[8,4,0,6,7,0,1] + [1,2,9,7,2,2,3,7,5] , A=[4,2,5,6,2,3,6,1,3] , C=1 , 1+5+1=7 , A->7 , C->0
[8,4,0,6,7,0] + [1,2,9,7,2,2,3,7] , A=[7,4,2,5,6,2,3,6,1,3] , C=0 , 0+7+0=7 , A->7 , C->0
[8,4,0,6,7] + [1,2,9,7,2,2,3] , A=[7,7,4,2,5,6,2,3,6,1,3] , C=0 , 7+3+0=10 , A->0 , C->1
[8,4,0,6] + [1,2,9,7,2,2] , A=[0,7,7,4,2,5,6,2,3,6,1,3] , C=1 , 6+2+1=9 , A->9 , C->0
[8,4,0] + [1,2,9,7,2] , A=[9,0,7,7,4,2,5,6,2,3,6,1,3] , C=0 , 0+2+0=2 , A->2 , C->0
[8,4] + [1,2,9,7] , A=[2,9,0,7,7,4,2,5,6,2,3,6,1,3] , C=0 , 4+7+0=11 , A->1 , C->1
[8] + [1,2,9] , A=[1,2,9,0,7,7,4,2,5,6,2,3,6,1,3] , C=1 , 8+9+1=18 , A->8 , C->1
[] + [1,2] , A=[8,1,2,9,0,7,7,4,2,5,6,2,3,6,1,3] , C=1 , 0+2+1=3 , A->3 , C->0
[] + [1] , A=[3,8,1,2,9,0,7,7,4,2,5,6,2,3,6,1,3] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,3,8,1,2,9,0,7,7,4,2,5,6,2,3,6,1,3] C=0 , END
</scratch>
138129077425623613
| 138129077425623613 | 16 |
Input:
250591157497611821+508297628288
Target:
| Input:
250591157497611821+508297628288
Target:
[2,5,0,5,9,1,1,5,7,4,9,7,6,1,1,8,2,1] + [5,0,8,2,9,7,6,2,8,2,8,8] , A=[] , C=0 , 1+8+0=9 , A->9 , C->0
[2,5,0,5,9,1,1,5,7,4,9,7,6,1,1,8,2] + [5,0,8,2,9,7,6,2,8,2,8] , A=[9] , C=0 , 2+8+0=10 , A->0 , C->1
[2,5,0,5,9,1,1,5,7,4,9,7,6,1,1,8] + [5,0,8,2,9,7,6,2,8,2] , A=[0,9] , C=1 , 8+2+1=11 , A->1 , C->1
[2,5,0,5,9,1,1,5,7,4,9,7,6,1,1] + [5,0,8,2,9,7,6,2,8] , A=[1,0,9] , C=1 , 1+8+1=10 , A->0 , C->1
[2,5,0,5,9,1,1,5,7,4,9,7,6,1] + [5,0,8,2,9,7,6,2] , A=[0,1,0,9] , C=1 , 1+2+1=4 , A->4 , C->0
[2,5,0,5,9,1,1,5,7,4,9,7,6] + [5,0,8,2,9,7,6] , A=[4,0,1,0,9] , C=0 , 6+6+0=12 , A->2 , C->1
[2,5,0,5,9,1,1,5,7,4,9,7] + [5,0,8,2,9,7] , A=[2,4,0,1,0,9] , C=1 , 7+7+1=15 , A->5 , C->1
[2,5,0,5,9,1,1,5,7,4,9] + [5,0,8,2,9] , A=[5,2,4,0,1,0,9] , C=1 , 9+9+1=19 , A->9 , C->1
[2,5,0,5,9,1,1,5,7,4] + [5,0,8,2] , A=[9,5,2,4,0,1,0,9] , C=1 , 4+2+1=7 , A->7 , C->0
[2,5,0,5,9,1,1,5,7] + [5,0,8] , A=[7,9,5,2,4,0,1,0,9] , C=0 , 7+8+0=15 , A->5 , C->1
[2,5,0,5,9,1,1,5] + [5,0] , A=[5,7,9,5,2,4,0,1,0,9] , C=1 , 5+0+1=6 , A->6 , C->0
[2,5,0,5,9,1,1] + [5] , A=[6,5,7,9,5,2,4,0,1,0,9] , C=0 , 1+5+0=6 , A->6 , C->0
[2,5,0,5,9,1] + [] , A=[6,6,5,7,9,5,2,4,0,1,0,9] , C=0 , 1+0+0=1 , A->1 , C->0
[2,5,0,5,9] + [] , A=[1,6,6,5,7,9,5,2,4,0,1,0,9] , C=0 , 9+0+0=9 , A->9 , C->0
[2,5,0,5] + [] , A=[9,1,6,6,5,7,9,5,2,4,0,1,0,9] , C=0 , 5+0+0=5 , A->5 , C->0
[2,5,0] + [] , A=[5,9,1,6,6,5,7,9,5,2,4,0,1,0,9] , C=0 , 0+0+0=0 , A->0 , C->0
[2,5] + [] , A=[0,5,9,1,6,6,5,7,9,5,2,4,0,1,0,9] , C=0 , 5+0+0=5 , A->5 , C->0
[2] + [] , A=[5,0,5,9,1,6,6,5,7,9,5,2,4,0,1,0,9] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [] , A=[2,5,0,5,9,1,6,6,5,7,9,5,2,4,0,1,0,9] C=0 , END
</scratch>
250591665795240109
| 250591665795240109 | 12 |
Input:
375678087017048520+460975299
Target:
| Input:
375678087017048520+460975299
Target:
[3,7,5,6,7,8,0,8,7,0,1,7,0,4,8,5,2,0] + [4,6,0,9,7,5,2,9,9] , A=[] , C=0 , 0+9+0=9 , A->9 , C->0
[3,7,5,6,7,8,0,8,7,0,1,7,0,4,8,5,2] + [4,6,0,9,7,5,2,9] , A=[9] , C=0 , 2+9+0=11 , A->1 , C->1
[3,7,5,6,7,8,0,8,7,0,1,7,0,4,8,5] + [4,6,0,9,7,5,2] , A=[1,9] , C=1 , 5+2+1=8 , A->8 , C->0
[3,7,5,6,7,8,0,8,7,0,1,7,0,4,8] + [4,6,0,9,7,5] , A=[8,1,9] , C=0 , 8+5+0=13 , A->3 , C->1
[3,7,5,6,7,8,0,8,7,0,1,7,0,4] + [4,6,0,9,7] , A=[3,8,1,9] , C=1 , 4+7+1=12 , A->2 , C->1
[3,7,5,6,7,8,0,8,7,0,1,7,0] + [4,6,0,9] , A=[2,3,8,1,9] , C=1 , 0+9+1=10 , A->0 , C->1
[3,7,5,6,7,8,0,8,7,0,1,7] + [4,6,0] , A=[0,2,3,8,1,9] , C=1 , 7+0+1=8 , A->8 , C->0
[3,7,5,6,7,8,0,8,7,0,1] + [4,6] , A=[8,0,2,3,8,1,9] , C=0 , 1+6+0=7 , A->7 , C->0
[3,7,5,6,7,8,0,8,7,0] + [4] , A=[7,8,0,2,3,8,1,9] , C=0 , 0+4+0=4 , A->4 , C->0
[3,7,5,6,7,8,0,8,7] + [] , A=[4,7,8,0,2,3,8,1,9] , C=0 , 7+0+0=7 , A->7 , C->0
[3,7,5,6,7,8,0,8] + [] , A=[7,4,7,8,0,2,3,8,1,9] , C=0 , 8+0+0=8 , A->8 , C->0
[3,7,5,6,7,8,0] + [] , A=[8,7,4,7,8,0,2,3,8,1,9] , C=0 , 0+0+0=0 , A->0 , C->0
[3,7,5,6,7,8] + [] , A=[0,8,7,4,7,8,0,2,3,8,1,9] , C=0 , 8+0+0=8 , A->8 , C->0
[3,7,5,6,7] + [] , A=[8,0,8,7,4,7,8,0,2,3,8,1,9] , C=0 , 7+0+0=7 , A->7 , C->0
[3,7,5,6] + [] , A=[7,8,0,8,7,4,7,8,0,2,3,8,1,9] , C=0 , 6+0+0=6 , A->6 , C->0
[3,7,5] + [] , A=[6,7,8,0,8,7,4,7,8,0,2,3,8,1,9] , C=0 , 5+0+0=5 , A->5 , C->0
[3,7] + [] , A=[5,6,7,8,0,8,7,4,7,8,0,2,3,8,1,9] , C=0 , 7+0+0=7 , A->7 , C->0
[3] + [] , A=[7,5,6,7,8,0,8,7,4,7,8,0,2,3,8,1,9] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,7,5,6,7,8,0,8,7,4,7,8,0,2,3,8,1,9] C=0 , END
</scratch>
375678087478023819
| 375678087478023819 | 9 |
Input:
70948346811063148+563944866468940158
Target:
| Input:
70948346811063148+563944866468940158
Target:
[7,0,9,4,8,3,4,6,8,1,1,0,6,3,1,4,8] + [5,6,3,9,4,4,8,6,6,4,6,8,9,4,0,1,5,8] , A=[] , C=0 , 8+8+0=16 , A->6 , C->1
[7,0,9,4,8,3,4,6,8,1,1,0,6,3,1,4] + [5,6,3,9,4,4,8,6,6,4,6,8,9,4,0,1,5] , A=[6] , C=1 , 4+5+1=10 , A->0 , C->1
[7,0,9,4,8,3,4,6,8,1,1,0,6,3,1] + [5,6,3,9,4,4,8,6,6,4,6,8,9,4,0,1] , A=[0,6] , C=1 , 1+1+1=3 , A->3 , C->0
[7,0,9,4,8,3,4,6,8,1,1,0,6,3] + [5,6,3,9,4,4,8,6,6,4,6,8,9,4,0] , A=[3,0,6] , C=0 , 3+0+0=3 , A->3 , C->0
[7,0,9,4,8,3,4,6,8,1,1,0,6] + [5,6,3,9,4,4,8,6,6,4,6,8,9,4] , A=[3,3,0,6] , C=0 , 6+4+0=10 , A->0 , C->1
[7,0,9,4,8,3,4,6,8,1,1,0] + [5,6,3,9,4,4,8,6,6,4,6,8,9] , A=[0,3,3,0,6] , C=1 , 0+9+1=10 , A->0 , C->1
[7,0,9,4,8,3,4,6,8,1,1] + [5,6,3,9,4,4,8,6,6,4,6,8] , A=[0,0,3,3,0,6] , C=1 , 1+8+1=10 , A->0 , C->1
[7,0,9,4,8,3,4,6,8,1] + [5,6,3,9,4,4,8,6,6,4,6] , A=[0,0,0,3,3,0,6] , C=1 , 1+6+1=8 , A->8 , C->0
[7,0,9,4,8,3,4,6,8] + [5,6,3,9,4,4,8,6,6,4] , A=[8,0,0,0,3,3,0,6] , C=0 , 8+4+0=12 , A->2 , C->1
[7,0,9,4,8,3,4,6] + [5,6,3,9,4,4,8,6,6] , A=[2,8,0,0,0,3,3,0,6] , C=1 , 6+6+1=13 , A->3 , C->1
[7,0,9,4,8,3,4] + [5,6,3,9,4,4,8,6] , A=[3,2,8,0,0,0,3,3,0,6] , C=1 , 4+6+1=11 , A->1 , C->1
[7,0,9,4,8,3] + [5,6,3,9,4,4,8] , A=[1,3,2,8,0,0,0,3,3,0,6] , C=1 , 3+8+1=12 , A->2 , C->1
[7,0,9,4,8] + [5,6,3,9,4,4] , A=[2,1,3,2,8,0,0,0,3,3,0,6] , C=1 , 8+4+1=13 , A->3 , C->1
[7,0,9,4] + [5,6,3,9,4] , A=[3,2,1,3,2,8,0,0,0,3,3,0,6] , C=1 , 4+4+1=9 , A->9 , C->0
[7,0,9] + [5,6,3,9] , A=[9,3,2,1,3,2,8,0,0,0,3,3,0,6] , C=0 , 9+9+0=18 , A->8 , C->1
[7,0] + [5,6,3] , A=[8,9,3,2,1,3,2,8,0,0,0,3,3,0,6] , C=1 , 0+3+1=4 , A->4 , C->0
[7] + [5,6] , A=[4,8,9,3,2,1,3,2,8,0,0,0,3,3,0,6] , C=0 , 7+6+0=13 , A->3 , C->1
[] + [5] , A=[3,4,8,9,3,2,1,3,2,8,0,0,0,3,3,0,6] , C=1 , 0+5+1=6 , A->6 , C->0
[] + [] , A=[6,3,4,8,9,3,2,1,3,2,8,0,0,0,3,3,0,6] C=0 , END
</scratch>
634893213280003306
| 634893213280003306 | 17 |
Input:
376845089791817024+1599157
Target:
| Input:
376845089791817024+1599157
Target:
[3,7,6,8,4,5,0,8,9,7,9,1,8,1,7,0,2,4] + [1,5,9,9,1,5,7] , A=[] , C=0 , 4+7+0=11 , A->1 , C->1
[3,7,6,8,4,5,0,8,9,7,9,1,8,1,7,0,2] + [1,5,9,9,1,5] , A=[1] , C=1 , 2+5+1=8 , A->8 , C->0
[3,7,6,8,4,5,0,8,9,7,9,1,8,1,7,0] + [1,5,9,9,1] , A=[8,1] , C=0 , 0+1+0=1 , A->1 , C->0
[3,7,6,8,4,5,0,8,9,7,9,1,8,1,7] + [1,5,9,9] , A=[1,8,1] , C=0 , 7+9+0=16 , A->6 , C->1
[3,7,6,8,4,5,0,8,9,7,9,1,8,1] + [1,5,9] , A=[6,1,8,1] , C=1 , 1+9+1=11 , A->1 , C->1
[3,7,6,8,4,5,0,8,9,7,9,1,8] + [1,5] , A=[1,6,1,8,1] , C=1 , 8+5+1=14 , A->4 , C->1
[3,7,6,8,4,5,0,8,9,7,9,1] + [1] , A=[4,1,6,1,8,1] , C=1 , 1+1+1=3 , A->3 , C->0
[3,7,6,8,4,5,0,8,9,7,9] + [] , A=[3,4,1,6,1,8,1] , C=0 , 9+0+0=9 , A->9 , C->0
[3,7,6,8,4,5,0,8,9,7] + [] , A=[9,3,4,1,6,1,8,1] , C=0 , 7+0+0=7 , A->7 , C->0
[3,7,6,8,4,5,0,8,9] + [] , A=[7,9,3,4,1,6,1,8,1] , C=0 , 9+0+0=9 , A->9 , C->0
[3,7,6,8,4,5,0,8] + [] , A=[9,7,9,3,4,1,6,1,8,1] , C=0 , 8+0+0=8 , A->8 , C->0
[3,7,6,8,4,5,0] + [] , A=[8,9,7,9,3,4,1,6,1,8,1] , C=0 , 0+0+0=0 , A->0 , C->0
[3,7,6,8,4,5] + [] , A=[0,8,9,7,9,3,4,1,6,1,8,1] , C=0 , 5+0+0=5 , A->5 , C->0
[3,7,6,8,4] + [] , A=[5,0,8,9,7,9,3,4,1,6,1,8,1] , C=0 , 4+0+0=4 , A->4 , C->0
[3,7,6,8] + [] , A=[4,5,0,8,9,7,9,3,4,1,6,1,8,1] , C=0 , 8+0+0=8 , A->8 , C->0
[3,7,6] + [] , A=[8,4,5,0,8,9,7,9,3,4,1,6,1,8,1] , C=0 , 6+0+0=6 , A->6 , C->0
[3,7] + [] , A=[6,8,4,5,0,8,9,7,9,3,4,1,6,1,8,1] , C=0 , 7+0+0=7 , A->7 , C->0
[3] + [] , A=[7,6,8,4,5,0,8,9,7,9,3,4,1,6,1,8,1] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,7,6,8,4,5,0,8,9,7,9,3,4,1,6,1,8,1] C=0 , END
</scratch>
376845089793416181
| 376845089793416181 | 7 |
Input:
80012+236236722867955098
Target:
| Input:
80012+236236722867955098
Target:
[8,0,0,1,2] + [2,3,6,2,3,6,7,2,2,8,6,7,9,5,5,0,9,8] , A=[] , C=0 , 2+8+0=10 , A->0 , C->1
[8,0,0,1] + [2,3,6,2,3,6,7,2,2,8,6,7,9,5,5,0,9] , A=[0] , C=1 , 1+9+1=11 , A->1 , C->1
[8,0,0] + [2,3,6,2,3,6,7,2,2,8,6,7,9,5,5,0] , A=[1,0] , C=1 , 0+0+1=1 , A->1 , C->0
[8,0] + [2,3,6,2,3,6,7,2,2,8,6,7,9,5,5] , A=[1,1,0] , C=0 , 0+5+0=5 , A->5 , C->0
[8] + [2,3,6,2,3,6,7,2,2,8,6,7,9,5] , A=[5,1,1,0] , C=0 , 8+5+0=13 , A->3 , C->1
[] + [2,3,6,2,3,6,7,2,2,8,6,7,9] , A=[3,5,1,1,0] , C=1 , 0+9+1=10 , A->0 , C->1
[] + [2,3,6,2,3,6,7,2,2,8,6,7] , A=[0,3,5,1,1,0] , C=1 , 0+7+1=8 , A->8 , C->0
[] + [2,3,6,2,3,6,7,2,2,8,6] , A=[8,0,3,5,1,1,0] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [2,3,6,2,3,6,7,2,2,8] , A=[6,8,0,3,5,1,1,0] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [2,3,6,2,3,6,7,2,2] , A=[8,6,8,0,3,5,1,1,0] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [2,3,6,2,3,6,7,2] , A=[2,8,6,8,0,3,5,1,1,0] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [2,3,6,2,3,6,7] , A=[2,2,8,6,8,0,3,5,1,1,0] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [2,3,6,2,3,6] , A=[7,2,2,8,6,8,0,3,5,1,1,0] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [2,3,6,2,3] , A=[6,7,2,2,8,6,8,0,3,5,1,1,0] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [2,3,6,2] , A=[3,6,7,2,2,8,6,8,0,3,5,1,1,0] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [2,3,6] , A=[2,3,6,7,2,2,8,6,8,0,3,5,1,1,0] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [2,3] , A=[6,2,3,6,7,2,2,8,6,8,0,3,5,1,1,0] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [2] , A=[3,6,2,3,6,7,2,2,8,6,8,0,3,5,1,1,0] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,3,6,2,3,6,7,2,2,8,6,8,0,3,5,1,1,0] C=0 , END
</scratch>
236236722868035110
| 236236722868035110 | 5 |
Input:
592581581934879146+42510635231273236
Target:
| Input:
592581581934879146+42510635231273236
Target:
[5,9,2,5,8,1,5,8,1,9,3,4,8,7,9,1,4,6] + [4,2,5,1,0,6,3,5,2,3,1,2,7,3,2,3,6] , A=[] , C=0 , 6+6+0=12 , A->2 , C->1
[5,9,2,5,8,1,5,8,1,9,3,4,8,7,9,1,4] + [4,2,5,1,0,6,3,5,2,3,1,2,7,3,2,3] , A=[2] , C=1 , 4+3+1=8 , A->8 , C->0
[5,9,2,5,8,1,5,8,1,9,3,4,8,7,9,1] + [4,2,5,1,0,6,3,5,2,3,1,2,7,3,2] , A=[8,2] , C=0 , 1+2+0=3 , A->3 , C->0
[5,9,2,5,8,1,5,8,1,9,3,4,8,7,9] + [4,2,5,1,0,6,3,5,2,3,1,2,7,3] , A=[3,8,2] , C=0 , 9+3+0=12 , A->2 , C->1
[5,9,2,5,8,1,5,8,1,9,3,4,8,7] + [4,2,5,1,0,6,3,5,2,3,1,2,7] , A=[2,3,8,2] , C=1 , 7+7+1=15 , A->5 , C->1
[5,9,2,5,8,1,5,8,1,9,3,4,8] + [4,2,5,1,0,6,3,5,2,3,1,2] , A=[5,2,3,8,2] , C=1 , 8+2+1=11 , A->1 , C->1
[5,9,2,5,8,1,5,8,1,9,3,4] + [4,2,5,1,0,6,3,5,2,3,1] , A=[1,5,2,3,8,2] , C=1 , 4+1+1=6 , A->6 , C->0
[5,9,2,5,8,1,5,8,1,9,3] + [4,2,5,1,0,6,3,5,2,3] , A=[6,1,5,2,3,8,2] , C=0 , 3+3+0=6 , A->6 , C->0
[5,9,2,5,8,1,5,8,1,9] + [4,2,5,1,0,6,3,5,2] , A=[6,6,1,5,2,3,8,2] , C=0 , 9+2+0=11 , A->1 , C->1
[5,9,2,5,8,1,5,8,1] + [4,2,5,1,0,6,3,5] , A=[1,6,6,1,5,2,3,8,2] , C=1 , 1+5+1=7 , A->7 , C->0
[5,9,2,5,8,1,5,8] + [4,2,5,1,0,6,3] , A=[7,1,6,6,1,5,2,3,8,2] , C=0 , 8+3+0=11 , A->1 , C->1
[5,9,2,5,8,1,5] + [4,2,5,1,0,6] , A=[1,7,1,6,6,1,5,2,3,8,2] , C=1 , 5+6+1=12 , A->2 , C->1
[5,9,2,5,8,1] + [4,2,5,1,0] , A=[2,1,7,1,6,6,1,5,2,3,8,2] , C=1 , 1+0+1=2 , A->2 , C->0
[5,9,2,5,8] + [4,2,5,1] , A=[2,2,1,7,1,6,6,1,5,2,3,8,2] , C=0 , 8+1+0=9 , A->9 , C->0
[5,9,2,5] + [4,2,5] , A=[9,2,2,1,7,1,6,6,1,5,2,3,8,2] , C=0 , 5+5+0=10 , A->0 , C->1
[5,9,2] + [4,2] , A=[0,9,2,2,1,7,1,6,6,1,5,2,3,8,2] , C=1 , 2+2+1=5 , A->5 , C->0
[5,9] + [4] , A=[5,0,9,2,2,1,7,1,6,6,1,5,2,3,8,2] , C=0 , 9+4+0=13 , A->3 , C->1
[5] + [] , A=[3,5,0,9,2,2,1,7,1,6,6,1,5,2,3,8,2] , C=1 , 5+0+1=6 , A->6 , C->0
[] + [] , A=[6,3,5,0,9,2,2,1,7,1,6,6,1,5,2,3,8,2] C=0 , END
</scratch>
635092217166152382
| 635092217166152382 | 17 |
Input:
3623571+257684670779298372
Target:
| Input:
3623571+257684670779298372
Target:
[3,6,2,3,5,7,1] + [2,5,7,6,8,4,6,7,0,7,7,9,2,9,8,3,7,2] , A=[] , C=0 , 1+2+0=3 , A->3 , C->0
[3,6,2,3,5,7] + [2,5,7,6,8,4,6,7,0,7,7,9,2,9,8,3,7] , A=[3] , C=0 , 7+7+0=14 , A->4 , C->1
[3,6,2,3,5] + [2,5,7,6,8,4,6,7,0,7,7,9,2,9,8,3] , A=[4,3] , C=1 , 5+3+1=9 , A->9 , C->0
[3,6,2,3] + [2,5,7,6,8,4,6,7,0,7,7,9,2,9,8] , A=[9,4,3] , C=0 , 3+8+0=11 , A->1 , C->1
[3,6,2] + [2,5,7,6,8,4,6,7,0,7,7,9,2,9] , A=[1,9,4,3] , C=1 , 2+9+1=12 , A->2 , C->1
[3,6] + [2,5,7,6,8,4,6,7,0,7,7,9,2] , A=[2,1,9,4,3] , C=1 , 6+2+1=9 , A->9 , C->0
[3] + [2,5,7,6,8,4,6,7,0,7,7,9] , A=[9,2,1,9,4,3] , C=0 , 3+9+0=12 , A->2 , C->1
[] + [2,5,7,6,8,4,6,7,0,7,7] , A=[2,9,2,1,9,4,3] , C=1 , 0+7+1=8 , A->8 , C->0
[] + [2,5,7,6,8,4,6,7,0,7] , A=[8,2,9,2,1,9,4,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [2,5,7,6,8,4,6,7,0] , A=[7,8,2,9,2,1,9,4,3] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [2,5,7,6,8,4,6,7] , A=[0,7,8,2,9,2,1,9,4,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [2,5,7,6,8,4,6] , A=[7,0,7,8,2,9,2,1,9,4,3] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [2,5,7,6,8,4] , A=[6,7,0,7,8,2,9,2,1,9,4,3] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [2,5,7,6,8] , A=[4,6,7,0,7,8,2,9,2,1,9,4,3] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [2,5,7,6] , A=[8,4,6,7,0,7,8,2,9,2,1,9,4,3] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [2,5,7] , A=[6,8,4,6,7,0,7,8,2,9,2,1,9,4,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [2,5] , A=[7,6,8,4,6,7,0,7,8,2,9,2,1,9,4,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [2] , A=[5,7,6,8,4,6,7,0,7,8,2,9,2,1,9,4,3] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,5,7,6,8,4,6,7,0,7,8,2,9,2,1,9,4,3] C=0 , END
</scratch>
257684670782921943
| 257684670782921943 | 7 |
Input:
878452178212955302+59157285267543160
Target:
| Input:
878452178212955302+59157285267543160
Target:
[8,7,8,4,5,2,1,7,8,2,1,2,9,5,5,3,0,2] + [5,9,1,5,7,2,8,5,2,6,7,5,4,3,1,6,0] , A=[] , C=0 , 2+0+0=2 , A->2 , C->0
[8,7,8,4,5,2,1,7,8,2,1,2,9,5,5,3,0] + [5,9,1,5,7,2,8,5,2,6,7,5,4,3,1,6] , A=[2] , C=0 , 0+6+0=6 , A->6 , C->0
[8,7,8,4,5,2,1,7,8,2,1,2,9,5,5,3] + [5,9,1,5,7,2,8,5,2,6,7,5,4,3,1] , A=[6,2] , C=0 , 3+1+0=4 , A->4 , C->0
[8,7,8,4,5,2,1,7,8,2,1,2,9,5,5] + [5,9,1,5,7,2,8,5,2,6,7,5,4,3] , A=[4,6,2] , C=0 , 5+3+0=8 , A->8 , C->0
[8,7,8,4,5,2,1,7,8,2,1,2,9,5] + [5,9,1,5,7,2,8,5,2,6,7,5,4] , A=[8,4,6,2] , C=0 , 5+4+0=9 , A->9 , C->0
[8,7,8,4,5,2,1,7,8,2,1,2,9] + [5,9,1,5,7,2,8,5,2,6,7,5] , A=[9,8,4,6,2] , C=0 , 9+5+0=14 , A->4 , C->1
[8,7,8,4,5,2,1,7,8,2,1,2] + [5,9,1,5,7,2,8,5,2,6,7] , A=[4,9,8,4,6,2] , C=1 , 2+7+1=10 , A->0 , C->1
[8,7,8,4,5,2,1,7,8,2,1] + [5,9,1,5,7,2,8,5,2,6] , A=[0,4,9,8,4,6,2] , C=1 , 1+6+1=8 , A->8 , C->0
[8,7,8,4,5,2,1,7,8,2] + [5,9,1,5,7,2,8,5,2] , A=[8,0,4,9,8,4,6,2] , C=0 , 2+2+0=4 , A->4 , C->0
[8,7,8,4,5,2,1,7,8] + [5,9,1,5,7,2,8,5] , A=[4,8,0,4,9,8,4,6,2] , C=0 , 8+5+0=13 , A->3 , C->1
[8,7,8,4,5,2,1,7] + [5,9,1,5,7,2,8] , A=[3,4,8,0,4,9,8,4,6,2] , C=1 , 7+8+1=16 , A->6 , C->1
[8,7,8,4,5,2,1] + [5,9,1,5,7,2] , A=[6,3,4,8,0,4,9,8,4,6,2] , C=1 , 1+2+1=4 , A->4 , C->0
[8,7,8,4,5,2] + [5,9,1,5,7] , A=[4,6,3,4,8,0,4,9,8,4,6,2] , C=0 , 2+7+0=9 , A->9 , C->0
[8,7,8,4,5] + [5,9,1,5] , A=[9,4,6,3,4,8,0,4,9,8,4,6,2] , C=0 , 5+5+0=10 , A->0 , C->1
[8,7,8,4] + [5,9,1] , A=[0,9,4,6,3,4,8,0,4,9,8,4,6,2] , C=1 , 4+1+1=6 , A->6 , C->0
[8,7,8] + [5,9] , A=[6,0,9,4,6,3,4,8,0,4,9,8,4,6,2] , C=0 , 8+9+0=17 , A->7 , C->1
[8,7] + [5] , A=[7,6,0,9,4,6,3,4,8,0,4,9,8,4,6,2] , C=1 , 7+5+1=13 , A->3 , C->1
[8] + [] , A=[3,7,6,0,9,4,6,3,4,8,0,4,9,8,4,6,2] , C=1 , 8+0+1=9 , A->9 , C->0
[] + [] , A=[9,3,7,6,0,9,4,6,3,4,8,0,4,9,8,4,6,2] C=0 , END
</scratch>
937609463480498462
| 937609463480498462 | 17 |
Input:
1351053689522098+187436953338056229
Target:
| Input:
1351053689522098+187436953338056229
Target:
[1,3,5,1,0,5,3,6,8,9,5,2,2,0,9,8] + [1,8,7,4,3,6,9,5,3,3,3,8,0,5,6,2,2,9] , A=[] , C=0 , 8+9+0=17 , A->7 , C->1
[1,3,5,1,0,5,3,6,8,9,5,2,2,0,9] + [1,8,7,4,3,6,9,5,3,3,3,8,0,5,6,2,2] , A=[7] , C=1 , 9+2+1=12 , A->2 , C->1
[1,3,5,1,0,5,3,6,8,9,5,2,2,0] + [1,8,7,4,3,6,9,5,3,3,3,8,0,5,6,2] , A=[2,7] , C=1 , 0+2+1=3 , A->3 , C->0
[1,3,5,1,0,5,3,6,8,9,5,2,2] + [1,8,7,4,3,6,9,5,3,3,3,8,0,5,6] , A=[3,2,7] , C=0 , 2+6+0=8 , A->8 , C->0
[1,3,5,1,0,5,3,6,8,9,5,2] + [1,8,7,4,3,6,9,5,3,3,3,8,0,5] , A=[8,3,2,7] , C=0 , 2+5+0=7 , A->7 , C->0
[1,3,5,1,0,5,3,6,8,9,5] + [1,8,7,4,3,6,9,5,3,3,3,8,0] , A=[7,8,3,2,7] , C=0 , 5+0+0=5 , A->5 , C->0
[1,3,5,1,0,5,3,6,8,9] + [1,8,7,4,3,6,9,5,3,3,3,8] , A=[5,7,8,3,2,7] , C=0 , 9+8+0=17 , A->7 , C->1
[1,3,5,1,0,5,3,6,8] + [1,8,7,4,3,6,9,5,3,3,3] , A=[7,5,7,8,3,2,7] , C=1 , 8+3+1=12 , A->2 , C->1
[1,3,5,1,0,5,3,6] + [1,8,7,4,3,6,9,5,3,3] , A=[2,7,5,7,8,3,2,7] , C=1 , 6+3+1=10 , A->0 , C->1
[1,3,5,1,0,5,3] + [1,8,7,4,3,6,9,5,3] , A=[0,2,7,5,7,8,3,2,7] , C=1 , 3+3+1=7 , A->7 , C->0
[1,3,5,1,0,5] + [1,8,7,4,3,6,9,5] , A=[7,0,2,7,5,7,8,3,2,7] , C=0 , 5+5+0=10 , A->0 , C->1
[1,3,5,1,0] + [1,8,7,4,3,6,9] , A=[0,7,0,2,7,5,7,8,3,2,7] , C=1 , 0+9+1=10 , A->0 , C->1
[1,3,5,1] + [1,8,7,4,3,6] , A=[0,0,7,0,2,7,5,7,8,3,2,7] , C=1 , 1+6+1=8 , A->8 , C->0
[1,3,5] + [1,8,7,4,3] , A=[8,0,0,7,0,2,7,5,7,8,3,2,7] , C=0 , 5+3+0=8 , A->8 , C->0
[1,3] + [1,8,7,4] , A=[8,8,0,0,7,0,2,7,5,7,8,3,2,7] , C=0 , 3+4+0=7 , A->7 , C->0
[1] + [1,8,7] , A=[7,8,8,0,0,7,0,2,7,5,7,8,3,2,7] , C=0 , 1+7+0=8 , A->8 , C->0
[] + [1,8] , A=[8,7,8,8,0,0,7,0,2,7,5,7,8,3,2,7] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [1] , A=[8,8,7,8,8,0,0,7,0,2,7,5,7,8,3,2,7] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,8,8,7,8,8,0,0,7,0,2,7,5,7,8,3,2,7] C=0 , END
</scratch>
188788007027578327
| 188788007027578327 | 16 |
Input:
9589338633976534+957065425959375769
Target:
| Input:
9589338633976534+957065425959375769
Target:
[9,5,8,9,3,3,8,6,3,3,9,7,6,5,3,4] + [9,5,7,0,6,5,4,2,5,9,5,9,3,7,5,7,6,9] , A=[] , C=0 , 4+9+0=13 , A->3 , C->1
[9,5,8,9,3,3,8,6,3,3,9,7,6,5,3] + [9,5,7,0,6,5,4,2,5,9,5,9,3,7,5,7,6] , A=[3] , C=1 , 3+6+1=10 , A->0 , C->1
[9,5,8,9,3,3,8,6,3,3,9,7,6,5] + [9,5,7,0,6,5,4,2,5,9,5,9,3,7,5,7] , A=[0,3] , C=1 , 5+7+1=13 , A->3 , C->1
[9,5,8,9,3,3,8,6,3,3,9,7,6] + [9,5,7,0,6,5,4,2,5,9,5,9,3,7,5] , A=[3,0,3] , C=1 , 6+5+1=12 , A->2 , C->1
[9,5,8,9,3,3,8,6,3,3,9,7] + [9,5,7,0,6,5,4,2,5,9,5,9,3,7] , A=[2,3,0,3] , C=1 , 7+7+1=15 , A->5 , C->1
[9,5,8,9,3,3,8,6,3,3,9] + [9,5,7,0,6,5,4,2,5,9,5,9,3] , A=[5,2,3,0,3] , C=1 , 9+3+1=13 , A->3 , C->1
[9,5,8,9,3,3,8,6,3,3] + [9,5,7,0,6,5,4,2,5,9,5,9] , A=[3,5,2,3,0,3] , C=1 , 3+9+1=13 , A->3 , C->1
[9,5,8,9,3,3,8,6,3] + [9,5,7,0,6,5,4,2,5,9,5] , A=[3,3,5,2,3,0,3] , C=1 , 3+5+1=9 , A->9 , C->0
[9,5,8,9,3,3,8,6] + [9,5,7,0,6,5,4,2,5,9] , A=[9,3,3,5,2,3,0,3] , C=0 , 6+9+0=15 , A->5 , C->1
[9,5,8,9,3,3,8] + [9,5,7,0,6,5,4,2,5] , A=[5,9,3,3,5,2,3,0,3] , C=1 , 8+5+1=14 , A->4 , C->1
[9,5,8,9,3,3] + [9,5,7,0,6,5,4,2] , A=[4,5,9,3,3,5,2,3,0,3] , C=1 , 3+2+1=6 , A->6 , C->0
[9,5,8,9,3] + [9,5,7,0,6,5,4] , A=[6,4,5,9,3,3,5,2,3,0,3] , C=0 , 3+4+0=7 , A->7 , C->0
[9,5,8,9] + [9,5,7,0,6,5] , A=[7,6,4,5,9,3,3,5,2,3,0,3] , C=0 , 9+5+0=14 , A->4 , C->1
[9,5,8] + [9,5,7,0,6] , A=[4,7,6,4,5,9,3,3,5,2,3,0,3] , C=1 , 8+6+1=15 , A->5 , C->1
[9,5] + [9,5,7,0] , A=[5,4,7,6,4,5,9,3,3,5,2,3,0,3] , C=1 , 5+0+1=6 , A->6 , C->0
[9] + [9,5,7] , A=[6,5,4,7,6,4,5,9,3,3,5,2,3,0,3] , C=0 , 9+7+0=16 , A->6 , C->1
[] + [9,5] , A=[6,6,5,4,7,6,4,5,9,3,3,5,2,3,0,3] , C=1 , 0+5+1=6 , A->6 , C->0
[] + [9] , A=[6,6,6,5,4,7,6,4,5,9,3,3,5,2,3,0,3] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,6,6,6,5,4,7,6,4,5,9,3,3,5,2,3,0,3] C=0 , END
</scratch>
966654764593352303
| 966654764593352303 | 16 |
Input:
34525340054651+148406746235097001
Target:
| Input:
34525340054651+148406746235097001
Target:
[3,4,5,2,5,3,4,0,0,5,4,6,5,1] + [1,4,8,4,0,6,7,4,6,2,3,5,0,9,7,0,0,1] , A=[] , C=0 , 1+1+0=2 , A->2 , C->0
[3,4,5,2,5,3,4,0,0,5,4,6,5] + [1,4,8,4,0,6,7,4,6,2,3,5,0,9,7,0,0] , A=[2] , C=0 , 5+0+0=5 , A->5 , C->0
[3,4,5,2,5,3,4,0,0,5,4,6] + [1,4,8,4,0,6,7,4,6,2,3,5,0,9,7,0] , A=[5,2] , C=0 , 6+0+0=6 , A->6 , C->0
[3,4,5,2,5,3,4,0,0,5,4] + [1,4,8,4,0,6,7,4,6,2,3,5,0,9,7] , A=[6,5,2] , C=0 , 4+7+0=11 , A->1 , C->1
[3,4,5,2,5,3,4,0,0,5] + [1,4,8,4,0,6,7,4,6,2,3,5,0,9] , A=[1,6,5,2] , C=1 , 5+9+1=15 , A->5 , C->1
[3,4,5,2,5,3,4,0,0] + [1,4,8,4,0,6,7,4,6,2,3,5,0] , A=[5,1,6,5,2] , C=1 , 0+0+1=1 , A->1 , C->0
[3,4,5,2,5,3,4,0] + [1,4,8,4,0,6,7,4,6,2,3,5] , A=[1,5,1,6,5,2] , C=0 , 0+5+0=5 , A->5 , C->0
[3,4,5,2,5,3,4] + [1,4,8,4,0,6,7,4,6,2,3] , A=[5,1,5,1,6,5,2] , C=0 , 4+3+0=7 , A->7 , C->0
[3,4,5,2,5,3] + [1,4,8,4,0,6,7,4,6,2] , A=[7,5,1,5,1,6,5,2] , C=0 , 3+2+0=5 , A->5 , C->0
[3,4,5,2,5] + [1,4,8,4,0,6,7,4,6] , A=[5,7,5,1,5,1,6,5,2] , C=0 , 5+6+0=11 , A->1 , C->1
[3,4,5,2] + [1,4,8,4,0,6,7,4] , A=[1,5,7,5,1,5,1,6,5,2] , C=1 , 2+4+1=7 , A->7 , C->0
[3,4,5] + [1,4,8,4,0,6,7] , A=[7,1,5,7,5,1,5,1,6,5,2] , C=0 , 5+7+0=12 , A->2 , C->1
[3,4] + [1,4,8,4,0,6] , A=[2,7,1,5,7,5,1,5,1,6,5,2] , C=1 , 4+6+1=11 , A->1 , C->1
[3] + [1,4,8,4,0] , A=[1,2,7,1,5,7,5,1,5,1,6,5,2] , C=1 , 3+0+1=4 , A->4 , C->0
[] + [1,4,8,4] , A=[4,1,2,7,1,5,7,5,1,5,1,6,5,2] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [1,4,8] , A=[4,4,1,2,7,1,5,7,5,1,5,1,6,5,2] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [1,4] , A=[8,4,4,1,2,7,1,5,7,5,1,5,1,6,5,2] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [1] , A=[4,8,4,4,1,2,7,1,5,7,5,1,5,1,6,5,2] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,4,8,4,4,1,2,7,1,5,7,5,1,5,1,6,5,2] C=0 , END
</scratch>
148441271575151652
| 148441271575151652 | 14 |
Input:
845137591523381168+601965484
Target:
| Input:
845137591523381168+601965484
Target:
[8,4,5,1,3,7,5,9,1,5,2,3,3,8,1,1,6,8] + [6,0,1,9,6,5,4,8,4] , A=[] , C=0 , 8+4+0=12 , A->2 , C->1
[8,4,5,1,3,7,5,9,1,5,2,3,3,8,1,1,6] + [6,0,1,9,6,5,4,8] , A=[2] , C=1 , 6+8+1=15 , A->5 , C->1
[8,4,5,1,3,7,5,9,1,5,2,3,3,8,1,1] + [6,0,1,9,6,5,4] , A=[5,2] , C=1 , 1+4+1=6 , A->6 , C->0
[8,4,5,1,3,7,5,9,1,5,2,3,3,8,1] + [6,0,1,9,6,5] , A=[6,5,2] , C=0 , 1+5+0=6 , A->6 , C->0
[8,4,5,1,3,7,5,9,1,5,2,3,3,8] + [6,0,1,9,6] , A=[6,6,5,2] , C=0 , 8+6+0=14 , A->4 , C->1
[8,4,5,1,3,7,5,9,1,5,2,3,3] + [6,0,1,9] , A=[4,6,6,5,2] , C=1 , 3+9+1=13 , A->3 , C->1
[8,4,5,1,3,7,5,9,1,5,2,3] + [6,0,1] , A=[3,4,6,6,5,2] , C=1 , 3+1+1=5 , A->5 , C->0
[8,4,5,1,3,7,5,9,1,5,2] + [6,0] , A=[5,3,4,6,6,5,2] , C=0 , 2+0+0=2 , A->2 , C->0
[8,4,5,1,3,7,5,9,1,5] + [6] , A=[2,5,3,4,6,6,5,2] , C=0 , 5+6+0=11 , A->1 , C->1
[8,4,5,1,3,7,5,9,1] + [] , A=[1,2,5,3,4,6,6,5,2] , C=1 , 1+0+1=2 , A->2 , C->0
[8,4,5,1,3,7,5,9] + [] , A=[2,1,2,5,3,4,6,6,5,2] , C=0 , 9+0+0=9 , A->9 , C->0
[8,4,5,1,3,7,5] + [] , A=[9,2,1,2,5,3,4,6,6,5,2] , C=0 , 5+0+0=5 , A->5 , C->0
[8,4,5,1,3,7] + [] , A=[5,9,2,1,2,5,3,4,6,6,5,2] , C=0 , 7+0+0=7 , A->7 , C->0
[8,4,5,1,3] + [] , A=[7,5,9,2,1,2,5,3,4,6,6,5,2] , C=0 , 3+0+0=3 , A->3 , C->0
[8,4,5,1] + [] , A=[3,7,5,9,2,1,2,5,3,4,6,6,5,2] , C=0 , 1+0+0=1 , A->1 , C->0
[8,4,5] + [] , A=[1,3,7,5,9,2,1,2,5,3,4,6,6,5,2] , C=0 , 5+0+0=5 , A->5 , C->0
[8,4] + [] , A=[5,1,3,7,5,9,2,1,2,5,3,4,6,6,5,2] , C=0 , 4+0+0=4 , A->4 , C->0
[8] + [] , A=[4,5,1,3,7,5,9,2,1,2,5,3,4,6,6,5,2] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,4,5,1,3,7,5,9,2,1,2,5,3,4,6,6,5,2] C=0 , END
</scratch>
845137592125346652
| 845137592125346652 | 9 |
Input:
27109076869281424+887290815165890460
Target:
| Input:
27109076869281424+887290815165890460
Target:
[2,7,1,0,9,0,7,6,8,6,9,2,8,1,4,2,4] + [8,8,7,2,9,0,8,1,5,1,6,5,8,9,0,4,6,0] , A=[] , C=0 , 4+0+0=4 , A->4 , C->0
[2,7,1,0,9,0,7,6,8,6,9,2,8,1,4,2] + [8,8,7,2,9,0,8,1,5,1,6,5,8,9,0,4,6] , A=[4] , C=0 , 2+6+0=8 , A->8 , C->0
[2,7,1,0,9,0,7,6,8,6,9,2,8,1,4] + [8,8,7,2,9,0,8,1,5,1,6,5,8,9,0,4] , A=[8,4] , C=0 , 4+4+0=8 , A->8 , C->0
[2,7,1,0,9,0,7,6,8,6,9,2,8,1] + [8,8,7,2,9,0,8,1,5,1,6,5,8,9,0] , A=[8,8,4] , C=0 , 1+0+0=1 , A->1 , C->0
[2,7,1,0,9,0,7,6,8,6,9,2,8] + [8,8,7,2,9,0,8,1,5,1,6,5,8,9] , A=[1,8,8,4] , C=0 , 8+9+0=17 , A->7 , C->1
[2,7,1,0,9,0,7,6,8,6,9,2] + [8,8,7,2,9,0,8,1,5,1,6,5,8] , A=[7,1,8,8,4] , C=1 , 2+8+1=11 , A->1 , C->1
[2,7,1,0,9,0,7,6,8,6,9] + [8,8,7,2,9,0,8,1,5,1,6,5] , A=[1,7,1,8,8,4] , C=1 , 9+5+1=15 , A->5 , C->1
[2,7,1,0,9,0,7,6,8,6] + [8,8,7,2,9,0,8,1,5,1,6] , A=[5,1,7,1,8,8,4] , C=1 , 6+6+1=13 , A->3 , C->1
[2,7,1,0,9,0,7,6,8] + [8,8,7,2,9,0,8,1,5,1] , A=[3,5,1,7,1,8,8,4] , C=1 , 8+1+1=10 , A->0 , C->1
[2,7,1,0,9,0,7,6] + [8,8,7,2,9,0,8,1,5] , A=[0,3,5,1,7,1,8,8,4] , C=1 , 6+5+1=12 , A->2 , C->1
[2,7,1,0,9,0,7] + [8,8,7,2,9,0,8,1] , A=[2,0,3,5,1,7,1,8,8,4] , C=1 , 7+1+1=9 , A->9 , C->0
[2,7,1,0,9,0] + [8,8,7,2,9,0,8] , A=[9,2,0,3,5,1,7,1,8,8,4] , C=0 , 0+8+0=8 , A->8 , C->0
[2,7,1,0,9] + [8,8,7,2,9,0] , A=[8,9,2,0,3,5,1,7,1,8,8,4] , C=0 , 9+0+0=9 , A->9 , C->0
[2,7,1,0] + [8,8,7,2,9] , A=[9,8,9,2,0,3,5,1,7,1,8,8,4] , C=0 , 0+9+0=9 , A->9 , C->0
[2,7,1] + [8,8,7,2] , A=[9,9,8,9,2,0,3,5,1,7,1,8,8,4] , C=0 , 1+2+0=3 , A->3 , C->0
[2,7] + [8,8,7] , A=[3,9,9,8,9,2,0,3,5,1,7,1,8,8,4] , C=0 , 7+7+0=14 , A->4 , C->1
[2] + [8,8] , A=[4,3,9,9,8,9,2,0,3,5,1,7,1,8,8,4] , C=1 , 2+8+1=11 , A->1 , C->1
[] + [8] , A=[1,4,3,9,9,8,9,2,0,3,5,1,7,1,8,8,4] , C=1 , 0+8+1=9 , A->9 , C->0
[] + [] , A=[9,1,4,3,9,9,8,9,2,0,3,5,1,7,1,8,8,4] C=0 , END
</scratch>
914399892035171884
| 914399892035171884 | 17 |
Input:
802738867926711019+5228089010161301
Target:
| Input:
802738867926711019+5228089010161301
Target:
[8,0,2,7,3,8,8,6,7,9,2,6,7,1,1,0,1,9] + [5,2,2,8,0,8,9,0,1,0,1,6,1,3,0,1] , A=[] , C=0 , 9+1+0=10 , A->0 , C->1
[8,0,2,7,3,8,8,6,7,9,2,6,7,1,1,0,1] + [5,2,2,8,0,8,9,0,1,0,1,6,1,3,0] , A=[0] , C=1 , 1+0+1=2 , A->2 , C->0
[8,0,2,7,3,8,8,6,7,9,2,6,7,1,1,0] + [5,2,2,8,0,8,9,0,1,0,1,6,1,3] , A=[2,0] , C=0 , 0+3+0=3 , A->3 , C->0
[8,0,2,7,3,8,8,6,7,9,2,6,7,1,1] + [5,2,2,8,0,8,9,0,1,0,1,6,1] , A=[3,2,0] , C=0 , 1+1+0=2 , A->2 , C->0
[8,0,2,7,3,8,8,6,7,9,2,6,7,1] + [5,2,2,8,0,8,9,0,1,0,1,6] , A=[2,3,2,0] , C=0 , 1+6+0=7 , A->7 , C->0
[8,0,2,7,3,8,8,6,7,9,2,6,7] + [5,2,2,8,0,8,9,0,1,0,1] , A=[7,2,3,2,0] , C=0 , 7+1+0=8 , A->8 , C->0
[8,0,2,7,3,8,8,6,7,9,2,6] + [5,2,2,8,0,8,9,0,1,0] , A=[8,7,2,3,2,0] , C=0 , 6+0+0=6 , A->6 , C->0
[8,0,2,7,3,8,8,6,7,9,2] + [5,2,2,8,0,8,9,0,1] , A=[6,8,7,2,3,2,0] , C=0 , 2+1+0=3 , A->3 , C->0
[8,0,2,7,3,8,8,6,7,9] + [5,2,2,8,0,8,9,0] , A=[3,6,8,7,2,3,2,0] , C=0 , 9+0+0=9 , A->9 , C->0
[8,0,2,7,3,8,8,6,7] + [5,2,2,8,0,8,9] , A=[9,3,6,8,7,2,3,2,0] , C=0 , 7+9+0=16 , A->6 , C->1
[8,0,2,7,3,8,8,6] + [5,2,2,8,0,8] , A=[6,9,3,6,8,7,2,3,2,0] , C=1 , 6+8+1=15 , A->5 , C->1
[8,0,2,7,3,8,8] + [5,2,2,8,0] , A=[5,6,9,3,6,8,7,2,3,2,0] , C=1 , 8+0+1=9 , A->9 , C->0
[8,0,2,7,3,8] + [5,2,2,8] , A=[9,5,6,9,3,6,8,7,2,3,2,0] , C=0 , 8+8+0=16 , A->6 , C->1
[8,0,2,7,3] + [5,2,2] , A=[6,9,5,6,9,3,6,8,7,2,3,2,0] , C=1 , 3+2+1=6 , A->6 , C->0
[8,0,2,7] + [5,2] , A=[6,6,9,5,6,9,3,6,8,7,2,3,2,0] , C=0 , 7+2+0=9 , A->9 , C->0
[8,0,2] + [5] , A=[9,6,6,9,5,6,9,3,6,8,7,2,3,2,0] , C=0 , 2+5+0=7 , A->7 , C->0
[8,0] + [] , A=[7,9,6,6,9,5,6,9,3,6,8,7,2,3,2,0] , C=0 , 0+0+0=0 , A->0 , C->0
[8] + [] , A=[0,7,9,6,6,9,5,6,9,3,6,8,7,2,3,2,0] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,0,7,9,6,6,9,5,6,9,3,6,8,7,2,3,2,0] C=0 , END
</scratch>
807966956936872320
| 807966956936872320 | 16 |
Input:
673+152338608376470019
Target:
| Input:
673+152338608376470019
Target:
[6,7,3] + [1,5,2,3,3,8,6,0,8,3,7,6,4,7,0,0,1,9] , A=[] , C=0 , 3+9+0=12 , A->2 , C->1
[6,7] + [1,5,2,3,3,8,6,0,8,3,7,6,4,7,0,0,1] , A=[2] , C=1 , 7+1+1=9 , A->9 , C->0
[6] + [1,5,2,3,3,8,6,0,8,3,7,6,4,7,0,0] , A=[9,2] , C=0 , 6+0+0=6 , A->6 , C->0
[] + [1,5,2,3,3,8,6,0,8,3,7,6,4,7,0] , A=[6,9,2] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [1,5,2,3,3,8,6,0,8,3,7,6,4,7] , A=[0,6,9,2] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [1,5,2,3,3,8,6,0,8,3,7,6,4] , A=[7,0,6,9,2] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [1,5,2,3,3,8,6,0,8,3,7,6] , A=[4,7,0,6,9,2] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [1,5,2,3,3,8,6,0,8,3,7] , A=[6,4,7,0,6,9,2] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [1,5,2,3,3,8,6,0,8,3] , A=[7,6,4,7,0,6,9,2] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [1,5,2,3,3,8,6,0,8] , A=[3,7,6,4,7,0,6,9,2] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [1,5,2,3,3,8,6,0] , A=[8,3,7,6,4,7,0,6,9,2] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [1,5,2,3,3,8,6] , A=[0,8,3,7,6,4,7,0,6,9,2] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [1,5,2,3,3,8] , A=[6,0,8,3,7,6,4,7,0,6,9,2] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [1,5,2,3,3] , A=[8,6,0,8,3,7,6,4,7,0,6,9,2] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [1,5,2,3] , A=[3,8,6,0,8,3,7,6,4,7,0,6,9,2] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [1,5,2] , A=[3,3,8,6,0,8,3,7,6,4,7,0,6,9,2] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [1,5] , A=[2,3,3,8,6,0,8,3,7,6,4,7,0,6,9,2] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1] , A=[5,2,3,3,8,6,0,8,3,7,6,4,7,0,6,9,2] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,5,2,3,3,8,6,0,8,3,7,6,4,7,0,6,9,2] C=0 , END
</scratch>
152338608376470692
| 152338608376470692 | 3 |
Input:
247699369151657571+547769210174346301
Target:
| Input:
247699369151657571+547769210174346301
Target:
[2,4,7,6,9,9,3,6,9,1,5,1,6,5,7,5,7,1] + [5,4,7,7,6,9,2,1,0,1,7,4,3,4,6,3,0,1] , A=[] , C=0 , 1+1+0=2 , A->2 , C->0
[2,4,7,6,9,9,3,6,9,1,5,1,6,5,7,5,7] + [5,4,7,7,6,9,2,1,0,1,7,4,3,4,6,3,0] , A=[2] , C=0 , 7+0+0=7 , A->7 , C->0
[2,4,7,6,9,9,3,6,9,1,5,1,6,5,7,5] + [5,4,7,7,6,9,2,1,0,1,7,4,3,4,6,3] , A=[7,2] , C=0 , 5+3+0=8 , A->8 , C->0
[2,4,7,6,9,9,3,6,9,1,5,1,6,5,7] + [5,4,7,7,6,9,2,1,0,1,7,4,3,4,6] , A=[8,7,2] , C=0 , 7+6+0=13 , A->3 , C->1
[2,4,7,6,9,9,3,6,9,1,5,1,6,5] + [5,4,7,7,6,9,2,1,0,1,7,4,3,4] , A=[3,8,7,2] , C=1 , 5+4+1=10 , A->0 , C->1
[2,4,7,6,9,9,3,6,9,1,5,1,6] + [5,4,7,7,6,9,2,1,0,1,7,4,3] , A=[0,3,8,7,2] , C=1 , 6+3+1=10 , A->0 , C->1
[2,4,7,6,9,9,3,6,9,1,5,1] + [5,4,7,7,6,9,2,1,0,1,7,4] , A=[0,0,3,8,7,2] , C=1 , 1+4+1=6 , A->6 , C->0
[2,4,7,6,9,9,3,6,9,1,5] + [5,4,7,7,6,9,2,1,0,1,7] , A=[6,0,0,3,8,7,2] , C=0 , 5+7+0=12 , A->2 , C->1
[2,4,7,6,9,9,3,6,9,1] + [5,4,7,7,6,9,2,1,0,1] , A=[2,6,0,0,3,8,7,2] , C=1 , 1+1+1=3 , A->3 , C->0
[2,4,7,6,9,9,3,6,9] + [5,4,7,7,6,9,2,1,0] , A=[3,2,6,0,0,3,8,7,2] , C=0 , 9+0+0=9 , A->9 , C->0
[2,4,7,6,9,9,3,6] + [5,4,7,7,6,9,2,1] , A=[9,3,2,6,0,0,3,8,7,2] , C=0 , 6+1+0=7 , A->7 , C->0
[2,4,7,6,9,9,3] + [5,4,7,7,6,9,2] , A=[7,9,3,2,6,0,0,3,8,7,2] , C=0 , 3+2+0=5 , A->5 , C->0
[2,4,7,6,9,9] + [5,4,7,7,6,9] , A=[5,7,9,3,2,6,0,0,3,8,7,2] , C=0 , 9+9+0=18 , A->8 , C->1
[2,4,7,6,9] + [5,4,7,7,6] , A=[8,5,7,9,3,2,6,0,0,3,8,7,2] , C=1 , 9+6+1=16 , A->6 , C->1
[2,4,7,6] + [5,4,7,7] , A=[6,8,5,7,9,3,2,6,0,0,3,8,7,2] , C=1 , 6+7+1=14 , A->4 , C->1
[2,4,7] + [5,4,7] , A=[4,6,8,5,7,9,3,2,6,0,0,3,8,7,2] , C=1 , 7+7+1=15 , A->5 , C->1
[2,4] + [5,4] , A=[5,4,6,8,5,7,9,3,2,6,0,0,3,8,7,2] , C=1 , 4+4+1=9 , A->9 , C->0
[2] + [5] , A=[9,5,4,6,8,5,7,9,3,2,6,0,0,3,8,7,2] , C=0 , 2+5+0=7 , A->7 , C->0
[] + [] , A=[7,9,5,4,6,8,5,7,9,3,2,6,0,0,3,8,7,2] C=0 , END
</scratch>
795468579326003872
| 795468579326003872 | 18 |
Input:
769859542608137660+9
Target:
| Input:
769859542608137660+9
Target:
[7,6,9,8,5,9,5,4,2,6,0,8,1,3,7,6,6,0] + [9] , A=[] , C=0 , 0+9+0=9 , A->9 , C->0
[7,6,9,8,5,9,5,4,2,6,0,8,1,3,7,6,6] + [] , A=[9] , C=0 , 6+0+0=6 , A->6 , C->0
[7,6,9,8,5,9,5,4,2,6,0,8,1,3,7,6] + [] , A=[6,9] , C=0 , 6+0+0=6 , A->6 , C->0
[7,6,9,8,5,9,5,4,2,6,0,8,1,3,7] + [] , A=[6,6,9] , C=0 , 7+0+0=7 , A->7 , C->0
[7,6,9,8,5,9,5,4,2,6,0,8,1,3] + [] , A=[7,6,6,9] , C=0 , 3+0+0=3 , A->3 , C->0
[7,6,9,8,5,9,5,4,2,6,0,8,1] + [] , A=[3,7,6,6,9] , C=0 , 1+0+0=1 , A->1 , C->0
[7,6,9,8,5,9,5,4,2,6,0,8] + [] , A=[1,3,7,6,6,9] , C=0 , 8+0+0=8 , A->8 , C->0
[7,6,9,8,5,9,5,4,2,6,0] + [] , A=[8,1,3,7,6,6,9] , C=0 , 0+0+0=0 , A->0 , C->0
[7,6,9,8,5,9,5,4,2,6] + [] , A=[0,8,1,3,7,6,6,9] , C=0 , 6+0+0=6 , A->6 , C->0
[7,6,9,8,5,9,5,4,2] + [] , A=[6,0,8,1,3,7,6,6,9] , C=0 , 2+0+0=2 , A->2 , C->0
[7,6,9,8,5,9,5,4] + [] , A=[2,6,0,8,1,3,7,6,6,9] , C=0 , 4+0+0=4 , A->4 , C->0
[7,6,9,8,5,9,5] + [] , A=[4,2,6,0,8,1,3,7,6,6,9] , C=0 , 5+0+0=5 , A->5 , C->0
[7,6,9,8,5,9] + [] , A=[5,4,2,6,0,8,1,3,7,6,6,9] , C=0 , 9+0+0=9 , A->9 , C->0
[7,6,9,8,5] + [] , A=[9,5,4,2,6,0,8,1,3,7,6,6,9] , C=0 , 5+0+0=5 , A->5 , C->0
[7,6,9,8] + [] , A=[5,9,5,4,2,6,0,8,1,3,7,6,6,9] , C=0 , 8+0+0=8 , A->8 , C->0
[7,6,9] + [] , A=[8,5,9,5,4,2,6,0,8,1,3,7,6,6,9] , C=0 , 9+0+0=9 , A->9 , C->0
[7,6] + [] , A=[9,8,5,9,5,4,2,6,0,8,1,3,7,6,6,9] , C=0 , 6+0+0=6 , A->6 , C->0
[7] + [] , A=[6,9,8,5,9,5,4,2,6,0,8,1,3,7,6,6,9] , C=0 , 7+0+0=7 , A->7 , C->0
[] + [] , A=[7,6,9,8,5,9,5,4,2,6,0,8,1,3,7,6,6,9] C=0 , END
</scratch>
769859542608137669
| 769859542608137669 | 1 |
Input:
601248023432779916+44
Target:
| Input:
601248023432779916+44
Target:
[6,0,1,2,4,8,0,2,3,4,3,2,7,7,9,9,1,6] + [4,4] , A=[] , C=0 , 6+4+0=10 , A->0 , C->1
[6,0,1,2,4,8,0,2,3,4,3,2,7,7,9,9,1] + [4] , A=[0] , C=1 , 1+4+1=6 , A->6 , C->0
[6,0,1,2,4,8,0,2,3,4,3,2,7,7,9,9] + [] , A=[6,0] , C=0 , 9+0+0=9 , A->9 , C->0
[6,0,1,2,4,8,0,2,3,4,3,2,7,7,9] + [] , A=[9,6,0] , C=0 , 9+0+0=9 , A->9 , C->0
[6,0,1,2,4,8,0,2,3,4,3,2,7,7] + [] , A=[9,9,6,0] , C=0 , 7+0+0=7 , A->7 , C->0
[6,0,1,2,4,8,0,2,3,4,3,2,7] + [] , A=[7,9,9,6,0] , C=0 , 7+0+0=7 , A->7 , C->0
[6,0,1,2,4,8,0,2,3,4,3,2] + [] , A=[7,7,9,9,6,0] , C=0 , 2+0+0=2 , A->2 , C->0
[6,0,1,2,4,8,0,2,3,4,3] + [] , A=[2,7,7,9,9,6,0] , C=0 , 3+0+0=3 , A->3 , C->0
[6,0,1,2,4,8,0,2,3,4] + [] , A=[3,2,7,7,9,9,6,0] , C=0 , 4+0+0=4 , A->4 , C->0
[6,0,1,2,4,8,0,2,3] + [] , A=[4,3,2,7,7,9,9,6,0] , C=0 , 3+0+0=3 , A->3 , C->0
[6,0,1,2,4,8,0,2] + [] , A=[3,4,3,2,7,7,9,9,6,0] , C=0 , 2+0+0=2 , A->2 , C->0
[6,0,1,2,4,8,0] + [] , A=[2,3,4,3,2,7,7,9,9,6,0] , C=0 , 0+0+0=0 , A->0 , C->0
[6,0,1,2,4,8] + [] , A=[0,2,3,4,3,2,7,7,9,9,6,0] , C=0 , 8+0+0=8 , A->8 , C->0
[6,0,1,2,4] + [] , A=[8,0,2,3,4,3,2,7,7,9,9,6,0] , C=0 , 4+0+0=4 , A->4 , C->0
[6,0,1,2] + [] , A=[4,8,0,2,3,4,3,2,7,7,9,9,6,0] , C=0 , 2+0+0=2 , A->2 , C->0
[6,0,1] + [] , A=[2,4,8,0,2,3,4,3,2,7,7,9,9,6,0] , C=0 , 1+0+0=1 , A->1 , C->0
[6,0] + [] , A=[1,2,4,8,0,2,3,4,3,2,7,7,9,9,6,0] , C=0 , 0+0+0=0 , A->0 , C->0
[6] + [] , A=[0,1,2,4,8,0,2,3,4,3,2,7,7,9,9,6,0] , C=0 , 6+0+0=6 , A->6 , C->0
[] + [] , A=[6,0,1,2,4,8,0,2,3,4,3,2,7,7,9,9,6,0] C=0 , END
</scratch>
601248023432779960
| 601248023432779960 | 2 |
Input:
9439211188615560+247862138080611900
Target:
| Input:
9439211188615560+247862138080611900
Target:
[9,4,3,9,2,1,1,1,8,8,6,1,5,5,6,0] + [2,4,7,8,6,2,1,3,8,0,8,0,6,1,1,9,0,0] , A=[] , C=0 , 0+0+0=0 , A->0 , C->0
[9,4,3,9,2,1,1,1,8,8,6,1,5,5,6] + [2,4,7,8,6,2,1,3,8,0,8,0,6,1,1,9,0] , A=[0] , C=0 , 6+0+0=6 , A->6 , C->0
[9,4,3,9,2,1,1,1,8,8,6,1,5,5] + [2,4,7,8,6,2,1,3,8,0,8,0,6,1,1,9] , A=[6,0] , C=0 , 5+9+0=14 , A->4 , C->1
[9,4,3,9,2,1,1,1,8,8,6,1,5] + [2,4,7,8,6,2,1,3,8,0,8,0,6,1,1] , A=[4,6,0] , C=1 , 5+1+1=7 , A->7 , C->0
[9,4,3,9,2,1,1,1,8,8,6,1] + [2,4,7,8,6,2,1,3,8,0,8,0,6,1] , A=[7,4,6,0] , C=0 , 1+1+0=2 , A->2 , C->0
[9,4,3,9,2,1,1,1,8,8,6] + [2,4,7,8,6,2,1,3,8,0,8,0,6] , A=[2,7,4,6,0] , C=0 , 6+6+0=12 , A->2 , C->1
[9,4,3,9,2,1,1,1,8,8] + [2,4,7,8,6,2,1,3,8,0,8,0] , A=[2,2,7,4,6,0] , C=1 , 8+0+1=9 , A->9 , C->0
[9,4,3,9,2,1,1,1,8] + [2,4,7,8,6,2,1,3,8,0,8] , A=[9,2,2,7,4,6,0] , C=0 , 8+8+0=16 , A->6 , C->1
[9,4,3,9,2,1,1,1] + [2,4,7,8,6,2,1,3,8,0] , A=[6,9,2,2,7,4,6,0] , C=1 , 1+0+1=2 , A->2 , C->0
[9,4,3,9,2,1,1] + [2,4,7,8,6,2,1,3,8] , A=[2,6,9,2,2,7,4,6,0] , C=0 , 1+8+0=9 , A->9 , C->0
[9,4,3,9,2,1] + [2,4,7,8,6,2,1,3] , A=[9,2,6,9,2,2,7,4,6,0] , C=0 , 1+3+0=4 , A->4 , C->0
[9,4,3,9,2] + [2,4,7,8,6,2,1] , A=[4,9,2,6,9,2,2,7,4,6,0] , C=0 , 2+1+0=3 , A->3 , C->0
[9,4,3,9] + [2,4,7,8,6,2] , A=[3,4,9,2,6,9,2,2,7,4,6,0] , C=0 , 9+2+0=11 , A->1 , C->1
[9,4,3] + [2,4,7,8,6] , A=[1,3,4,9,2,6,9,2,2,7,4,6,0] , C=1 , 3+6+1=10 , A->0 , C->1
[9,4] + [2,4,7,8] , A=[0,1,3,4,9,2,6,9,2,2,7,4,6,0] , C=1 , 4+8+1=13 , A->3 , C->1
[9] + [2,4,7] , A=[3,0,1,3,4,9,2,6,9,2,2,7,4,6,0] , C=1 , 9+7+1=17 , A->7 , C->1
[] + [2,4] , A=[7,3,0,1,3,4,9,2,6,9,2,2,7,4,6,0] , C=1 , 0+4+1=5 , A->5 , C->0
[] + [2] , A=[5,7,3,0,1,3,4,9,2,6,9,2,2,7,4,6,0] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,5,7,3,0,1,3,4,9,2,6,9,2,2,7,4,6,0] C=0 , END
</scratch>
257301349269227460
| 257301349269227460 | 16 |
Input:
701666864019468276+63
Target:
| Input:
701666864019468276+63
Target:
[7,0,1,6,6,6,8,6,4,0,1,9,4,6,8,2,7,6] + [6,3] , A=[] , C=0 , 6+3+0=9 , A->9 , C->0
[7,0,1,6,6,6,8,6,4,0,1,9,4,6,8,2,7] + [6] , A=[9] , C=0 , 7+6+0=13 , A->3 , C->1
[7,0,1,6,6,6,8,6,4,0,1,9,4,6,8,2] + [] , A=[3,9] , C=1 , 2+0+1=3 , A->3 , C->0
[7,0,1,6,6,6,8,6,4,0,1,9,4,6,8] + [] , A=[3,3,9] , C=0 , 8+0+0=8 , A->8 , C->0
[7,0,1,6,6,6,8,6,4,0,1,9,4,6] + [] , A=[8,3,3,9] , C=0 , 6+0+0=6 , A->6 , C->0
[7,0,1,6,6,6,8,6,4,0,1,9,4] + [] , A=[6,8,3,3,9] , C=0 , 4+0+0=4 , A->4 , C->0
[7,0,1,6,6,6,8,6,4,0,1,9] + [] , A=[4,6,8,3,3,9] , C=0 , 9+0+0=9 , A->9 , C->0
[7,0,1,6,6,6,8,6,4,0,1] + [] , A=[9,4,6,8,3,3,9] , C=0 , 1+0+0=1 , A->1 , C->0
[7,0,1,6,6,6,8,6,4,0] + [] , A=[1,9,4,6,8,3,3,9] , C=0 , 0+0+0=0 , A->0 , C->0
[7,0,1,6,6,6,8,6,4] + [] , A=[0,1,9,4,6,8,3,3,9] , C=0 , 4+0+0=4 , A->4 , C->0
[7,0,1,6,6,6,8,6] + [] , A=[4,0,1,9,4,6,8,3,3,9] , C=0 , 6+0+0=6 , A->6 , C->0
[7,0,1,6,6,6,8] + [] , A=[6,4,0,1,9,4,6,8,3,3,9] , C=0 , 8+0+0=8 , A->8 , C->0
[7,0,1,6,6,6] + [] , A=[8,6,4,0,1,9,4,6,8,3,3,9] , C=0 , 6+0+0=6 , A->6 , C->0
[7,0,1,6,6] + [] , A=[6,8,6,4,0,1,9,4,6,8,3,3,9] , C=0 , 6+0+0=6 , A->6 , C->0
[7,0,1,6] + [] , A=[6,6,8,6,4,0,1,9,4,6,8,3,3,9] , C=0 , 6+0+0=6 , A->6 , C->0
[7,0,1] + [] , A=[6,6,6,8,6,4,0,1,9,4,6,8,3,3,9] , C=0 , 1+0+0=1 , A->1 , C->0
[7,0] + [] , A=[1,6,6,6,8,6,4,0,1,9,4,6,8,3,3,9] , C=0 , 0+0+0=0 , A->0 , C->0
[7] + [] , A=[0,1,6,6,6,8,6,4,0,1,9,4,6,8,3,3,9] , C=0 , 7+0+0=7 , A->7 , C->0
[] + [] , A=[7,0,1,6,6,6,8,6,4,0,1,9,4,6,8,3,3,9] C=0 , END
</scratch>
701666864019468339
| 701666864019468339 | 2 |
Input:
853235318313083657+601672983
Target:
| Input:
853235318313083657+601672983
Target:
[8,5,3,2,3,5,3,1,8,3,1,3,0,8,3,6,5,7] + [6,0,1,6,7,2,9,8,3] , A=[] , C=0 , 7+3+0=10 , A->0 , C->1
[8,5,3,2,3,5,3,1,8,3,1,3,0,8,3,6,5] + [6,0,1,6,7,2,9,8] , A=[0] , C=1 , 5+8+1=14 , A->4 , C->1
[8,5,3,2,3,5,3,1,8,3,1,3,0,8,3,6] + [6,0,1,6,7,2,9] , A=[4,0] , C=1 , 6+9+1=16 , A->6 , C->1
[8,5,3,2,3,5,3,1,8,3,1,3,0,8,3] + [6,0,1,6,7,2] , A=[6,4,0] , C=1 , 3+2+1=6 , A->6 , C->0
[8,5,3,2,3,5,3,1,8,3,1,3,0,8] + [6,0,1,6,7] , A=[6,6,4,0] , C=0 , 8+7+0=15 , A->5 , C->1
[8,5,3,2,3,5,3,1,8,3,1,3,0] + [6,0,1,6] , A=[5,6,6,4,0] , C=1 , 0+6+1=7 , A->7 , C->0
[8,5,3,2,3,5,3,1,8,3,1,3] + [6,0,1] , A=[7,5,6,6,4,0] , C=0 , 3+1+0=4 , A->4 , C->0
[8,5,3,2,3,5,3,1,8,3,1] + [6,0] , A=[4,7,5,6,6,4,0] , C=0 , 1+0+0=1 , A->1 , C->0
[8,5,3,2,3,5,3,1,8,3] + [6] , A=[1,4,7,5,6,6,4,0] , C=0 , 3+6+0=9 , A->9 , C->0
[8,5,3,2,3,5,3,1,8] + [] , A=[9,1,4,7,5,6,6,4,0] , C=0 , 8+0+0=8 , A->8 , C->0
[8,5,3,2,3,5,3,1] + [] , A=[8,9,1,4,7,5,6,6,4,0] , C=0 , 1+0+0=1 , A->1 , C->0
[8,5,3,2,3,5,3] + [] , A=[1,8,9,1,4,7,5,6,6,4,0] , C=0 , 3+0+0=3 , A->3 , C->0
[8,5,3,2,3,5] + [] , A=[3,1,8,9,1,4,7,5,6,6,4,0] , C=0 , 5+0+0=5 , A->5 , C->0
[8,5,3,2,3] + [] , A=[5,3,1,8,9,1,4,7,5,6,6,4,0] , C=0 , 3+0+0=3 , A->3 , C->0
[8,5,3,2] + [] , A=[3,5,3,1,8,9,1,4,7,5,6,6,4,0] , C=0 , 2+0+0=2 , A->2 , C->0
[8,5,3] + [] , A=[2,3,5,3,1,8,9,1,4,7,5,6,6,4,0] , C=0 , 3+0+0=3 , A->3 , C->0
[8,5] + [] , A=[3,2,3,5,3,1,8,9,1,4,7,5,6,6,4,0] , C=0 , 5+0+0=5 , A->5 , C->0
[8] + [] , A=[5,3,2,3,5,3,1,8,9,1,4,7,5,6,6,4,0] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,5,3,2,3,5,3,1,8,9,1,4,7,5,6,6,4,0] C=0 , END
</scratch>
853235318914756640
| 853235318914756640 | 9 |
Input:
638080615532480498+950758820608523
Target:
| Input:
638080615532480498+950758820608523
Target:
[6,3,8,0,8,0,6,1,5,5,3,2,4,8,0,4,9,8] + [9,5,0,7,5,8,8,2,0,6,0,8,5,2,3] , A=[] , C=0 , 8+3+0=11 , A->1 , C->1
[6,3,8,0,8,0,6,1,5,5,3,2,4,8,0,4,9] + [9,5,0,7,5,8,8,2,0,6,0,8,5,2] , A=[1] , C=1 , 9+2+1=12 , A->2 , C->1
[6,3,8,0,8,0,6,1,5,5,3,2,4,8,0,4] + [9,5,0,7,5,8,8,2,0,6,0,8,5] , A=[2,1] , C=1 , 4+5+1=10 , A->0 , C->1
[6,3,8,0,8,0,6,1,5,5,3,2,4,8,0] + [9,5,0,7,5,8,8,2,0,6,0,8] , A=[0,2,1] , C=1 , 0+8+1=9 , A->9 , C->0
[6,3,8,0,8,0,6,1,5,5,3,2,4,8] + [9,5,0,7,5,8,8,2,0,6,0] , A=[9,0,2,1] , C=0 , 8+0+0=8 , A->8 , C->0
[6,3,8,0,8,0,6,1,5,5,3,2,4] + [9,5,0,7,5,8,8,2,0,6] , A=[8,9,0,2,1] , C=0 , 4+6+0=10 , A->0 , C->1
[6,3,8,0,8,0,6,1,5,5,3,2] + [9,5,0,7,5,8,8,2,0] , A=[0,8,9,0,2,1] , C=1 , 2+0+1=3 , A->3 , C->0
[6,3,8,0,8,0,6,1,5,5,3] + [9,5,0,7,5,8,8,2] , A=[3,0,8,9,0,2,1] , C=0 , 3+2+0=5 , A->5 , C->0
[6,3,8,0,8,0,6,1,5,5] + [9,5,0,7,5,8,8] , A=[5,3,0,8,9,0,2,1] , C=0 , 5+8+0=13 , A->3 , C->1
[6,3,8,0,8,0,6,1,5] + [9,5,0,7,5,8] , A=[3,5,3,0,8,9,0,2,1] , C=1 , 5+8+1=14 , A->4 , C->1
[6,3,8,0,8,0,6,1] + [9,5,0,7,5] , A=[4,3,5,3,0,8,9,0,2,1] , C=1 , 1+5+1=7 , A->7 , C->0
[6,3,8,0,8,0,6] + [9,5,0,7] , A=[7,4,3,5,3,0,8,9,0,2,1] , C=0 , 6+7+0=13 , A->3 , C->1
[6,3,8,0,8,0] + [9,5,0] , A=[3,7,4,3,5,3,0,8,9,0,2,1] , C=1 , 0+0+1=1 , A->1 , C->0
[6,3,8,0,8] + [9,5] , A=[1,3,7,4,3,5,3,0,8,9,0,2,1] , C=0 , 8+5+0=13 , A->3 , C->1
[6,3,8,0] + [9] , A=[3,1,3,7,4,3,5,3,0,8,9,0,2,1] , C=1 , 0+9+1=10 , A->0 , C->1
[6,3,8] + [] , A=[0,3,1,3,7,4,3,5,3,0,8,9,0,2,1] , C=1 , 8+0+1=9 , A->9 , C->0
[6,3] + [] , A=[9,0,3,1,3,7,4,3,5,3,0,8,9,0,2,1] , C=0 , 3+0+0=3 , A->3 , C->0
[6] + [] , A=[3,9,0,3,1,3,7,4,3,5,3,0,8,9,0,2,1] , C=0 , 6+0+0=6 , A->6 , C->0
[] + [] , A=[6,3,9,0,3,1,3,7,4,3,5,3,0,8,9,0,2,1] C=0 , END
</scratch>
639031374353089021
| 639031374353089021 | 15 |
Input:
673767722917+881950396507581028
Target:
| Input:
673767722917+881950396507581028
Target:
[6,7,3,7,6,7,7,2,2,9,1,7] + [8,8,1,9,5,0,3,9,6,5,0,7,5,8,1,0,2,8] , A=[] , C=0 , 7+8+0=15 , A->5 , C->1
[6,7,3,7,6,7,7,2,2,9,1] + [8,8,1,9,5,0,3,9,6,5,0,7,5,8,1,0,2] , A=[5] , C=1 , 1+2+1=4 , A->4 , C->0
[6,7,3,7,6,7,7,2,2,9] + [8,8,1,9,5,0,3,9,6,5,0,7,5,8,1,0] , A=[4,5] , C=0 , 9+0+0=9 , A->9 , C->0
[6,7,3,7,6,7,7,2,2] + [8,8,1,9,5,0,3,9,6,5,0,7,5,8,1] , A=[9,4,5] , C=0 , 2+1+0=3 , A->3 , C->0
[6,7,3,7,6,7,7,2] + [8,8,1,9,5,0,3,9,6,5,0,7,5,8] , A=[3,9,4,5] , C=0 , 2+8+0=10 , A->0 , C->1
[6,7,3,7,6,7,7] + [8,8,1,9,5,0,3,9,6,5,0,7,5] , A=[0,3,9,4,5] , C=1 , 7+5+1=13 , A->3 , C->1
[6,7,3,7,6,7] + [8,8,1,9,5,0,3,9,6,5,0,7] , A=[3,0,3,9,4,5] , C=1 , 7+7+1=15 , A->5 , C->1
[6,7,3,7,6] + [8,8,1,9,5,0,3,9,6,5,0] , A=[5,3,0,3,9,4,5] , C=1 , 6+0+1=7 , A->7 , C->0
[6,7,3,7] + [8,8,1,9,5,0,3,9,6,5] , A=[7,5,3,0,3,9,4,5] , C=0 , 7+5+0=12 , A->2 , C->1
[6,7,3] + [8,8,1,9,5,0,3,9,6] , A=[2,7,5,3,0,3,9,4,5] , C=1 , 3+6+1=10 , A->0 , C->1
[6,7] + [8,8,1,9,5,0,3,9] , A=[0,2,7,5,3,0,3,9,4,5] , C=1 , 7+9+1=17 , A->7 , C->1
[6] + [8,8,1,9,5,0,3] , A=[7,0,2,7,5,3,0,3,9,4,5] , C=1 , 6+3+1=10 , A->0 , C->1
[] + [8,8,1,9,5,0] , A=[0,7,0,2,7,5,3,0,3,9,4,5] , C=1 , 0+0+1=1 , A->1 , C->0
[] + [8,8,1,9,5] , A=[1,0,7,0,2,7,5,3,0,3,9,4,5] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [8,8,1,9] , A=[5,1,0,7,0,2,7,5,3,0,3,9,4,5] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [8,8,1] , A=[9,5,1,0,7,0,2,7,5,3,0,3,9,4,5] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [8,8] , A=[1,9,5,1,0,7,0,2,7,5,3,0,3,9,4,5] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [8] , A=[8,1,9,5,1,0,7,0,2,7,5,3,0,3,9,4,5] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [] , A=[8,8,1,9,5,1,0,7,0,2,7,5,3,0,3,9,4,5] C=0 , END
</scratch>
881951070275303945
| 881951070275303945 | 12 |
Input:
829952483762202036+58361
Target:
| Input:
829952483762202036+58361
Target:
[8,2,9,9,5,2,4,8,3,7,6,2,2,0,2,0,3,6] + [5,8,3,6,1] , A=[] , C=0 , 6+1+0=7 , A->7 , C->0
[8,2,9,9,5,2,4,8,3,7,6,2,2,0,2,0,3] + [5,8,3,6] , A=[7] , C=0 , 3+6+0=9 , A->9 , C->0
[8,2,9,9,5,2,4,8,3,7,6,2,2,0,2,0] + [5,8,3] , A=[9,7] , C=0 , 0+3+0=3 , A->3 , C->0
[8,2,9,9,5,2,4,8,3,7,6,2,2,0,2] + [5,8] , A=[3,9,7] , C=0 , 2+8+0=10 , A->0 , C->1
[8,2,9,9,5,2,4,8,3,7,6,2,2,0] + [5] , A=[0,3,9,7] , C=1 , 0+5+1=6 , A->6 , C->0
[8,2,9,9,5,2,4,8,3,7,6,2,2] + [] , A=[6,0,3,9,7] , C=0 , 2+0+0=2 , A->2 , C->0
[8,2,9,9,5,2,4,8,3,7,6,2] + [] , A=[2,6,0,3,9,7] , C=0 , 2+0+0=2 , A->2 , C->0
[8,2,9,9,5,2,4,8,3,7,6] + [] , A=[2,2,6,0,3,9,7] , C=0 , 6+0+0=6 , A->6 , C->0
[8,2,9,9,5,2,4,8,3,7] + [] , A=[6,2,2,6,0,3,9,7] , C=0 , 7+0+0=7 , A->7 , C->0
[8,2,9,9,5,2,4,8,3] + [] , A=[7,6,2,2,6,0,3,9,7] , C=0 , 3+0+0=3 , A->3 , C->0
[8,2,9,9,5,2,4,8] + [] , A=[3,7,6,2,2,6,0,3,9,7] , C=0 , 8+0+0=8 , A->8 , C->0
[8,2,9,9,5,2,4] + [] , A=[8,3,7,6,2,2,6,0,3,9,7] , C=0 , 4+0+0=4 , A->4 , C->0
[8,2,9,9,5,2] + [] , A=[4,8,3,7,6,2,2,6,0,3,9,7] , C=0 , 2+0+0=2 , A->2 , C->0
[8,2,9,9,5] + [] , A=[2,4,8,3,7,6,2,2,6,0,3,9,7] , C=0 , 5+0+0=5 , A->5 , C->0
[8,2,9,9] + [] , A=[5,2,4,8,3,7,6,2,2,6,0,3,9,7] , C=0 , 9+0+0=9 , A->9 , C->0
[8,2,9] + [] , A=[9,5,2,4,8,3,7,6,2,2,6,0,3,9,7] , C=0 , 9+0+0=9 , A->9 , C->0
[8,2] + [] , A=[9,9,5,2,4,8,3,7,6,2,2,6,0,3,9,7] , C=0 , 2+0+0=2 , A->2 , C->0
[8] + [] , A=[2,9,9,5,2,4,8,3,7,6,2,2,6,0,3,9,7] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,2,9,9,5,2,4,8,3,7,6,2,2,6,0,3,9,7] C=0 , END
</scratch>
829952483762260397
| 829952483762260397 | 5 |
Input:
905611621121273197+2
Target:
| Input:
905611621121273197+2
Target:
[9,0,5,6,1,1,6,2,1,1,2,1,2,7,3,1,9,7] + [2] , A=[] , C=0 , 7+2+0=9 , A->9 , C->0
[9,0,5,6,1,1,6,2,1,1,2,1,2,7,3,1,9] + [] , A=[9] , C=0 , 9+0+0=9 , A->9 , C->0
[9,0,5,6,1,1,6,2,1,1,2,1,2,7,3,1] + [] , A=[9,9] , C=0 , 1+0+0=1 , A->1 , C->0
[9,0,5,6,1,1,6,2,1,1,2,1,2,7,3] + [] , A=[1,9,9] , C=0 , 3+0+0=3 , A->3 , C->0
[9,0,5,6,1,1,6,2,1,1,2,1,2,7] + [] , A=[3,1,9,9] , C=0 , 7+0+0=7 , A->7 , C->0
[9,0,5,6,1,1,6,2,1,1,2,1,2] + [] , A=[7,3,1,9,9] , C=0 , 2+0+0=2 , A->2 , C->0
[9,0,5,6,1,1,6,2,1,1,2,1] + [] , A=[2,7,3,1,9,9] , C=0 , 1+0+0=1 , A->1 , C->0
[9,0,5,6,1,1,6,2,1,1,2] + [] , A=[1,2,7,3,1,9,9] , C=0 , 2+0+0=2 , A->2 , C->0
[9,0,5,6,1,1,6,2,1,1] + [] , A=[2,1,2,7,3,1,9,9] , C=0 , 1+0+0=1 , A->1 , C->0
[9,0,5,6,1,1,6,2,1] + [] , A=[1,2,1,2,7,3,1,9,9] , C=0 , 1+0+0=1 , A->1 , C->0
[9,0,5,6,1,1,6,2] + [] , A=[1,1,2,1,2,7,3,1,9,9] , C=0 , 2+0+0=2 , A->2 , C->0
[9,0,5,6,1,1,6] + [] , A=[2,1,1,2,1,2,7,3,1,9,9] , C=0 , 6+0+0=6 , A->6 , C->0
[9,0,5,6,1,1] + [] , A=[6,2,1,1,2,1,2,7,3,1,9,9] , C=0 , 1+0+0=1 , A->1 , C->0
[9,0,5,6,1] + [] , A=[1,6,2,1,1,2,1,2,7,3,1,9,9] , C=0 , 1+0+0=1 , A->1 , C->0
[9,0,5,6] + [] , A=[1,1,6,2,1,1,2,1,2,7,3,1,9,9] , C=0 , 6+0+0=6 , A->6 , C->0
[9,0,5] + [] , A=[6,1,1,6,2,1,1,2,1,2,7,3,1,9,9] , C=0 , 5+0+0=5 , A->5 , C->0
[9,0] + [] , A=[5,6,1,1,6,2,1,1,2,1,2,7,3,1,9,9] , C=0 , 0+0+0=0 , A->0 , C->0
[9] + [] , A=[0,5,6,1,1,6,2,1,1,2,1,2,7,3,1,9,9] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,0,5,6,1,1,6,2,1,1,2,1,2,7,3,1,9,9] C=0 , END
</scratch>
905611621121273199
| 905611621121273199 | 1 |
Input:
10+127522804915919226
Target:
| Input:
10+127522804915919226
Target:
[1,0] + [1,2,7,5,2,2,8,0,4,9,1,5,9,1,9,2,2,6] , A=[] , C=0 , 0+6+0=6 , A->6 , C->0
[1] + [1,2,7,5,2,2,8,0,4,9,1,5,9,1,9,2,2] , A=[6] , C=0 , 1+2+0=3 , A->3 , C->0
[] + [1,2,7,5,2,2,8,0,4,9,1,5,9,1,9,2] , A=[3,6] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [1,2,7,5,2,2,8,0,4,9,1,5,9,1,9] , A=[2,3,6] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [1,2,7,5,2,2,8,0,4,9,1,5,9,1] , A=[9,2,3,6] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [1,2,7,5,2,2,8,0,4,9,1,5,9] , A=[1,9,2,3,6] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [1,2,7,5,2,2,8,0,4,9,1,5] , A=[9,1,9,2,3,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1,2,7,5,2,2,8,0,4,9,1] , A=[5,9,1,9,2,3,6] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [1,2,7,5,2,2,8,0,4,9] , A=[1,5,9,1,9,2,3,6] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [1,2,7,5,2,2,8,0,4] , A=[9,1,5,9,1,9,2,3,6] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [1,2,7,5,2,2,8,0] , A=[4,9,1,5,9,1,9,2,3,6] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [1,2,7,5,2,2,8] , A=[0,4,9,1,5,9,1,9,2,3,6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [1,2,7,5,2,2] , A=[8,0,4,9,1,5,9,1,9,2,3,6] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [1,2,7,5,2] , A=[2,8,0,4,9,1,5,9,1,9,2,3,6] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [1,2,7,5] , A=[2,2,8,0,4,9,1,5,9,1,9,2,3,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1,2,7] , A=[5,2,2,8,0,4,9,1,5,9,1,9,2,3,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [1,2] , A=[7,5,2,2,8,0,4,9,1,5,9,1,9,2,3,6] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [1] , A=[2,7,5,2,2,8,0,4,9,1,5,9,1,9,2,3,6] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,2,7,5,2,2,8,0,4,9,1,5,9,1,9,2,3,6] C=0 , END
</scratch>
127522804915919236
| 127522804915919236 | 2 |
Input:
378966334611123689+217408873324042644
Target:
| Input:
378966334611123689+217408873324042644
Target:
[3,7,8,9,6,6,3,3,4,6,1,1,1,2,3,6,8,9] + [2,1,7,4,0,8,8,7,3,3,2,4,0,4,2,6,4,4] , A=[] , C=0 , 9+4+0=13 , A->3 , C->1
[3,7,8,9,6,6,3,3,4,6,1,1,1,2,3,6,8] + [2,1,7,4,0,8,8,7,3,3,2,4,0,4,2,6,4] , A=[3] , C=1 , 8+4+1=13 , A->3 , C->1
[3,7,8,9,6,6,3,3,4,6,1,1,1,2,3,6] + [2,1,7,4,0,8,8,7,3,3,2,4,0,4,2,6] , A=[3,3] , C=1 , 6+6+1=13 , A->3 , C->1
[3,7,8,9,6,6,3,3,4,6,1,1,1,2,3] + [2,1,7,4,0,8,8,7,3,3,2,4,0,4,2] , A=[3,3,3] , C=1 , 3+2+1=6 , A->6 , C->0
[3,7,8,9,6,6,3,3,4,6,1,1,1,2] + [2,1,7,4,0,8,8,7,3,3,2,4,0,4] , A=[6,3,3,3] , C=0 , 2+4+0=6 , A->6 , C->0
[3,7,8,9,6,6,3,3,4,6,1,1,1] + [2,1,7,4,0,8,8,7,3,3,2,4,0] , A=[6,6,3,3,3] , C=0 , 1+0+0=1 , A->1 , C->0
[3,7,8,9,6,6,3,3,4,6,1,1] + [2,1,7,4,0,8,8,7,3,3,2,4] , A=[1,6,6,3,3,3] , C=0 , 1+4+0=5 , A->5 , C->0
[3,7,8,9,6,6,3,3,4,6,1] + [2,1,7,4,0,8,8,7,3,3,2] , A=[5,1,6,6,3,3,3] , C=0 , 1+2+0=3 , A->3 , C->0
[3,7,8,9,6,6,3,3,4,6] + [2,1,7,4,0,8,8,7,3,3] , A=[3,5,1,6,6,3,3,3] , C=0 , 6+3+0=9 , A->9 , C->0
[3,7,8,9,6,6,3,3,4] + [2,1,7,4,0,8,8,7,3] , A=[9,3,5,1,6,6,3,3,3] , C=0 , 4+3+0=7 , A->7 , C->0
[3,7,8,9,6,6,3,3] + [2,1,7,4,0,8,8,7] , A=[7,9,3,5,1,6,6,3,3,3] , C=0 , 3+7+0=10 , A->0 , C->1
[3,7,8,9,6,6,3] + [2,1,7,4,0,8,8] , A=[0,7,9,3,5,1,6,6,3,3,3] , C=1 , 3+8+1=12 , A->2 , C->1
[3,7,8,9,6,6] + [2,1,7,4,0,8] , A=[2,0,7,9,3,5,1,6,6,3,3,3] , C=1 , 6+8+1=15 , A->5 , C->1
[3,7,8,9,6] + [2,1,7,4,0] , A=[5,2,0,7,9,3,5,1,6,6,3,3,3] , C=1 , 6+0+1=7 , A->7 , C->0
[3,7,8,9] + [2,1,7,4] , A=[7,5,2,0,7,9,3,5,1,6,6,3,3,3] , C=0 , 9+4+0=13 , A->3 , C->1
[3,7,8] + [2,1,7] , A=[3,7,5,2,0,7,9,3,5,1,6,6,3,3,3] , C=1 , 8+7+1=16 , A->6 , C->1
[3,7] + [2,1] , A=[6,3,7,5,2,0,7,9,3,5,1,6,6,3,3,3] , C=1 , 7+1+1=9 , A->9 , C->0
[3] + [2] , A=[9,6,3,7,5,2,0,7,9,3,5,1,6,6,3,3,3] , C=0 , 3+2+0=5 , A->5 , C->0
[] + [] , A=[5,9,6,3,7,5,2,0,7,9,3,5,1,6,6,3,3,3] C=0 , END
</scratch>
596375207935166333
| 596375207935166333 | 18 |
Input:
67384+868322298791190968
Target:
| Input:
67384+868322298791190968
Target:
[6,7,3,8,4] + [8,6,8,3,2,2,2,9,8,7,9,1,1,9,0,9,6,8] , A=[] , C=0 , 4+8+0=12 , A->2 , C->1
[6,7,3,8] + [8,6,8,3,2,2,2,9,8,7,9,1,1,9,0,9,6] , A=[2] , C=1 , 8+6+1=15 , A->5 , C->1
[6,7,3] + [8,6,8,3,2,2,2,9,8,7,9,1,1,9,0,9] , A=[5,2] , C=1 , 3+9+1=13 , A->3 , C->1
[6,7] + [8,6,8,3,2,2,2,9,8,7,9,1,1,9,0] , A=[3,5,2] , C=1 , 7+0+1=8 , A->8 , C->0
[6] + [8,6,8,3,2,2,2,9,8,7,9,1,1,9] , A=[8,3,5,2] , C=0 , 6+9+0=15 , A->5 , C->1
[] + [8,6,8,3,2,2,2,9,8,7,9,1,1] , A=[5,8,3,5,2] , C=1 , 0+1+1=2 , A->2 , C->0
[] + [8,6,8,3,2,2,2,9,8,7,9,1] , A=[2,5,8,3,5,2] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [8,6,8,3,2,2,2,9,8,7,9] , A=[1,2,5,8,3,5,2] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [8,6,8,3,2,2,2,9,8,7] , A=[9,1,2,5,8,3,5,2] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [8,6,8,3,2,2,2,9,8] , A=[7,9,1,2,5,8,3,5,2] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [8,6,8,3,2,2,2,9] , A=[8,7,9,1,2,5,8,3,5,2] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [8,6,8,3,2,2,2] , A=[9,8,7,9,1,2,5,8,3,5,2] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [8,6,8,3,2,2] , A=[2,9,8,7,9,1,2,5,8,3,5,2] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [8,6,8,3,2] , A=[2,2,9,8,7,9,1,2,5,8,3,5,2] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [8,6,8,3] , A=[2,2,2,9,8,7,9,1,2,5,8,3,5,2] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [8,6,8] , A=[3,2,2,2,9,8,7,9,1,2,5,8,3,5,2] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [8,6] , A=[8,3,2,2,2,9,8,7,9,1,2,5,8,3,5,2] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [8] , A=[6,8,3,2,2,2,9,8,7,9,1,2,5,8,3,5,2] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [] , A=[8,6,8,3,2,2,2,9,8,7,9,1,2,5,8,3,5,2] C=0 , END
</scratch>
868322298791258352
| 868322298791258352 | 5 |
Input:
150958374081726727+21330456847046787
Target:
| Input:
150958374081726727+21330456847046787
Target:
[1,5,0,9,5,8,3,7,4,0,8,1,7,2,6,7,2,7] + [2,1,3,3,0,4,5,6,8,4,7,0,4,6,7,8,7] , A=[] , C=0 , 7+7+0=14 , A->4 , C->1
[1,5,0,9,5,8,3,7,4,0,8,1,7,2,6,7,2] + [2,1,3,3,0,4,5,6,8,4,7,0,4,6,7,8] , A=[4] , C=1 , 2+8+1=11 , A->1 , C->1
[1,5,0,9,5,8,3,7,4,0,8,1,7,2,6,7] + [2,1,3,3,0,4,5,6,8,4,7,0,4,6,7] , A=[1,4] , C=1 , 7+7+1=15 , A->5 , C->1
[1,5,0,9,5,8,3,7,4,0,8,1,7,2,6] + [2,1,3,3,0,4,5,6,8,4,7,0,4,6] , A=[5,1,4] , C=1 , 6+6+1=13 , A->3 , C->1
[1,5,0,9,5,8,3,7,4,0,8,1,7,2] + [2,1,3,3,0,4,5,6,8,4,7,0,4] , A=[3,5,1,4] , C=1 , 2+4+1=7 , A->7 , C->0
[1,5,0,9,5,8,3,7,4,0,8,1,7] + [2,1,3,3,0,4,5,6,8,4,7,0] , A=[7,3,5,1,4] , C=0 , 7+0+0=7 , A->7 , C->0
[1,5,0,9,5,8,3,7,4,0,8,1] + [2,1,3,3,0,4,5,6,8,4,7] , A=[7,7,3,5,1,4] , C=0 , 1+7+0=8 , A->8 , C->0
[1,5,0,9,5,8,3,7,4,0,8] + [2,1,3,3,0,4,5,6,8,4] , A=[8,7,7,3,5,1,4] , C=0 , 8+4+0=12 , A->2 , C->1
[1,5,0,9,5,8,3,7,4,0] + [2,1,3,3,0,4,5,6,8] , A=[2,8,7,7,3,5,1,4] , C=1 , 0+8+1=9 , A->9 , C->0
[1,5,0,9,5,8,3,7,4] + [2,1,3,3,0,4,5,6] , A=[9,2,8,7,7,3,5,1,4] , C=0 , 4+6+0=10 , A->0 , C->1
[1,5,0,9,5,8,3,7] + [2,1,3,3,0,4,5] , A=[0,9,2,8,7,7,3,5,1,4] , C=1 , 7+5+1=13 , A->3 , C->1
[1,5,0,9,5,8,3] + [2,1,3,3,0,4] , A=[3,0,9,2,8,7,7,3,5,1,4] , C=1 , 3+4+1=8 , A->8 , C->0
[1,5,0,9,5,8] + [2,1,3,3,0] , A=[8,3,0,9,2,8,7,7,3,5,1,4] , C=0 , 8+0+0=8 , A->8 , C->0
[1,5,0,9,5] + [2,1,3,3] , A=[8,8,3,0,9,2,8,7,7,3,5,1,4] , C=0 , 5+3+0=8 , A->8 , C->0
[1,5,0,9] + [2,1,3] , A=[8,8,8,3,0,9,2,8,7,7,3,5,1,4] , C=0 , 9+3+0=12 , A->2 , C->1
[1,5,0] + [2,1] , A=[2,8,8,8,3,0,9,2,8,7,7,3,5,1,4] , C=1 , 0+1+1=2 , A->2 , C->0
[1,5] + [2] , A=[2,2,8,8,8,3,0,9,2,8,7,7,3,5,1,4] , C=0 , 5+2+0=7 , A->7 , C->0
[1] + [] , A=[7,2,2,8,8,8,3,0,9,2,8,7,7,3,5,1,4] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,7,2,2,8,8,8,3,0,9,2,8,7,7,3,5,1,4] C=0 , END
</scratch>
172288830928773514
| 172288830928773514 | 17 |
Input:
5954841962382+226376898499635993
Target:
| Input:
5954841962382+226376898499635993
Target:
[5,9,5,4,8,4,1,9,6,2,3,8,2] + [2,2,6,3,7,6,8,9,8,4,9,9,6,3,5,9,9,3] , A=[] , C=0 , 2+3+0=5 , A->5 , C->0
[5,9,5,4,8,4,1,9,6,2,3,8] + [2,2,6,3,7,6,8,9,8,4,9,9,6,3,5,9,9] , A=[5] , C=0 , 8+9+0=17 , A->7 , C->1
[5,9,5,4,8,4,1,9,6,2,3] + [2,2,6,3,7,6,8,9,8,4,9,9,6,3,5,9] , A=[7,5] , C=1 , 3+9+1=13 , A->3 , C->1
[5,9,5,4,8,4,1,9,6,2] + [2,2,6,3,7,6,8,9,8,4,9,9,6,3,5] , A=[3,7,5] , C=1 , 2+5+1=8 , A->8 , C->0
[5,9,5,4,8,4,1,9,6] + [2,2,6,3,7,6,8,9,8,4,9,9,6,3] , A=[8,3,7,5] , C=0 , 6+3+0=9 , A->9 , C->0
[5,9,5,4,8,4,1,9] + [2,2,6,3,7,6,8,9,8,4,9,9,6] , A=[9,8,3,7,5] , C=0 , 9+6+0=15 , A->5 , C->1
[5,9,5,4,8,4,1] + [2,2,6,3,7,6,8,9,8,4,9,9] , A=[5,9,8,3,7,5] , C=1 , 1+9+1=11 , A->1 , C->1
[5,9,5,4,8,4] + [2,2,6,3,7,6,8,9,8,4,9] , A=[1,5,9,8,3,7,5] , C=1 , 4+9+1=14 , A->4 , C->1
[5,9,5,4,8] + [2,2,6,3,7,6,8,9,8,4] , A=[4,1,5,9,8,3,7,5] , C=1 , 8+4+1=13 , A->3 , C->1
[5,9,5,4] + [2,2,6,3,7,6,8,9,8] , A=[3,4,1,5,9,8,3,7,5] , C=1 , 4+8+1=13 , A->3 , C->1
[5,9,5] + [2,2,6,3,7,6,8,9] , A=[3,3,4,1,5,9,8,3,7,5] , C=1 , 5+9+1=15 , A->5 , C->1
[5,9] + [2,2,6,3,7,6,8] , A=[5,3,3,4,1,5,9,8,3,7,5] , C=1 , 9+8+1=18 , A->8 , C->1
[5] + [2,2,6,3,7,6] , A=[8,5,3,3,4,1,5,9,8,3,7,5] , C=1 , 5+6+1=12 , A->2 , C->1
[] + [2,2,6,3,7] , A=[2,8,5,3,3,4,1,5,9,8,3,7,5] , C=1 , 0+7+1=8 , A->8 , C->0
[] + [2,2,6,3] , A=[8,2,8,5,3,3,4,1,5,9,8,3,7,5] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [2,2,6] , A=[3,8,2,8,5,3,3,4,1,5,9,8,3,7,5] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [2,2] , A=[6,3,8,2,8,5,3,3,4,1,5,9,8,3,7,5] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [2] , A=[2,6,3,8,2,8,5,3,3,4,1,5,9,8,3,7,5] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,2,6,3,8,2,8,5,3,3,4,1,5,9,8,3,7,5] C=0 , END
</scratch>
226382853341598375
| 226382853341598375 | 13 |
Input:
128406800363390926+794471591085033
Target:
| Input:
128406800363390926+794471591085033
Target:
[1,2,8,4,0,6,8,0,0,3,6,3,3,9,0,9,2,6] + [7,9,4,4,7,1,5,9,1,0,8,5,0,3,3] , A=[] , C=0 , 6+3+0=9 , A->9 , C->0
[1,2,8,4,0,6,8,0,0,3,6,3,3,9,0,9,2] + [7,9,4,4,7,1,5,9,1,0,8,5,0,3] , A=[9] , C=0 , 2+3+0=5 , A->5 , C->0
[1,2,8,4,0,6,8,0,0,3,6,3,3,9,0,9] + [7,9,4,4,7,1,5,9,1,0,8,5,0] , A=[5,9] , C=0 , 9+0+0=9 , A->9 , C->0
[1,2,8,4,0,6,8,0,0,3,6,3,3,9,0] + [7,9,4,4,7,1,5,9,1,0,8,5] , A=[9,5,9] , C=0 , 0+5+0=5 , A->5 , C->0
[1,2,8,4,0,6,8,0,0,3,6,3,3,9] + [7,9,4,4,7,1,5,9,1,0,8] , A=[5,9,5,9] , C=0 , 9+8+0=17 , A->7 , C->1
[1,2,8,4,0,6,8,0,0,3,6,3,3] + [7,9,4,4,7,1,5,9,1,0] , A=[7,5,9,5,9] , C=1 , 3+0+1=4 , A->4 , C->0
[1,2,8,4,0,6,8,0,0,3,6,3] + [7,9,4,4,7,1,5,9,1] , A=[4,7,5,9,5,9] , C=0 , 3+1+0=4 , A->4 , C->0
[1,2,8,4,0,6,8,0,0,3,6] + [7,9,4,4,7,1,5,9] , A=[4,4,7,5,9,5,9] , C=0 , 6+9+0=15 , A->5 , C->1
[1,2,8,4,0,6,8,0,0,3] + [7,9,4,4,7,1,5] , A=[5,4,4,7,5,9,5,9] , C=1 , 3+5+1=9 , A->9 , C->0
[1,2,8,4,0,6,8,0,0] + [7,9,4,4,7,1] , A=[9,5,4,4,7,5,9,5,9] , C=0 , 0+1+0=1 , A->1 , C->0
[1,2,8,4,0,6,8,0] + [7,9,4,4,7] , A=[1,9,5,4,4,7,5,9,5,9] , C=0 , 0+7+0=7 , A->7 , C->0
[1,2,8,4,0,6,8] + [7,9,4,4] , A=[7,1,9,5,4,4,7,5,9,5,9] , C=0 , 8+4+0=12 , A->2 , C->1
[1,2,8,4,0,6] + [7,9,4] , A=[2,7,1,9,5,4,4,7,5,9,5,9] , C=1 , 6+4+1=11 , A->1 , C->1
[1,2,8,4,0] + [7,9] , A=[1,2,7,1,9,5,4,4,7,5,9,5,9] , C=1 , 0+9+1=10 , A->0 , C->1
[1,2,8,4] + [7] , A=[0,1,2,7,1,9,5,4,4,7,5,9,5,9] , C=1 , 4+7+1=12 , A->2 , C->1
[1,2,8] + [] , A=[2,0,1,2,7,1,9,5,4,4,7,5,9,5,9] , C=1 , 8+0+1=9 , A->9 , C->0
[1,2] + [] , A=[9,2,0,1,2,7,1,9,5,4,4,7,5,9,5,9] , C=0 , 2+0+0=2 , A->2 , C->0
[1] + [] , A=[2,9,2,0,1,2,7,1,9,5,4,4,7,5,9,5,9] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,2,9,2,0,1,2,7,1,9,5,4,4,7,5,9,5,9] C=0 , END
</scratch>
129201271954475959
| 129201271954475959 | 15 |
Input:
49659564334+102455468205848734
Target:
| Input:
49659564334+102455468205848734
Target:
[4,9,6,5,9,5,6,4,3,3,4] + [1,0,2,4,5,5,4,6,8,2,0,5,8,4,8,7,3,4] , A=[] , C=0 , 4+4+0=8 , A->8 , C->0
[4,9,6,5,9,5,6,4,3,3] + [1,0,2,4,5,5,4,6,8,2,0,5,8,4,8,7,3] , A=[8] , C=0 , 3+3+0=6 , A->6 , C->0
[4,9,6,5,9,5,6,4,3] + [1,0,2,4,5,5,4,6,8,2,0,5,8,4,8,7] , A=[6,8] , C=0 , 3+7+0=10 , A->0 , C->1
[4,9,6,5,9,5,6,4] + [1,0,2,4,5,5,4,6,8,2,0,5,8,4,8] , A=[0,6,8] , C=1 , 4+8+1=13 , A->3 , C->1
[4,9,6,5,9,5,6] + [1,0,2,4,5,5,4,6,8,2,0,5,8,4] , A=[3,0,6,8] , C=1 , 6+4+1=11 , A->1 , C->1
[4,9,6,5,9,5] + [1,0,2,4,5,5,4,6,8,2,0,5,8] , A=[1,3,0,6,8] , C=1 , 5+8+1=14 , A->4 , C->1
[4,9,6,5,9] + [1,0,2,4,5,5,4,6,8,2,0,5] , A=[4,1,3,0,6,8] , C=1 , 9+5+1=15 , A->5 , C->1
[4,9,6,5] + [1,0,2,4,5,5,4,6,8,2,0] , A=[5,4,1,3,0,6,8] , C=1 , 5+0+1=6 , A->6 , C->0
[4,9,6] + [1,0,2,4,5,5,4,6,8,2] , A=[6,5,4,1,3,0,6,8] , C=0 , 6+2+0=8 , A->8 , C->0
[4,9] + [1,0,2,4,5,5,4,6,8] , A=[8,6,5,4,1,3,0,6,8] , C=0 , 9+8+0=17 , A->7 , C->1
[4] + [1,0,2,4,5,5,4,6] , A=[7,8,6,5,4,1,3,0,6,8] , C=1 , 4+6+1=11 , A->1 , C->1
[] + [1,0,2,4,5,5,4] , A=[1,7,8,6,5,4,1,3,0,6,8] , C=1 , 0+4+1=5 , A->5 , C->0
[] + [1,0,2,4,5,5] , A=[5,1,7,8,6,5,4,1,3,0,6,8] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1,0,2,4,5] , A=[5,5,1,7,8,6,5,4,1,3,0,6,8] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1,0,2,4] , A=[5,5,5,1,7,8,6,5,4,1,3,0,6,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [1,0,2] , A=[4,5,5,5,1,7,8,6,5,4,1,3,0,6,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [1,0] , A=[2,4,5,5,5,1,7,8,6,5,4,1,3,0,6,8] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [1] , A=[0,2,4,5,5,5,1,7,8,6,5,4,1,3,0,6,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,0,2,4,5,5,5,1,7,8,6,5,4,1,3,0,6,8] C=0 , END
</scratch>
102455517865413068
| 102455517865413068 | 11 |
Input:
989152773032275452+168219632009191470
Target:
| Input:
989152773032275452+168219632009191470
Target:
[9,8,9,1,5,2,7,7,3,0,3,2,2,7,5,4,5,2] + [1,6,8,2,1,9,6,3,2,0,0,9,1,9,1,4,7,0] , A=[] , C=0 , 2+0+0=2 , A->2 , C->0
[9,8,9,1,5,2,7,7,3,0,3,2,2,7,5,4,5] + [1,6,8,2,1,9,6,3,2,0,0,9,1,9,1,4,7] , A=[2] , C=0 , 5+7+0=12 , A->2 , C->1
[9,8,9,1,5,2,7,7,3,0,3,2,2,7,5,4] + [1,6,8,2,1,9,6,3,2,0,0,9,1,9,1,4] , A=[2,2] , C=1 , 4+4+1=9 , A->9 , C->0
[9,8,9,1,5,2,7,7,3,0,3,2,2,7,5] + [1,6,8,2,1,9,6,3,2,0,0,9,1,9,1] , A=[9,2,2] , C=0 , 5+1+0=6 , A->6 , C->0
[9,8,9,1,5,2,7,7,3,0,3,2,2,7] + [1,6,8,2,1,9,6,3,2,0,0,9,1,9] , A=[6,9,2,2] , C=0 , 7+9+0=16 , A->6 , C->1
[9,8,9,1,5,2,7,7,3,0,3,2,2] + [1,6,8,2,1,9,6,3,2,0,0,9,1] , A=[6,6,9,2,2] , C=1 , 2+1+1=4 , A->4 , C->0
[9,8,9,1,5,2,7,7,3,0,3,2] + [1,6,8,2,1,9,6,3,2,0,0,9] , A=[4,6,6,9,2,2] , C=0 , 2+9+0=11 , A->1 , C->1
[9,8,9,1,5,2,7,7,3,0,3] + [1,6,8,2,1,9,6,3,2,0,0] , A=[1,4,6,6,9,2,2] , C=1 , 3+0+1=4 , A->4 , C->0
[9,8,9,1,5,2,7,7,3,0] + [1,6,8,2,1,9,6,3,2,0] , A=[4,1,4,6,6,9,2,2] , C=0 , 0+0+0=0 , A->0 , C->0
[9,8,9,1,5,2,7,7,3] + [1,6,8,2,1,9,6,3,2] , A=[0,4,1,4,6,6,9,2,2] , C=0 , 3+2+0=5 , A->5 , C->0
[9,8,9,1,5,2,7,7] + [1,6,8,2,1,9,6,3] , A=[5,0,4,1,4,6,6,9,2,2] , C=0 , 7+3+0=10 , A->0 , C->1
[9,8,9,1,5,2,7] + [1,6,8,2,1,9,6] , A=[0,5,0,4,1,4,6,6,9,2,2] , C=1 , 7+6+1=14 , A->4 , C->1
[9,8,9,1,5,2] + [1,6,8,2,1,9] , A=[4,0,5,0,4,1,4,6,6,9,2,2] , C=1 , 2+9+1=12 , A->2 , C->1
[9,8,9,1,5] + [1,6,8,2,1] , A=[2,4,0,5,0,4,1,4,6,6,9,2,2] , C=1 , 5+1+1=7 , A->7 , C->0
[9,8,9,1] + [1,6,8,2] , A=[7,2,4,0,5,0,4,1,4,6,6,9,2,2] , C=0 , 1+2+0=3 , A->3 , C->0
[9,8,9] + [1,6,8] , A=[3,7,2,4,0,5,0,4,1,4,6,6,9,2,2] , C=0 , 9+8+0=17 , A->7 , C->1
[9,8] + [1,6] , A=[7,3,7,2,4,0,5,0,4,1,4,6,6,9,2,2] , C=1 , 8+6+1=15 , A->5 , C->1
[9] + [1] , A=[5,7,3,7,2,4,0,5,0,4,1,4,6,6,9,2,2] , C=1 , 9+1+1=11 , A->1 , C->1
[] + [] , A=[1,5,7,3,7,2,4,0,5,0,4,1,4,6,6,9,2,2] C=1 , END
</scratch>
1157372405041466922
| 1157372405041466922 | 18 |
Input:
3+555214723705737410
Target:
| Input:
3+555214723705737410
Target:
[3] + [5,5,5,2,1,4,7,2,3,7,0,5,7,3,7,4,1,0] , A=[] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [5,5,5,2,1,4,7,2,3,7,0,5,7,3,7,4,1] , A=[3] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [5,5,5,2,1,4,7,2,3,7,0,5,7,3,7,4] , A=[1,3] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [5,5,5,2,1,4,7,2,3,7,0,5,7,3,7] , A=[4,1,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [5,5,5,2,1,4,7,2,3,7,0,5,7,3] , A=[7,4,1,3] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [5,5,5,2,1,4,7,2,3,7,0,5,7] , A=[3,7,4,1,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [5,5,5,2,1,4,7,2,3,7,0,5] , A=[7,3,7,4,1,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [5,5,5,2,1,4,7,2,3,7,0] , A=[5,7,3,7,4,1,3] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [5,5,5,2,1,4,7,2,3,7] , A=[0,5,7,3,7,4,1,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [5,5,5,2,1,4,7,2,3] , A=[7,0,5,7,3,7,4,1,3] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [5,5,5,2,1,4,7,2] , A=[3,7,0,5,7,3,7,4,1,3] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [5,5,5,2,1,4,7] , A=[2,3,7,0,5,7,3,7,4,1,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [5,5,5,2,1,4] , A=[7,2,3,7,0,5,7,3,7,4,1,3] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [5,5,5,2,1] , A=[4,7,2,3,7,0,5,7,3,7,4,1,3] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [5,5,5,2] , A=[1,4,7,2,3,7,0,5,7,3,7,4,1,3] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [5,5,5] , A=[2,1,4,7,2,3,7,0,5,7,3,7,4,1,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [5,5] , A=[5,2,1,4,7,2,3,7,0,5,7,3,7,4,1,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [5] , A=[5,5,2,1,4,7,2,3,7,0,5,7,3,7,4,1,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,5,5,2,1,4,7,2,3,7,0,5,7,3,7,4,1,3] C=0 , END
</scratch>
555214723705737413
| 555214723705737413 | 1 |
Input:
37559143+623173588816170814
Target:
| Input:
37559143+623173588816170814
Target:
[3,7,5,5,9,1,4,3] + [6,2,3,1,7,3,5,8,8,8,1,6,1,7,0,8,1,4] , A=[] , C=0 , 3+4+0=7 , A->7 , C->0
[3,7,5,5,9,1,4] + [6,2,3,1,7,3,5,8,8,8,1,6,1,7,0,8,1] , A=[7] , C=0 , 4+1+0=5 , A->5 , C->0
[3,7,5,5,9,1] + [6,2,3,1,7,3,5,8,8,8,1,6,1,7,0,8] , A=[5,7] , C=0 , 1+8+0=9 , A->9 , C->0
[3,7,5,5,9] + [6,2,3,1,7,3,5,8,8,8,1,6,1,7,0] , A=[9,5,7] , C=0 , 9+0+0=9 , A->9 , C->0
[3,7,5,5] + [6,2,3,1,7,3,5,8,8,8,1,6,1,7] , A=[9,9,5,7] , C=0 , 5+7+0=12 , A->2 , C->1
[3,7,5] + [6,2,3,1,7,3,5,8,8,8,1,6,1] , A=[2,9,9,5,7] , C=1 , 5+1+1=7 , A->7 , C->0
[3,7] + [6,2,3,1,7,3,5,8,8,8,1,6] , A=[7,2,9,9,5,7] , C=0 , 7+6+0=13 , A->3 , C->1
[3] + [6,2,3,1,7,3,5,8,8,8,1] , A=[3,7,2,9,9,5,7] , C=1 , 3+1+1=5 , A->5 , C->0
[] + [6,2,3,1,7,3,5,8,8,8] , A=[5,3,7,2,9,9,5,7] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [6,2,3,1,7,3,5,8,8] , A=[8,5,3,7,2,9,9,5,7] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [6,2,3,1,7,3,5,8] , A=[8,8,5,3,7,2,9,9,5,7] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [6,2,3,1,7,3,5] , A=[8,8,8,5,3,7,2,9,9,5,7] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [6,2,3,1,7,3] , A=[5,8,8,8,5,3,7,2,9,9,5,7] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [6,2,3,1,7] , A=[3,5,8,8,8,5,3,7,2,9,9,5,7] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6,2,3,1] , A=[7,3,5,8,8,8,5,3,7,2,9,9,5,7] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [6,2,3] , A=[1,7,3,5,8,8,8,5,3,7,2,9,9,5,7] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [6,2] , A=[3,1,7,3,5,8,8,8,5,3,7,2,9,9,5,7] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [6] , A=[2,3,1,7,3,5,8,8,8,5,3,7,2,9,9,5,7] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,2,3,1,7,3,5,8,8,8,5,3,7,2,9,9,5,7] C=0 , END
</scratch>
623173588853729957
| 623173588853729957 | 8 |
Input:
81796179300+648507884143786363
Target:
| Input:
81796179300+648507884143786363
Target:
[8,1,7,9,6,1,7,9,3,0,0] + [6,4,8,5,0,7,8,8,4,1,4,3,7,8,6,3,6,3] , A=[] , C=0 , 0+3+0=3 , A->3 , C->0
[8,1,7,9,6,1,7,9,3,0] + [6,4,8,5,0,7,8,8,4,1,4,3,7,8,6,3,6] , A=[3] , C=0 , 0+6+0=6 , A->6 , C->0
[8,1,7,9,6,1,7,9,3] + [6,4,8,5,0,7,8,8,4,1,4,3,7,8,6,3] , A=[6,3] , C=0 , 3+3+0=6 , A->6 , C->0
[8,1,7,9,6,1,7,9] + [6,4,8,5,0,7,8,8,4,1,4,3,7,8,6] , A=[6,6,3] , C=0 , 9+6+0=15 , A->5 , C->1
[8,1,7,9,6,1,7] + [6,4,8,5,0,7,8,8,4,1,4,3,7,8] , A=[5,6,6,3] , C=1 , 7+8+1=16 , A->6 , C->1
[8,1,7,9,6,1] + [6,4,8,5,0,7,8,8,4,1,4,3,7] , A=[6,5,6,6,3] , C=1 , 1+7+1=9 , A->9 , C->0
[8,1,7,9,6] + [6,4,8,5,0,7,8,8,4,1,4,3] , A=[9,6,5,6,6,3] , C=0 , 6+3+0=9 , A->9 , C->0
[8,1,7,9] + [6,4,8,5,0,7,8,8,4,1,4] , A=[9,9,6,5,6,6,3] , C=0 , 9+4+0=13 , A->3 , C->1
[8,1,7] + [6,4,8,5,0,7,8,8,4,1] , A=[3,9,9,6,5,6,6,3] , C=1 , 7+1+1=9 , A->9 , C->0
[8,1] + [6,4,8,5,0,7,8,8,4] , A=[9,3,9,9,6,5,6,6,3] , C=0 , 1+4+0=5 , A->5 , C->0
[8] + [6,4,8,5,0,7,8,8] , A=[5,9,3,9,9,6,5,6,6,3] , C=0 , 8+8+0=16 , A->6 , C->1
[] + [6,4,8,5,0,7,8] , A=[6,5,9,3,9,9,6,5,6,6,3] , C=1 , 0+8+1=9 , A->9 , C->0
[] + [6,4,8,5,0,7] , A=[9,6,5,9,3,9,9,6,5,6,6,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6,4,8,5,0] , A=[7,9,6,5,9,3,9,9,6,5,6,6,3] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [6,4,8,5] , A=[0,7,9,6,5,9,3,9,9,6,5,6,6,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [6,4,8] , A=[5,0,7,9,6,5,9,3,9,9,6,5,6,6,3] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [6,4] , A=[8,5,0,7,9,6,5,9,3,9,9,6,5,6,6,3] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [6] , A=[4,8,5,0,7,9,6,5,9,3,9,9,6,5,6,6,3] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,4,8,5,0,7,9,6,5,9,3,9,9,6,5,6,6,3] C=0 , END
</scratch>
648507965939965663
| 648507965939965663 | 11 |
Input:
4365623130+273493174020820753
Target:
| Input:
4365623130+273493174020820753
Target:
[4,3,6,5,6,2,3,1,3,0] + [2,7,3,4,9,3,1,7,4,0,2,0,8,2,0,7,5,3] , A=[] , C=0 , 0+3+0=3 , A->3 , C->0
[4,3,6,5,6,2,3,1,3] + [2,7,3,4,9,3,1,7,4,0,2,0,8,2,0,7,5] , A=[3] , C=0 , 3+5+0=8 , A->8 , C->0
[4,3,6,5,6,2,3,1] + [2,7,3,4,9,3,1,7,4,0,2,0,8,2,0,7] , A=[8,3] , C=0 , 1+7+0=8 , A->8 , C->0
[4,3,6,5,6,2,3] + [2,7,3,4,9,3,1,7,4,0,2,0,8,2,0] , A=[8,8,3] , C=0 , 3+0+0=3 , A->3 , C->0
[4,3,6,5,6,2] + [2,7,3,4,9,3,1,7,4,0,2,0,8,2] , A=[3,8,8,3] , C=0 , 2+2+0=4 , A->4 , C->0
[4,3,6,5,6] + [2,7,3,4,9,3,1,7,4,0,2,0,8] , A=[4,3,8,8,3] , C=0 , 6+8+0=14 , A->4 , C->1
[4,3,6,5] + [2,7,3,4,9,3,1,7,4,0,2,0] , A=[4,4,3,8,8,3] , C=1 , 5+0+1=6 , A->6 , C->0
[4,3,6] + [2,7,3,4,9,3,1,7,4,0,2] , A=[6,4,4,3,8,8,3] , C=0 , 6+2+0=8 , A->8 , C->0
[4,3] + [2,7,3,4,9,3,1,7,4,0] , A=[8,6,4,4,3,8,8,3] , C=0 , 3+0+0=3 , A->3 , C->0
[4] + [2,7,3,4,9,3,1,7,4] , A=[3,8,6,4,4,3,8,8,3] , C=0 , 4+4+0=8 , A->8 , C->0
[] + [2,7,3,4,9,3,1,7] , A=[8,3,8,6,4,4,3,8,8,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [2,7,3,4,9,3,1] , A=[7,8,3,8,6,4,4,3,8,8,3] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [2,7,3,4,9,3] , A=[1,7,8,3,8,6,4,4,3,8,8,3] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [2,7,3,4,9] , A=[3,1,7,8,3,8,6,4,4,3,8,8,3] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [2,7,3,4] , A=[9,3,1,7,8,3,8,6,4,4,3,8,8,3] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [2,7,3] , A=[4,9,3,1,7,8,3,8,6,4,4,3,8,8,3] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [2,7] , A=[3,4,9,3,1,7,8,3,8,6,4,4,3,8,8,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [2] , A=[7,3,4,9,3,1,7,8,3,8,6,4,4,3,8,8,3] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,7,3,4,9,3,1,7,8,3,8,6,4,4,3,8,8,3] C=0 , END
</scratch>
273493178386443883
| 273493178386443883 | 10 |
Input:
7596713598+314677726468574846
Target:
| Input:
7596713598+314677726468574846
Target:
[7,5,9,6,7,1,3,5,9,8] + [3,1,4,6,7,7,7,2,6,4,6,8,5,7,4,8,4,6] , A=[] , C=0 , 8+6+0=14 , A->4 , C->1
[7,5,9,6,7,1,3,5,9] + [3,1,4,6,7,7,7,2,6,4,6,8,5,7,4,8,4] , A=[4] , C=1 , 9+4+1=14 , A->4 , C->1
[7,5,9,6,7,1,3,5] + [3,1,4,6,7,7,7,2,6,4,6,8,5,7,4,8] , A=[4,4] , C=1 , 5+8+1=14 , A->4 , C->1
[7,5,9,6,7,1,3] + [3,1,4,6,7,7,7,2,6,4,6,8,5,7,4] , A=[4,4,4] , C=1 , 3+4+1=8 , A->8 , C->0
[7,5,9,6,7,1] + [3,1,4,6,7,7,7,2,6,4,6,8,5,7] , A=[8,4,4,4] , C=0 , 1+7+0=8 , A->8 , C->0
[7,5,9,6,7] + [3,1,4,6,7,7,7,2,6,4,6,8,5] , A=[8,8,4,4,4] , C=0 , 7+5+0=12 , A->2 , C->1
[7,5,9,6] + [3,1,4,6,7,7,7,2,6,4,6,8] , A=[2,8,8,4,4,4] , C=1 , 6+8+1=15 , A->5 , C->1
[7,5,9] + [3,1,4,6,7,7,7,2,6,4,6] , A=[5,2,8,8,4,4,4] , C=1 , 9+6+1=16 , A->6 , C->1
[7,5] + [3,1,4,6,7,7,7,2,6,4] , A=[6,5,2,8,8,4,4,4] , C=1 , 5+4+1=10 , A->0 , C->1
[7] + [3,1,4,6,7,7,7,2,6] , A=[0,6,5,2,8,8,4,4,4] , C=1 , 7+6+1=14 , A->4 , C->1
[] + [3,1,4,6,7,7,7,2] , A=[4,0,6,5,2,8,8,4,4,4] , C=1 , 0+2+1=3 , A->3 , C->0
[] + [3,1,4,6,7,7,7] , A=[3,4,0,6,5,2,8,8,4,4,4] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [3,1,4,6,7,7] , A=[7,3,4,0,6,5,2,8,8,4,4,4] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [3,1,4,6,7] , A=[7,7,3,4,0,6,5,2,8,8,4,4,4] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [3,1,4,6] , A=[7,7,7,3,4,0,6,5,2,8,8,4,4,4] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [3,1,4] , A=[6,7,7,7,3,4,0,6,5,2,8,8,4,4,4] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [3,1] , A=[4,6,7,7,7,3,4,0,6,5,2,8,8,4,4,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [3] , A=[1,4,6,7,7,7,3,4,0,6,5,2,8,8,4,4,4] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [] , A=[3,1,4,6,7,7,7,3,4,0,6,5,2,8,8,4,4,4] C=0 , END
</scratch>
314677734065288444
| 314677734065288444 | 10 |
Input:
180998933953635211+8653935235713
Target:
| Input:
180998933953635211+8653935235713
Target:
[1,8,0,9,9,8,9,3,3,9,5,3,6,3,5,2,1,1] + [8,6,5,3,9,3,5,2,3,5,7,1,3] , A=[] , C=0 , 1+3+0=4 , A->4 , C->0
[1,8,0,9,9,8,9,3,3,9,5,3,6,3,5,2,1] + [8,6,5,3,9,3,5,2,3,5,7,1] , A=[4] , C=0 , 1+1+0=2 , A->2 , C->0
[1,8,0,9,9,8,9,3,3,9,5,3,6,3,5,2] + [8,6,5,3,9,3,5,2,3,5,7] , A=[2,4] , C=0 , 2+7+0=9 , A->9 , C->0
[1,8,0,9,9,8,9,3,3,9,5,3,6,3,5] + [8,6,5,3,9,3,5,2,3,5] , A=[9,2,4] , C=0 , 5+5+0=10 , A->0 , C->1
[1,8,0,9,9,8,9,3,3,9,5,3,6,3] + [8,6,5,3,9,3,5,2,3] , A=[0,9,2,4] , C=1 , 3+3+1=7 , A->7 , C->0
[1,8,0,9,9,8,9,3,3,9,5,3,6] + [8,6,5,3,9,3,5,2] , A=[7,0,9,2,4] , C=0 , 6+2+0=8 , A->8 , C->0
[1,8,0,9,9,8,9,3,3,9,5,3] + [8,6,5,3,9,3,5] , A=[8,7,0,9,2,4] , C=0 , 3+5+0=8 , A->8 , C->0
[1,8,0,9,9,8,9,3,3,9,5] + [8,6,5,3,9,3] , A=[8,8,7,0,9,2,4] , C=0 , 5+3+0=8 , A->8 , C->0
[1,8,0,9,9,8,9,3,3,9] + [8,6,5,3,9] , A=[8,8,8,7,0,9,2,4] , C=0 , 9+9+0=18 , A->8 , C->1
[1,8,0,9,9,8,9,3,3] + [8,6,5,3] , A=[8,8,8,8,7,0,9,2,4] , C=1 , 3+3+1=7 , A->7 , C->0
[1,8,0,9,9,8,9,3] + [8,6,5] , A=[7,8,8,8,8,7,0,9,2,4] , C=0 , 3+5+0=8 , A->8 , C->0
[1,8,0,9,9,8,9] + [8,6] , A=[8,7,8,8,8,8,7,0,9,2,4] , C=0 , 9+6+0=15 , A->5 , C->1
[1,8,0,9,9,8] + [8] , A=[5,8,7,8,8,8,8,7,0,9,2,4] , C=1 , 8+8+1=17 , A->7 , C->1
[1,8,0,9,9] + [] , A=[7,5,8,7,8,8,8,8,7,0,9,2,4] , C=1 , 9+0+1=10 , A->0 , C->1
[1,8,0,9] + [] , A=[0,7,5,8,7,8,8,8,8,7,0,9,2,4] , C=1 , 9+0+1=10 , A->0 , C->1
[1,8,0] + [] , A=[0,0,7,5,8,7,8,8,8,8,7,0,9,2,4] , C=1 , 0+0+1=1 , A->1 , C->0
[1,8] + [] , A=[1,0,0,7,5,8,7,8,8,8,8,7,0,9,2,4] , C=0 , 8+0+0=8 , A->8 , C->0
[1] + [] , A=[8,1,0,0,7,5,8,7,8,8,8,8,7,0,9,2,4] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,8,1,0,0,7,5,8,7,8,8,8,8,7,0,9,2,4] C=0 , END
</scratch>
181007587888870924
| 181007587888870924 | 13 |
Input:
86189989511263+385478334824897487
Target:
| Input:
86189989511263+385478334824897487
Target:
[8,6,1,8,9,9,8,9,5,1,1,2,6,3] + [3,8,5,4,7,8,3,3,4,8,2,4,8,9,7,4,8,7] , A=[] , C=0 , 3+7+0=10 , A->0 , C->1
[8,6,1,8,9,9,8,9,5,1,1,2,6] + [3,8,5,4,7,8,3,3,4,8,2,4,8,9,7,4,8] , A=[0] , C=1 , 6+8+1=15 , A->5 , C->1
[8,6,1,8,9,9,8,9,5,1,1,2] + [3,8,5,4,7,8,3,3,4,8,2,4,8,9,7,4] , A=[5,0] , C=1 , 2+4+1=7 , A->7 , C->0
[8,6,1,8,9,9,8,9,5,1,1] + [3,8,5,4,7,8,3,3,4,8,2,4,8,9,7] , A=[7,5,0] , C=0 , 1+7+0=8 , A->8 , C->0
[8,6,1,8,9,9,8,9,5,1] + [3,8,5,4,7,8,3,3,4,8,2,4,8,9] , A=[8,7,5,0] , C=0 , 1+9+0=10 , A->0 , C->1
[8,6,1,8,9,9,8,9,5] + [3,8,5,4,7,8,3,3,4,8,2,4,8] , A=[0,8,7,5,0] , C=1 , 5+8+1=14 , A->4 , C->1
[8,6,1,8,9,9,8,9] + [3,8,5,4,7,8,3,3,4,8,2,4] , A=[4,0,8,7,5,0] , C=1 , 9+4+1=14 , A->4 , C->1
[8,6,1,8,9,9,8] + [3,8,5,4,7,8,3,3,4,8,2] , A=[4,4,0,8,7,5,0] , C=1 , 8+2+1=11 , A->1 , C->1
[8,6,1,8,9,9] + [3,8,5,4,7,8,3,3,4,8] , A=[1,4,4,0,8,7,5,0] , C=1 , 9+8+1=18 , A->8 , C->1
[8,6,1,8,9] + [3,8,5,4,7,8,3,3,4] , A=[8,1,4,4,0,8,7,5,0] , C=1 , 9+4+1=14 , A->4 , C->1
[8,6,1,8] + [3,8,5,4,7,8,3,3] , A=[4,8,1,4,4,0,8,7,5,0] , C=1 , 8+3+1=12 , A->2 , C->1
[8,6,1] + [3,8,5,4,7,8,3] , A=[2,4,8,1,4,4,0,8,7,5,0] , C=1 , 1+3+1=5 , A->5 , C->0
[8,6] + [3,8,5,4,7,8] , A=[5,2,4,8,1,4,4,0,8,7,5,0] , C=0 , 6+8+0=14 , A->4 , C->1
[8] + [3,8,5,4,7] , A=[4,5,2,4,8,1,4,4,0,8,7,5,0] , C=1 , 8+7+1=16 , A->6 , C->1
[] + [3,8,5,4] , A=[6,4,5,2,4,8,1,4,4,0,8,7,5,0] , C=1 , 0+4+1=5 , A->5 , C->0
[] + [3,8,5] , A=[5,6,4,5,2,4,8,1,4,4,0,8,7,5,0] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [3,8] , A=[5,5,6,4,5,2,4,8,1,4,4,0,8,7,5,0] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [3] , A=[8,5,5,6,4,5,2,4,8,1,4,4,0,8,7,5,0] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [] , A=[3,8,5,5,6,4,5,2,4,8,1,4,4,0,8,7,5,0] C=0 , END
</scratch>
385564524814408750
| 385564524814408750 | 14 |
Input:
694335159156749992+8340713457
Target:
| Input:
694335159156749992+8340713457
Target:
[6,9,4,3,3,5,1,5,9,1,5,6,7,4,9,9,9,2] + [8,3,4,0,7,1,3,4,5,7] , A=[] , C=0 , 2+7+0=9 , A->9 , C->0
[6,9,4,3,3,5,1,5,9,1,5,6,7,4,9,9,9] + [8,3,4,0,7,1,3,4,5] , A=[9] , C=0 , 9+5+0=14 , A->4 , C->1
[6,9,4,3,3,5,1,5,9,1,5,6,7,4,9,9] + [8,3,4,0,7,1,3,4] , A=[4,9] , C=1 , 9+4+1=14 , A->4 , C->1
[6,9,4,3,3,5,1,5,9,1,5,6,7,4,9] + [8,3,4,0,7,1,3] , A=[4,4,9] , C=1 , 9+3+1=13 , A->3 , C->1
[6,9,4,3,3,5,1,5,9,1,5,6,7,4] + [8,3,4,0,7,1] , A=[3,4,4,9] , C=1 , 4+1+1=6 , A->6 , C->0
[6,9,4,3,3,5,1,5,9,1,5,6,7] + [8,3,4,0,7] , A=[6,3,4,4,9] , C=0 , 7+7+0=14 , A->4 , C->1
[6,9,4,3,3,5,1,5,9,1,5,6] + [8,3,4,0] , A=[4,6,3,4,4,9] , C=1 , 6+0+1=7 , A->7 , C->0
[6,9,4,3,3,5,1,5,9,1,5] + [8,3,4] , A=[7,4,6,3,4,4,9] , C=0 , 5+4+0=9 , A->9 , C->0
[6,9,4,3,3,5,1,5,9,1] + [8,3] , A=[9,7,4,6,3,4,4,9] , C=0 , 1+3+0=4 , A->4 , C->0
[6,9,4,3,3,5,1,5,9] + [8] , A=[4,9,7,4,6,3,4,4,9] , C=0 , 9+8+0=17 , A->7 , C->1
[6,9,4,3,3,5,1,5] + [] , A=[7,4,9,7,4,6,3,4,4,9] , C=1 , 5+0+1=6 , A->6 , C->0
[6,9,4,3,3,5,1] + [] , A=[6,7,4,9,7,4,6,3,4,4,9] , C=0 , 1+0+0=1 , A->1 , C->0
[6,9,4,3,3,5] + [] , A=[1,6,7,4,9,7,4,6,3,4,4,9] , C=0 , 5+0+0=5 , A->5 , C->0
[6,9,4,3,3] + [] , A=[5,1,6,7,4,9,7,4,6,3,4,4,9] , C=0 , 3+0+0=3 , A->3 , C->0
[6,9,4,3] + [] , A=[3,5,1,6,7,4,9,7,4,6,3,4,4,9] , C=0 , 3+0+0=3 , A->3 , C->0
[6,9,4] + [] , A=[3,3,5,1,6,7,4,9,7,4,6,3,4,4,9] , C=0 , 4+0+0=4 , A->4 , C->0
[6,9] + [] , A=[4,3,3,5,1,6,7,4,9,7,4,6,3,4,4,9] , C=0 , 9+0+0=9 , A->9 , C->0
[6] + [] , A=[9,4,3,3,5,1,6,7,4,9,7,4,6,3,4,4,9] , C=0 , 6+0+0=6 , A->6 , C->0
[] + [] , A=[6,9,4,3,3,5,1,6,7,4,9,7,4,6,3,4,4,9] C=0 , END
</scratch>
694335167497463449
| 694335167497463449 | 10 |
Input:
60883737667853+835561152477932105
Target:
| Input:
60883737667853+835561152477932105
Target:
[6,0,8,8,3,7,3,7,6,6,7,8,5,3] + [8,3,5,5,6,1,1,5,2,4,7,7,9,3,2,1,0,5] , A=[] , C=0 , 3+5+0=8 , A->8 , C->0
[6,0,8,8,3,7,3,7,6,6,7,8,5] + [8,3,5,5,6,1,1,5,2,4,7,7,9,3,2,1,0] , A=[8] , C=0 , 5+0+0=5 , A->5 , C->0
[6,0,8,8,3,7,3,7,6,6,7,8] + [8,3,5,5,6,1,1,5,2,4,7,7,9,3,2,1] , A=[5,8] , C=0 , 8+1+0=9 , A->9 , C->0
[6,0,8,8,3,7,3,7,6,6,7] + [8,3,5,5,6,1,1,5,2,4,7,7,9,3,2] , A=[9,5,8] , C=0 , 7+2+0=9 , A->9 , C->0
[6,0,8,8,3,7,3,7,6,6] + [8,3,5,5,6,1,1,5,2,4,7,7,9,3] , A=[9,9,5,8] , C=0 , 6+3+0=9 , A->9 , C->0
[6,0,8,8,3,7,3,7,6] + [8,3,5,5,6,1,1,5,2,4,7,7,9] , A=[9,9,9,5,8] , C=0 , 6+9+0=15 , A->5 , C->1
[6,0,8,8,3,7,3,7] + [8,3,5,5,6,1,1,5,2,4,7,7] , A=[5,9,9,9,5,8] , C=1 , 7+7+1=15 , A->5 , C->1
[6,0,8,8,3,7,3] + [8,3,5,5,6,1,1,5,2,4,7] , A=[5,5,9,9,9,5,8] , C=1 , 3+7+1=11 , A->1 , C->1
[6,0,8,8,3,7] + [8,3,5,5,6,1,1,5,2,4] , A=[1,5,5,9,9,9,5,8] , C=1 , 7+4+1=12 , A->2 , C->1
[6,0,8,8,3] + [8,3,5,5,6,1,1,5,2] , A=[2,1,5,5,9,9,9,5,8] , C=1 , 3+2+1=6 , A->6 , C->0
[6,0,8,8] + [8,3,5,5,6,1,1,5] , A=[6,2,1,5,5,9,9,9,5,8] , C=0 , 8+5+0=13 , A->3 , C->1
[6,0,8] + [8,3,5,5,6,1,1] , A=[3,6,2,1,5,5,9,9,9,5,8] , C=1 , 8+1+1=10 , A->0 , C->1
[6,0] + [8,3,5,5,6,1] , A=[0,3,6,2,1,5,5,9,9,9,5,8] , C=1 , 0+1+1=2 , A->2 , C->0
[6] + [8,3,5,5,6] , A=[2,0,3,6,2,1,5,5,9,9,9,5,8] , C=0 , 6+6+0=12 , A->2 , C->1
[] + [8,3,5,5] , A=[2,2,0,3,6,2,1,5,5,9,9,9,5,8] , C=1 , 0+5+1=6 , A->6 , C->0
[] + [8,3,5] , A=[6,2,2,0,3,6,2,1,5,5,9,9,9,5,8] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [8,3] , A=[5,6,2,2,0,3,6,2,1,5,5,9,9,9,5,8] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [8] , A=[3,5,6,2,2,0,3,6,2,1,5,5,9,9,9,5,8] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [] , A=[8,3,5,6,2,2,0,3,6,2,1,5,5,9,9,9,5,8] C=0 , END
</scratch>
835622036215599958
| 835622036215599958 | 14 |
Input:
877178140523897850+1344032320551570
Target:
| Input:
877178140523897850+1344032320551570
Target:
[8,7,7,1,7,8,1,4,0,5,2,3,8,9,7,8,5,0] + [1,3,4,4,0,3,2,3,2,0,5,5,1,5,7,0] , A=[] , C=0 , 0+0+0=0 , A->0 , C->0
[8,7,7,1,7,8,1,4,0,5,2,3,8,9,7,8,5] + [1,3,4,4,0,3,2,3,2,0,5,5,1,5,7] , A=[0] , C=0 , 5+7+0=12 , A->2 , C->1
[8,7,7,1,7,8,1,4,0,5,2,3,8,9,7,8] + [1,3,4,4,0,3,2,3,2,0,5,5,1,5] , A=[2,0] , C=1 , 8+5+1=14 , A->4 , C->1
[8,7,7,1,7,8,1,4,0,5,2,3,8,9,7] + [1,3,4,4,0,3,2,3,2,0,5,5,1] , A=[4,2,0] , C=1 , 7+1+1=9 , A->9 , C->0
[8,7,7,1,7,8,1,4,0,5,2,3,8,9] + [1,3,4,4,0,3,2,3,2,0,5,5] , A=[9,4,2,0] , C=0 , 9+5+0=14 , A->4 , C->1
[8,7,7,1,7,8,1,4,0,5,2,3,8] + [1,3,4,4,0,3,2,3,2,0,5] , A=[4,9,4,2,0] , C=1 , 8+5+1=14 , A->4 , C->1
[8,7,7,1,7,8,1,4,0,5,2,3] + [1,3,4,4,0,3,2,3,2,0] , A=[4,4,9,4,2,0] , C=1 , 3+0+1=4 , A->4 , C->0
[8,7,7,1,7,8,1,4,0,5,2] + [1,3,4,4,0,3,2,3,2] , A=[4,4,4,9,4,2,0] , C=0 , 2+2+0=4 , A->4 , C->0
[8,7,7,1,7,8,1,4,0,5] + [1,3,4,4,0,3,2,3] , A=[4,4,4,4,9,4,2,0] , C=0 , 5+3+0=8 , A->8 , C->0
[8,7,7,1,7,8,1,4,0] + [1,3,4,4,0,3,2] , A=[8,4,4,4,4,9,4,2,0] , C=0 , 0+2+0=2 , A->2 , C->0
[8,7,7,1,7,8,1,4] + [1,3,4,4,0,3] , A=[2,8,4,4,4,4,9,4,2,0] , C=0 , 4+3+0=7 , A->7 , C->0
[8,7,7,1,7,8,1] + [1,3,4,4,0] , A=[7,2,8,4,4,4,4,9,4,2,0] , C=0 , 1+0+0=1 , A->1 , C->0
[8,7,7,1,7,8] + [1,3,4,4] , A=[1,7,2,8,4,4,4,4,9,4,2,0] , C=0 , 8+4+0=12 , A->2 , C->1
[8,7,7,1,7] + [1,3,4] , A=[2,1,7,2,8,4,4,4,4,9,4,2,0] , C=1 , 7+4+1=12 , A->2 , C->1
[8,7,7,1] + [1,3] , A=[2,2,1,7,2,8,4,4,4,4,9,4,2,0] , C=1 , 1+3+1=5 , A->5 , C->0
[8,7,7] + [1] , A=[5,2,2,1,7,2,8,4,4,4,4,9,4,2,0] , C=0 , 7+1+0=8 , A->8 , C->0
[8,7] + [] , A=[8,5,2,2,1,7,2,8,4,4,4,4,9,4,2,0] , C=0 , 7+0+0=7 , A->7 , C->0
[8] + [] , A=[7,8,5,2,2,1,7,2,8,4,4,4,4,9,4,2,0] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,7,8,5,2,2,1,7,2,8,4,4,4,4,9,4,2,0] C=0 , END
</scratch>
878522172844449420
| 878522172844449420 | 16 |
Input:
9851143073+789527834397341373
Target:
| Input:
9851143073+789527834397341373
Target:
[9,8,5,1,1,4,3,0,7,3] + [7,8,9,5,2,7,8,3,4,3,9,7,3,4,1,3,7,3] , A=[] , C=0 , 3+3+0=6 , A->6 , C->0
[9,8,5,1,1,4,3,0,7] + [7,8,9,5,2,7,8,3,4,3,9,7,3,4,1,3,7] , A=[6] , C=0 , 7+7+0=14 , A->4 , C->1
[9,8,5,1,1,4,3,0] + [7,8,9,5,2,7,8,3,4,3,9,7,3,4,1,3] , A=[4,6] , C=1 , 0+3+1=4 , A->4 , C->0
[9,8,5,1,1,4,3] + [7,8,9,5,2,7,8,3,4,3,9,7,3,4,1] , A=[4,4,6] , C=0 , 3+1+0=4 , A->4 , C->0
[9,8,5,1,1,4] + [7,8,9,5,2,7,8,3,4,3,9,7,3,4] , A=[4,4,4,6] , C=0 , 4+4+0=8 , A->8 , C->0
[9,8,5,1,1] + [7,8,9,5,2,7,8,3,4,3,9,7,3] , A=[8,4,4,4,6] , C=0 , 1+3+0=4 , A->4 , C->0
[9,8,5,1] + [7,8,9,5,2,7,8,3,4,3,9,7] , A=[4,8,4,4,4,6] , C=0 , 1+7+0=8 , A->8 , C->0
[9,8,5] + [7,8,9,5,2,7,8,3,4,3,9] , A=[8,4,8,4,4,4,6] , C=0 , 5+9+0=14 , A->4 , C->1
[9,8] + [7,8,9,5,2,7,8,3,4,3] , A=[4,8,4,8,4,4,4,6] , C=1 , 8+3+1=12 , A->2 , C->1
[9] + [7,8,9,5,2,7,8,3,4] , A=[2,4,8,4,8,4,4,4,6] , C=1 , 9+4+1=14 , A->4 , C->1
[] + [7,8,9,5,2,7,8,3] , A=[4,2,4,8,4,8,4,4,4,6] , C=1 , 0+3+1=4 , A->4 , C->0
[] + [7,8,9,5,2,7,8] , A=[4,4,2,4,8,4,8,4,4,4,6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [7,8,9,5,2,7] , A=[8,4,4,2,4,8,4,8,4,4,4,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [7,8,9,5,2] , A=[7,8,4,4,2,4,8,4,8,4,4,4,6] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [7,8,9,5] , A=[2,7,8,4,4,2,4,8,4,8,4,4,4,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [7,8,9] , A=[5,2,7,8,4,4,2,4,8,4,8,4,4,4,6] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [7,8] , A=[9,5,2,7,8,4,4,2,4,8,4,8,4,4,4,6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [7] , A=[8,9,5,2,7,8,4,4,2,4,8,4,8,4,4,4,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,8,9,5,2,7,8,4,4,2,4,8,4,8,4,4,4,6] C=0 , END
</scratch>
789527844248484446
| 789527844248484446 | 10 |
Input:
337494135259309852+32747733400
Target:
| Input:
337494135259309852+32747733400
Target:
[3,3,7,4,9,4,1,3,5,2,5,9,3,0,9,8,5,2] + [3,2,7,4,7,7,3,3,4,0,0] , A=[] , C=0 , 2+0+0=2 , A->2 , C->0
[3,3,7,4,9,4,1,3,5,2,5,9,3,0,9,8,5] + [3,2,7,4,7,7,3,3,4,0] , A=[2] , C=0 , 5+0+0=5 , A->5 , C->0
[3,3,7,4,9,4,1,3,5,2,5,9,3,0,9,8] + [3,2,7,4,7,7,3,3,4] , A=[5,2] , C=0 , 8+4+0=12 , A->2 , C->1
[3,3,7,4,9,4,1,3,5,2,5,9,3,0,9] + [3,2,7,4,7,7,3,3] , A=[2,5,2] , C=1 , 9+3+1=13 , A->3 , C->1
[3,3,7,4,9,4,1,3,5,2,5,9,3,0] + [3,2,7,4,7,7,3] , A=[3,2,5,2] , C=1 , 0+3+1=4 , A->4 , C->0
[3,3,7,4,9,4,1,3,5,2,5,9,3] + [3,2,7,4,7,7] , A=[4,3,2,5,2] , C=0 , 3+7+0=10 , A->0 , C->1
[3,3,7,4,9,4,1,3,5,2,5,9] + [3,2,7,4,7] , A=[0,4,3,2,5,2] , C=1 , 9+7+1=17 , A->7 , C->1
[3,3,7,4,9,4,1,3,5,2,5] + [3,2,7,4] , A=[7,0,4,3,2,5,2] , C=1 , 5+4+1=10 , A->0 , C->1
[3,3,7,4,9,4,1,3,5,2] + [3,2,7] , A=[0,7,0,4,3,2,5,2] , C=1 , 2+7+1=10 , A->0 , C->1
[3,3,7,4,9,4,1,3,5] + [3,2] , A=[0,0,7,0,4,3,2,5,2] , C=1 , 5+2+1=8 , A->8 , C->0
[3,3,7,4,9,4,1,3] + [3] , A=[8,0,0,7,0,4,3,2,5,2] , C=0 , 3+3+0=6 , A->6 , C->0
[3,3,7,4,9,4,1] + [] , A=[6,8,0,0,7,0,4,3,2,5,2] , C=0 , 1+0+0=1 , A->1 , C->0
[3,3,7,4,9,4] + [] , A=[1,6,8,0,0,7,0,4,3,2,5,2] , C=0 , 4+0+0=4 , A->4 , C->0
[3,3,7,4,9] + [] , A=[4,1,6,8,0,0,7,0,4,3,2,5,2] , C=0 , 9+0+0=9 , A->9 , C->0
[3,3,7,4] + [] , A=[9,4,1,6,8,0,0,7,0,4,3,2,5,2] , C=0 , 4+0+0=4 , A->4 , C->0
[3,3,7] + [] , A=[4,9,4,1,6,8,0,0,7,0,4,3,2,5,2] , C=0 , 7+0+0=7 , A->7 , C->0
[3,3] + [] , A=[7,4,9,4,1,6,8,0,0,7,0,4,3,2,5,2] , C=0 , 3+0+0=3 , A->3 , C->0
[3] + [] , A=[3,7,4,9,4,1,6,8,0,0,7,0,4,3,2,5,2] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,3,7,4,9,4,1,6,8,0,0,7,0,4,3,2,5,2] C=0 , END
</scratch>
337494168007043252
| 337494168007043252 | 11 |
Input:
89721829990+630614374322053363
Target:
| Input:
89721829990+630614374322053363
Target:
[8,9,7,2,1,8,2,9,9,9,0] + [6,3,0,6,1,4,3,7,4,3,2,2,0,5,3,3,6,3] , A=[] , C=0 , 0+3+0=3 , A->3 , C->0
[8,9,7,2,1,8,2,9,9,9] + [6,3,0,6,1,4,3,7,4,3,2,2,0,5,3,3,6] , A=[3] , C=0 , 9+6+0=15 , A->5 , C->1
[8,9,7,2,1,8,2,9,9] + [6,3,0,6,1,4,3,7,4,3,2,2,0,5,3,3] , A=[5,3] , C=1 , 9+3+1=13 , A->3 , C->1
[8,9,7,2,1,8,2,9] + [6,3,0,6,1,4,3,7,4,3,2,2,0,5,3] , A=[3,5,3] , C=1 , 9+3+1=13 , A->3 , C->1
[8,9,7,2,1,8,2] + [6,3,0,6,1,4,3,7,4,3,2,2,0,5] , A=[3,3,5,3] , C=1 , 2+5+1=8 , A->8 , C->0
[8,9,7,2,1,8] + [6,3,0,6,1,4,3,7,4,3,2,2,0] , A=[8,3,3,5,3] , C=0 , 8+0+0=8 , A->8 , C->0
[8,9,7,2,1] + [6,3,0,6,1,4,3,7,4,3,2,2] , A=[8,8,3,3,5,3] , C=0 , 1+2+0=3 , A->3 , C->0
[8,9,7,2] + [6,3,0,6,1,4,3,7,4,3,2] , A=[3,8,8,3,3,5,3] , C=0 , 2+2+0=4 , A->4 , C->0
[8,9,7] + [6,3,0,6,1,4,3,7,4,3] , A=[4,3,8,8,3,3,5,3] , C=0 , 7+3+0=10 , A->0 , C->1
[8,9] + [6,3,0,6,1,4,3,7,4] , A=[0,4,3,8,8,3,3,5,3] , C=1 , 9+4+1=14 , A->4 , C->1
[8] + [6,3,0,6,1,4,3,7] , A=[4,0,4,3,8,8,3,3,5,3] , C=1 , 8+7+1=16 , A->6 , C->1
[] + [6,3,0,6,1,4,3] , A=[6,4,0,4,3,8,8,3,3,5,3] , C=1 , 0+3+1=4 , A->4 , C->0
[] + [6,3,0,6,1,4] , A=[4,6,4,0,4,3,8,8,3,3,5,3] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [6,3,0,6,1] , A=[4,4,6,4,0,4,3,8,8,3,3,5,3] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [6,3,0,6] , A=[1,4,4,6,4,0,4,3,8,8,3,3,5,3] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [6,3,0] , A=[6,1,4,4,6,4,0,4,3,8,8,3,3,5,3] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [6,3] , A=[0,6,1,4,4,6,4,0,4,3,8,8,3,3,5,3] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [6] , A=[3,0,6,1,4,4,6,4,0,4,3,8,8,3,3,5,3] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,3,0,6,1,4,4,6,4,0,4,3,8,8,3,3,5,3] C=0 , END
</scratch>
630614464043883353
| 630614464043883353 | 11 |
Input:
455738717431387991+560982482653025
Target:
| Input:
455738717431387991+560982482653025
Target:
[4,5,5,7,3,8,7,1,7,4,3,1,3,8,7,9,9,1] + [5,6,0,9,8,2,4,8,2,6,5,3,0,2,5] , A=[] , C=0 , 1+5+0=6 , A->6 , C->0
[4,5,5,7,3,8,7,1,7,4,3,1,3,8,7,9,9] + [5,6,0,9,8,2,4,8,2,6,5,3,0,2] , A=[6] , C=0 , 9+2+0=11 , A->1 , C->1
[4,5,5,7,3,8,7,1,7,4,3,1,3,8,7,9] + [5,6,0,9,8,2,4,8,2,6,5,3,0] , A=[1,6] , C=1 , 9+0+1=10 , A->0 , C->1
[4,5,5,7,3,8,7,1,7,4,3,1,3,8,7] + [5,6,0,9,8,2,4,8,2,6,5,3] , A=[0,1,6] , C=1 , 7+3+1=11 , A->1 , C->1
[4,5,5,7,3,8,7,1,7,4,3,1,3,8] + [5,6,0,9,8,2,4,8,2,6,5] , A=[1,0,1,6] , C=1 , 8+5+1=14 , A->4 , C->1
[4,5,5,7,3,8,7,1,7,4,3,1,3] + [5,6,0,9,8,2,4,8,2,6] , A=[4,1,0,1,6] , C=1 , 3+6+1=10 , A->0 , C->1
[4,5,5,7,3,8,7,1,7,4,3,1] + [5,6,0,9,8,2,4,8,2] , A=[0,4,1,0,1,6] , C=1 , 1+2+1=4 , A->4 , C->0
[4,5,5,7,3,8,7,1,7,4,3] + [5,6,0,9,8,2,4,8] , A=[4,0,4,1,0,1,6] , C=0 , 3+8+0=11 , A->1 , C->1
[4,5,5,7,3,8,7,1,7,4] + [5,6,0,9,8,2,4] , A=[1,4,0,4,1,0,1,6] , C=1 , 4+4+1=9 , A->9 , C->0
[4,5,5,7,3,8,7,1,7] + [5,6,0,9,8,2] , A=[9,1,4,0,4,1,0,1,6] , C=0 , 7+2+0=9 , A->9 , C->0
[4,5,5,7,3,8,7,1] + [5,6,0,9,8] , A=[9,9,1,4,0,4,1,0,1,6] , C=0 , 1+8+0=9 , A->9 , C->0
[4,5,5,7,3,8,7] + [5,6,0,9] , A=[9,9,9,1,4,0,4,1,0,1,6] , C=0 , 7+9+0=16 , A->6 , C->1
[4,5,5,7,3,8] + [5,6,0] , A=[6,9,9,9,1,4,0,4,1,0,1,6] , C=1 , 8+0+1=9 , A->9 , C->0
[4,5,5,7,3] + [5,6] , A=[9,6,9,9,9,1,4,0,4,1,0,1,6] , C=0 , 3+6+0=9 , A->9 , C->0
[4,5,5,7] + [5] , A=[9,9,6,9,9,9,1,4,0,4,1,0,1,6] , C=0 , 7+5+0=12 , A->2 , C->1
[4,5,5] + [] , A=[2,9,9,6,9,9,9,1,4,0,4,1,0,1,6] , C=1 , 5+0+1=6 , A->6 , C->0
[4,5] + [] , A=[6,2,9,9,6,9,9,9,1,4,0,4,1,0,1,6] , C=0 , 5+0+0=5 , A->5 , C->0
[4] + [] , A=[5,6,2,9,9,6,9,9,9,1,4,0,4,1,0,1,6] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,5,6,2,9,9,6,9,9,9,1,4,0,4,1,0,1,6] C=0 , END
</scratch>
456299699914041016
| 456299699914041016 | 15 |
Input:
553260118285299+233580200866357410
Target:
| Input:
553260118285299+233580200866357410
Target:
[5,5,3,2,6,0,1,1,8,2,8,5,2,9,9] + [2,3,3,5,8,0,2,0,0,8,6,6,3,5,7,4,1,0] , A=[] , C=0 , 9+0+0=9 , A->9 , C->0
[5,5,3,2,6,0,1,1,8,2,8,5,2,9] + [2,3,3,5,8,0,2,0,0,8,6,6,3,5,7,4,1] , A=[9] , C=0 , 9+1+0=10 , A->0 , C->1
[5,5,3,2,6,0,1,1,8,2,8,5,2] + [2,3,3,5,8,0,2,0,0,8,6,6,3,5,7,4] , A=[0,9] , C=1 , 2+4+1=7 , A->7 , C->0
[5,5,3,2,6,0,1,1,8,2,8,5] + [2,3,3,5,8,0,2,0,0,8,6,6,3,5,7] , A=[7,0,9] , C=0 , 5+7+0=12 , A->2 , C->1
[5,5,3,2,6,0,1,1,8,2,8] + [2,3,3,5,8,0,2,0,0,8,6,6,3,5] , A=[2,7,0,9] , C=1 , 8+5+1=14 , A->4 , C->1
[5,5,3,2,6,0,1,1,8,2] + [2,3,3,5,8,0,2,0,0,8,6,6,3] , A=[4,2,7,0,9] , C=1 , 2+3+1=6 , A->6 , C->0
[5,5,3,2,6,0,1,1,8] + [2,3,3,5,8,0,2,0,0,8,6,6] , A=[6,4,2,7,0,9] , C=0 , 8+6+0=14 , A->4 , C->1
[5,5,3,2,6,0,1,1] + [2,3,3,5,8,0,2,0,0,8,6] , A=[4,6,4,2,7,0,9] , C=1 , 1+6+1=8 , A->8 , C->0
[5,5,3,2,6,0,1] + [2,3,3,5,8,0,2,0,0,8] , A=[8,4,6,4,2,7,0,9] , C=0 , 1+8+0=9 , A->9 , C->0
[5,5,3,2,6,0] + [2,3,3,5,8,0,2,0,0] , A=[9,8,4,6,4,2,7,0,9] , C=0 , 0+0+0=0 , A->0 , C->0
[5,5,3,2,6] + [2,3,3,5,8,0,2,0] , A=[0,9,8,4,6,4,2,7,0,9] , C=0 , 6+0+0=6 , A->6 , C->0
[5,5,3,2] + [2,3,3,5,8,0,2] , A=[6,0,9,8,4,6,4,2,7,0,9] , C=0 , 2+2+0=4 , A->4 , C->0
[5,5,3] + [2,3,3,5,8,0] , A=[4,6,0,9,8,4,6,4,2,7,0,9] , C=0 , 3+0+0=3 , A->3 , C->0
[5,5] + [2,3,3,5,8] , A=[3,4,6,0,9,8,4,6,4,2,7,0,9] , C=0 , 5+8+0=13 , A->3 , C->1
[5] + [2,3,3,5] , A=[3,3,4,6,0,9,8,4,6,4,2,7,0,9] , C=1 , 5+5+1=11 , A->1 , C->1
[] + [2,3,3] , A=[1,3,3,4,6,0,9,8,4,6,4,2,7,0,9] , C=1 , 0+3+1=4 , A->4 , C->0
[] + [2,3] , A=[4,1,3,3,4,6,0,9,8,4,6,4,2,7,0,9] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [2] , A=[3,4,1,3,3,4,6,0,9,8,4,6,4,2,7,0,9] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,3,4,1,3,3,4,6,0,9,8,4,6,4,2,7,0,9] C=0 , END
</scratch>
234133460984642709
| 234133460984642709 | 15 |
Input:
103809600739633063+46135479913
Target:
| Input:
103809600739633063+46135479913
Target:
[1,0,3,8,0,9,6,0,0,7,3,9,6,3,3,0,6,3] + [4,6,1,3,5,4,7,9,9,1,3] , A=[] , C=0 , 3+3+0=6 , A->6 , C->0
[1,0,3,8,0,9,6,0,0,7,3,9,6,3,3,0,6] + [4,6,1,3,5,4,7,9,9,1] , A=[6] , C=0 , 6+1+0=7 , A->7 , C->0
[1,0,3,8,0,9,6,0,0,7,3,9,6,3,3,0] + [4,6,1,3,5,4,7,9,9] , A=[7,6] , C=0 , 0+9+0=9 , A->9 , C->0
[1,0,3,8,0,9,6,0,0,7,3,9,6,3,3] + [4,6,1,3,5,4,7,9] , A=[9,7,6] , C=0 , 3+9+0=12 , A->2 , C->1
[1,0,3,8,0,9,6,0,0,7,3,9,6,3] + [4,6,1,3,5,4,7] , A=[2,9,7,6] , C=1 , 3+7+1=11 , A->1 , C->1
[1,0,3,8,0,9,6,0,0,7,3,9,6] + [4,6,1,3,5,4] , A=[1,2,9,7,6] , C=1 , 6+4+1=11 , A->1 , C->1
[1,0,3,8,0,9,6,0,0,7,3,9] + [4,6,1,3,5] , A=[1,1,2,9,7,6] , C=1 , 9+5+1=15 , A->5 , C->1
[1,0,3,8,0,9,6,0,0,7,3] + [4,6,1,3] , A=[5,1,1,2,9,7,6] , C=1 , 3+3+1=7 , A->7 , C->0
[1,0,3,8,0,9,6,0,0,7] + [4,6,1] , A=[7,5,1,1,2,9,7,6] , C=0 , 7+1+0=8 , A->8 , C->0
[1,0,3,8,0,9,6,0,0] + [4,6] , A=[8,7,5,1,1,2,9,7,6] , C=0 , 0+6+0=6 , A->6 , C->0
[1,0,3,8,0,9,6,0] + [4] , A=[6,8,7,5,1,1,2,9,7,6] , C=0 , 0+4+0=4 , A->4 , C->0
[1,0,3,8,0,9,6] + [] , A=[4,6,8,7,5,1,1,2,9,7,6] , C=0 , 6+0+0=6 , A->6 , C->0
[1,0,3,8,0,9] + [] , A=[6,4,6,8,7,5,1,1,2,9,7,6] , C=0 , 9+0+0=9 , A->9 , C->0
[1,0,3,8,0] + [] , A=[9,6,4,6,8,7,5,1,1,2,9,7,6] , C=0 , 0+0+0=0 , A->0 , C->0
[1,0,3,8] + [] , A=[0,9,6,4,6,8,7,5,1,1,2,9,7,6] , C=0 , 8+0+0=8 , A->8 , C->0
[1,0,3] + [] , A=[8,0,9,6,4,6,8,7,5,1,1,2,9,7,6] , C=0 , 3+0+0=3 , A->3 , C->0
[1,0] + [] , A=[3,8,0,9,6,4,6,8,7,5,1,1,2,9,7,6] , C=0 , 0+0+0=0 , A->0 , C->0
[1] + [] , A=[0,3,8,0,9,6,4,6,8,7,5,1,1,2,9,7,6] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,0,3,8,0,9,6,4,6,8,7,5,1,1,2,9,7,6] C=0 , END
</scratch>
103809646875112976
| 103809646875112976 | 11 |
Input:
285648467380116773+1137154003
Target:
| Input:
285648467380116773+1137154003
Target:
[2,8,5,6,4,8,4,6,7,3,8,0,1,1,6,7,7,3] + [1,1,3,7,1,5,4,0,0,3] , A=[] , C=0 , 3+3+0=6 , A->6 , C->0
[2,8,5,6,4,8,4,6,7,3,8,0,1,1,6,7,7] + [1,1,3,7,1,5,4,0,0] , A=[6] , C=0 , 7+0+0=7 , A->7 , C->0
[2,8,5,6,4,8,4,6,7,3,8,0,1,1,6,7] + [1,1,3,7,1,5,4,0] , A=[7,6] , C=0 , 7+0+0=7 , A->7 , C->0
[2,8,5,6,4,8,4,6,7,3,8,0,1,1,6] + [1,1,3,7,1,5,4] , A=[7,7,6] , C=0 , 6+4+0=10 , A->0 , C->1
[2,8,5,6,4,8,4,6,7,3,8,0,1,1] + [1,1,3,7,1,5] , A=[0,7,7,6] , C=1 , 1+5+1=7 , A->7 , C->0
[2,8,5,6,4,8,4,6,7,3,8,0,1] + [1,1,3,7,1] , A=[7,0,7,7,6] , C=0 , 1+1+0=2 , A->2 , C->0
[2,8,5,6,4,8,4,6,7,3,8,0] + [1,1,3,7] , A=[2,7,0,7,7,6] , C=0 , 0+7+0=7 , A->7 , C->0
[2,8,5,6,4,8,4,6,7,3,8] + [1,1,3] , A=[7,2,7,0,7,7,6] , C=0 , 8+3+0=11 , A->1 , C->1
[2,8,5,6,4,8,4,6,7,3] + [1,1] , A=[1,7,2,7,0,7,7,6] , C=1 , 3+1+1=5 , A->5 , C->0
[2,8,5,6,4,8,4,6,7] + [1] , A=[5,1,7,2,7,0,7,7,6] , C=0 , 7+1+0=8 , A->8 , C->0
[2,8,5,6,4,8,4,6] + [] , A=[8,5,1,7,2,7,0,7,7,6] , C=0 , 6+0+0=6 , A->6 , C->0
[2,8,5,6,4,8,4] + [] , A=[6,8,5,1,7,2,7,0,7,7,6] , C=0 , 4+0+0=4 , A->4 , C->0
[2,8,5,6,4,8] + [] , A=[4,6,8,5,1,7,2,7,0,7,7,6] , C=0 , 8+0+0=8 , A->8 , C->0
[2,8,5,6,4] + [] , A=[8,4,6,8,5,1,7,2,7,0,7,7,6] , C=0 , 4+0+0=4 , A->4 , C->0
[2,8,5,6] + [] , A=[4,8,4,6,8,5,1,7,2,7,0,7,7,6] , C=0 , 6+0+0=6 , A->6 , C->0
[2,8,5] + [] , A=[6,4,8,4,6,8,5,1,7,2,7,0,7,7,6] , C=0 , 5+0+0=5 , A->5 , C->0
[2,8] + [] , A=[5,6,4,8,4,6,8,5,1,7,2,7,0,7,7,6] , C=0 , 8+0+0=8 , A->8 , C->0
[2] + [] , A=[8,5,6,4,8,4,6,8,5,1,7,2,7,0,7,7,6] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [] , A=[2,8,5,6,4,8,4,6,8,5,1,7,2,7,0,7,7,6] C=0 , END
</scratch>
285648468517270776
| 285648468517270776 | 10 |
Input:
1417734470939511+712696723685182299
Target:
| Input:
1417734470939511+712696723685182299
Target:
[1,4,1,7,7,3,4,4,7,0,9,3,9,5,1,1] + [7,1,2,6,9,6,7,2,3,6,8,5,1,8,2,2,9,9] , A=[] , C=0 , 1+9+0=10 , A->0 , C->1
[1,4,1,7,7,3,4,4,7,0,9,3,9,5,1] + [7,1,2,6,9,6,7,2,3,6,8,5,1,8,2,2,9] , A=[0] , C=1 , 1+9+1=11 , A->1 , C->1
[1,4,1,7,7,3,4,4,7,0,9,3,9,5] + [7,1,2,6,9,6,7,2,3,6,8,5,1,8,2,2] , A=[1,0] , C=1 , 5+2+1=8 , A->8 , C->0
[1,4,1,7,7,3,4,4,7,0,9,3,9] + [7,1,2,6,9,6,7,2,3,6,8,5,1,8,2] , A=[8,1,0] , C=0 , 9+2+0=11 , A->1 , C->1
[1,4,1,7,7,3,4,4,7,0,9,3] + [7,1,2,6,9,6,7,2,3,6,8,5,1,8] , A=[1,8,1,0] , C=1 , 3+8+1=12 , A->2 , C->1
[1,4,1,7,7,3,4,4,7,0,9] + [7,1,2,6,9,6,7,2,3,6,8,5,1] , A=[2,1,8,1,0] , C=1 , 9+1+1=11 , A->1 , C->1
[1,4,1,7,7,3,4,4,7,0] + [7,1,2,6,9,6,7,2,3,6,8,5] , A=[1,2,1,8,1,0] , C=1 , 0+5+1=6 , A->6 , C->0
[1,4,1,7,7,3,4,4,7] + [7,1,2,6,9,6,7,2,3,6,8] , A=[6,1,2,1,8,1,0] , C=0 , 7+8+0=15 , A->5 , C->1
[1,4,1,7,7,3,4,4] + [7,1,2,6,9,6,7,2,3,6] , A=[5,6,1,2,1,8,1,0] , C=1 , 4+6+1=11 , A->1 , C->1
[1,4,1,7,7,3,4] + [7,1,2,6,9,6,7,2,3] , A=[1,5,6,1,2,1,8,1,0] , C=1 , 4+3+1=8 , A->8 , C->0
[1,4,1,7,7,3] + [7,1,2,6,9,6,7,2] , A=[8,1,5,6,1,2,1,8,1,0] , C=0 , 3+2+0=5 , A->5 , C->0
[1,4,1,7,7] + [7,1,2,6,9,6,7] , A=[5,8,1,5,6,1,2,1,8,1,0] , C=0 , 7+7+0=14 , A->4 , C->1
[1,4,1,7] + [7,1,2,6,9,6] , A=[4,5,8,1,5,6,1,2,1,8,1,0] , C=1 , 7+6+1=14 , A->4 , C->1
[1,4,1] + [7,1,2,6,9] , A=[4,4,5,8,1,5,6,1,2,1,8,1,0] , C=1 , 1+9+1=11 , A->1 , C->1
[1,4] + [7,1,2,6] , A=[1,4,4,5,8,1,5,6,1,2,1,8,1,0] , C=1 , 4+6+1=11 , A->1 , C->1
[1] + [7,1,2] , A=[1,1,4,4,5,8,1,5,6,1,2,1,8,1,0] , C=1 , 1+2+1=4 , A->4 , C->0
[] + [7,1] , A=[4,1,1,4,4,5,8,1,5,6,1,2,1,8,1,0] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [7] , A=[1,4,1,1,4,4,5,8,1,5,6,1,2,1,8,1,0] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,1,4,1,1,4,4,5,8,1,5,6,1,2,1,8,1,0] C=0 , END
</scratch>
714114458156121810
| 714114458156121810 | 16 |
Input:
741100857517810086+17059099316946
Target:
| Input:
741100857517810086+17059099316946
Target:
[7,4,1,1,0,0,8,5,7,5,1,7,8,1,0,0,8,6] + [1,7,0,5,9,0,9,9,3,1,6,9,4,6] , A=[] , C=0 , 6+6+0=12 , A->2 , C->1
[7,4,1,1,0,0,8,5,7,5,1,7,8,1,0,0,8] + [1,7,0,5,9,0,9,9,3,1,6,9,4] , A=[2] , C=1 , 8+4+1=13 , A->3 , C->1
[7,4,1,1,0,0,8,5,7,5,1,7,8,1,0,0] + [1,7,0,5,9,0,9,9,3,1,6,9] , A=[3,2] , C=1 , 0+9+1=10 , A->0 , C->1
[7,4,1,1,0,0,8,5,7,5,1,7,8,1,0] + [1,7,0,5,9,0,9,9,3,1,6] , A=[0,3,2] , C=1 , 0+6+1=7 , A->7 , C->0
[7,4,1,1,0,0,8,5,7,5,1,7,8,1] + [1,7,0,5,9,0,9,9,3,1] , A=[7,0,3,2] , C=0 , 1+1+0=2 , A->2 , C->0
[7,4,1,1,0,0,8,5,7,5,1,7,8] + [1,7,0,5,9,0,9,9,3] , A=[2,7,0,3,2] , C=0 , 8+3+0=11 , A->1 , C->1
[7,4,1,1,0,0,8,5,7,5,1,7] + [1,7,0,5,9,0,9,9] , A=[1,2,7,0,3,2] , C=1 , 7+9+1=17 , A->7 , C->1
[7,4,1,1,0,0,8,5,7,5,1] + [1,7,0,5,9,0,9] , A=[7,1,2,7,0,3,2] , C=1 , 1+9+1=11 , A->1 , C->1
[7,4,1,1,0,0,8,5,7,5] + [1,7,0,5,9,0] , A=[1,7,1,2,7,0,3,2] , C=1 , 5+0+1=6 , A->6 , C->0
[7,4,1,1,0,0,8,5,7] + [1,7,0,5,9] , A=[6,1,7,1,2,7,0,3,2] , C=0 , 7+9+0=16 , A->6 , C->1
[7,4,1,1,0,0,8,5] + [1,7,0,5] , A=[6,6,1,7,1,2,7,0,3,2] , C=1 , 5+5+1=11 , A->1 , C->1
[7,4,1,1,0,0,8] + [1,7,0] , A=[1,6,6,1,7,1,2,7,0,3,2] , C=1 , 8+0+1=9 , A->9 , C->0
[7,4,1,1,0,0] + [1,7] , A=[9,1,6,6,1,7,1,2,7,0,3,2] , C=0 , 0+7+0=7 , A->7 , C->0
[7,4,1,1,0] + [1] , A=[7,9,1,6,6,1,7,1,2,7,0,3,2] , C=0 , 0+1+0=1 , A->1 , C->0
[7,4,1,1] + [] , A=[1,7,9,1,6,6,1,7,1,2,7,0,3,2] , C=0 , 1+0+0=1 , A->1 , C->0
[7,4,1] + [] , A=[1,1,7,9,1,6,6,1,7,1,2,7,0,3,2] , C=0 , 1+0+0=1 , A->1 , C->0
[7,4] + [] , A=[1,1,1,7,9,1,6,6,1,7,1,2,7,0,3,2] , C=0 , 4+0+0=4 , A->4 , C->0
[7] + [] , A=[4,1,1,1,7,9,1,6,6,1,7,1,2,7,0,3,2] , C=0 , 7+0+0=7 , A->7 , C->0
[] + [] , A=[7,4,1,1,1,7,9,1,6,6,1,7,1,2,7,0,3,2] C=0 , END
</scratch>
741117916617127032
| 741117916617127032 | 14 |
Input:
28095792302206+400222628918961691
Target:
| Input:
28095792302206+400222628918961691
Target:
[2,8,0,9,5,7,9,2,3,0,2,2,0,6] + [4,0,0,2,2,2,6,2,8,9,1,8,9,6,1,6,9,1] , A=[] , C=0 , 6+1+0=7 , A->7 , C->0
[2,8,0,9,5,7,9,2,3,0,2,2,0] + [4,0,0,2,2,2,6,2,8,9,1,8,9,6,1,6,9] , A=[7] , C=0 , 0+9+0=9 , A->9 , C->0
[2,8,0,9,5,7,9,2,3,0,2,2] + [4,0,0,2,2,2,6,2,8,9,1,8,9,6,1,6] , A=[9,7] , C=0 , 2+6+0=8 , A->8 , C->0
[2,8,0,9,5,7,9,2,3,0,2] + [4,0,0,2,2,2,6,2,8,9,1,8,9,6,1] , A=[8,9,7] , C=0 , 2+1+0=3 , A->3 , C->0
[2,8,0,9,5,7,9,2,3,0] + [4,0,0,2,2,2,6,2,8,9,1,8,9,6] , A=[3,8,9,7] , C=0 , 0+6+0=6 , A->6 , C->0
[2,8,0,9,5,7,9,2,3] + [4,0,0,2,2,2,6,2,8,9,1,8,9] , A=[6,3,8,9,7] , C=0 , 3+9+0=12 , A->2 , C->1
[2,8,0,9,5,7,9,2] + [4,0,0,2,2,2,6,2,8,9,1,8] , A=[2,6,3,8,9,7] , C=1 , 2+8+1=11 , A->1 , C->1
[2,8,0,9,5,7,9] + [4,0,0,2,2,2,6,2,8,9,1] , A=[1,2,6,3,8,9,7] , C=1 , 9+1+1=11 , A->1 , C->1
[2,8,0,9,5,7] + [4,0,0,2,2,2,6,2,8,9] , A=[1,1,2,6,3,8,9,7] , C=1 , 7+9+1=17 , A->7 , C->1
[2,8,0,9,5] + [4,0,0,2,2,2,6,2,8] , A=[7,1,1,2,6,3,8,9,7] , C=1 , 5+8+1=14 , A->4 , C->1
[2,8,0,9] + [4,0,0,2,2,2,6,2] , A=[4,7,1,1,2,6,3,8,9,7] , C=1 , 9+2+1=12 , A->2 , C->1
[2,8,0] + [4,0,0,2,2,2,6] , A=[2,4,7,1,1,2,6,3,8,9,7] , C=1 , 0+6+1=7 , A->7 , C->0
[2,8] + [4,0,0,2,2,2] , A=[7,2,4,7,1,1,2,6,3,8,9,7] , C=0 , 8+2+0=10 , A->0 , C->1
[2] + [4,0,0,2,2] , A=[0,7,2,4,7,1,1,2,6,3,8,9,7] , C=1 , 2+2+1=5 , A->5 , C->0
[] + [4,0,0,2] , A=[5,0,7,2,4,7,1,1,2,6,3,8,9,7] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [4,0,0] , A=[2,5,0,7,2,4,7,1,1,2,6,3,8,9,7] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [4,0] , A=[0,2,5,0,7,2,4,7,1,1,2,6,3,8,9,7] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [4] , A=[0,0,2,5,0,7,2,4,7,1,1,2,6,3,8,9,7] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,0,0,2,5,0,7,2,4,7,1,1,2,6,3,8,9,7] C=0 , END
</scratch>
400250724711263897
| 400250724711263897 | 14 |
Input:
7927+955231289222656453
Target:
| Input:
7927+955231289222656453
Target:
[7,9,2,7] + [9,5,5,2,3,1,2,8,9,2,2,2,6,5,6,4,5,3] , A=[] , C=0 , 7+3+0=10 , A->0 , C->1
[7,9,2] + [9,5,5,2,3,1,2,8,9,2,2,2,6,5,6,4,5] , A=[0] , C=1 , 2+5+1=8 , A->8 , C->0
[7,9] + [9,5,5,2,3,1,2,8,9,2,2,2,6,5,6,4] , A=[8,0] , C=0 , 9+4+0=13 , A->3 , C->1
[7] + [9,5,5,2,3,1,2,8,9,2,2,2,6,5,6] , A=[3,8,0] , C=1 , 7+6+1=14 , A->4 , C->1
[] + [9,5,5,2,3,1,2,8,9,2,2,2,6,5] , A=[4,3,8,0] , C=1 , 0+5+1=6 , A->6 , C->0
[] + [9,5,5,2,3,1,2,8,9,2,2,2,6] , A=[6,4,3,8,0] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [9,5,5,2,3,1,2,8,9,2,2,2] , A=[6,6,4,3,8,0] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9,5,5,2,3,1,2,8,9,2,2] , A=[2,6,6,4,3,8,0] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9,5,5,2,3,1,2,8,9,2] , A=[2,2,6,6,4,3,8,0] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9,5,5,2,3,1,2,8,9] , A=[2,2,2,6,6,4,3,8,0] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [9,5,5,2,3,1,2,8] , A=[9,2,2,2,6,6,4,3,8,0] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [9,5,5,2,3,1,2] , A=[8,9,2,2,2,6,6,4,3,8,0] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9,5,5,2,3,1] , A=[2,8,9,2,2,2,6,6,4,3,8,0] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [9,5,5,2,3] , A=[1,2,8,9,2,2,2,6,6,4,3,8,0] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [9,5,5,2] , A=[3,1,2,8,9,2,2,2,6,6,4,3,8,0] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9,5,5] , A=[2,3,1,2,8,9,2,2,2,6,6,4,3,8,0] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,5] , A=[5,2,3,1,2,8,9,2,2,2,6,6,4,3,8,0] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9] , A=[5,5,2,3,1,2,8,9,2,2,2,6,6,4,3,8,0] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,5,5,2,3,1,2,8,9,2,2,2,6,6,4,3,8,0] C=0 , END
</scratch>
955231289222664380
| 955231289222664380 | 4 |
Input:
40507182222868062+688995764011684088
Target:
| Input:
40507182222868062+688995764011684088
Target:
[4,0,5,0,7,1,8,2,2,2,2,8,6,8,0,6,2] + [6,8,8,9,9,5,7,6,4,0,1,1,6,8,4,0,8,8] , A=[] , C=0 , 2+8+0=10 , A->0 , C->1
[4,0,5,0,7,1,8,2,2,2,2,8,6,8,0,6] + [6,8,8,9,9,5,7,6,4,0,1,1,6,8,4,0,8] , A=[0] , C=1 , 6+8+1=15 , A->5 , C->1
[4,0,5,0,7,1,8,2,2,2,2,8,6,8,0] + [6,8,8,9,9,5,7,6,4,0,1,1,6,8,4,0] , A=[5,0] , C=1 , 0+0+1=1 , A->1 , C->0
[4,0,5,0,7,1,8,2,2,2,2,8,6,8] + [6,8,8,9,9,5,7,6,4,0,1,1,6,8,4] , A=[1,5,0] , C=0 , 8+4+0=12 , A->2 , C->1
[4,0,5,0,7,1,8,2,2,2,2,8,6] + [6,8,8,9,9,5,7,6,4,0,1,1,6,8] , A=[2,1,5,0] , C=1 , 6+8+1=15 , A->5 , C->1
[4,0,5,0,7,1,8,2,2,2,2,8] + [6,8,8,9,9,5,7,6,4,0,1,1,6] , A=[5,2,1,5,0] , C=1 , 8+6+1=15 , A->5 , C->1
[4,0,5,0,7,1,8,2,2,2,2] + [6,8,8,9,9,5,7,6,4,0,1,1] , A=[5,5,2,1,5,0] , C=1 , 2+1+1=4 , A->4 , C->0
[4,0,5,0,7,1,8,2,2,2] + [6,8,8,9,9,5,7,6,4,0,1] , A=[4,5,5,2,1,5,0] , C=0 , 2+1+0=3 , A->3 , C->0
[4,0,5,0,7,1,8,2,2] + [6,8,8,9,9,5,7,6,4,0] , A=[3,4,5,5,2,1,5,0] , C=0 , 2+0+0=2 , A->2 , C->0
[4,0,5,0,7,1,8,2] + [6,8,8,9,9,5,7,6,4] , A=[2,3,4,5,5,2,1,5,0] , C=0 , 2+4+0=6 , A->6 , C->0
[4,0,5,0,7,1,8] + [6,8,8,9,9,5,7,6] , A=[6,2,3,4,5,5,2,1,5,0] , C=0 , 8+6+0=14 , A->4 , C->1
[4,0,5,0,7,1] + [6,8,8,9,9,5,7] , A=[4,6,2,3,4,5,5,2,1,5,0] , C=1 , 1+7+1=9 , A->9 , C->0
[4,0,5,0,7] + [6,8,8,9,9,5] , A=[9,4,6,2,3,4,5,5,2,1,5,0] , C=0 , 7+5+0=12 , A->2 , C->1
[4,0,5,0] + [6,8,8,9,9] , A=[2,9,4,6,2,3,4,5,5,2,1,5,0] , C=1 , 0+9+1=10 , A->0 , C->1
[4,0,5] + [6,8,8,9] , A=[0,2,9,4,6,2,3,4,5,5,2,1,5,0] , C=1 , 5+9+1=15 , A->5 , C->1
[4,0] + [6,8,8] , A=[5,0,2,9,4,6,2,3,4,5,5,2,1,5,0] , C=1 , 0+8+1=9 , A->9 , C->0
[4] + [6,8] , A=[9,5,0,2,9,4,6,2,3,4,5,5,2,1,5,0] , C=0 , 4+8+0=12 , A->2 , C->1
[] + [6] , A=[2,9,5,0,2,9,4,6,2,3,4,5,5,2,1,5,0] , C=1 , 0+6+1=7 , A->7 , C->0
[] + [] , A=[7,2,9,5,0,2,9,4,6,2,3,4,5,5,2,1,5,0] C=0 , END
</scratch>
729502946234552150
| 729502946234552150 | 17 |
Input:
352034949066407803+41463664045
Target:
| Input:
352034949066407803+41463664045
Target:
[3,5,2,0,3,4,9,4,9,0,6,6,4,0,7,8,0,3] + [4,1,4,6,3,6,6,4,0,4,5] , A=[] , C=0 , 3+5+0=8 , A->8 , C->0
[3,5,2,0,3,4,9,4,9,0,6,6,4,0,7,8,0] + [4,1,4,6,3,6,6,4,0,4] , A=[8] , C=0 , 0+4+0=4 , A->4 , C->0
[3,5,2,0,3,4,9,4,9,0,6,6,4,0,7,8] + [4,1,4,6,3,6,6,4,0] , A=[4,8] , C=0 , 8+0+0=8 , A->8 , C->0
[3,5,2,0,3,4,9,4,9,0,6,6,4,0,7] + [4,1,4,6,3,6,6,4] , A=[8,4,8] , C=0 , 7+4+0=11 , A->1 , C->1
[3,5,2,0,3,4,9,4,9,0,6,6,4,0] + [4,1,4,6,3,6,6] , A=[1,8,4,8] , C=1 , 0+6+1=7 , A->7 , C->0
[3,5,2,0,3,4,9,4,9,0,6,6,4] + [4,1,4,6,3,6] , A=[7,1,8,4,8] , C=0 , 4+6+0=10 , A->0 , C->1
[3,5,2,0,3,4,9,4,9,0,6,6] + [4,1,4,6,3] , A=[0,7,1,8,4,8] , C=1 , 6+3+1=10 , A->0 , C->1
[3,5,2,0,3,4,9,4,9,0,6] + [4,1,4,6] , A=[0,0,7,1,8,4,8] , C=1 , 6+6+1=13 , A->3 , C->1
[3,5,2,0,3,4,9,4,9,0] + [4,1,4] , A=[3,0,0,7,1,8,4,8] , C=1 , 0+4+1=5 , A->5 , C->0
[3,5,2,0,3,4,9,4,9] + [4,1] , A=[5,3,0,0,7,1,8,4,8] , C=0 , 9+1+0=10 , A->0 , C->1
[3,5,2,0,3,4,9,4] + [4] , A=[0,5,3,0,0,7,1,8,4,8] , C=1 , 4+4+1=9 , A->9 , C->0
[3,5,2,0,3,4,9] + [] , A=[9,0,5,3,0,0,7,1,8,4,8] , C=0 , 9+0+0=9 , A->9 , C->0
[3,5,2,0,3,4] + [] , A=[9,9,0,5,3,0,0,7,1,8,4,8] , C=0 , 4+0+0=4 , A->4 , C->0
[3,5,2,0,3] + [] , A=[4,9,9,0,5,3,0,0,7,1,8,4,8] , C=0 , 3+0+0=3 , A->3 , C->0
[3,5,2,0] + [] , A=[3,4,9,9,0,5,3,0,0,7,1,8,4,8] , C=0 , 0+0+0=0 , A->0 , C->0
[3,5,2] + [] , A=[0,3,4,9,9,0,5,3,0,0,7,1,8,4,8] , C=0 , 2+0+0=2 , A->2 , C->0
[3,5] + [] , A=[2,0,3,4,9,9,0,5,3,0,0,7,1,8,4,8] , C=0 , 5+0+0=5 , A->5 , C->0
[3] + [] , A=[5,2,0,3,4,9,9,0,5,3,0,0,7,1,8,4,8] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,5,2,0,3,4,9,9,0,5,3,0,0,7,1,8,4,8] C=0 , END
</scratch>
352034990530071848
| 352034990530071848 | 11 |
Input:
948797575397399837+9254191141197980
Target:
| Input:
948797575397399837+9254191141197980
Target:
[9,4,8,7,9,7,5,7,5,3,9,7,3,9,9,8,3,7] + [9,2,5,4,1,9,1,1,4,1,1,9,7,9,8,0] , A=[] , C=0 , 7+0+0=7 , A->7 , C->0
[9,4,8,7,9,7,5,7,5,3,9,7,3,9,9,8,3] + [9,2,5,4,1,9,1,1,4,1,1,9,7,9,8] , A=[7] , C=0 , 3+8+0=11 , A->1 , C->1
[9,4,8,7,9,7,5,7,5,3,9,7,3,9,9,8] + [9,2,5,4,1,9,1,1,4,1,1,9,7,9] , A=[1,7] , C=1 , 8+9+1=18 , A->8 , C->1
[9,4,8,7,9,7,5,7,5,3,9,7,3,9,9] + [9,2,5,4,1,9,1,1,4,1,1,9,7] , A=[8,1,7] , C=1 , 9+7+1=17 , A->7 , C->1
[9,4,8,7,9,7,5,7,5,3,9,7,3,9] + [9,2,5,4,1,9,1,1,4,1,1,9] , A=[7,8,1,7] , C=1 , 9+9+1=19 , A->9 , C->1
[9,4,8,7,9,7,5,7,5,3,9,7,3] + [9,2,5,4,1,9,1,1,4,1,1] , A=[9,7,8,1,7] , C=1 , 3+1+1=5 , A->5 , C->0
[9,4,8,7,9,7,5,7,5,3,9,7] + [9,2,5,4,1,9,1,1,4,1] , A=[5,9,7,8,1,7] , C=0 , 7+1+0=8 , A->8 , C->0
[9,4,8,7,9,7,5,7,5,3,9] + [9,2,5,4,1,9,1,1,4] , A=[8,5,9,7,8,1,7] , C=0 , 9+4+0=13 , A->3 , C->1
[9,4,8,7,9,7,5,7,5,3] + [9,2,5,4,1,9,1,1] , A=[3,8,5,9,7,8,1,7] , C=1 , 3+1+1=5 , A->5 , C->0
[9,4,8,7,9,7,5,7,5] + [9,2,5,4,1,9,1] , A=[5,3,8,5,9,7,8,1,7] , C=0 , 5+1+0=6 , A->6 , C->0
[9,4,8,7,9,7,5,7] + [9,2,5,4,1,9] , A=[6,5,3,8,5,9,7,8,1,7] , C=0 , 7+9+0=16 , A->6 , C->1
[9,4,8,7,9,7,5] + [9,2,5,4,1] , A=[6,6,5,3,8,5,9,7,8,1,7] , C=1 , 5+1+1=7 , A->7 , C->0
[9,4,8,7,9,7] + [9,2,5,4] , A=[7,6,6,5,3,8,5,9,7,8,1,7] , C=0 , 7+4+0=11 , A->1 , C->1
[9,4,8,7,9] + [9,2,5] , A=[1,7,6,6,5,3,8,5,9,7,8,1,7] , C=1 , 9+5+1=15 , A->5 , C->1
[9,4,8,7] + [9,2] , A=[5,1,7,6,6,5,3,8,5,9,7,8,1,7] , C=1 , 7+2+1=10 , A->0 , C->1
[9,4,8] + [9] , A=[0,5,1,7,6,6,5,3,8,5,9,7,8,1,7] , C=1 , 8+9+1=18 , A->8 , C->1
[9,4] + [] , A=[8,0,5,1,7,6,6,5,3,8,5,9,7,8,1,7] , C=1 , 4+0+1=5 , A->5 , C->0
[9] + [] , A=[5,8,0,5,1,7,6,6,5,3,8,5,9,7,8,1,7] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,5,8,0,5,1,7,6,6,5,3,8,5,9,7,8,1,7] C=0 , END
</scratch>
958051766538597817
| 958051766538597817 | 16 |
Input:
61183+458964286414135875
Target:
| Input:
61183+458964286414135875
Target:
[6,1,1,8,3] + [4,5,8,9,6,4,2,8,6,4,1,4,1,3,5,8,7,5] , A=[] , C=0 , 3+5+0=8 , A->8 , C->0
[6,1,1,8] + [4,5,8,9,6,4,2,8,6,4,1,4,1,3,5,8,7] , A=[8] , C=0 , 8+7+0=15 , A->5 , C->1
[6,1,1] + [4,5,8,9,6,4,2,8,6,4,1,4,1,3,5,8] , A=[5,8] , C=1 , 1+8+1=10 , A->0 , C->1
[6,1] + [4,5,8,9,6,4,2,8,6,4,1,4,1,3,5] , A=[0,5,8] , C=1 , 1+5+1=7 , A->7 , C->0
[6] + [4,5,8,9,6,4,2,8,6,4,1,4,1,3] , A=[7,0,5,8] , C=0 , 6+3+0=9 , A->9 , C->0
[] + [4,5,8,9,6,4,2,8,6,4,1,4,1] , A=[9,7,0,5,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [4,5,8,9,6,4,2,8,6,4,1,4] , A=[1,9,7,0,5,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [4,5,8,9,6,4,2,8,6,4,1] , A=[4,1,9,7,0,5,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [4,5,8,9,6,4,2,8,6,4] , A=[1,4,1,9,7,0,5,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [4,5,8,9,6,4,2,8,6] , A=[4,1,4,1,9,7,0,5,8] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [4,5,8,9,6,4,2,8] , A=[6,4,1,4,1,9,7,0,5,8] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [4,5,8,9,6,4,2] , A=[8,6,4,1,4,1,9,7,0,5,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [4,5,8,9,6,4] , A=[2,8,6,4,1,4,1,9,7,0,5,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [4,5,8,9,6] , A=[4,2,8,6,4,1,4,1,9,7,0,5,8] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [4,5,8,9] , A=[6,4,2,8,6,4,1,4,1,9,7,0,5,8] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [4,5,8] , A=[9,6,4,2,8,6,4,1,4,1,9,7,0,5,8] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [4,5] , A=[8,9,6,4,2,8,6,4,1,4,1,9,7,0,5,8] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [4] , A=[5,8,9,6,4,2,8,6,4,1,4,1,9,7,0,5,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,5,8,9,6,4,2,8,6,4,1,4,1,9,7,0,5,8] C=0 , END
</scratch>
458964286414197058
| 458964286414197058 | 5 |
Input:
5990288+702451369247672499
Target:
| Input:
5990288+702451369247672499
Target:
[5,9,9,0,2,8,8] + [7,0,2,4,5,1,3,6,9,2,4,7,6,7,2,4,9,9] , A=[] , C=0 , 8+9+0=17 , A->7 , C->1
[5,9,9,0,2,8] + [7,0,2,4,5,1,3,6,9,2,4,7,6,7,2,4,9] , A=[7] , C=1 , 8+9+1=18 , A->8 , C->1
[5,9,9,0,2] + [7,0,2,4,5,1,3,6,9,2,4,7,6,7,2,4] , A=[8,7] , C=1 , 2+4+1=7 , A->7 , C->0
[5,9,9,0] + [7,0,2,4,5,1,3,6,9,2,4,7,6,7,2] , A=[7,8,7] , C=0 , 0+2+0=2 , A->2 , C->0
[5,9,9] + [7,0,2,4,5,1,3,6,9,2,4,7,6,7] , A=[2,7,8,7] , C=0 , 9+7+0=16 , A->6 , C->1
[5,9] + [7,0,2,4,5,1,3,6,9,2,4,7,6] , A=[6,2,7,8,7] , C=1 , 9+6+1=16 , A->6 , C->1
[5] + [7,0,2,4,5,1,3,6,9,2,4,7] , A=[6,6,2,7,8,7] , C=1 , 5+7+1=13 , A->3 , C->1
[] + [7,0,2,4,5,1,3,6,9,2,4] , A=[3,6,6,2,7,8,7] , C=1 , 0+4+1=5 , A->5 , C->0
[] + [7,0,2,4,5,1,3,6,9,2] , A=[5,3,6,6,2,7,8,7] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [7,0,2,4,5,1,3,6,9] , A=[2,5,3,6,6,2,7,8,7] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [7,0,2,4,5,1,3,6] , A=[9,2,5,3,6,6,2,7,8,7] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [7,0,2,4,5,1,3] , A=[6,9,2,5,3,6,6,2,7,8,7] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [7,0,2,4,5,1] , A=[3,6,9,2,5,3,6,6,2,7,8,7] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [7,0,2,4,5] , A=[1,3,6,9,2,5,3,6,6,2,7,8,7] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [7,0,2,4] , A=[5,1,3,6,9,2,5,3,6,6,2,7,8,7] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [7,0,2] , A=[4,5,1,3,6,9,2,5,3,6,6,2,7,8,7] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [7,0] , A=[2,4,5,1,3,6,9,2,5,3,6,6,2,7,8,7] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [7] , A=[0,2,4,5,1,3,6,9,2,5,3,6,6,2,7,8,7] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,0,2,4,5,1,3,6,9,2,5,3,6,6,2,7,8,7] C=0 , END
</scratch>
702451369253662787
| 702451369253662787 | 7 |
Input:
323534110332945770+86826750
Target:
| Input:
323534110332945770+86826750
Target:
[3,2,3,5,3,4,1,1,0,3,3,2,9,4,5,7,7,0] + [8,6,8,2,6,7,5,0] , A=[] , C=0 , 0+0+0=0 , A->0 , C->0
[3,2,3,5,3,4,1,1,0,3,3,2,9,4,5,7,7] + [8,6,8,2,6,7,5] , A=[0] , C=0 , 7+5+0=12 , A->2 , C->1
[3,2,3,5,3,4,1,1,0,3,3,2,9,4,5,7] + [8,6,8,2,6,7] , A=[2,0] , C=1 , 7+7+1=15 , A->5 , C->1
[3,2,3,5,3,4,1,1,0,3,3,2,9,4,5] + [8,6,8,2,6] , A=[5,2,0] , C=1 , 5+6+1=12 , A->2 , C->1
[3,2,3,5,3,4,1,1,0,3,3,2,9,4] + [8,6,8,2] , A=[2,5,2,0] , C=1 , 4+2+1=7 , A->7 , C->0
[3,2,3,5,3,4,1,1,0,3,3,2,9] + [8,6,8] , A=[7,2,5,2,0] , C=0 , 9+8+0=17 , A->7 , C->1
[3,2,3,5,3,4,1,1,0,3,3,2] + [8,6] , A=[7,7,2,5,2,0] , C=1 , 2+6+1=9 , A->9 , C->0
[3,2,3,5,3,4,1,1,0,3,3] + [8] , A=[9,7,7,2,5,2,0] , C=0 , 3+8+0=11 , A->1 , C->1
[3,2,3,5,3,4,1,1,0,3] + [] , A=[1,9,7,7,2,5,2,0] , C=1 , 3+0+1=4 , A->4 , C->0
[3,2,3,5,3,4,1,1,0] + [] , A=[4,1,9,7,7,2,5,2,0] , C=0 , 0+0+0=0 , A->0 , C->0
[3,2,3,5,3,4,1,1] + [] , A=[0,4,1,9,7,7,2,5,2,0] , C=0 , 1+0+0=1 , A->1 , C->0
[3,2,3,5,3,4,1] + [] , A=[1,0,4,1,9,7,7,2,5,2,0] , C=0 , 1+0+0=1 , A->1 , C->0
[3,2,3,5,3,4] + [] , A=[1,1,0,4,1,9,7,7,2,5,2,0] , C=0 , 4+0+0=4 , A->4 , C->0
[3,2,3,5,3] + [] , A=[4,1,1,0,4,1,9,7,7,2,5,2,0] , C=0 , 3+0+0=3 , A->3 , C->0
[3,2,3,5] + [] , A=[3,4,1,1,0,4,1,9,7,7,2,5,2,0] , C=0 , 5+0+0=5 , A->5 , C->0
[3,2,3] + [] , A=[5,3,4,1,1,0,4,1,9,7,7,2,5,2,0] , C=0 , 3+0+0=3 , A->3 , C->0
[3,2] + [] , A=[3,5,3,4,1,1,0,4,1,9,7,7,2,5,2,0] , C=0 , 2+0+0=2 , A->2 , C->0
[3] + [] , A=[2,3,5,3,4,1,1,0,4,1,9,7,7,2,5,2,0] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,2,3,5,3,4,1,1,0,4,1,9,7,7,2,5,2,0] C=0 , END
</scratch>
323534110419772520
| 323534110419772520 | 8 |
Input:
129907320402554744+810472026654045
Target:
| Input:
129907320402554744+810472026654045
Target:
[1,2,9,9,0,7,3,2,0,4,0,2,5,5,4,7,4,4] + [8,1,0,4,7,2,0,2,6,6,5,4,0,4,5] , A=[] , C=0 , 4+5+0=9 , A->9 , C->0
[1,2,9,9,0,7,3,2,0,4,0,2,5,5,4,7,4] + [8,1,0,4,7,2,0,2,6,6,5,4,0,4] , A=[9] , C=0 , 4+4+0=8 , A->8 , C->0
[1,2,9,9,0,7,3,2,0,4,0,2,5,5,4,7] + [8,1,0,4,7,2,0,2,6,6,5,4,0] , A=[8,9] , C=0 , 7+0+0=7 , A->7 , C->0
[1,2,9,9,0,7,3,2,0,4,0,2,5,5,4] + [8,1,0,4,7,2,0,2,6,6,5,4] , A=[7,8,9] , C=0 , 4+4+0=8 , A->8 , C->0
[1,2,9,9,0,7,3,2,0,4,0,2,5,5] + [8,1,0,4,7,2,0,2,6,6,5] , A=[8,7,8,9] , C=0 , 5+5+0=10 , A->0 , C->1
[1,2,9,9,0,7,3,2,0,4,0,2,5] + [8,1,0,4,7,2,0,2,6,6] , A=[0,8,7,8,9] , C=1 , 5+6+1=12 , A->2 , C->1
[1,2,9,9,0,7,3,2,0,4,0,2] + [8,1,0,4,7,2,0,2,6] , A=[2,0,8,7,8,9] , C=1 , 2+6+1=9 , A->9 , C->0
[1,2,9,9,0,7,3,2,0,4,0] + [8,1,0,4,7,2,0,2] , A=[9,2,0,8,7,8,9] , C=0 , 0+2+0=2 , A->2 , C->0
[1,2,9,9,0,7,3,2,0,4] + [8,1,0,4,7,2,0] , A=[2,9,2,0,8,7,8,9] , C=0 , 4+0+0=4 , A->4 , C->0
[1,2,9,9,0,7,3,2,0] + [8,1,0,4,7,2] , A=[4,2,9,2,0,8,7,8,9] , C=0 , 0+2+0=2 , A->2 , C->0
[1,2,9,9,0,7,3,2] + [8,1,0,4,7] , A=[2,4,2,9,2,0,8,7,8,9] , C=0 , 2+7+0=9 , A->9 , C->0
[1,2,9,9,0,7,3] + [8,1,0,4] , A=[9,2,4,2,9,2,0,8,7,8,9] , C=0 , 3+4+0=7 , A->7 , C->0
[1,2,9,9,0,7] + [8,1,0] , A=[7,9,2,4,2,9,2,0,8,7,8,9] , C=0 , 7+0+0=7 , A->7 , C->0
[1,2,9,9,0] + [8,1] , A=[7,7,9,2,4,2,9,2,0,8,7,8,9] , C=0 , 0+1+0=1 , A->1 , C->0
[1,2,9,9] + [8] , A=[1,7,7,9,2,4,2,9,2,0,8,7,8,9] , C=0 , 9+8+0=17 , A->7 , C->1
[1,2,9] + [] , A=[7,1,7,7,9,2,4,2,9,2,0,8,7,8,9] , C=1 , 9+0+1=10 , A->0 , C->1
[1,2] + [] , A=[0,7,1,7,7,9,2,4,2,9,2,0,8,7,8,9] , C=1 , 2+0+1=3 , A->3 , C->0
[1] + [] , A=[3,0,7,1,7,7,9,2,4,2,9,2,0,8,7,8,9] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,3,0,7,1,7,7,9,2,4,2,9,2,0,8,7,8,9] C=0 , END
</scratch>
130717792429208789
| 130717792429208789 | 15 |
Input:
429818905034292336+12680073023
Target:
| Input:
429818905034292336+12680073023
Target:
[4,2,9,8,1,8,9,0,5,0,3,4,2,9,2,3,3,6] + [1,2,6,8,0,0,7,3,0,2,3] , A=[] , C=0 , 6+3+0=9 , A->9 , C->0
[4,2,9,8,1,8,9,0,5,0,3,4,2,9,2,3,3] + [1,2,6,8,0,0,7,3,0,2] , A=[9] , C=0 , 3+2+0=5 , A->5 , C->0
[4,2,9,8,1,8,9,0,5,0,3,4,2,9,2,3] + [1,2,6,8,0,0,7,3,0] , A=[5,9] , C=0 , 3+0+0=3 , A->3 , C->0
[4,2,9,8,1,8,9,0,5,0,3,4,2,9,2] + [1,2,6,8,0,0,7,3] , A=[3,5,9] , C=0 , 2+3+0=5 , A->5 , C->0
[4,2,9,8,1,8,9,0,5,0,3,4,2,9] + [1,2,6,8,0,0,7] , A=[5,3,5,9] , C=0 , 9+7+0=16 , A->6 , C->1
[4,2,9,8,1,8,9,0,5,0,3,4,2] + [1,2,6,8,0,0] , A=[6,5,3,5,9] , C=1 , 2+0+1=3 , A->3 , C->0
[4,2,9,8,1,8,9,0,5,0,3,4] + [1,2,6,8,0] , A=[3,6,5,3,5,9] , C=0 , 4+0+0=4 , A->4 , C->0
[4,2,9,8,1,8,9,0,5,0,3] + [1,2,6,8] , A=[4,3,6,5,3,5,9] , C=0 , 3+8+0=11 , A->1 , C->1
[4,2,9,8,1,8,9,0,5,0] + [1,2,6] , A=[1,4,3,6,5,3,5,9] , C=1 , 0+6+1=7 , A->7 , C->0
[4,2,9,8,1,8,9,0,5] + [1,2] , A=[7,1,4,3,6,5,3,5,9] , C=0 , 5+2+0=7 , A->7 , C->0
[4,2,9,8,1,8,9,0] + [1] , A=[7,7,1,4,3,6,5,3,5,9] , C=0 , 0+1+0=1 , A->1 , C->0
[4,2,9,8,1,8,9] + [] , A=[1,7,7,1,4,3,6,5,3,5,9] , C=0 , 9+0+0=9 , A->9 , C->0
[4,2,9,8,1,8] + [] , A=[9,1,7,7,1,4,3,6,5,3,5,9] , C=0 , 8+0+0=8 , A->8 , C->0
[4,2,9,8,1] + [] , A=[8,9,1,7,7,1,4,3,6,5,3,5,9] , C=0 , 1+0+0=1 , A->1 , C->0
[4,2,9,8] + [] , A=[1,8,9,1,7,7,1,4,3,6,5,3,5,9] , C=0 , 8+0+0=8 , A->8 , C->0
[4,2,9] + [] , A=[8,1,8,9,1,7,7,1,4,3,6,5,3,5,9] , C=0 , 9+0+0=9 , A->9 , C->0
[4,2] + [] , A=[9,8,1,8,9,1,7,7,1,4,3,6,5,3,5,9] , C=0 , 2+0+0=2 , A->2 , C->0
[4] + [] , A=[2,9,8,1,8,9,1,7,7,1,4,3,6,5,3,5,9] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,2,9,8,1,8,9,1,7,7,1,4,3,6,5,3,5,9] C=0 , END
</scratch>
429818917714365359
| 429818917714365359 | 11 |
Input:
700069059742481495+35
Target:
| Input:
700069059742481495+35
Target:
[7,0,0,0,6,9,0,5,9,7,4,2,4,8,1,4,9,5] + [3,5] , A=[] , C=0 , 5+5+0=10 , A->0 , C->1
[7,0,0,0,6,9,0,5,9,7,4,2,4,8,1,4,9] + [3] , A=[0] , C=1 , 9+3+1=13 , A->3 , C->1
[7,0,0,0,6,9,0,5,9,7,4,2,4,8,1,4] + [] , A=[3,0] , C=1 , 4+0+1=5 , A->5 , C->0
[7,0,0,0,6,9,0,5,9,7,4,2,4,8,1] + [] , A=[5,3,0] , C=0 , 1+0+0=1 , A->1 , C->0
[7,0,0,0,6,9,0,5,9,7,4,2,4,8] + [] , A=[1,5,3,0] , C=0 , 8+0+0=8 , A->8 , C->0
[7,0,0,0,6,9,0,5,9,7,4,2,4] + [] , A=[8,1,5,3,0] , C=0 , 4+0+0=4 , A->4 , C->0
[7,0,0,0,6,9,0,5,9,7,4,2] + [] , A=[4,8,1,5,3,0] , C=0 , 2+0+0=2 , A->2 , C->0
[7,0,0,0,6,9,0,5,9,7,4] + [] , A=[2,4,8,1,5,3,0] , C=0 , 4+0+0=4 , A->4 , C->0
[7,0,0,0,6,9,0,5,9,7] + [] , A=[4,2,4,8,1,5,3,0] , C=0 , 7+0+0=7 , A->7 , C->0
[7,0,0,0,6,9,0,5,9] + [] , A=[7,4,2,4,8,1,5,3,0] , C=0 , 9+0+0=9 , A->9 , C->0
[7,0,0,0,6,9,0,5] + [] , A=[9,7,4,2,4,8,1,5,3,0] , C=0 , 5+0+0=5 , A->5 , C->0
[7,0,0,0,6,9,0] + [] , A=[5,9,7,4,2,4,8,1,5,3,0] , C=0 , 0+0+0=0 , A->0 , C->0
[7,0,0,0,6,9] + [] , A=[0,5,9,7,4,2,4,8,1,5,3,0] , C=0 , 9+0+0=9 , A->9 , C->0
[7,0,0,0,6] + [] , A=[9,0,5,9,7,4,2,4,8,1,5,3,0] , C=0 , 6+0+0=6 , A->6 , C->0
[7,0,0,0] + [] , A=[6,9,0,5,9,7,4,2,4,8,1,5,3,0] , C=0 , 0+0+0=0 , A->0 , C->0
[7,0,0] + [] , A=[0,6,9,0,5,9,7,4,2,4,8,1,5,3,0] , C=0 , 0+0+0=0 , A->0 , C->0
[7,0] + [] , A=[0,0,6,9,0,5,9,7,4,2,4,8,1,5,3,0] , C=0 , 0+0+0=0 , A->0 , C->0
[7] + [] , A=[0,0,0,6,9,0,5,9,7,4,2,4,8,1,5,3,0] , C=0 , 7+0+0=7 , A->7 , C->0
[] + [] , A=[7,0,0,0,6,9,0,5,9,7,4,2,4,8,1,5,3,0] C=0 , END
</scratch>
700069059742481530
| 700069059742481530 | 2 |
Input:
469214770+460244441749048401
Target:
| Input:
469214770+460244441749048401
Target:
[4,6,9,2,1,4,7,7,0] + [4,6,0,2,4,4,4,4,1,7,4,9,0,4,8,4,0,1] , A=[] , C=0 , 0+1+0=1 , A->1 , C->0
[4,6,9,2,1,4,7,7] + [4,6,0,2,4,4,4,4,1,7,4,9,0,4,8,4,0] , A=[1] , C=0 , 7+0+0=7 , A->7 , C->0
[4,6,9,2,1,4,7] + [4,6,0,2,4,4,4,4,1,7,4,9,0,4,8,4] , A=[7,1] , C=0 , 7+4+0=11 , A->1 , C->1
[4,6,9,2,1,4] + [4,6,0,2,4,4,4,4,1,7,4,9,0,4,8] , A=[1,7,1] , C=1 , 4+8+1=13 , A->3 , C->1
[4,6,9,2,1] + [4,6,0,2,4,4,4,4,1,7,4,9,0,4] , A=[3,1,7,1] , C=1 , 1+4+1=6 , A->6 , C->0
[4,6,9,2] + [4,6,0,2,4,4,4,4,1,7,4,9,0] , A=[6,3,1,7,1] , C=0 , 2+0+0=2 , A->2 , C->0
[4,6,9] + [4,6,0,2,4,4,4,4,1,7,4,9] , A=[2,6,3,1,7,1] , C=0 , 9+9+0=18 , A->8 , C->1
[4,6] + [4,6,0,2,4,4,4,4,1,7,4] , A=[8,2,6,3,1,7,1] , C=1 , 6+4+1=11 , A->1 , C->1
[4] + [4,6,0,2,4,4,4,4,1,7] , A=[1,8,2,6,3,1,7,1] , C=1 , 4+7+1=12 , A->2 , C->1
[] + [4,6,0,2,4,4,4,4,1] , A=[2,1,8,2,6,3,1,7,1] , C=1 , 0+1+1=2 , A->2 , C->0
[] + [4,6,0,2,4,4,4,4] , A=[2,2,1,8,2,6,3,1,7,1] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [4,6,0,2,4,4,4] , A=[4,2,2,1,8,2,6,3,1,7,1] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [4,6,0,2,4,4] , A=[4,4,2,2,1,8,2,6,3,1,7,1] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [4,6,0,2,4] , A=[4,4,4,2,2,1,8,2,6,3,1,7,1] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [4,6,0,2] , A=[4,4,4,4,2,2,1,8,2,6,3,1,7,1] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [4,6,0] , A=[2,4,4,4,4,2,2,1,8,2,6,3,1,7,1] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [4,6] , A=[0,2,4,4,4,4,2,2,1,8,2,6,3,1,7,1] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [4] , A=[6,0,2,4,4,4,4,2,2,1,8,2,6,3,1,7,1] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,6,0,2,4,4,4,4,2,2,1,8,2,6,3,1,7,1] C=0 , END
</scratch>
460244442218263171
| 460244442218263171 | 9 |
Input:
377595888640+717429493861299499
Target:
| Input:
377595888640+717429493861299499
Target:
[3,7,7,5,9,5,8,8,8,6,4,0] + [7,1,7,4,2,9,4,9,3,8,6,1,2,9,9,4,9,9] , A=[] , C=0 , 0+9+0=9 , A->9 , C->0
[3,7,7,5,9,5,8,8,8,6,4] + [7,1,7,4,2,9,4,9,3,8,6,1,2,9,9,4,9] , A=[9] , C=0 , 4+9+0=13 , A->3 , C->1
[3,7,7,5,9,5,8,8,8,6] + [7,1,7,4,2,9,4,9,3,8,6,1,2,9,9,4] , A=[3,9] , C=1 , 6+4+1=11 , A->1 , C->1
[3,7,7,5,9,5,8,8,8] + [7,1,7,4,2,9,4,9,3,8,6,1,2,9,9] , A=[1,3,9] , C=1 , 8+9+1=18 , A->8 , C->1
[3,7,7,5,9,5,8,8] + [7,1,7,4,2,9,4,9,3,8,6,1,2,9] , A=[8,1,3,9] , C=1 , 8+9+1=18 , A->8 , C->1
[3,7,7,5,9,5,8] + [7,1,7,4,2,9,4,9,3,8,6,1,2] , A=[8,8,1,3,9] , C=1 , 8+2+1=11 , A->1 , C->1
[3,7,7,5,9,5] + [7,1,7,4,2,9,4,9,3,8,6,1] , A=[1,8,8,1,3,9] , C=1 , 5+1+1=7 , A->7 , C->0
[3,7,7,5,9] + [7,1,7,4,2,9,4,9,3,8,6] , A=[7,1,8,8,1,3,9] , C=0 , 9+6+0=15 , A->5 , C->1
[3,7,7,5] + [7,1,7,4,2,9,4,9,3,8] , A=[5,7,1,8,8,1,3,9] , C=1 , 5+8+1=14 , A->4 , C->1
[3,7,7] + [7,1,7,4,2,9,4,9,3] , A=[4,5,7,1,8,8,1,3,9] , C=1 , 7+3+1=11 , A->1 , C->1
[3,7] + [7,1,7,4,2,9,4,9] , A=[1,4,5,7,1,8,8,1,3,9] , C=1 , 7+9+1=17 , A->7 , C->1
[3] + [7,1,7,4,2,9,4] , A=[7,1,4,5,7,1,8,8,1,3,9] , C=1 , 3+4+1=8 , A->8 , C->0
[] + [7,1,7,4,2,9] , A=[8,7,1,4,5,7,1,8,8,1,3,9] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [7,1,7,4,2] , A=[9,8,7,1,4,5,7,1,8,8,1,3,9] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [7,1,7,4] , A=[2,9,8,7,1,4,5,7,1,8,8,1,3,9] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [7,1,7] , A=[4,2,9,8,7,1,4,5,7,1,8,8,1,3,9] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [7,1] , A=[7,4,2,9,8,7,1,4,5,7,1,8,8,1,3,9] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [7] , A=[1,7,4,2,9,8,7,1,4,5,7,1,8,8,1,3,9] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,1,7,4,2,9,8,7,1,4,5,7,1,8,8,1,3,9] C=0 , END
</scratch>
717429871457188139
| 717429871457188139 | 12 |
Input:
683850602459230973+2611524494808
Target:
| Input:
683850602459230973+2611524494808
Target:
[6,8,3,8,5,0,6,0,2,4,5,9,2,3,0,9,7,3] + [2,6,1,1,5,2,4,4,9,4,8,0,8] , A=[] , C=0 , 3+8+0=11 , A->1 , C->1
[6,8,3,8,5,0,6,0,2,4,5,9,2,3,0,9,7] + [2,6,1,1,5,2,4,4,9,4,8,0] , A=[1] , C=1 , 7+0+1=8 , A->8 , C->0
[6,8,3,8,5,0,6,0,2,4,5,9,2,3,0,9] + [2,6,1,1,5,2,4,4,9,4,8] , A=[8,1] , C=0 , 9+8+0=17 , A->7 , C->1
[6,8,3,8,5,0,6,0,2,4,5,9,2,3,0] + [2,6,1,1,5,2,4,4,9,4] , A=[7,8,1] , C=1 , 0+4+1=5 , A->5 , C->0
[6,8,3,8,5,0,6,0,2,4,5,9,2,3] + [2,6,1,1,5,2,4,4,9] , A=[5,7,8,1] , C=0 , 3+9+0=12 , A->2 , C->1
[6,8,3,8,5,0,6,0,2,4,5,9,2] + [2,6,1,1,5,2,4,4] , A=[2,5,7,8,1] , C=1 , 2+4+1=7 , A->7 , C->0
[6,8,3,8,5,0,6,0,2,4,5,9] + [2,6,1,1,5,2,4] , A=[7,2,5,7,8,1] , C=0 , 9+4+0=13 , A->3 , C->1
[6,8,3,8,5,0,6,0,2,4,5] + [2,6,1,1,5,2] , A=[3,7,2,5,7,8,1] , C=1 , 5+2+1=8 , A->8 , C->0
[6,8,3,8,5,0,6,0,2,4] + [2,6,1,1,5] , A=[8,3,7,2,5,7,8,1] , C=0 , 4+5+0=9 , A->9 , C->0
[6,8,3,8,5,0,6,0,2] + [2,6,1,1] , A=[9,8,3,7,2,5,7,8,1] , C=0 , 2+1+0=3 , A->3 , C->0
[6,8,3,8,5,0,6,0] + [2,6,1] , A=[3,9,8,3,7,2,5,7,8,1] , C=0 , 0+1+0=1 , A->1 , C->0
[6,8,3,8,5,0,6] + [2,6] , A=[1,3,9,8,3,7,2,5,7,8,1] , C=0 , 6+6+0=12 , A->2 , C->1
[6,8,3,8,5,0] + [2] , A=[2,1,3,9,8,3,7,2,5,7,8,1] , C=1 , 0+2+1=3 , A->3 , C->0
[6,8,3,8,5] + [] , A=[3,2,1,3,9,8,3,7,2,5,7,8,1] , C=0 , 5+0+0=5 , A->5 , C->0
[6,8,3,8] + [] , A=[5,3,2,1,3,9,8,3,7,2,5,7,8,1] , C=0 , 8+0+0=8 , A->8 , C->0
[6,8,3] + [] , A=[8,5,3,2,1,3,9,8,3,7,2,5,7,8,1] , C=0 , 3+0+0=3 , A->3 , C->0
[6,8] + [] , A=[3,8,5,3,2,1,3,9,8,3,7,2,5,7,8,1] , C=0 , 8+0+0=8 , A->8 , C->0
[6] + [] , A=[8,3,8,5,3,2,1,3,9,8,3,7,2,5,7,8,1] , C=0 , 6+0+0=6 , A->6 , C->0
[] + [] , A=[6,8,3,8,5,3,2,1,3,9,8,3,7,2,5,7,8,1] C=0 , END
</scratch>
683853213983725781
| 683853213983725781 | 13 |
Input:
2206+133258721361050489
Target:
| Input:
2206+133258721361050489
Target:
[2,2,0,6] + [1,3,3,2,5,8,7,2,1,3,6,1,0,5,0,4,8,9] , A=[] , C=0 , 6+9+0=15 , A->5 , C->1
[2,2,0] + [1,3,3,2,5,8,7,2,1,3,6,1,0,5,0,4,8] , A=[5] , C=1 , 0+8+1=9 , A->9 , C->0
[2,2] + [1,3,3,2,5,8,7,2,1,3,6,1,0,5,0,4] , A=[9,5] , C=0 , 2+4+0=6 , A->6 , C->0
[2] + [1,3,3,2,5,8,7,2,1,3,6,1,0,5,0] , A=[6,9,5] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [1,3,3,2,5,8,7,2,1,3,6,1,0,5] , A=[2,6,9,5] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1,3,3,2,5,8,7,2,1,3,6,1,0] , A=[5,2,6,9,5] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [1,3,3,2,5,8,7,2,1,3,6,1] , A=[0,5,2,6,9,5] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [1,3,3,2,5,8,7,2,1,3,6] , A=[1,0,5,2,6,9,5] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [1,3,3,2,5,8,7,2,1,3] , A=[6,1,0,5,2,6,9,5] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [1,3,3,2,5,8,7,2,1] , A=[3,6,1,0,5,2,6,9,5] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [1,3,3,2,5,8,7,2] , A=[1,3,6,1,0,5,2,6,9,5] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [1,3,3,2,5,8,7] , A=[2,1,3,6,1,0,5,2,6,9,5] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [1,3,3,2,5,8] , A=[7,2,1,3,6,1,0,5,2,6,9,5] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [1,3,3,2,5] , A=[8,7,2,1,3,6,1,0,5,2,6,9,5] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1,3,3,2] , A=[5,8,7,2,1,3,6,1,0,5,2,6,9,5] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [1,3,3] , A=[2,5,8,7,2,1,3,6,1,0,5,2,6,9,5] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [1,3] , A=[3,2,5,8,7,2,1,3,6,1,0,5,2,6,9,5] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [1] , A=[3,3,2,5,8,7,2,1,3,6,1,0,5,2,6,9,5] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,3,3,2,5,8,7,2,1,3,6,1,0,5,2,6,9,5] C=0 , END
</scratch>
133258721361052695
| 133258721361052695 | 4 |
Input:
159633168639237725+5
Target:
| Input:
159633168639237725+5
Target:
[1,5,9,6,3,3,1,6,8,6,3,9,2,3,7,7,2,5] + [5] , A=[] , C=0 , 5+5+0=10 , A->0 , C->1
[1,5,9,6,3,3,1,6,8,6,3,9,2,3,7,7,2] + [] , A=[0] , C=1 , 2+0+1=3 , A->3 , C->0
[1,5,9,6,3,3,1,6,8,6,3,9,2,3,7,7] + [] , A=[3,0] , C=0 , 7+0+0=7 , A->7 , C->0
[1,5,9,6,3,3,1,6,8,6,3,9,2,3,7] + [] , A=[7,3,0] , C=0 , 7+0+0=7 , A->7 , C->0
[1,5,9,6,3,3,1,6,8,6,3,9,2,3] + [] , A=[7,7,3,0] , C=0 , 3+0+0=3 , A->3 , C->0
[1,5,9,6,3,3,1,6,8,6,3,9,2] + [] , A=[3,7,7,3,0] , C=0 , 2+0+0=2 , A->2 , C->0
[1,5,9,6,3,3,1,6,8,6,3,9] + [] , A=[2,3,7,7,3,0] , C=0 , 9+0+0=9 , A->9 , C->0
[1,5,9,6,3,3,1,6,8,6,3] + [] , A=[9,2,3,7,7,3,0] , C=0 , 3+0+0=3 , A->3 , C->0
[1,5,9,6,3,3,1,6,8,6] + [] , A=[3,9,2,3,7,7,3,0] , C=0 , 6+0+0=6 , A->6 , C->0
[1,5,9,6,3,3,1,6,8] + [] , A=[6,3,9,2,3,7,7,3,0] , C=0 , 8+0+0=8 , A->8 , C->0
[1,5,9,6,3,3,1,6] + [] , A=[8,6,3,9,2,3,7,7,3,0] , C=0 , 6+0+0=6 , A->6 , C->0
[1,5,9,6,3,3,1] + [] , A=[6,8,6,3,9,2,3,7,7,3,0] , C=0 , 1+0+0=1 , A->1 , C->0
[1,5,9,6,3,3] + [] , A=[1,6,8,6,3,9,2,3,7,7,3,0] , C=0 , 3+0+0=3 , A->3 , C->0
[1,5,9,6,3] + [] , A=[3,1,6,8,6,3,9,2,3,7,7,3,0] , C=0 , 3+0+0=3 , A->3 , C->0
[1,5,9,6] + [] , A=[3,3,1,6,8,6,3,9,2,3,7,7,3,0] , C=0 , 6+0+0=6 , A->6 , C->0
[1,5,9] + [] , A=[6,3,3,1,6,8,6,3,9,2,3,7,7,3,0] , C=0 , 9+0+0=9 , A->9 , C->0
[1,5] + [] , A=[9,6,3,3,1,6,8,6,3,9,2,3,7,7,3,0] , C=0 , 5+0+0=5 , A->5 , C->0
[1] + [] , A=[5,9,6,3,3,1,6,8,6,3,9,2,3,7,7,3,0] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,5,9,6,3,3,1,6,8,6,3,9,2,3,7,7,3,0] C=0 , END
</scratch>
159633168639237730
| 159633168639237730 | 1 |
Input:
675541161396100326+92239188506211737
Target:
| Input:
675541161396100326+92239188506211737
Target:
[6,7,5,5,4,1,1,6,1,3,9,6,1,0,0,3,2,6] + [9,2,2,3,9,1,8,8,5,0,6,2,1,1,7,3,7] , A=[] , C=0 , 6+7+0=13 , A->3 , C->1
[6,7,5,5,4,1,1,6,1,3,9,6,1,0,0,3,2] + [9,2,2,3,9,1,8,8,5,0,6,2,1,1,7,3] , A=[3] , C=1 , 2+3+1=6 , A->6 , C->0
[6,7,5,5,4,1,1,6,1,3,9,6,1,0,0,3] + [9,2,2,3,9,1,8,8,5,0,6,2,1,1,7] , A=[6,3] , C=0 , 3+7+0=10 , A->0 , C->1
[6,7,5,5,4,1,1,6,1,3,9,6,1,0,0] + [9,2,2,3,9,1,8,8,5,0,6,2,1,1] , A=[0,6,3] , C=1 , 0+1+1=2 , A->2 , C->0
[6,7,5,5,4,1,1,6,1,3,9,6,1,0] + [9,2,2,3,9,1,8,8,5,0,6,2,1] , A=[2,0,6,3] , C=0 , 0+1+0=1 , A->1 , C->0
[6,7,5,5,4,1,1,6,1,3,9,6,1] + [9,2,2,3,9,1,8,8,5,0,6,2] , A=[1,2,0,6,3] , C=0 , 1+2+0=3 , A->3 , C->0
[6,7,5,5,4,1,1,6,1,3,9,6] + [9,2,2,3,9,1,8,8,5,0,6] , A=[3,1,2,0,6,3] , C=0 , 6+6+0=12 , A->2 , C->1
[6,7,5,5,4,1,1,6,1,3,9] + [9,2,2,3,9,1,8,8,5,0] , A=[2,3,1,2,0,6,3] , C=1 , 9+0+1=10 , A->0 , C->1
[6,7,5,5,4,1,1,6,1,3] + [9,2,2,3,9,1,8,8,5] , A=[0,2,3,1,2,0,6,3] , C=1 , 3+5+1=9 , A->9 , C->0
[6,7,5,5,4,1,1,6,1] + [9,2,2,3,9,1,8,8] , A=[9,0,2,3,1,2,0,6,3] , C=0 , 1+8+0=9 , A->9 , C->0
[6,7,5,5,4,1,1,6] + [9,2,2,3,9,1,8] , A=[9,9,0,2,3,1,2,0,6,3] , C=0 , 6+8+0=14 , A->4 , C->1
[6,7,5,5,4,1,1] + [9,2,2,3,9,1] , A=[4,9,9,0,2,3,1,2,0,6,3] , C=1 , 1+1+1=3 , A->3 , C->0
[6,7,5,5,4,1] + [9,2,2,3,9] , A=[3,4,9,9,0,2,3,1,2,0,6,3] , C=0 , 1+9+0=10 , A->0 , C->1
[6,7,5,5,4] + [9,2,2,3] , A=[0,3,4,9,9,0,2,3,1,2,0,6,3] , C=1 , 4+3+1=8 , A->8 , C->0
[6,7,5,5] + [9,2,2] , A=[8,0,3,4,9,9,0,2,3,1,2,0,6,3] , C=0 , 5+2+0=7 , A->7 , C->0
[6,7,5] + [9,2] , A=[7,8,0,3,4,9,9,0,2,3,1,2,0,6,3] , C=0 , 5+2+0=7 , A->7 , C->0
[6,7] + [9] , A=[7,7,8,0,3,4,9,9,0,2,3,1,2,0,6,3] , C=0 , 7+9+0=16 , A->6 , C->1
[6] + [] , A=[6,7,7,8,0,3,4,9,9,0,2,3,1,2,0,6,3] , C=1 , 6+0+1=7 , A->7 , C->0
[] + [] , A=[7,6,7,7,8,0,3,4,9,9,0,2,3,1,2,0,6,3] C=0 , END
</scratch>
767780349902312063
| 767780349902312063 | 17 |
Input:
5085917461329+140329885883504163
Target:
| Input:
5085917461329+140329885883504163
Target:
[5,0,8,5,9,1,7,4,6,1,3,2,9] + [1,4,0,3,2,9,8,8,5,8,8,3,5,0,4,1,6,3] , A=[] , C=0 , 9+3+0=12 , A->2 , C->1
[5,0,8,5,9,1,7,4,6,1,3,2] + [1,4,0,3,2,9,8,8,5,8,8,3,5,0,4,1,6] , A=[2] , C=1 , 2+6+1=9 , A->9 , C->0
[5,0,8,5,9,1,7,4,6,1,3] + [1,4,0,3,2,9,8,8,5,8,8,3,5,0,4,1] , A=[9,2] , C=0 , 3+1+0=4 , A->4 , C->0
[5,0,8,5,9,1,7,4,6,1] + [1,4,0,3,2,9,8,8,5,8,8,3,5,0,4] , A=[4,9,2] , C=0 , 1+4+0=5 , A->5 , C->0
[5,0,8,5,9,1,7,4,6] + [1,4,0,3,2,9,8,8,5,8,8,3,5,0] , A=[5,4,9,2] , C=0 , 6+0+0=6 , A->6 , C->0
[5,0,8,5,9,1,7,4] + [1,4,0,3,2,9,8,8,5,8,8,3,5] , A=[6,5,4,9,2] , C=0 , 4+5+0=9 , A->9 , C->0
[5,0,8,5,9,1,7] + [1,4,0,3,2,9,8,8,5,8,8,3] , A=[9,6,5,4,9,2] , C=0 , 7+3+0=10 , A->0 , C->1
[5,0,8,5,9,1] + [1,4,0,3,2,9,8,8,5,8,8] , A=[0,9,6,5,4,9,2] , C=1 , 1+8+1=10 , A->0 , C->1
[5,0,8,5,9] + [1,4,0,3,2,9,8,8,5,8] , A=[0,0,9,6,5,4,9,2] , C=1 , 9+8+1=18 , A->8 , C->1
[5,0,8,5] + [1,4,0,3,2,9,8,8,5] , A=[8,0,0,9,6,5,4,9,2] , C=1 , 5+5+1=11 , A->1 , C->1
[5,0,8] + [1,4,0,3,2,9,8,8] , A=[1,8,0,0,9,6,5,4,9,2] , C=1 , 8+8+1=17 , A->7 , C->1
[5,0] + [1,4,0,3,2,9,8] , A=[7,1,8,0,0,9,6,5,4,9,2] , C=1 , 0+8+1=9 , A->9 , C->0
[5] + [1,4,0,3,2,9] , A=[9,7,1,8,0,0,9,6,5,4,9,2] , C=0 , 5+9+0=14 , A->4 , C->1
[] + [1,4,0,3,2] , A=[4,9,7,1,8,0,0,9,6,5,4,9,2] , C=1 , 0+2+1=3 , A->3 , C->0
[] + [1,4,0,3] , A=[3,4,9,7,1,8,0,0,9,6,5,4,9,2] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [1,4,0] , A=[3,3,4,9,7,1,8,0,0,9,6,5,4,9,2] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [1,4] , A=[0,3,3,4,9,7,1,8,0,0,9,6,5,4,9,2] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [1] , A=[4,0,3,3,4,9,7,1,8,0,0,9,6,5,4,9,2] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,4,0,3,3,4,9,7,1,8,0,0,9,6,5,4,9,2] C=0 , END
</scratch>
140334971800965492
| 140334971800965492 | 13 |
Input:
919457584513061916+62
Target:
| Input:
919457584513061916+62
Target:
[9,1,9,4,5,7,5,8,4,5,1,3,0,6,1,9,1,6] + [6,2] , A=[] , C=0 , 6+2+0=8 , A->8 , C->0
[9,1,9,4,5,7,5,8,4,5,1,3,0,6,1,9,1] + [6] , A=[8] , C=0 , 1+6+0=7 , A->7 , C->0
[9,1,9,4,5,7,5,8,4,5,1,3,0,6,1,9] + [] , A=[7,8] , C=0 , 9+0+0=9 , A->9 , C->0
[9,1,9,4,5,7,5,8,4,5,1,3,0,6,1] + [] , A=[9,7,8] , C=0 , 1+0+0=1 , A->1 , C->0
[9,1,9,4,5,7,5,8,4,5,1,3,0,6] + [] , A=[1,9,7,8] , C=0 , 6+0+0=6 , A->6 , C->0
[9,1,9,4,5,7,5,8,4,5,1,3,0] + [] , A=[6,1,9,7,8] , C=0 , 0+0+0=0 , A->0 , C->0
[9,1,9,4,5,7,5,8,4,5,1,3] + [] , A=[0,6,1,9,7,8] , C=0 , 3+0+0=3 , A->3 , C->0
[9,1,9,4,5,7,5,8,4,5,1] + [] , A=[3,0,6,1,9,7,8] , C=0 , 1+0+0=1 , A->1 , C->0
[9,1,9,4,5,7,5,8,4,5] + [] , A=[1,3,0,6,1,9,7,8] , C=0 , 5+0+0=5 , A->5 , C->0
[9,1,9,4,5,7,5,8,4] + [] , A=[5,1,3,0,6,1,9,7,8] , C=0 , 4+0+0=4 , A->4 , C->0
[9,1,9,4,5,7,5,8] + [] , A=[4,5,1,3,0,6,1,9,7,8] , C=0 , 8+0+0=8 , A->8 , C->0
[9,1,9,4,5,7,5] + [] , A=[8,4,5,1,3,0,6,1,9,7,8] , C=0 , 5+0+0=5 , A->5 , C->0
[9,1,9,4,5,7] + [] , A=[5,8,4,5,1,3,0,6,1,9,7,8] , C=0 , 7+0+0=7 , A->7 , C->0
[9,1,9,4,5] + [] , A=[7,5,8,4,5,1,3,0,6,1,9,7,8] , C=0 , 5+0+0=5 , A->5 , C->0
[9,1,9,4] + [] , A=[5,7,5,8,4,5,1,3,0,6,1,9,7,8] , C=0 , 4+0+0=4 , A->4 , C->0
[9,1,9] + [] , A=[4,5,7,5,8,4,5,1,3,0,6,1,9,7,8] , C=0 , 9+0+0=9 , A->9 , C->0
[9,1] + [] , A=[9,4,5,7,5,8,4,5,1,3,0,6,1,9,7,8] , C=0 , 1+0+0=1 , A->1 , C->0
[9] + [] , A=[1,9,4,5,7,5,8,4,5,1,3,0,6,1,9,7,8] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,1,9,4,5,7,5,8,4,5,1,3,0,6,1,9,7,8] C=0 , END
</scratch>
919457584513061978
| 919457584513061978 | 2 |
Input:
769667421323+480262701706722029
Target:
| Input:
769667421323+480262701706722029
Target:
[7,6,9,6,6,7,4,2,1,3,2,3] + [4,8,0,2,6,2,7,0,1,7,0,6,7,2,2,0,2,9] , A=[] , C=0 , 3+9+0=12 , A->2 , C->1
[7,6,9,6,6,7,4,2,1,3,2] + [4,8,0,2,6,2,7,0,1,7,0,6,7,2,2,0,2] , A=[2] , C=1 , 2+2+1=5 , A->5 , C->0
[7,6,9,6,6,7,4,2,1,3] + [4,8,0,2,6,2,7,0,1,7,0,6,7,2,2,0] , A=[5,2] , C=0 , 3+0+0=3 , A->3 , C->0
[7,6,9,6,6,7,4,2,1] + [4,8,0,2,6,2,7,0,1,7,0,6,7,2,2] , A=[3,5,2] , C=0 , 1+2+0=3 , A->3 , C->0
[7,6,9,6,6,7,4,2] + [4,8,0,2,6,2,7,0,1,7,0,6,7,2] , A=[3,3,5,2] , C=0 , 2+2+0=4 , A->4 , C->0
[7,6,9,6,6,7,4] + [4,8,0,2,6,2,7,0,1,7,0,6,7] , A=[4,3,3,5,2] , C=0 , 4+7+0=11 , A->1 , C->1
[7,6,9,6,6,7] + [4,8,0,2,6,2,7,0,1,7,0,6] , A=[1,4,3,3,5,2] , C=1 , 7+6+1=14 , A->4 , C->1
[7,6,9,6,6] + [4,8,0,2,6,2,7,0,1,7,0] , A=[4,1,4,3,3,5,2] , C=1 , 6+0+1=7 , A->7 , C->0
[7,6,9,6] + [4,8,0,2,6,2,7,0,1,7] , A=[7,4,1,4,3,3,5,2] , C=0 , 6+7+0=13 , A->3 , C->1
[7,6,9] + [4,8,0,2,6,2,7,0,1] , A=[3,7,4,1,4,3,3,5,2] , C=1 , 9+1+1=11 , A->1 , C->1
[7,6] + [4,8,0,2,6,2,7,0] , A=[1,3,7,4,1,4,3,3,5,2] , C=1 , 6+0+1=7 , A->7 , C->0
[7] + [4,8,0,2,6,2,7] , A=[7,1,3,7,4,1,4,3,3,5,2] , C=0 , 7+7+0=14 , A->4 , C->1
[] + [4,8,0,2,6,2] , A=[4,7,1,3,7,4,1,4,3,3,5,2] , C=1 , 0+2+1=3 , A->3 , C->0
[] + [4,8,0,2,6] , A=[3,4,7,1,3,7,4,1,4,3,3,5,2] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [4,8,0,2] , A=[6,3,4,7,1,3,7,4,1,4,3,3,5,2] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [4,8,0] , A=[2,6,3,4,7,1,3,7,4,1,4,3,3,5,2] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [4,8] , A=[0,2,6,3,4,7,1,3,7,4,1,4,3,3,5,2] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [4] , A=[8,0,2,6,3,4,7,1,3,7,4,1,4,3,3,5,2] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,8,0,2,6,3,4,7,1,3,7,4,1,4,3,3,5,2] C=0 , END
</scratch>
480263471374143352
| 480263471374143352 | 12 |
Input:
289+690178057635239976
Target:
| Input:
289+690178057635239976
Target:
[2,8,9] + [6,9,0,1,7,8,0,5,7,6,3,5,2,3,9,9,7,6] , A=[] , C=0 , 9+6+0=15 , A->5 , C->1
[2,8] + [6,9,0,1,7,8,0,5,7,6,3,5,2,3,9,9,7] , A=[5] , C=1 , 8+7+1=16 , A->6 , C->1
[2] + [6,9,0,1,7,8,0,5,7,6,3,5,2,3,9,9] , A=[6,5] , C=1 , 2+9+1=12 , A->2 , C->1
[] + [6,9,0,1,7,8,0,5,7,6,3,5,2,3,9] , A=[2,6,5] , C=1 , 0+9+1=10 , A->0 , C->1
[] + [6,9,0,1,7,8,0,5,7,6,3,5,2,3] , A=[0,2,6,5] , C=1 , 0+3+1=4 , A->4 , C->0
[] + [6,9,0,1,7,8,0,5,7,6,3,5,2] , A=[4,0,2,6,5] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [6,9,0,1,7,8,0,5,7,6,3,5] , A=[2,4,0,2,6,5] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [6,9,0,1,7,8,0,5,7,6,3] , A=[5,2,4,0,2,6,5] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [6,9,0,1,7,8,0,5,7,6] , A=[3,5,2,4,0,2,6,5] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [6,9,0,1,7,8,0,5,7] , A=[6,3,5,2,4,0,2,6,5] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6,9,0,1,7,8,0,5] , A=[7,6,3,5,2,4,0,2,6,5] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [6,9,0,1,7,8,0] , A=[5,7,6,3,5,2,4,0,2,6,5] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [6,9,0,1,7,8] , A=[0,5,7,6,3,5,2,4,0,2,6,5] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [6,9,0,1,7] , A=[8,0,5,7,6,3,5,2,4,0,2,6,5] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6,9,0,1] , A=[7,8,0,5,7,6,3,5,2,4,0,2,6,5] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [6,9,0] , A=[1,7,8,0,5,7,6,3,5,2,4,0,2,6,5] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [6,9] , A=[0,1,7,8,0,5,7,6,3,5,2,4,0,2,6,5] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [6] , A=[9,0,1,7,8,0,5,7,6,3,5,2,4,0,2,6,5] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,9,0,1,7,8,0,5,7,6,3,5,2,4,0,2,6,5] C=0 , END
</scratch>
690178057635240265
| 690178057635240265 | 3 |
Input:
6789954+994598717582632210
Target:
| Input:
6789954+994598717582632210
Target:
[6,7,8,9,9,5,4] + [9,9,4,5,9,8,7,1,7,5,8,2,6,3,2,2,1,0] , A=[] , C=0 , 4+0+0=4 , A->4 , C->0
[6,7,8,9,9,5] + [9,9,4,5,9,8,7,1,7,5,8,2,6,3,2,2,1] , A=[4] , C=0 , 5+1+0=6 , A->6 , C->0
[6,7,8,9,9] + [9,9,4,5,9,8,7,1,7,5,8,2,6,3,2,2] , A=[6,4] , C=0 , 9+2+0=11 , A->1 , C->1
[6,7,8,9] + [9,9,4,5,9,8,7,1,7,5,8,2,6,3,2] , A=[1,6,4] , C=1 , 9+2+1=12 , A->2 , C->1
[6,7,8] + [9,9,4,5,9,8,7,1,7,5,8,2,6,3] , A=[2,1,6,4] , C=1 , 8+3+1=12 , A->2 , C->1
[6,7] + [9,9,4,5,9,8,7,1,7,5,8,2,6] , A=[2,2,1,6,4] , C=1 , 7+6+1=14 , A->4 , C->1
[6] + [9,9,4,5,9,8,7,1,7,5,8,2] , A=[4,2,2,1,6,4] , C=1 , 6+2+1=9 , A->9 , C->0
[] + [9,9,4,5,9,8,7,1,7,5,8] , A=[9,4,2,2,1,6,4] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [9,9,4,5,9,8,7,1,7,5] , A=[8,9,4,2,2,1,6,4] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,9,4,5,9,8,7,1,7] , A=[5,8,9,4,2,2,1,6,4] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [9,9,4,5,9,8,7,1] , A=[7,5,8,9,4,2,2,1,6,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [9,9,4,5,9,8,7] , A=[1,7,5,8,9,4,2,2,1,6,4] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [9,9,4,5,9,8] , A=[7,1,7,5,8,9,4,2,2,1,6,4] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [9,9,4,5,9] , A=[8,7,1,7,5,8,9,4,2,2,1,6,4] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [9,9,4,5] , A=[9,8,7,1,7,5,8,9,4,2,2,1,6,4] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,9,4] , A=[5,9,8,7,1,7,5,8,9,4,2,2,1,6,4] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [9,9] , A=[4,5,9,8,7,1,7,5,8,9,4,2,2,1,6,4] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [9] , A=[9,4,5,9,8,7,1,7,5,8,9,4,2,2,1,6,4] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,9,4,5,9,8,7,1,7,5,8,9,4,2,2,1,6,4] C=0 , END
</scratch>
994598717589422164
| 994598717589422164 | 7 |
Input:
737357205721705+613464485812984418
Target:
| Input:
737357205721705+613464485812984418
Target:
[7,3,7,3,5,7,2,0,5,7,2,1,7,0,5] + [6,1,3,4,6,4,4,8,5,8,1,2,9,8,4,4,1,8] , A=[] , C=0 , 5+8+0=13 , A->3 , C->1
[7,3,7,3,5,7,2,0,5,7,2,1,7,0] + [6,1,3,4,6,4,4,8,5,8,1,2,9,8,4,4,1] , A=[3] , C=1 , 0+1+1=2 , A->2 , C->0
[7,3,7,3,5,7,2,0,5,7,2,1,7] + [6,1,3,4,6,4,4,8,5,8,1,2,9,8,4,4] , A=[2,3] , C=0 , 7+4+0=11 , A->1 , C->1
[7,3,7,3,5,7,2,0,5,7,2,1] + [6,1,3,4,6,4,4,8,5,8,1,2,9,8,4] , A=[1,2,3] , C=1 , 1+4+1=6 , A->6 , C->0
[7,3,7,3,5,7,2,0,5,7,2] + [6,1,3,4,6,4,4,8,5,8,1,2,9,8] , A=[6,1,2,3] , C=0 , 2+8+0=10 , A->0 , C->1
[7,3,7,3,5,7,2,0,5,7] + [6,1,3,4,6,4,4,8,5,8,1,2,9] , A=[0,6,1,2,3] , C=1 , 7+9+1=17 , A->7 , C->1
[7,3,7,3,5,7,2,0,5] + [6,1,3,4,6,4,4,8,5,8,1,2] , A=[7,0,6,1,2,3] , C=1 , 5+2+1=8 , A->8 , C->0
[7,3,7,3,5,7,2,0] + [6,1,3,4,6,4,4,8,5,8,1] , A=[8,7,0,6,1,2,3] , C=0 , 0+1+0=1 , A->1 , C->0
[7,3,7,3,5,7,2] + [6,1,3,4,6,4,4,8,5,8] , A=[1,8,7,0,6,1,2,3] , C=0 , 2+8+0=10 , A->0 , C->1
[7,3,7,3,5,7] + [6,1,3,4,6,4,4,8,5] , A=[0,1,8,7,0,6,1,2,3] , C=1 , 7+5+1=13 , A->3 , C->1
[7,3,7,3,5] + [6,1,3,4,6,4,4,8] , A=[3,0,1,8,7,0,6,1,2,3] , C=1 , 5+8+1=14 , A->4 , C->1
[7,3,7,3] + [6,1,3,4,6,4,4] , A=[4,3,0,1,8,7,0,6,1,2,3] , C=1 , 3+4+1=8 , A->8 , C->0
[7,3,7] + [6,1,3,4,6,4] , A=[8,4,3,0,1,8,7,0,6,1,2,3] , C=0 , 7+4+0=11 , A->1 , C->1
[7,3] + [6,1,3,4,6] , A=[1,8,4,3,0,1,8,7,0,6,1,2,3] , C=1 , 3+6+1=10 , A->0 , C->1
[7] + [6,1,3,4] , A=[0,1,8,4,3,0,1,8,7,0,6,1,2,3] , C=1 , 7+4+1=12 , A->2 , C->1
[] + [6,1,3] , A=[2,0,1,8,4,3,0,1,8,7,0,6,1,2,3] , C=1 , 0+3+1=4 , A->4 , C->0
[] + [6,1] , A=[4,2,0,1,8,4,3,0,1,8,7,0,6,1,2,3] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [6] , A=[1,4,2,0,1,8,4,3,0,1,8,7,0,6,1,2,3] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,1,4,2,0,1,8,4,3,0,1,8,7,0,6,1,2,3] C=0 , END
</scratch>
614201843018706123
| 614201843018706123 | 15 |
Input:
796558382939693877+6287
Target:
| Input:
796558382939693877+6287
Target:
[7,9,6,5,5,8,3,8,2,9,3,9,6,9,3,8,7,7] + [6,2,8,7] , A=[] , C=0 , 7+7+0=14 , A->4 , C->1
[7,9,6,5,5,8,3,8,2,9,3,9,6,9,3,8,7] + [6,2,8] , A=[4] , C=1 , 7+8+1=16 , A->6 , C->1
[7,9,6,5,5,8,3,8,2,9,3,9,6,9,3,8] + [6,2] , A=[6,4] , C=1 , 8+2+1=11 , A->1 , C->1
[7,9,6,5,5,8,3,8,2,9,3,9,6,9,3] + [6] , A=[1,6,4] , C=1 , 3+6+1=10 , A->0 , C->1
[7,9,6,5,5,8,3,8,2,9,3,9,6,9] + [] , A=[0,1,6,4] , C=1 , 9+0+1=10 , A->0 , C->1
[7,9,6,5,5,8,3,8,2,9,3,9,6] + [] , A=[0,0,1,6,4] , C=1 , 6+0+1=7 , A->7 , C->0
[7,9,6,5,5,8,3,8,2,9,3,9] + [] , A=[7,0,0,1,6,4] , C=0 , 9+0+0=9 , A->9 , C->0
[7,9,6,5,5,8,3,8,2,9,3] + [] , A=[9,7,0,0,1,6,4] , C=0 , 3+0+0=3 , A->3 , C->0
[7,9,6,5,5,8,3,8,2,9] + [] , A=[3,9,7,0,0,1,6,4] , C=0 , 9+0+0=9 , A->9 , C->0
[7,9,6,5,5,8,3,8,2] + [] , A=[9,3,9,7,0,0,1,6,4] , C=0 , 2+0+0=2 , A->2 , C->0
[7,9,6,5,5,8,3,8] + [] , A=[2,9,3,9,7,0,0,1,6,4] , C=0 , 8+0+0=8 , A->8 , C->0
[7,9,6,5,5,8,3] + [] , A=[8,2,9,3,9,7,0,0,1,6,4] , C=0 , 3+0+0=3 , A->3 , C->0
[7,9,6,5,5,8] + [] , A=[3,8,2,9,3,9,7,0,0,1,6,4] , C=0 , 8+0+0=8 , A->8 , C->0
[7,9,6,5,5] + [] , A=[8,3,8,2,9,3,9,7,0,0,1,6,4] , C=0 , 5+0+0=5 , A->5 , C->0
[7,9,6,5] + [] , A=[5,8,3,8,2,9,3,9,7,0,0,1,6,4] , C=0 , 5+0+0=5 , A->5 , C->0
[7,9,6] + [] , A=[5,5,8,3,8,2,9,3,9,7,0,0,1,6,4] , C=0 , 6+0+0=6 , A->6 , C->0
[7,9] + [] , A=[6,5,5,8,3,8,2,9,3,9,7,0,0,1,6,4] , C=0 , 9+0+0=9 , A->9 , C->0
[7] + [] , A=[9,6,5,5,8,3,8,2,9,3,9,7,0,0,1,6,4] , C=0 , 7+0+0=7 , A->7 , C->0
[] + [] , A=[7,9,6,5,5,8,3,8,2,9,3,9,7,0,0,1,6,4] C=0 , END
</scratch>
796558382939700164
| 796558382939700164 | 4 |
Input:
193941753+693944932955053918
Target:
| Input:
193941753+693944932955053918
Target:
[1,9,3,9,4,1,7,5,3] + [6,9,3,9,4,4,9,3,2,9,5,5,0,5,3,9,1,8] , A=[] , C=0 , 3+8+0=11 , A->1 , C->1
[1,9,3,9,4,1,7,5] + [6,9,3,9,4,4,9,3,2,9,5,5,0,5,3,9,1] , A=[1] , C=1 , 5+1+1=7 , A->7 , C->0
[1,9,3,9,4,1,7] + [6,9,3,9,4,4,9,3,2,9,5,5,0,5,3,9] , A=[7,1] , C=0 , 7+9+0=16 , A->6 , C->1
[1,9,3,9,4,1] + [6,9,3,9,4,4,9,3,2,9,5,5,0,5,3] , A=[6,7,1] , C=1 , 1+3+1=5 , A->5 , C->0
[1,9,3,9,4] + [6,9,3,9,4,4,9,3,2,9,5,5,0,5] , A=[5,6,7,1] , C=0 , 4+5+0=9 , A->9 , C->0
[1,9,3,9] + [6,9,3,9,4,4,9,3,2,9,5,5,0] , A=[9,5,6,7,1] , C=0 , 9+0+0=9 , A->9 , C->0
[1,9,3] + [6,9,3,9,4,4,9,3,2,9,5,5] , A=[9,9,5,6,7,1] , C=0 , 3+5+0=8 , A->8 , C->0
[1,9] + [6,9,3,9,4,4,9,3,2,9,5] , A=[8,9,9,5,6,7,1] , C=0 , 9+5+0=14 , A->4 , C->1
[1] + [6,9,3,9,4,4,9,3,2,9] , A=[4,8,9,9,5,6,7,1] , C=1 , 1+9+1=11 , A->1 , C->1
[] + [6,9,3,9,4,4,9,3,2] , A=[1,4,8,9,9,5,6,7,1] , C=1 , 0+2+1=3 , A->3 , C->0
[] + [6,9,3,9,4,4,9,3] , A=[3,1,4,8,9,9,5,6,7,1] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [6,9,3,9,4,4,9] , A=[3,3,1,4,8,9,9,5,6,7,1] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [6,9,3,9,4,4] , A=[9,3,3,1,4,8,9,9,5,6,7,1] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [6,9,3,9,4] , A=[4,9,3,3,1,4,8,9,9,5,6,7,1] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [6,9,3,9] , A=[4,4,9,3,3,1,4,8,9,9,5,6,7,1] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [6,9,3] , A=[9,4,4,9,3,3,1,4,8,9,9,5,6,7,1] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [6,9] , A=[3,9,4,4,9,3,3,1,4,8,9,9,5,6,7,1] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [6] , A=[9,3,9,4,4,9,3,3,1,4,8,9,9,5,6,7,1] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,9,3,9,4,4,9,3,3,1,4,8,9,9,5,6,7,1] C=0 , END
</scratch>
693944933148995671
| 693944933148995671 | 9 |
Input:
489894358741345668+6193380263012948
Target:
| Input:
489894358741345668+6193380263012948
Target:
[4,8,9,8,9,4,3,5,8,7,4,1,3,4,5,6,6,8] + [6,1,9,3,3,8,0,2,6,3,0,1,2,9,4,8] , A=[] , C=0 , 8+8+0=16 , A->6 , C->1
[4,8,9,8,9,4,3,5,8,7,4,1,3,4,5,6,6] + [6,1,9,3,3,8,0,2,6,3,0,1,2,9,4] , A=[6] , C=1 , 6+4+1=11 , A->1 , C->1
[4,8,9,8,9,4,3,5,8,7,4,1,3,4,5,6] + [6,1,9,3,3,8,0,2,6,3,0,1,2,9] , A=[1,6] , C=1 , 6+9+1=16 , A->6 , C->1
[4,8,9,8,9,4,3,5,8,7,4,1,3,4,5] + [6,1,9,3,3,8,0,2,6,3,0,1,2] , A=[6,1,6] , C=1 , 5+2+1=8 , A->8 , C->0
[4,8,9,8,9,4,3,5,8,7,4,1,3,4] + [6,1,9,3,3,8,0,2,6,3,0,1] , A=[8,6,1,6] , C=0 , 4+1+0=5 , A->5 , C->0
[4,8,9,8,9,4,3,5,8,7,4,1,3] + [6,1,9,3,3,8,0,2,6,3,0] , A=[5,8,6,1,6] , C=0 , 3+0+0=3 , A->3 , C->0
[4,8,9,8,9,4,3,5,8,7,4,1] + [6,1,9,3,3,8,0,2,6,3] , A=[3,5,8,6,1,6] , C=0 , 1+3+0=4 , A->4 , C->0
[4,8,9,8,9,4,3,5,8,7,4] + [6,1,9,3,3,8,0,2,6] , A=[4,3,5,8,6,1,6] , C=0 , 4+6+0=10 , A->0 , C->1
[4,8,9,8,9,4,3,5,8,7] + [6,1,9,3,3,8,0,2] , A=[0,4,3,5,8,6,1,6] , C=1 , 7+2+1=10 , A->0 , C->1
[4,8,9,8,9,4,3,5,8] + [6,1,9,3,3,8,0] , A=[0,0,4,3,5,8,6,1,6] , C=1 , 8+0+1=9 , A->9 , C->0
[4,8,9,8,9,4,3,5] + [6,1,9,3,3,8] , A=[9,0,0,4,3,5,8,6,1,6] , C=0 , 5+8+0=13 , A->3 , C->1
[4,8,9,8,9,4,3] + [6,1,9,3,3] , A=[3,9,0,0,4,3,5,8,6,1,6] , C=1 , 3+3+1=7 , A->7 , C->0
[4,8,9,8,9,4] + [6,1,9,3] , A=[7,3,9,0,0,4,3,5,8,6,1,6] , C=0 , 4+3+0=7 , A->7 , C->0
[4,8,9,8,9] + [6,1,9] , A=[7,7,3,9,0,0,4,3,5,8,6,1,6] , C=0 , 9+9+0=18 , A->8 , C->1
[4,8,9,8] + [6,1] , A=[8,7,7,3,9,0,0,4,3,5,8,6,1,6] , C=1 , 8+1+1=10 , A->0 , C->1
[4,8,9] + [6] , A=[0,8,7,7,3,9,0,0,4,3,5,8,6,1,6] , C=1 , 9+6+1=16 , A->6 , C->1
[4,8] + [] , A=[6,0,8,7,7,3,9,0,0,4,3,5,8,6,1,6] , C=1 , 8+0+1=9 , A->9 , C->0
[4] + [] , A=[9,6,0,8,7,7,3,9,0,0,4,3,5,8,6,1,6] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,9,6,0,8,7,7,3,9,0,0,4,3,5,8,6,1,6] C=0 , END
</scratch>
496087739004358616
| 496087739004358616 | 16 |
Input:
53114980+808161177818451307
Target:
| Input:
53114980+808161177818451307
Target:
[5,3,1,1,4,9,8,0] + [8,0,8,1,6,1,1,7,7,8,1,8,4,5,1,3,0,7] , A=[] , C=0 , 0+7+0=7 , A->7 , C->0
[5,3,1,1,4,9,8] + [8,0,8,1,6,1,1,7,7,8,1,8,4,5,1,3,0] , A=[7] , C=0 , 8+0+0=8 , A->8 , C->0
[5,3,1,1,4,9] + [8,0,8,1,6,1,1,7,7,8,1,8,4,5,1,3] , A=[8,7] , C=0 , 9+3+0=12 , A->2 , C->1
[5,3,1,1,4] + [8,0,8,1,6,1,1,7,7,8,1,8,4,5,1] , A=[2,8,7] , C=1 , 4+1+1=6 , A->6 , C->0
[5,3,1,1] + [8,0,8,1,6,1,1,7,7,8,1,8,4,5] , A=[6,2,8,7] , C=0 , 1+5+0=6 , A->6 , C->0
[5,3,1] + [8,0,8,1,6,1,1,7,7,8,1,8,4] , A=[6,6,2,8,7] , C=0 , 1+4+0=5 , A->5 , C->0
[5,3] + [8,0,8,1,6,1,1,7,7,8,1,8] , A=[5,6,6,2,8,7] , C=0 , 3+8+0=11 , A->1 , C->1
[5] + [8,0,8,1,6,1,1,7,7,8,1] , A=[1,5,6,6,2,8,7] , C=1 , 5+1+1=7 , A->7 , C->0
[] + [8,0,8,1,6,1,1,7,7,8] , A=[7,1,5,6,6,2,8,7] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [8,0,8,1,6,1,1,7,7] , A=[8,7,1,5,6,6,2,8,7] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [8,0,8,1,6,1,1,7] , A=[7,8,7,1,5,6,6,2,8,7] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [8,0,8,1,6,1,1] , A=[7,7,8,7,1,5,6,6,2,8,7] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [8,0,8,1,6,1] , A=[1,7,7,8,7,1,5,6,6,2,8,7] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [8,0,8,1,6] , A=[1,1,7,7,8,7,1,5,6,6,2,8,7] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [8,0,8,1] , A=[6,1,1,7,7,8,7,1,5,6,6,2,8,7] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [8,0,8] , A=[1,6,1,1,7,7,8,7,1,5,6,6,2,8,7] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [8,0] , A=[8,1,6,1,1,7,7,8,7,1,5,6,6,2,8,7] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [8] , A=[0,8,1,6,1,1,7,7,8,7,1,5,6,6,2,8,7] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [] , A=[8,0,8,1,6,1,1,7,7,8,7,1,5,6,6,2,8,7] C=0 , END
</scratch>
808161177871566287
| 808161177871566287 | 8 |
Input:
11251374547562608+859243926255771572
Target:
| Input:
11251374547562608+859243926255771572
Target:
[1,1,2,5,1,3,7,4,5,4,7,5,6,2,6,0,8] + [8,5,9,2,4,3,9,2,6,2,5,5,7,7,1,5,7,2] , A=[] , C=0 , 8+2+0=10 , A->0 , C->1
[1,1,2,5,1,3,7,4,5,4,7,5,6,2,6,0] + [8,5,9,2,4,3,9,2,6,2,5,5,7,7,1,5,7] , A=[0] , C=1 , 0+7+1=8 , A->8 , C->0
[1,1,2,5,1,3,7,4,5,4,7,5,6,2,6] + [8,5,9,2,4,3,9,2,6,2,5,5,7,7,1,5] , A=[8,0] , C=0 , 6+5+0=11 , A->1 , C->1
[1,1,2,5,1,3,7,4,5,4,7,5,6,2] + [8,5,9,2,4,3,9,2,6,2,5,5,7,7,1] , A=[1,8,0] , C=1 , 2+1+1=4 , A->4 , C->0
[1,1,2,5,1,3,7,4,5,4,7,5,6] + [8,5,9,2,4,3,9,2,6,2,5,5,7,7] , A=[4,1,8,0] , C=0 , 6+7+0=13 , A->3 , C->1
[1,1,2,5,1,3,7,4,5,4,7,5] + [8,5,9,2,4,3,9,2,6,2,5,5,7] , A=[3,4,1,8,0] , C=1 , 5+7+1=13 , A->3 , C->1
[1,1,2,5,1,3,7,4,5,4,7] + [8,5,9,2,4,3,9,2,6,2,5,5] , A=[3,3,4,1,8,0] , C=1 , 7+5+1=13 , A->3 , C->1
[1,1,2,5,1,3,7,4,5,4] + [8,5,9,2,4,3,9,2,6,2,5] , A=[3,3,3,4,1,8,0] , C=1 , 4+5+1=10 , A->0 , C->1
[1,1,2,5,1,3,7,4,5] + [8,5,9,2,4,3,9,2,6,2] , A=[0,3,3,3,4,1,8,0] , C=1 , 5+2+1=8 , A->8 , C->0
[1,1,2,5,1,3,7,4] + [8,5,9,2,4,3,9,2,6] , A=[8,0,3,3,3,4,1,8,0] , C=0 , 4+6+0=10 , A->0 , C->1
[1,1,2,5,1,3,7] + [8,5,9,2,4,3,9,2] , A=[0,8,0,3,3,3,4,1,8,0] , C=1 , 7+2+1=10 , A->0 , C->1
[1,1,2,5,1,3] + [8,5,9,2,4,3,9] , A=[0,0,8,0,3,3,3,4,1,8,0] , C=1 , 3+9+1=13 , A->3 , C->1
[1,1,2,5,1] + [8,5,9,2,4,3] , A=[3,0,0,8,0,3,3,3,4,1,8,0] , C=1 , 1+3+1=5 , A->5 , C->0
[1,1,2,5] + [8,5,9,2,4] , A=[5,3,0,0,8,0,3,3,3,4,1,8,0] , C=0 , 5+4+0=9 , A->9 , C->0
[1,1,2] + [8,5,9,2] , A=[9,5,3,0,0,8,0,3,3,3,4,1,8,0] , C=0 , 2+2+0=4 , A->4 , C->0
[1,1] + [8,5,9] , A=[4,9,5,3,0,0,8,0,3,3,3,4,1,8,0] , C=0 , 1+9+0=10 , A->0 , C->1
[1] + [8,5] , A=[0,4,9,5,3,0,0,8,0,3,3,3,4,1,8,0] , C=1 , 1+5+1=7 , A->7 , C->0
[] + [8] , A=[7,0,4,9,5,3,0,0,8,0,3,3,3,4,1,8,0] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [] , A=[8,7,0,4,9,5,3,0,0,8,0,3,3,3,4,1,8,0] C=0 , END
</scratch>
870495300803334180
| 870495300803334180 | 17 |
Input:
799+546964710106413501
Target:
| Input:
799+546964710106413501
Target:
[7,9,9] + [5,4,6,9,6,4,7,1,0,1,0,6,4,1,3,5,0,1] , A=[] , C=0 , 9+1+0=10 , A->0 , C->1
[7,9] + [5,4,6,9,6,4,7,1,0,1,0,6,4,1,3,5,0] , A=[0] , C=1 , 9+0+1=10 , A->0 , C->1
[7] + [5,4,6,9,6,4,7,1,0,1,0,6,4,1,3,5] , A=[0,0] , C=1 , 7+5+1=13 , A->3 , C->1
[] + [5,4,6,9,6,4,7,1,0,1,0,6,4,1,3] , A=[3,0,0] , C=1 , 0+3+1=4 , A->4 , C->0
[] + [5,4,6,9,6,4,7,1,0,1,0,6,4,1] , A=[4,3,0,0] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [5,4,6,9,6,4,7,1,0,1,0,6,4] , A=[1,4,3,0,0] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [5,4,6,9,6,4,7,1,0,1,0,6] , A=[4,1,4,3,0,0] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [5,4,6,9,6,4,7,1,0,1,0] , A=[6,4,1,4,3,0,0] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [5,4,6,9,6,4,7,1,0,1] , A=[0,6,4,1,4,3,0,0] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [5,4,6,9,6,4,7,1,0] , A=[1,0,6,4,1,4,3,0,0] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [5,4,6,9,6,4,7,1] , A=[0,1,0,6,4,1,4,3,0,0] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [5,4,6,9,6,4,7] , A=[1,0,1,0,6,4,1,4,3,0,0] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [5,4,6,9,6,4] , A=[7,1,0,1,0,6,4,1,4,3,0,0] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [5,4,6,9,6] , A=[4,7,1,0,1,0,6,4,1,4,3,0,0] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [5,4,6,9] , A=[6,4,7,1,0,1,0,6,4,1,4,3,0,0] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [5,4,6] , A=[9,6,4,7,1,0,1,0,6,4,1,4,3,0,0] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [5,4] , A=[6,9,6,4,7,1,0,1,0,6,4,1,4,3,0,0] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [5] , A=[4,6,9,6,4,7,1,0,1,0,6,4,1,4,3,0,0] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,4,6,9,6,4,7,1,0,1,0,6,4,1,4,3,0,0] C=0 , END
</scratch>
546964710106414300
| 546964710106414300 | 3 |
Input:
151365294263511884+701148853181455
Target:
| Input:
151365294263511884+701148853181455
Target:
[1,5,1,3,6,5,2,9,4,2,6,3,5,1,1,8,8,4] + [7,0,1,1,4,8,8,5,3,1,8,1,4,5,5] , A=[] , C=0 , 4+5+0=9 , A->9 , C->0
[1,5,1,3,6,5,2,9,4,2,6,3,5,1,1,8,8] + [7,0,1,1,4,8,8,5,3,1,8,1,4,5] , A=[9] , C=0 , 8+5+0=13 , A->3 , C->1
[1,5,1,3,6,5,2,9,4,2,6,3,5,1,1,8] + [7,0,1,1,4,8,8,5,3,1,8,1,4] , A=[3,9] , C=1 , 8+4+1=13 , A->3 , C->1
[1,5,1,3,6,5,2,9,4,2,6,3,5,1,1] + [7,0,1,1,4,8,8,5,3,1,8,1] , A=[3,3,9] , C=1 , 1+1+1=3 , A->3 , C->0
[1,5,1,3,6,5,2,9,4,2,6,3,5,1] + [7,0,1,1,4,8,8,5,3,1,8] , A=[3,3,3,9] , C=0 , 1+8+0=9 , A->9 , C->0
[1,5,1,3,6,5,2,9,4,2,6,3,5] + [7,0,1,1,4,8,8,5,3,1] , A=[9,3,3,3,9] , C=0 , 5+1+0=6 , A->6 , C->0
[1,5,1,3,6,5,2,9,4,2,6,3] + [7,0,1,1,4,8,8,5,3] , A=[6,9,3,3,3,9] , C=0 , 3+3+0=6 , A->6 , C->0
[1,5,1,3,6,5,2,9,4,2,6] + [7,0,1,1,4,8,8,5] , A=[6,6,9,3,3,3,9] , C=0 , 6+5+0=11 , A->1 , C->1
[1,5,1,3,6,5,2,9,4,2] + [7,0,1,1,4,8,8] , A=[1,6,6,9,3,3,3,9] , C=1 , 2+8+1=11 , A->1 , C->1
[1,5,1,3,6,5,2,9,4] + [7,0,1,1,4,8] , A=[1,1,6,6,9,3,3,3,9] , C=1 , 4+8+1=13 , A->3 , C->1
[1,5,1,3,6,5,2,9] + [7,0,1,1,4] , A=[3,1,1,6,6,9,3,3,3,9] , C=1 , 9+4+1=14 , A->4 , C->1
[1,5,1,3,6,5,2] + [7,0,1,1] , A=[4,3,1,1,6,6,9,3,3,3,9] , C=1 , 2+1+1=4 , A->4 , C->0
[1,5,1,3,6,5] + [7,0,1] , A=[4,4,3,1,1,6,6,9,3,3,3,9] , C=0 , 5+1+0=6 , A->6 , C->0
[1,5,1,3,6] + [7,0] , A=[6,4,4,3,1,1,6,6,9,3,3,3,9] , C=0 , 6+0+0=6 , A->6 , C->0
[1,5,1,3] + [7] , A=[6,6,4,4,3,1,1,6,6,9,3,3,3,9] , C=0 , 3+7+0=10 , A->0 , C->1
[1,5,1] + [] , A=[0,6,6,4,4,3,1,1,6,6,9,3,3,3,9] , C=1 , 1+0+1=2 , A->2 , C->0
[1,5] + [] , A=[2,0,6,6,4,4,3,1,1,6,6,9,3,3,3,9] , C=0 , 5+0+0=5 , A->5 , C->0
[1] + [] , A=[5,2,0,6,6,4,4,3,1,1,6,6,9,3,3,3,9] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,5,2,0,6,6,4,4,3,1,1,6,6,9,3,3,3,9] C=0 , END
</scratch>
152066443116693339
| 152066443116693339 | 15 |
Input:
6273+426288094186620981
Target:
| Input:
6273+426288094186620981
Target:
[6,2,7,3] + [4,2,6,2,8,8,0,9,4,1,8,6,6,2,0,9,8,1] , A=[] , C=0 , 3+1+0=4 , A->4 , C->0
[6,2,7] + [4,2,6,2,8,8,0,9,4,1,8,6,6,2,0,9,8] , A=[4] , C=0 , 7+8+0=15 , A->5 , C->1
[6,2] + [4,2,6,2,8,8,0,9,4,1,8,6,6,2,0,9] , A=[5,4] , C=1 , 2+9+1=12 , A->2 , C->1
[6] + [4,2,6,2,8,8,0,9,4,1,8,6,6,2,0] , A=[2,5,4] , C=1 , 6+0+1=7 , A->7 , C->0
[] + [4,2,6,2,8,8,0,9,4,1,8,6,6,2] , A=[7,2,5,4] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [4,2,6,2,8,8,0,9,4,1,8,6,6] , A=[2,7,2,5,4] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [4,2,6,2,8,8,0,9,4,1,8,6] , A=[6,2,7,2,5,4] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [4,2,6,2,8,8,0,9,4,1,8] , A=[6,6,2,7,2,5,4] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [4,2,6,2,8,8,0,9,4,1] , A=[8,6,6,2,7,2,5,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [4,2,6,2,8,8,0,9,4] , A=[1,8,6,6,2,7,2,5,4] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [4,2,6,2,8,8,0,9] , A=[4,1,8,6,6,2,7,2,5,4] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [4,2,6,2,8,8,0] , A=[9,4,1,8,6,6,2,7,2,5,4] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [4,2,6,2,8,8] , A=[0,9,4,1,8,6,6,2,7,2,5,4] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [4,2,6,2,8] , A=[8,0,9,4,1,8,6,6,2,7,2,5,4] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [4,2,6,2] , A=[8,8,0,9,4,1,8,6,6,2,7,2,5,4] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [4,2,6] , A=[2,8,8,0,9,4,1,8,6,6,2,7,2,5,4] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [4,2] , A=[6,2,8,8,0,9,4,1,8,6,6,2,7,2,5,4] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [4] , A=[2,6,2,8,8,0,9,4,1,8,6,6,2,7,2,5,4] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,2,6,2,8,8,0,9,4,1,8,6,6,2,7,2,5,4] C=0 , END
</scratch>
426288094186627254
| 426288094186627254 | 4 |
Input:
297819485485144402+916985232
Target:
| Input:
297819485485144402+916985232
Target:
[2,9,7,8,1,9,4,8,5,4,8,5,1,4,4,4,0,2] + [9,1,6,9,8,5,2,3,2] , A=[] , C=0 , 2+2+0=4 , A->4 , C->0
[2,9,7,8,1,9,4,8,5,4,8,5,1,4,4,4,0] + [9,1,6,9,8,5,2,3] , A=[4] , C=0 , 0+3+0=3 , A->3 , C->0
[2,9,7,8,1,9,4,8,5,4,8,5,1,4,4,4] + [9,1,6,9,8,5,2] , A=[3,4] , C=0 , 4+2+0=6 , A->6 , C->0
[2,9,7,8,1,9,4,8,5,4,8,5,1,4,4] + [9,1,6,9,8,5] , A=[6,3,4] , C=0 , 4+5+0=9 , A->9 , C->0
[2,9,7,8,1,9,4,8,5,4,8,5,1,4] + [9,1,6,9,8] , A=[9,6,3,4] , C=0 , 4+8+0=12 , A->2 , C->1
[2,9,7,8,1,9,4,8,5,4,8,5,1] + [9,1,6,9] , A=[2,9,6,3,4] , C=1 , 1+9+1=11 , A->1 , C->1
[2,9,7,8,1,9,4,8,5,4,8,5] + [9,1,6] , A=[1,2,9,6,3,4] , C=1 , 5+6+1=12 , A->2 , C->1
[2,9,7,8,1,9,4,8,5,4,8] + [9,1] , A=[2,1,2,9,6,3,4] , C=1 , 8+1+1=10 , A->0 , C->1
[2,9,7,8,1,9,4,8,5,4] + [9] , A=[0,2,1,2,9,6,3,4] , C=1 , 4+9+1=14 , A->4 , C->1
[2,9,7,8,1,9,4,8,5] + [] , A=[4,0,2,1,2,9,6,3,4] , C=1 , 5+0+1=6 , A->6 , C->0
[2,9,7,8,1,9,4,8] + [] , A=[6,4,0,2,1,2,9,6,3,4] , C=0 , 8+0+0=8 , A->8 , C->0
[2,9,7,8,1,9,4] + [] , A=[8,6,4,0,2,1,2,9,6,3,4] , C=0 , 4+0+0=4 , A->4 , C->0
[2,9,7,8,1,9] + [] , A=[4,8,6,4,0,2,1,2,9,6,3,4] , C=0 , 9+0+0=9 , A->9 , C->0
[2,9,7,8,1] + [] , A=[9,4,8,6,4,0,2,1,2,9,6,3,4] , C=0 , 1+0+0=1 , A->1 , C->0
[2,9,7,8] + [] , A=[1,9,4,8,6,4,0,2,1,2,9,6,3,4] , C=0 , 8+0+0=8 , A->8 , C->0
[2,9,7] + [] , A=[8,1,9,4,8,6,4,0,2,1,2,9,6,3,4] , C=0 , 7+0+0=7 , A->7 , C->0
[2,9] + [] , A=[7,8,1,9,4,8,6,4,0,2,1,2,9,6,3,4] , C=0 , 9+0+0=9 , A->9 , C->0
[2] + [] , A=[9,7,8,1,9,4,8,6,4,0,2,1,2,9,6,3,4] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [] , A=[2,9,7,8,1,9,4,8,6,4,0,2,1,2,9,6,3,4] C=0 , END
</scratch>
297819486402129634
| 297819486402129634 | 9 |
Input:
845926521162015820+432
Target:
| Input:
845926521162015820+432
Target:
[8,4,5,9,2,6,5,2,1,1,6,2,0,1,5,8,2,0] + [4,3,2] , A=[] , C=0 , 0+2+0=2 , A->2 , C->0
[8,4,5,9,2,6,5,2,1,1,6,2,0,1,5,8,2] + [4,3] , A=[2] , C=0 , 2+3+0=5 , A->5 , C->0
[8,4,5,9,2,6,5,2,1,1,6,2,0,1,5,8] + [4] , A=[5,2] , C=0 , 8+4+0=12 , A->2 , C->1
[8,4,5,9,2,6,5,2,1,1,6,2,0,1,5] + [] , A=[2,5,2] , C=1 , 5+0+1=6 , A->6 , C->0
[8,4,5,9,2,6,5,2,1,1,6,2,0,1] + [] , A=[6,2,5,2] , C=0 , 1+0+0=1 , A->1 , C->0
[8,4,5,9,2,6,5,2,1,1,6,2,0] + [] , A=[1,6,2,5,2] , C=0 , 0+0+0=0 , A->0 , C->0
[8,4,5,9,2,6,5,2,1,1,6,2] + [] , A=[0,1,6,2,5,2] , C=0 , 2+0+0=2 , A->2 , C->0
[8,4,5,9,2,6,5,2,1,1,6] + [] , A=[2,0,1,6,2,5,2] , C=0 , 6+0+0=6 , A->6 , C->0
[8,4,5,9,2,6,5,2,1,1] + [] , A=[6,2,0,1,6,2,5,2] , C=0 , 1+0+0=1 , A->1 , C->0
[8,4,5,9,2,6,5,2,1] + [] , A=[1,6,2,0,1,6,2,5,2] , C=0 , 1+0+0=1 , A->1 , C->0
[8,4,5,9,2,6,5,2] + [] , A=[1,1,6,2,0,1,6,2,5,2] , C=0 , 2+0+0=2 , A->2 , C->0
[8,4,5,9,2,6,5] + [] , A=[2,1,1,6,2,0,1,6,2,5,2] , C=0 , 5+0+0=5 , A->5 , C->0
[8,4,5,9,2,6] + [] , A=[5,2,1,1,6,2,0,1,6,2,5,2] , C=0 , 6+0+0=6 , A->6 , C->0
[8,4,5,9,2] + [] , A=[6,5,2,1,1,6,2,0,1,6,2,5,2] , C=0 , 2+0+0=2 , A->2 , C->0
[8,4,5,9] + [] , A=[2,6,5,2,1,1,6,2,0,1,6,2,5,2] , C=0 , 9+0+0=9 , A->9 , C->0
[8,4,5] + [] , A=[9,2,6,5,2,1,1,6,2,0,1,6,2,5,2] , C=0 , 5+0+0=5 , A->5 , C->0
[8,4] + [] , A=[5,9,2,6,5,2,1,1,6,2,0,1,6,2,5,2] , C=0 , 4+0+0=4 , A->4 , C->0
[8] + [] , A=[4,5,9,2,6,5,2,1,1,6,2,0,1,6,2,5,2] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,4,5,9,2,6,5,2,1,1,6,2,0,1,6,2,5,2] C=0 , END
</scratch>
845926521162016252
| 845926521162016252 | 3 |
Input:
616+293124419567975204
Target:
| Input:
616+293124419567975204
Target:
[6,1,6] + [2,9,3,1,2,4,4,1,9,5,6,7,9,7,5,2,0,4] , A=[] , C=0 , 6+4+0=10 , A->0 , C->1
[6,1] + [2,9,3,1,2,4,4,1,9,5,6,7,9,7,5,2,0] , A=[0] , C=1 , 1+0+1=2 , A->2 , C->0
[6] + [2,9,3,1,2,4,4,1,9,5,6,7,9,7,5,2] , A=[2,0] , C=0 , 6+2+0=8 , A->8 , C->0
[] + [2,9,3,1,2,4,4,1,9,5,6,7,9,7,5] , A=[8,2,0] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [2,9,3,1,2,4,4,1,9,5,6,7,9,7] , A=[5,8,2,0] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [2,9,3,1,2,4,4,1,9,5,6,7,9] , A=[7,5,8,2,0] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [2,9,3,1,2,4,4,1,9,5,6,7] , A=[9,7,5,8,2,0] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [2,9,3,1,2,4,4,1,9,5,6] , A=[7,9,7,5,8,2,0] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [2,9,3,1,2,4,4,1,9,5] , A=[6,7,9,7,5,8,2,0] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [2,9,3,1,2,4,4,1,9] , A=[5,6,7,9,7,5,8,2,0] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [2,9,3,1,2,4,4,1] , A=[9,5,6,7,9,7,5,8,2,0] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [2,9,3,1,2,4,4] , A=[1,9,5,6,7,9,7,5,8,2,0] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [2,9,3,1,2,4] , A=[4,1,9,5,6,7,9,7,5,8,2,0] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [2,9,3,1,2] , A=[4,4,1,9,5,6,7,9,7,5,8,2,0] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [2,9,3,1] , A=[2,4,4,1,9,5,6,7,9,7,5,8,2,0] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [2,9,3] , A=[1,2,4,4,1,9,5,6,7,9,7,5,8,2,0] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [2,9] , A=[3,1,2,4,4,1,9,5,6,7,9,7,5,8,2,0] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [2] , A=[9,3,1,2,4,4,1,9,5,6,7,9,7,5,8,2,0] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,9,3,1,2,4,4,1,9,5,6,7,9,7,5,8,2,0] C=0 , END
</scratch>
293124419567975820
| 293124419567975820 | 3 |
Input:
174526641035523574+8873245
Target:
| Input:
174526641035523574+8873245
Target:
[1,7,4,5,2,6,6,4,1,0,3,5,5,2,3,5,7,4] + [8,8,7,3,2,4,5] , A=[] , C=0 , 4+5+0=9 , A->9 , C->0
[1,7,4,5,2,6,6,4,1,0,3,5,5,2,3,5,7] + [8,8,7,3,2,4] , A=[9] , C=0 , 7+4+0=11 , A->1 , C->1
[1,7,4,5,2,6,6,4,1,0,3,5,5,2,3,5] + [8,8,7,3,2] , A=[1,9] , C=1 , 5+2+1=8 , A->8 , C->0
[1,7,4,5,2,6,6,4,1,0,3,5,5,2,3] + [8,8,7,3] , A=[8,1,9] , C=0 , 3+3+0=6 , A->6 , C->0
[1,7,4,5,2,6,6,4,1,0,3,5,5,2] + [8,8,7] , A=[6,8,1,9] , C=0 , 2+7+0=9 , A->9 , C->0
[1,7,4,5,2,6,6,4,1,0,3,5,5] + [8,8] , A=[9,6,8,1,9] , C=0 , 5+8+0=13 , A->3 , C->1
[1,7,4,5,2,6,6,4,1,0,3,5] + [8] , A=[3,9,6,8,1,9] , C=1 , 5+8+1=14 , A->4 , C->1
[1,7,4,5,2,6,6,4,1,0,3] + [] , A=[4,3,9,6,8,1,9] , C=1 , 3+0+1=4 , A->4 , C->0
[1,7,4,5,2,6,6,4,1,0] + [] , A=[4,4,3,9,6,8,1,9] , C=0 , 0+0+0=0 , A->0 , C->0
[1,7,4,5,2,6,6,4,1] + [] , A=[0,4,4,3,9,6,8,1,9] , C=0 , 1+0+0=1 , A->1 , C->0
[1,7,4,5,2,6,6,4] + [] , A=[1,0,4,4,3,9,6,8,1,9] , C=0 , 4+0+0=4 , A->4 , C->0
[1,7,4,5,2,6,6] + [] , A=[4,1,0,4,4,3,9,6,8,1,9] , C=0 , 6+0+0=6 , A->6 , C->0
[1,7,4,5,2,6] + [] , A=[6,4,1,0,4,4,3,9,6,8,1,9] , C=0 , 6+0+0=6 , A->6 , C->0
[1,7,4,5,2] + [] , A=[6,6,4,1,0,4,4,3,9,6,8,1,9] , C=0 , 2+0+0=2 , A->2 , C->0
[1,7,4,5] + [] , A=[2,6,6,4,1,0,4,4,3,9,6,8,1,9] , C=0 , 5+0+0=5 , A->5 , C->0
[1,7,4] + [] , A=[5,2,6,6,4,1,0,4,4,3,9,6,8,1,9] , C=0 , 4+0+0=4 , A->4 , C->0
[1,7] + [] , A=[4,5,2,6,6,4,1,0,4,4,3,9,6,8,1,9] , C=0 , 7+0+0=7 , A->7 , C->0
[1] + [] , A=[7,4,5,2,6,6,4,1,0,4,4,3,9,6,8,1,9] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,7,4,5,2,6,6,4,1,0,4,4,3,9,6,8,1,9] C=0 , END
</scratch>
174526641044396819
| 174526641044396819 | 7 |
Input:
159003948922259882+283244806549595
Target:
| Input:
159003948922259882+283244806549595
Target:
[1,5,9,0,0,3,9,4,8,9,2,2,2,5,9,8,8,2] + [2,8,3,2,4,4,8,0,6,5,4,9,5,9,5] , A=[] , C=0 , 2+5+0=7 , A->7 , C->0
[1,5,9,0,0,3,9,4,8,9,2,2,2,5,9,8,8] + [2,8,3,2,4,4,8,0,6,5,4,9,5,9] , A=[7] , C=0 , 8+9+0=17 , A->7 , C->1
[1,5,9,0,0,3,9,4,8,9,2,2,2,5,9,8] + [2,8,3,2,4,4,8,0,6,5,4,9,5] , A=[7,7] , C=1 , 8+5+1=14 , A->4 , C->1
[1,5,9,0,0,3,9,4,8,9,2,2,2,5,9] + [2,8,3,2,4,4,8,0,6,5,4,9] , A=[4,7,7] , C=1 , 9+9+1=19 , A->9 , C->1
[1,5,9,0,0,3,9,4,8,9,2,2,2,5] + [2,8,3,2,4,4,8,0,6,5,4] , A=[9,4,7,7] , C=1 , 5+4+1=10 , A->0 , C->1
[1,5,9,0,0,3,9,4,8,9,2,2,2] + [2,8,3,2,4,4,8,0,6,5] , A=[0,9,4,7,7] , C=1 , 2+5+1=8 , A->8 , C->0
[1,5,9,0,0,3,9,4,8,9,2,2] + [2,8,3,2,4,4,8,0,6] , A=[8,0,9,4,7,7] , C=0 , 2+6+0=8 , A->8 , C->0
[1,5,9,0,0,3,9,4,8,9,2] + [2,8,3,2,4,4,8,0] , A=[8,8,0,9,4,7,7] , C=0 , 2+0+0=2 , A->2 , C->0
[1,5,9,0,0,3,9,4,8,9] + [2,8,3,2,4,4,8] , A=[2,8,8,0,9,4,7,7] , C=0 , 9+8+0=17 , A->7 , C->1
[1,5,9,0,0,3,9,4,8] + [2,8,3,2,4,4] , A=[7,2,8,8,0,9,4,7,7] , C=1 , 8+4+1=13 , A->3 , C->1
[1,5,9,0,0,3,9,4] + [2,8,3,2,4] , A=[3,7,2,8,8,0,9,4,7,7] , C=1 , 4+4+1=9 , A->9 , C->0
[1,5,9,0,0,3,9] + [2,8,3,2] , A=[9,3,7,2,8,8,0,9,4,7,7] , C=0 , 9+2+0=11 , A->1 , C->1
[1,5,9,0,0,3] + [2,8,3] , A=[1,9,3,7,2,8,8,0,9,4,7,7] , C=1 , 3+3+1=7 , A->7 , C->0
[1,5,9,0,0] + [2,8] , A=[7,1,9,3,7,2,8,8,0,9,4,7,7] , C=0 , 0+8+0=8 , A->8 , C->0
[1,5,9,0] + [2] , A=[8,7,1,9,3,7,2,8,8,0,9,4,7,7] , C=0 , 0+2+0=2 , A->2 , C->0
[1,5,9] + [] , A=[2,8,7,1,9,3,7,2,8,8,0,9,4,7,7] , C=0 , 9+0+0=9 , A->9 , C->0
[1,5] + [] , A=[9,2,8,7,1,9,3,7,2,8,8,0,9,4,7,7] , C=0 , 5+0+0=5 , A->5 , C->0
[1] + [] , A=[5,9,2,8,7,1,9,3,7,2,8,8,0,9,4,7,7] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,5,9,2,8,7,1,9,3,7,2,8,8,0,9,4,7,7] C=0 , END
</scratch>
159287193728809477
| 159287193728809477 | 15 |
Input:
818648792604360498+51055
Target:
| Input:
818648792604360498+51055
Target:
[8,1,8,6,4,8,7,9,2,6,0,4,3,6,0,4,9,8] + [5,1,0,5,5] , A=[] , C=0 , 8+5+0=13 , A->3 , C->1
[8,1,8,6,4,8,7,9,2,6,0,4,3,6,0,4,9] + [5,1,0,5] , A=[3] , C=1 , 9+5+1=15 , A->5 , C->1
[8,1,8,6,4,8,7,9,2,6,0,4,3,6,0,4] + [5,1,0] , A=[5,3] , C=1 , 4+0+1=5 , A->5 , C->0
[8,1,8,6,4,8,7,9,2,6,0,4,3,6,0] + [5,1] , A=[5,5,3] , C=0 , 0+1+0=1 , A->1 , C->0
[8,1,8,6,4,8,7,9,2,6,0,4,3,6] + [5] , A=[1,5,5,3] , C=0 , 6+5+0=11 , A->1 , C->1
[8,1,8,6,4,8,7,9,2,6,0,4,3] + [] , A=[1,1,5,5,3] , C=1 , 3+0+1=4 , A->4 , C->0
[8,1,8,6,4,8,7,9,2,6,0,4] + [] , A=[4,1,1,5,5,3] , C=0 , 4+0+0=4 , A->4 , C->0
[8,1,8,6,4,8,7,9,2,6,0] + [] , A=[4,4,1,1,5,5,3] , C=0 , 0+0+0=0 , A->0 , C->0
[8,1,8,6,4,8,7,9,2,6] + [] , A=[0,4,4,1,1,5,5,3] , C=0 , 6+0+0=6 , A->6 , C->0
[8,1,8,6,4,8,7,9,2] + [] , A=[6,0,4,4,1,1,5,5,3] , C=0 , 2+0+0=2 , A->2 , C->0
[8,1,8,6,4,8,7,9] + [] , A=[2,6,0,4,4,1,1,5,5,3] , C=0 , 9+0+0=9 , A->9 , C->0
[8,1,8,6,4,8,7] + [] , A=[9,2,6,0,4,4,1,1,5,5,3] , C=0 , 7+0+0=7 , A->7 , C->0
[8,1,8,6,4,8] + [] , A=[7,9,2,6,0,4,4,1,1,5,5,3] , C=0 , 8+0+0=8 , A->8 , C->0
[8,1,8,6,4] + [] , A=[8,7,9,2,6,0,4,4,1,1,5,5,3] , C=0 , 4+0+0=4 , A->4 , C->0
[8,1,8,6] + [] , A=[4,8,7,9,2,6,0,4,4,1,1,5,5,3] , C=0 , 6+0+0=6 , A->6 , C->0
[8,1,8] + [] , A=[6,4,8,7,9,2,6,0,4,4,1,1,5,5,3] , C=0 , 8+0+0=8 , A->8 , C->0
[8,1] + [] , A=[8,6,4,8,7,9,2,6,0,4,4,1,1,5,5,3] , C=0 , 1+0+0=1 , A->1 , C->0
[8] + [] , A=[1,8,6,4,8,7,9,2,6,0,4,4,1,1,5,5,3] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,1,8,6,4,8,7,9,2,6,0,4,4,1,1,5,5,3] C=0 , END
</scratch>
818648792604411553
| 818648792604411553 | 5 |
Input:
647191718121510933+83568525136315
Target:
| Input:
647191718121510933+83568525136315
Target:
[6,4,7,1,9,1,7,1,8,1,2,1,5,1,0,9,3,3] + [8,3,5,6,8,5,2,5,1,3,6,3,1,5] , A=[] , C=0 , 3+5+0=8 , A->8 , C->0
[6,4,7,1,9,1,7,1,8,1,2,1,5,1,0,9,3] + [8,3,5,6,8,5,2,5,1,3,6,3,1] , A=[8] , C=0 , 3+1+0=4 , A->4 , C->0
[6,4,7,1,9,1,7,1,8,1,2,1,5,1,0,9] + [8,3,5,6,8,5,2,5,1,3,6,3] , A=[4,8] , C=0 , 9+3+0=12 , A->2 , C->1
[6,4,7,1,9,1,7,1,8,1,2,1,5,1,0] + [8,3,5,6,8,5,2,5,1,3,6] , A=[2,4,8] , C=1 , 0+6+1=7 , A->7 , C->0
[6,4,7,1,9,1,7,1,8,1,2,1,5,1] + [8,3,5,6,8,5,2,5,1,3] , A=[7,2,4,8] , C=0 , 1+3+0=4 , A->4 , C->0
[6,4,7,1,9,1,7,1,8,1,2,1,5] + [8,3,5,6,8,5,2,5,1] , A=[4,7,2,4,8] , C=0 , 5+1+0=6 , A->6 , C->0
[6,4,7,1,9,1,7,1,8,1,2,1] + [8,3,5,6,8,5,2,5] , A=[6,4,7,2,4,8] , C=0 , 1+5+0=6 , A->6 , C->0
[6,4,7,1,9,1,7,1,8,1,2] + [8,3,5,6,8,5,2] , A=[6,6,4,7,2,4,8] , C=0 , 2+2+0=4 , A->4 , C->0
[6,4,7,1,9,1,7,1,8,1] + [8,3,5,6,8,5] , A=[4,6,6,4,7,2,4,8] , C=0 , 1+5+0=6 , A->6 , C->0
[6,4,7,1,9,1,7,1,8] + [8,3,5,6,8] , A=[6,4,6,6,4,7,2,4,8] , C=0 , 8+8+0=16 , A->6 , C->1
[6,4,7,1,9,1,7,1] + [8,3,5,6] , A=[6,6,4,6,6,4,7,2,4,8] , C=1 , 1+6+1=8 , A->8 , C->0
[6,4,7,1,9,1,7] + [8,3,5] , A=[8,6,6,4,6,6,4,7,2,4,8] , C=0 , 7+5+0=12 , A->2 , C->1
[6,4,7,1,9,1] + [8,3] , A=[2,8,6,6,4,6,6,4,7,2,4,8] , C=1 , 1+3+1=5 , A->5 , C->0
[6,4,7,1,9] + [8] , A=[5,2,8,6,6,4,6,6,4,7,2,4,8] , C=0 , 9+8+0=17 , A->7 , C->1
[6,4,7,1] + [] , A=[7,5,2,8,6,6,4,6,6,4,7,2,4,8] , C=1 , 1+0+1=2 , A->2 , C->0
[6,4,7] + [] , A=[2,7,5,2,8,6,6,4,6,6,4,7,2,4,8] , C=0 , 7+0+0=7 , A->7 , C->0
[6,4] + [] , A=[7,2,7,5,2,8,6,6,4,6,6,4,7,2,4,8] , C=0 , 4+0+0=4 , A->4 , C->0
[6] + [] , A=[4,7,2,7,5,2,8,6,6,4,6,6,4,7,2,4,8] , C=0 , 6+0+0=6 , A->6 , C->0
[] + [] , A=[6,4,7,2,7,5,2,8,6,6,4,6,6,4,7,2,4,8] C=0 , END
</scratch>
647275286646647248
| 647275286646647248 | 14 |
Input:
162062943404227423+24002468794
Target:
| Input:
162062943404227423+24002468794
Target:
[1,6,2,0,6,2,9,4,3,4,0,4,2,2,7,4,2,3] + [2,4,0,0,2,4,6,8,7,9,4] , A=[] , C=0 , 3+4+0=7 , A->7 , C->0
[1,6,2,0,6,2,9,4,3,4,0,4,2,2,7,4,2] + [2,4,0,0,2,4,6,8,7,9] , A=[7] , C=0 , 2+9+0=11 , A->1 , C->1
[1,6,2,0,6,2,9,4,3,4,0,4,2,2,7,4] + [2,4,0,0,2,4,6,8,7] , A=[1,7] , C=1 , 4+7+1=12 , A->2 , C->1
[1,6,2,0,6,2,9,4,3,4,0,4,2,2,7] + [2,4,0,0,2,4,6,8] , A=[2,1,7] , C=1 , 7+8+1=16 , A->6 , C->1
[1,6,2,0,6,2,9,4,3,4,0,4,2,2] + [2,4,0,0,2,4,6] , A=[6,2,1,7] , C=1 , 2+6+1=9 , A->9 , C->0
[1,6,2,0,6,2,9,4,3,4,0,4,2] + [2,4,0,0,2,4] , A=[9,6,2,1,7] , C=0 , 2+4+0=6 , A->6 , C->0
[1,6,2,0,6,2,9,4,3,4,0,4] + [2,4,0,0,2] , A=[6,9,6,2,1,7] , C=0 , 4+2+0=6 , A->6 , C->0
[1,6,2,0,6,2,9,4,3,4,0] + [2,4,0,0] , A=[6,6,9,6,2,1,7] , C=0 , 0+0+0=0 , A->0 , C->0
[1,6,2,0,6,2,9,4,3,4] + [2,4,0] , A=[0,6,6,9,6,2,1,7] , C=0 , 4+0+0=4 , A->4 , C->0
[1,6,2,0,6,2,9,4,3] + [2,4] , A=[4,0,6,6,9,6,2,1,7] , C=0 , 3+4+0=7 , A->7 , C->0
[1,6,2,0,6,2,9,4] + [2] , A=[7,4,0,6,6,9,6,2,1,7] , C=0 , 4+2+0=6 , A->6 , C->0
[1,6,2,0,6,2,9] + [] , A=[6,7,4,0,6,6,9,6,2,1,7] , C=0 , 9+0+0=9 , A->9 , C->0
[1,6,2,0,6,2] + [] , A=[9,6,7,4,0,6,6,9,6,2,1,7] , C=0 , 2+0+0=2 , A->2 , C->0
[1,6,2,0,6] + [] , A=[2,9,6,7,4,0,6,6,9,6,2,1,7] , C=0 , 6+0+0=6 , A->6 , C->0
[1,6,2,0] + [] , A=[6,2,9,6,7,4,0,6,6,9,6,2,1,7] , C=0 , 0+0+0=0 , A->0 , C->0
[1,6,2] + [] , A=[0,6,2,9,6,7,4,0,6,6,9,6,2,1,7] , C=0 , 2+0+0=2 , A->2 , C->0
[1,6] + [] , A=[2,0,6,2,9,6,7,4,0,6,6,9,6,2,1,7] , C=0 , 6+0+0=6 , A->6 , C->0
[1] + [] , A=[6,2,0,6,2,9,6,7,4,0,6,6,9,6,2,1,7] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,6,2,0,6,2,9,6,7,4,0,6,6,9,6,2,1,7] C=0 , END
</scratch>
162062967406696217
| 162062967406696217 | 11 |