input_test
stringlengths 33
47
| scratchpad
stringlengths 1.21k
1.46k
| result_final
stringlengths 15
16
| y_digits
int64 1
15
|
---|---|---|---|
Input:
131749053590685+96392550036997
Target:
| Input:
131749053590685+96392550036997
Target:
[1,3,1,7,4,9,0,5,3,5,9,0,6,8,5] + [9,6,3,9,2,5,5,0,0,3,6,9,9,7] , A=[] , C=0 , 5+7+0=12 , A->2 , C->1
[1,3,1,7,4,9,0,5,3,5,9,0,6,8] + [9,6,3,9,2,5,5,0,0,3,6,9,9] , A=[2] , C=1 , 8+9+1=18 , A->8 , C->1
[1,3,1,7,4,9,0,5,3,5,9,0,6] + [9,6,3,9,2,5,5,0,0,3,6,9] , A=[8,2] , C=1 , 6+9+1=16 , A->6 , C->1
[1,3,1,7,4,9,0,5,3,5,9,0] + [9,6,3,9,2,5,5,0,0,3,6] , A=[6,8,2] , C=1 , 0+6+1=7 , A->7 , C->0
[1,3,1,7,4,9,0,5,3,5,9] + [9,6,3,9,2,5,5,0,0,3] , A=[7,6,8,2] , C=0 , 9+3+0=12 , A->2 , C->1
[1,3,1,7,4,9,0,5,3,5] + [9,6,3,9,2,5,5,0,0] , A=[2,7,6,8,2] , C=1 , 5+0+1=6 , A->6 , C->0
[1,3,1,7,4,9,0,5,3] + [9,6,3,9,2,5,5,0] , A=[6,2,7,6,8,2] , C=0 , 3+0+0=3 , A->3 , C->0
[1,3,1,7,4,9,0,5] + [9,6,3,9,2,5,5] , A=[3,6,2,7,6,8,2] , C=0 , 5+5+0=10 , A->0 , C->1
[1,3,1,7,4,9,0] + [9,6,3,9,2,5] , A=[0,3,6,2,7,6,8,2] , C=1 , 0+5+1=6 , A->6 , C->0
[1,3,1,7,4,9] + [9,6,3,9,2] , A=[6,0,3,6,2,7,6,8,2] , C=0 , 9+2+0=11 , A->1 , C->1
[1,3,1,7,4] + [9,6,3,9] , A=[1,6,0,3,6,2,7,6,8,2] , C=1 , 4+9+1=14 , A->4 , C->1
[1,3,1,7] + [9,6,3] , A=[4,1,6,0,3,6,2,7,6,8,2] , C=1 , 7+3+1=11 , A->1 , C->1
[1,3,1] + [9,6] , A=[1,4,1,6,0,3,6,2,7,6,8,2] , C=1 , 1+6+1=8 , A->8 , C->0
[1,3] + [9] , A=[8,1,4,1,6,0,3,6,2,7,6,8,2] , C=0 , 3+9+0=12 , A->2 , C->1
[1] + [] , A=[2,8,1,4,1,6,0,3,6,2,7,6,8,2] , C=1 , 1+0+1=2 , A->2 , C->0
[] + [] , A=[2,2,8,1,4,1,6,0,3,6,2,7,6,8,2] C=0 , END
</scratch>
228141603627682
| 228141603627682 | 14 |
Input:
680446+300874124225890
Target:
| Input:
680446+300874124225890
Target:
[6,8,0,4,4,6] + [3,0,0,8,7,4,1,2,4,2,2,5,8,9,0] , A=[] , C=0 , 6+0+0=6 , A->6 , C->0
[6,8,0,4,4] + [3,0,0,8,7,4,1,2,4,2,2,5,8,9] , A=[6] , C=0 , 4+9+0=13 , A->3 , C->1
[6,8,0,4] + [3,0,0,8,7,4,1,2,4,2,2,5,8] , A=[3,6] , C=1 , 4+8+1=13 , A->3 , C->1
[6,8,0] + [3,0,0,8,7,4,1,2,4,2,2,5] , A=[3,3,6] , C=1 , 0+5+1=6 , A->6 , C->0
[6,8] + [3,0,0,8,7,4,1,2,4,2,2] , A=[6,3,3,6] , C=0 , 8+2+0=10 , A->0 , C->1
[6] + [3,0,0,8,7,4,1,2,4,2] , A=[0,6,3,3,6] , C=1 , 6+2+1=9 , A->9 , C->0
[] + [3,0,0,8,7,4,1,2,4] , A=[9,0,6,3,3,6] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [3,0,0,8,7,4,1,2] , A=[4,9,0,6,3,3,6] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [3,0,0,8,7,4,1] , A=[2,4,9,0,6,3,3,6] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [3,0,0,8,7,4] , A=[1,2,4,9,0,6,3,3,6] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [3,0,0,8,7] , A=[4,1,2,4,9,0,6,3,3,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [3,0,0,8] , A=[7,4,1,2,4,9,0,6,3,3,6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [3,0,0] , A=[8,7,4,1,2,4,9,0,6,3,3,6] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [3,0] , A=[0,8,7,4,1,2,4,9,0,6,3,3,6] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [3] , A=[0,0,8,7,4,1,2,4,9,0,6,3,3,6] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [] , A=[3,0,0,8,7,4,1,2,4,9,0,6,3,3,6] C=0 , END
</scratch>
300874124906336
| 300874124906336 | 6 |
Input:
730845263577+593724500895619
Target:
| Input:
730845263577+593724500895619
Target:
[7,3,0,8,4,5,2,6,3,5,7,7] + [5,9,3,7,2,4,5,0,0,8,9,5,6,1,9] , A=[] , C=0 , 7+9+0=16 , A->6 , C->1
[7,3,0,8,4,5,2,6,3,5,7] + [5,9,3,7,2,4,5,0,0,8,9,5,6,1] , A=[6] , C=1 , 7+1+1=9 , A->9 , C->0
[7,3,0,8,4,5,2,6,3,5] + [5,9,3,7,2,4,5,0,0,8,9,5,6] , A=[9,6] , C=0 , 5+6+0=11 , A->1 , C->1
[7,3,0,8,4,5,2,6,3] + [5,9,3,7,2,4,5,0,0,8,9,5] , A=[1,9,6] , C=1 , 3+5+1=9 , A->9 , C->0
[7,3,0,8,4,5,2,6] + [5,9,3,7,2,4,5,0,0,8,9] , A=[9,1,9,6] , C=0 , 6+9+0=15 , A->5 , C->1
[7,3,0,8,4,5,2] + [5,9,3,7,2,4,5,0,0,8] , A=[5,9,1,9,6] , C=1 , 2+8+1=11 , A->1 , C->1
[7,3,0,8,4,5] + [5,9,3,7,2,4,5,0,0] , A=[1,5,9,1,9,6] , C=1 , 5+0+1=6 , A->6 , C->0
[7,3,0,8,4] + [5,9,3,7,2,4,5,0] , A=[6,1,5,9,1,9,6] , C=0 , 4+0+0=4 , A->4 , C->0
[7,3,0,8] + [5,9,3,7,2,4,5] , A=[4,6,1,5,9,1,9,6] , C=0 , 8+5+0=13 , A->3 , C->1
[7,3,0] + [5,9,3,7,2,4] , A=[3,4,6,1,5,9,1,9,6] , C=1 , 0+4+1=5 , A->5 , C->0
[7,3] + [5,9,3,7,2] , A=[5,3,4,6,1,5,9,1,9,6] , C=0 , 3+2+0=5 , A->5 , C->0
[7] + [5,9,3,7] , A=[5,5,3,4,6,1,5,9,1,9,6] , C=0 , 7+7+0=14 , A->4 , C->1
[] + [5,9,3] , A=[4,5,5,3,4,6,1,5,9,1,9,6] , C=1 , 0+3+1=4 , A->4 , C->0
[] + [5,9] , A=[4,4,5,5,3,4,6,1,5,9,1,9,6] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [5] , A=[9,4,4,5,5,3,4,6,1,5,9,1,9,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,9,4,4,5,5,3,4,6,1,5,9,1,9,6] C=0 , END
</scratch>
594455346159196
| 594455346159196 | 12 |
Input:
4572280020+406337630611626
Target:
| Input:
4572280020+406337630611626
Target:
[4,5,7,2,2,8,0,0,2,0] + [4,0,6,3,3,7,6,3,0,6,1,1,6,2,6] , A=[] , C=0 , 0+6+0=6 , A->6 , C->0
[4,5,7,2,2,8,0,0,2] + [4,0,6,3,3,7,6,3,0,6,1,1,6,2] , A=[6] , C=0 , 2+2+0=4 , A->4 , C->0
[4,5,7,2,2,8,0,0] + [4,0,6,3,3,7,6,3,0,6,1,1,6] , A=[4,6] , C=0 , 0+6+0=6 , A->6 , C->0
[4,5,7,2,2,8,0] + [4,0,6,3,3,7,6,3,0,6,1,1] , A=[6,4,6] , C=0 , 0+1+0=1 , A->1 , C->0
[4,5,7,2,2,8] + [4,0,6,3,3,7,6,3,0,6,1] , A=[1,6,4,6] , C=0 , 8+1+0=9 , A->9 , C->0
[4,5,7,2,2] + [4,0,6,3,3,7,6,3,0,6] , A=[9,1,6,4,6] , C=0 , 2+6+0=8 , A->8 , C->0
[4,5,7,2] + [4,0,6,3,3,7,6,3,0] , A=[8,9,1,6,4,6] , C=0 , 2+0+0=2 , A->2 , C->0
[4,5,7] + [4,0,6,3,3,7,6,3] , A=[2,8,9,1,6,4,6] , C=0 , 7+3+0=10 , A->0 , C->1
[4,5] + [4,0,6,3,3,7,6] , A=[0,2,8,9,1,6,4,6] , C=1 , 5+6+1=12 , A->2 , C->1
[4] + [4,0,6,3,3,7] , A=[2,0,2,8,9,1,6,4,6] , C=1 , 4+7+1=12 , A->2 , C->1
[] + [4,0,6,3,3] , A=[2,2,0,2,8,9,1,6,4,6] , C=1 , 0+3+1=4 , A->4 , C->0
[] + [4,0,6,3] , A=[4,2,2,0,2,8,9,1,6,4,6] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [4,0,6] , A=[3,4,2,2,0,2,8,9,1,6,4,6] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [4,0] , A=[6,3,4,2,2,0,2,8,9,1,6,4,6] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [4] , A=[0,6,3,4,2,2,0,2,8,9,1,6,4,6] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,0,6,3,4,2,2,0,2,8,9,1,6,4,6] C=0 , END
</scratch>
406342202891646
| 406342202891646 | 10 |
Input:
5738+636740525860405
Target:
| Input:
5738+636740525860405
Target:
[5,7,3,8] + [6,3,6,7,4,0,5,2,5,8,6,0,4,0,5] , A=[] , C=0 , 8+5+0=13 , A->3 , C->1
[5,7,3] + [6,3,6,7,4,0,5,2,5,8,6,0,4,0] , A=[3] , C=1 , 3+0+1=4 , A->4 , C->0
[5,7] + [6,3,6,7,4,0,5,2,5,8,6,0,4] , A=[4,3] , C=0 , 7+4+0=11 , A->1 , C->1
[5] + [6,3,6,7,4,0,5,2,5,8,6,0] , A=[1,4,3] , C=1 , 5+0+1=6 , A->6 , C->0
[] + [6,3,6,7,4,0,5,2,5,8,6] , A=[6,1,4,3] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [6,3,6,7,4,0,5,2,5,8] , A=[6,6,1,4,3] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [6,3,6,7,4,0,5,2,5] , A=[8,6,6,1,4,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [6,3,6,7,4,0,5,2] , A=[5,8,6,6,1,4,3] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [6,3,6,7,4,0,5] , A=[2,5,8,6,6,1,4,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [6,3,6,7,4,0] , A=[5,2,5,8,6,6,1,4,3] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [6,3,6,7,4] , A=[0,5,2,5,8,6,6,1,4,3] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [6,3,6,7] , A=[4,0,5,2,5,8,6,6,1,4,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6,3,6] , A=[7,4,0,5,2,5,8,6,6,1,4,3] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [6,3] , A=[6,7,4,0,5,2,5,8,6,6,1,4,3] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [6] , A=[3,6,7,4,0,5,2,5,8,6,6,1,4,3] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,3,6,7,4,0,5,2,5,8,6,6,1,4,3] C=0 , END
</scratch>
636740525866143
| 636740525866143 | 4 |
Input:
62423929835574+967316195417884
Target:
| Input:
62423929835574+967316195417884
Target:
[6,2,4,2,3,9,2,9,8,3,5,5,7,4] + [9,6,7,3,1,6,1,9,5,4,1,7,8,8,4] , A=[] , C=0 , 4+4+0=8 , A->8 , C->0
[6,2,4,2,3,9,2,9,8,3,5,5,7] + [9,6,7,3,1,6,1,9,5,4,1,7,8,8] , A=[8] , C=0 , 7+8+0=15 , A->5 , C->1
[6,2,4,2,3,9,2,9,8,3,5,5] + [9,6,7,3,1,6,1,9,5,4,1,7,8] , A=[5,8] , C=1 , 5+8+1=14 , A->4 , C->1
[6,2,4,2,3,9,2,9,8,3,5] + [9,6,7,3,1,6,1,9,5,4,1,7] , A=[4,5,8] , C=1 , 5+7+1=13 , A->3 , C->1
[6,2,4,2,3,9,2,9,8,3] + [9,6,7,3,1,6,1,9,5,4,1] , A=[3,4,5,8] , C=1 , 3+1+1=5 , A->5 , C->0
[6,2,4,2,3,9,2,9,8] + [9,6,7,3,1,6,1,9,5,4] , A=[5,3,4,5,8] , C=0 , 8+4+0=12 , A->2 , C->1
[6,2,4,2,3,9,2,9] + [9,6,7,3,1,6,1,9,5] , A=[2,5,3,4,5,8] , C=1 , 9+5+1=15 , A->5 , C->1
[6,2,4,2,3,9,2] + [9,6,7,3,1,6,1,9] , A=[5,2,5,3,4,5,8] , C=1 , 2+9+1=12 , A->2 , C->1
[6,2,4,2,3,9] + [9,6,7,3,1,6,1] , A=[2,5,2,5,3,4,5,8] , C=1 , 9+1+1=11 , A->1 , C->1
[6,2,4,2,3] + [9,6,7,3,1,6] , A=[1,2,5,2,5,3,4,5,8] , C=1 , 3+6+1=10 , A->0 , C->1
[6,2,4,2] + [9,6,7,3,1] , A=[0,1,2,5,2,5,3,4,5,8] , C=1 , 2+1+1=4 , A->4 , C->0
[6,2,4] + [9,6,7,3] , A=[4,0,1,2,5,2,5,3,4,5,8] , C=0 , 4+3+0=7 , A->7 , C->0
[6,2] + [9,6,7] , A=[7,4,0,1,2,5,2,5,3,4,5,8] , C=0 , 2+7+0=9 , A->9 , C->0
[6] + [9,6] , A=[9,7,4,0,1,2,5,2,5,3,4,5,8] , C=0 , 6+6+0=12 , A->2 , C->1
[] + [9] , A=[2,9,7,4,0,1,2,5,2,5,3,4,5,8] , C=1 , 0+9+1=10 , A->0 , C->1
[] + [] , A=[0,2,9,7,4,0,1,2,5,2,5,3,4,5,8] C=1 , END
</scratch>
1029740125253458
| 1029740125253458 | 14 |
Input:
771818694287843+44166
Target:
| Input:
771818694287843+44166
Target:
[7,7,1,8,1,8,6,9,4,2,8,7,8,4,3] + [4,4,1,6,6] , A=[] , C=0 , 3+6+0=9 , A->9 , C->0
[7,7,1,8,1,8,6,9,4,2,8,7,8,4] + [4,4,1,6] , A=[9] , C=0 , 4+6+0=10 , A->0 , C->1
[7,7,1,8,1,8,6,9,4,2,8,7,8] + [4,4,1] , A=[0,9] , C=1 , 8+1+1=10 , A->0 , C->1
[7,7,1,8,1,8,6,9,4,2,8,7] + [4,4] , A=[0,0,9] , C=1 , 7+4+1=12 , A->2 , C->1
[7,7,1,8,1,8,6,9,4,2,8] + [4] , A=[2,0,0,9] , C=1 , 8+4+1=13 , A->3 , C->1
[7,7,1,8,1,8,6,9,4,2] + [] , A=[3,2,0,0,9] , C=1 , 2+0+1=3 , A->3 , C->0
[7,7,1,8,1,8,6,9,4] + [] , A=[3,3,2,0,0,9] , C=0 , 4+0+0=4 , A->4 , C->0
[7,7,1,8,1,8,6,9] + [] , A=[4,3,3,2,0,0,9] , C=0 , 9+0+0=9 , A->9 , C->0
[7,7,1,8,1,8,6] + [] , A=[9,4,3,3,2,0,0,9] , C=0 , 6+0+0=6 , A->6 , C->0
[7,7,1,8,1,8] + [] , A=[6,9,4,3,3,2,0,0,9] , C=0 , 8+0+0=8 , A->8 , C->0
[7,7,1,8,1] + [] , A=[8,6,9,4,3,3,2,0,0,9] , C=0 , 1+0+0=1 , A->1 , C->0
[7,7,1,8] + [] , A=[1,8,6,9,4,3,3,2,0,0,9] , C=0 , 8+0+0=8 , A->8 , C->0
[7,7,1] + [] , A=[8,1,8,6,9,4,3,3,2,0,0,9] , C=0 , 1+0+0=1 , A->1 , C->0
[7,7] + [] , A=[1,8,1,8,6,9,4,3,3,2,0,0,9] , C=0 , 7+0+0=7 , A->7 , C->0
[7] + [] , A=[7,1,8,1,8,6,9,4,3,3,2,0,0,9] , C=0 , 7+0+0=7 , A->7 , C->0
[] + [] , A=[7,7,1,8,1,8,6,9,4,3,3,2,0,0,9] C=0 , END
</scratch>
771818694332009
| 771818694332009 | 5 |
Input:
234060448287647+705817822235986
Target:
| Input:
234060448287647+705817822235986
Target:
[2,3,4,0,6,0,4,4,8,2,8,7,6,4,7] + [7,0,5,8,1,7,8,2,2,2,3,5,9,8,6] , A=[] , C=0 , 7+6+0=13 , A->3 , C->1
[2,3,4,0,6,0,4,4,8,2,8,7,6,4] + [7,0,5,8,1,7,8,2,2,2,3,5,9,8] , A=[3] , C=1 , 4+8+1=13 , A->3 , C->1
[2,3,4,0,6,0,4,4,8,2,8,7,6] + [7,0,5,8,1,7,8,2,2,2,3,5,9] , A=[3,3] , C=1 , 6+9+1=16 , A->6 , C->1
[2,3,4,0,6,0,4,4,8,2,8,7] + [7,0,5,8,1,7,8,2,2,2,3,5] , A=[6,3,3] , C=1 , 7+5+1=13 , A->3 , C->1
[2,3,4,0,6,0,4,4,8,2,8] + [7,0,5,8,1,7,8,2,2,2,3] , A=[3,6,3,3] , C=1 , 8+3+1=12 , A->2 , C->1
[2,3,4,0,6,0,4,4,8,2] + [7,0,5,8,1,7,8,2,2,2] , A=[2,3,6,3,3] , C=1 , 2+2+1=5 , A->5 , C->0
[2,3,4,0,6,0,4,4,8] + [7,0,5,8,1,7,8,2,2] , A=[5,2,3,6,3,3] , C=0 , 8+2+0=10 , A->0 , C->1
[2,3,4,0,6,0,4,4] + [7,0,5,8,1,7,8,2] , A=[0,5,2,3,6,3,3] , C=1 , 4+2+1=7 , A->7 , C->0
[2,3,4,0,6,0,4] + [7,0,5,8,1,7,8] , A=[7,0,5,2,3,6,3,3] , C=0 , 4+8+0=12 , A->2 , C->1
[2,3,4,0,6,0] + [7,0,5,8,1,7] , A=[2,7,0,5,2,3,6,3,3] , C=1 , 0+7+1=8 , A->8 , C->0
[2,3,4,0,6] + [7,0,5,8,1] , A=[8,2,7,0,5,2,3,6,3,3] , C=0 , 6+1+0=7 , A->7 , C->0
[2,3,4,0] + [7,0,5,8] , A=[7,8,2,7,0,5,2,3,6,3,3] , C=0 , 0+8+0=8 , A->8 , C->0
[2,3,4] + [7,0,5] , A=[8,7,8,2,7,0,5,2,3,6,3,3] , C=0 , 4+5+0=9 , A->9 , C->0
[2,3] + [7,0] , A=[9,8,7,8,2,7,0,5,2,3,6,3,3] , C=0 , 3+0+0=3 , A->3 , C->0
[2] + [7] , A=[3,9,8,7,8,2,7,0,5,2,3,6,3,3] , C=0 , 2+7+0=9 , A->9 , C->0
[] + [] , A=[9,3,9,8,7,8,2,7,0,5,2,3,6,3,3] C=0 , END
</scratch>
939878270523633
| 939878270523633 | 15 |
Input:
170275678026618+7383152911486
Target:
| Input:
170275678026618+7383152911486
Target:
[1,7,0,2,7,5,6,7,8,0,2,6,6,1,8] + [7,3,8,3,1,5,2,9,1,1,4,8,6] , A=[] , C=0 , 8+6+0=14 , A->4 , C->1
[1,7,0,2,7,5,6,7,8,0,2,6,6,1] + [7,3,8,3,1,5,2,9,1,1,4,8] , A=[4] , C=1 , 1+8+1=10 , A->0 , C->1
[1,7,0,2,7,5,6,7,8,0,2,6,6] + [7,3,8,3,1,5,2,9,1,1,4] , A=[0,4] , C=1 , 6+4+1=11 , A->1 , C->1
[1,7,0,2,7,5,6,7,8,0,2,6] + [7,3,8,3,1,5,2,9,1,1] , A=[1,0,4] , C=1 , 6+1+1=8 , A->8 , C->0
[1,7,0,2,7,5,6,7,8,0,2] + [7,3,8,3,1,5,2,9,1] , A=[8,1,0,4] , C=0 , 2+1+0=3 , A->3 , C->0
[1,7,0,2,7,5,6,7,8,0] + [7,3,8,3,1,5,2,9] , A=[3,8,1,0,4] , C=0 , 0+9+0=9 , A->9 , C->0
[1,7,0,2,7,5,6,7,8] + [7,3,8,3,1,5,2] , A=[9,3,8,1,0,4] , C=0 , 8+2+0=10 , A->0 , C->1
[1,7,0,2,7,5,6,7] + [7,3,8,3,1,5] , A=[0,9,3,8,1,0,4] , C=1 , 7+5+1=13 , A->3 , C->1
[1,7,0,2,7,5,6] + [7,3,8,3,1] , A=[3,0,9,3,8,1,0,4] , C=1 , 6+1+1=8 , A->8 , C->0
[1,7,0,2,7,5] + [7,3,8,3] , A=[8,3,0,9,3,8,1,0,4] , C=0 , 5+3+0=8 , A->8 , C->0
[1,7,0,2,7] + [7,3,8] , A=[8,8,3,0,9,3,8,1,0,4] , C=0 , 7+8+0=15 , A->5 , C->1
[1,7,0,2] + [7,3] , A=[5,8,8,3,0,9,3,8,1,0,4] , C=1 , 2+3+1=6 , A->6 , C->0
[1,7,0] + [7] , A=[6,5,8,8,3,0,9,3,8,1,0,4] , C=0 , 0+7+0=7 , A->7 , C->0
[1,7] + [] , A=[7,6,5,8,8,3,0,9,3,8,1,0,4] , C=0 , 7+0+0=7 , A->7 , C->0
[1] + [] , A=[7,7,6,5,8,8,3,0,9,3,8,1,0,4] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,7,7,6,5,8,8,3,0,9,3,8,1,0,4] C=0 , END
</scratch>
177658830938104
| 177658830938104 | 13 |
Input:
760405023240281+914209003049548
Target:
| Input:
760405023240281+914209003049548
Target:
[7,6,0,4,0,5,0,2,3,2,4,0,2,8,1] + [9,1,4,2,0,9,0,0,3,0,4,9,5,4,8] , A=[] , C=0 , 1+8+0=9 , A->9 , C->0
[7,6,0,4,0,5,0,2,3,2,4,0,2,8] + [9,1,4,2,0,9,0,0,3,0,4,9,5,4] , A=[9] , C=0 , 8+4+0=12 , A->2 , C->1
[7,6,0,4,0,5,0,2,3,2,4,0,2] + [9,1,4,2,0,9,0,0,3,0,4,9,5] , A=[2,9] , C=1 , 2+5+1=8 , A->8 , C->0
[7,6,0,4,0,5,0,2,3,2,4,0] + [9,1,4,2,0,9,0,0,3,0,4,9] , A=[8,2,9] , C=0 , 0+9+0=9 , A->9 , C->0
[7,6,0,4,0,5,0,2,3,2,4] + [9,1,4,2,0,9,0,0,3,0,4] , A=[9,8,2,9] , C=0 , 4+4+0=8 , A->8 , C->0
[7,6,0,4,0,5,0,2,3,2] + [9,1,4,2,0,9,0,0,3,0] , A=[8,9,8,2,9] , C=0 , 2+0+0=2 , A->2 , C->0
[7,6,0,4,0,5,0,2,3] + [9,1,4,2,0,9,0,0,3] , A=[2,8,9,8,2,9] , C=0 , 3+3+0=6 , A->6 , C->0
[7,6,0,4,0,5,0,2] + [9,1,4,2,0,9,0,0] , A=[6,2,8,9,8,2,9] , C=0 , 2+0+0=2 , A->2 , C->0
[7,6,0,4,0,5,0] + [9,1,4,2,0,9,0] , A=[2,6,2,8,9,8,2,9] , C=0 , 0+0+0=0 , A->0 , C->0
[7,6,0,4,0,5] + [9,1,4,2,0,9] , A=[0,2,6,2,8,9,8,2,9] , C=0 , 5+9+0=14 , A->4 , C->1
[7,6,0,4,0] + [9,1,4,2,0] , A=[4,0,2,6,2,8,9,8,2,9] , C=1 , 0+0+1=1 , A->1 , C->0
[7,6,0,4] + [9,1,4,2] , A=[1,4,0,2,6,2,8,9,8,2,9] , C=0 , 4+2+0=6 , A->6 , C->0
[7,6,0] + [9,1,4] , A=[6,1,4,0,2,6,2,8,9,8,2,9] , C=0 , 0+4+0=4 , A->4 , C->0
[7,6] + [9,1] , A=[4,6,1,4,0,2,6,2,8,9,8,2,9] , C=0 , 6+1+0=7 , A->7 , C->0
[7] + [9] , A=[7,4,6,1,4,0,2,6,2,8,9,8,2,9] , C=0 , 7+9+0=16 , A->6 , C->1
[] + [] , A=[6,7,4,6,1,4,0,2,6,2,8,9,8,2,9] C=1 , END
</scratch>
1674614026289829
| 1674614026289829 | 15 |
Input:
363883949662515+64051953785865
Target:
| Input:
363883949662515+64051953785865
Target:
[3,6,3,8,8,3,9,4,9,6,6,2,5,1,5] + [6,4,0,5,1,9,5,3,7,8,5,8,6,5] , A=[] , C=0 , 5+5+0=10 , A->0 , C->1
[3,6,3,8,8,3,9,4,9,6,6,2,5,1] + [6,4,0,5,1,9,5,3,7,8,5,8,6] , A=[0] , C=1 , 1+6+1=8 , A->8 , C->0
[3,6,3,8,8,3,9,4,9,6,6,2,5] + [6,4,0,5,1,9,5,3,7,8,5,8] , A=[8,0] , C=0 , 5+8+0=13 , A->3 , C->1
[3,6,3,8,8,3,9,4,9,6,6,2] + [6,4,0,5,1,9,5,3,7,8,5] , A=[3,8,0] , C=1 , 2+5+1=8 , A->8 , C->0
[3,6,3,8,8,3,9,4,9,6,6] + [6,4,0,5,1,9,5,3,7,8] , A=[8,3,8,0] , C=0 , 6+8+0=14 , A->4 , C->1
[3,6,3,8,8,3,9,4,9,6] + [6,4,0,5,1,9,5,3,7] , A=[4,8,3,8,0] , C=1 , 6+7+1=14 , A->4 , C->1
[3,6,3,8,8,3,9,4,9] + [6,4,0,5,1,9,5,3] , A=[4,4,8,3,8,0] , C=1 , 9+3+1=13 , A->3 , C->1
[3,6,3,8,8,3,9,4] + [6,4,0,5,1,9,5] , A=[3,4,4,8,3,8,0] , C=1 , 4+5+1=10 , A->0 , C->1
[3,6,3,8,8,3,9] + [6,4,0,5,1,9] , A=[0,3,4,4,8,3,8,0] , C=1 , 9+9+1=19 , A->9 , C->1
[3,6,3,8,8,3] + [6,4,0,5,1] , A=[9,0,3,4,4,8,3,8,0] , C=1 , 3+1+1=5 , A->5 , C->0
[3,6,3,8,8] + [6,4,0,5] , A=[5,9,0,3,4,4,8,3,8,0] , C=0 , 8+5+0=13 , A->3 , C->1
[3,6,3,8] + [6,4,0] , A=[3,5,9,0,3,4,4,8,3,8,0] , C=1 , 8+0+1=9 , A->9 , C->0
[3,6,3] + [6,4] , A=[9,3,5,9,0,3,4,4,8,3,8,0] , C=0 , 3+4+0=7 , A->7 , C->0
[3,6] + [6] , A=[7,9,3,5,9,0,3,4,4,8,3,8,0] , C=0 , 6+6+0=12 , A->2 , C->1
[3] + [] , A=[2,7,9,3,5,9,0,3,4,4,8,3,8,0] , C=1 , 3+0+1=4 , A->4 , C->0
[] + [] , A=[4,2,7,9,3,5,9,0,3,4,4,8,3,8,0] C=0 , END
</scratch>
427935903448380
| 427935903448380 | 14 |
Input:
3119176+722452272393342
Target:
| Input:
3119176+722452272393342
Target:
[3,1,1,9,1,7,6] + [7,2,2,4,5,2,2,7,2,3,9,3,3,4,2] , A=[] , C=0 , 6+2+0=8 , A->8 , C->0
[3,1,1,9,1,7] + [7,2,2,4,5,2,2,7,2,3,9,3,3,4] , A=[8] , C=0 , 7+4+0=11 , A->1 , C->1
[3,1,1,9,1] + [7,2,2,4,5,2,2,7,2,3,9,3,3] , A=[1,8] , C=1 , 1+3+1=5 , A->5 , C->0
[3,1,1,9] + [7,2,2,4,5,2,2,7,2,3,9,3] , A=[5,1,8] , C=0 , 9+3+0=12 , A->2 , C->1
[3,1,1] + [7,2,2,4,5,2,2,7,2,3,9] , A=[2,5,1,8] , C=1 , 1+9+1=11 , A->1 , C->1
[3,1] + [7,2,2,4,5,2,2,7,2,3] , A=[1,2,5,1,8] , C=1 , 1+3+1=5 , A->5 , C->0
[3] + [7,2,2,4,5,2,2,7,2] , A=[5,1,2,5,1,8] , C=0 , 3+2+0=5 , A->5 , C->0
[] + [7,2,2,4,5,2,2,7] , A=[5,5,1,2,5,1,8] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [7,2,2,4,5,2,2] , A=[7,5,5,1,2,5,1,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [7,2,2,4,5,2] , A=[2,7,5,5,1,2,5,1,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [7,2,2,4,5] , A=[2,2,7,5,5,1,2,5,1,8] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [7,2,2,4] , A=[5,2,2,7,5,5,1,2,5,1,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [7,2,2] , A=[4,5,2,2,7,5,5,1,2,5,1,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [7,2] , A=[2,4,5,2,2,7,5,5,1,2,5,1,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [7] , A=[2,2,4,5,2,2,7,5,5,1,2,5,1,8] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,2,2,4,5,2,2,7,5,5,1,2,5,1,8] C=0 , END
</scratch>
722452275512518
| 722452275512518 | 7 |
Input:
9778981455+159842465969286
Target:
| Input:
9778981455+159842465969286
Target:
[9,7,7,8,9,8,1,4,5,5] + [1,5,9,8,4,2,4,6,5,9,6,9,2,8,6] , A=[] , C=0 , 5+6+0=11 , A->1 , C->1
[9,7,7,8,9,8,1,4,5] + [1,5,9,8,4,2,4,6,5,9,6,9,2,8] , A=[1] , C=1 , 5+8+1=14 , A->4 , C->1
[9,7,7,8,9,8,1,4] + [1,5,9,8,4,2,4,6,5,9,6,9,2] , A=[4,1] , C=1 , 4+2+1=7 , A->7 , C->0
[9,7,7,8,9,8,1] + [1,5,9,8,4,2,4,6,5,9,6,9] , A=[7,4,1] , C=0 , 1+9+0=10 , A->0 , C->1
[9,7,7,8,9,8] + [1,5,9,8,4,2,4,6,5,9,6] , A=[0,7,4,1] , C=1 , 8+6+1=15 , A->5 , C->1
[9,7,7,8,9] + [1,5,9,8,4,2,4,6,5,9] , A=[5,0,7,4,1] , C=1 , 9+9+1=19 , A->9 , C->1
[9,7,7,8] + [1,5,9,8,4,2,4,6,5] , A=[9,5,0,7,4,1] , C=1 , 8+5+1=14 , A->4 , C->1
[9,7,7] + [1,5,9,8,4,2,4,6] , A=[4,9,5,0,7,4,1] , C=1 , 7+6+1=14 , A->4 , C->1
[9,7] + [1,5,9,8,4,2,4] , A=[4,4,9,5,0,7,4,1] , C=1 , 7+4+1=12 , A->2 , C->1
[9] + [1,5,9,8,4,2] , A=[2,4,4,9,5,0,7,4,1] , C=1 , 9+2+1=12 , A->2 , C->1
[] + [1,5,9,8,4] , A=[2,2,4,4,9,5,0,7,4,1] , C=1 , 0+4+1=5 , A->5 , C->0
[] + [1,5,9,8] , A=[5,2,2,4,4,9,5,0,7,4,1] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [1,5,9] , A=[8,5,2,2,4,4,9,5,0,7,4,1] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [1,5] , A=[9,8,5,2,2,4,4,9,5,0,7,4,1] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1] , A=[5,9,8,5,2,2,4,4,9,5,0,7,4,1] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,5,9,8,5,2,2,4,4,9,5,0,7,4,1] C=0 , END
</scratch>
159852244950741
| 159852244950741 | 10 |
Input:
480310028553094+7171343686
Target:
| Input:
480310028553094+7171343686
Target:
[4,8,0,3,1,0,0,2,8,5,5,3,0,9,4] + [7,1,7,1,3,4,3,6,8,6] , A=[] , C=0 , 4+6+0=10 , A->0 , C->1
[4,8,0,3,1,0,0,2,8,5,5,3,0,9] + [7,1,7,1,3,4,3,6,8] , A=[0] , C=1 , 9+8+1=18 , A->8 , C->1
[4,8,0,3,1,0,0,2,8,5,5,3,0] + [7,1,7,1,3,4,3,6] , A=[8,0] , C=1 , 0+6+1=7 , A->7 , C->0
[4,8,0,3,1,0,0,2,8,5,5,3] + [7,1,7,1,3,4,3] , A=[7,8,0] , C=0 , 3+3+0=6 , A->6 , C->0
[4,8,0,3,1,0,0,2,8,5,5] + [7,1,7,1,3,4] , A=[6,7,8,0] , C=0 , 5+4+0=9 , A->9 , C->0
[4,8,0,3,1,0,0,2,8,5] + [7,1,7,1,3] , A=[9,6,7,8,0] , C=0 , 5+3+0=8 , A->8 , C->0
[4,8,0,3,1,0,0,2,8] + [7,1,7,1] , A=[8,9,6,7,8,0] , C=0 , 8+1+0=9 , A->9 , C->0
[4,8,0,3,1,0,0,2] + [7,1,7] , A=[9,8,9,6,7,8,0] , C=0 , 2+7+0=9 , A->9 , C->0
[4,8,0,3,1,0,0] + [7,1] , A=[9,9,8,9,6,7,8,0] , C=0 , 0+1+0=1 , A->1 , C->0
[4,8,0,3,1,0] + [7] , A=[1,9,9,8,9,6,7,8,0] , C=0 , 0+7+0=7 , A->7 , C->0
[4,8,0,3,1] + [] , A=[7,1,9,9,8,9,6,7,8,0] , C=0 , 1+0+0=1 , A->1 , C->0
[4,8,0,3] + [] , A=[1,7,1,9,9,8,9,6,7,8,0] , C=0 , 3+0+0=3 , A->3 , C->0
[4,8,0] + [] , A=[3,1,7,1,9,9,8,9,6,7,8,0] , C=0 , 0+0+0=0 , A->0 , C->0
[4,8] + [] , A=[0,3,1,7,1,9,9,8,9,6,7,8,0] , C=0 , 8+0+0=8 , A->8 , C->0
[4] + [] , A=[8,0,3,1,7,1,9,9,8,9,6,7,8,0] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,8,0,3,1,7,1,9,9,8,9,6,7,8,0] C=0 , END
</scratch>
480317199896780
| 480317199896780 | 10 |
Input:
435+780103268353681
Target:
| Input:
435+780103268353681
Target:
[4,3,5] + [7,8,0,1,0,3,2,6,8,3,5,3,6,8,1] , A=[] , C=0 , 5+1+0=6 , A->6 , C->0
[4,3] + [7,8,0,1,0,3,2,6,8,3,5,3,6,8] , A=[6] , C=0 , 3+8+0=11 , A->1 , C->1
[4] + [7,8,0,1,0,3,2,6,8,3,5,3,6] , A=[1,6] , C=1 , 4+6+1=11 , A->1 , C->1
[] + [7,8,0,1,0,3,2,6,8,3,5,3] , A=[1,1,6] , C=1 , 0+3+1=4 , A->4 , C->0
[] + [7,8,0,1,0,3,2,6,8,3,5] , A=[4,1,1,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [7,8,0,1,0,3,2,6,8,3] , A=[5,4,1,1,6] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [7,8,0,1,0,3,2,6,8] , A=[3,5,4,1,1,6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [7,8,0,1,0,3,2,6] , A=[8,3,5,4,1,1,6] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [7,8,0,1,0,3,2] , A=[6,8,3,5,4,1,1,6] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [7,8,0,1,0,3] , A=[2,6,8,3,5,4,1,1,6] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [7,8,0,1,0] , A=[3,2,6,8,3,5,4,1,1,6] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [7,8,0,1] , A=[0,3,2,6,8,3,5,4,1,1,6] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [7,8,0] , A=[1,0,3,2,6,8,3,5,4,1,1,6] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [7,8] , A=[0,1,0,3,2,6,8,3,5,4,1,1,6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [7] , A=[8,0,1,0,3,2,6,8,3,5,4,1,1,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,8,0,1,0,3,2,6,8,3,5,4,1,1,6] C=0 , END
</scratch>
780103268354116
| 780103268354116 | 3 |
Input:
4409982+286865424366829
Target:
| Input:
4409982+286865424366829
Target:
[4,4,0,9,9,8,2] + [2,8,6,8,6,5,4,2,4,3,6,6,8,2,9] , A=[] , C=0 , 2+9+0=11 , A->1 , C->1
[4,4,0,9,9,8] + [2,8,6,8,6,5,4,2,4,3,6,6,8,2] , A=[1] , C=1 , 8+2+1=11 , A->1 , C->1
[4,4,0,9,9] + [2,8,6,8,6,5,4,2,4,3,6,6,8] , A=[1,1] , C=1 , 9+8+1=18 , A->8 , C->1
[4,4,0,9] + [2,8,6,8,6,5,4,2,4,3,6,6] , A=[8,1,1] , C=1 , 9+6+1=16 , A->6 , C->1
[4,4,0] + [2,8,6,8,6,5,4,2,4,3,6] , A=[6,8,1,1] , C=1 , 0+6+1=7 , A->7 , C->0
[4,4] + [2,8,6,8,6,5,4,2,4,3] , A=[7,6,8,1,1] , C=0 , 4+3+0=7 , A->7 , C->0
[4] + [2,8,6,8,6,5,4,2,4] , A=[7,7,6,8,1,1] , C=0 , 4+4+0=8 , A->8 , C->0
[] + [2,8,6,8,6,5,4,2] , A=[8,7,7,6,8,1,1] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [2,8,6,8,6,5,4] , A=[2,8,7,7,6,8,1,1] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [2,8,6,8,6,5] , A=[4,2,8,7,7,6,8,1,1] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [2,8,6,8,6] , A=[5,4,2,8,7,7,6,8,1,1] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [2,8,6,8] , A=[6,5,4,2,8,7,7,6,8,1,1] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [2,8,6] , A=[8,6,5,4,2,8,7,7,6,8,1,1] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [2,8] , A=[6,8,6,5,4,2,8,7,7,6,8,1,1] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [2] , A=[8,6,8,6,5,4,2,8,7,7,6,8,1,1] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,8,6,8,6,5,4,2,8,7,7,6,8,1,1] C=0 , END
</scratch>
286865428776811
| 286865428776811 | 7 |
Input:
3380228+944315477272020
Target:
| Input:
3380228+944315477272020
Target:
[3,3,8,0,2,2,8] + [9,4,4,3,1,5,4,7,7,2,7,2,0,2,0] , A=[] , C=0 , 8+0+0=8 , A->8 , C->0
[3,3,8,0,2,2] + [9,4,4,3,1,5,4,7,7,2,7,2,0,2] , A=[8] , C=0 , 2+2+0=4 , A->4 , C->0
[3,3,8,0,2] + [9,4,4,3,1,5,4,7,7,2,7,2,0] , A=[4,8] , C=0 , 2+0+0=2 , A->2 , C->0
[3,3,8,0] + [9,4,4,3,1,5,4,7,7,2,7,2] , A=[2,4,8] , C=0 , 0+2+0=2 , A->2 , C->0
[3,3,8] + [9,4,4,3,1,5,4,7,7,2,7] , A=[2,2,4,8] , C=0 , 8+7+0=15 , A->5 , C->1
[3,3] + [9,4,4,3,1,5,4,7,7,2] , A=[5,2,2,4,8] , C=1 , 3+2+1=6 , A->6 , C->0
[3] + [9,4,4,3,1,5,4,7,7] , A=[6,5,2,2,4,8] , C=0 , 3+7+0=10 , A->0 , C->1
[] + [9,4,4,3,1,5,4,7] , A=[0,6,5,2,2,4,8] , C=1 , 0+7+1=8 , A->8 , C->0
[] + [9,4,4,3,1,5,4] , A=[8,0,6,5,2,2,4,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [9,4,4,3,1,5] , A=[4,8,0,6,5,2,2,4,8] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,4,4,3,1] , A=[5,4,8,0,6,5,2,2,4,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [9,4,4,3] , A=[1,5,4,8,0,6,5,2,2,4,8] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [9,4,4] , A=[3,1,5,4,8,0,6,5,2,2,4,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [9,4] , A=[4,3,1,5,4,8,0,6,5,2,2,4,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [9] , A=[4,4,3,1,5,4,8,0,6,5,2,2,4,8] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,4,4,3,1,5,4,8,0,6,5,2,2,4,8] C=0 , END
</scratch>
944315480652248
| 944315480652248 | 7 |
Input:
643246479812+242151242069057
Target:
| Input:
643246479812+242151242069057
Target:
[6,4,3,2,4,6,4,7,9,8,1,2] + [2,4,2,1,5,1,2,4,2,0,6,9,0,5,7] , A=[] , C=0 , 2+7+0=9 , A->9 , C->0
[6,4,3,2,4,6,4,7,9,8,1] + [2,4,2,1,5,1,2,4,2,0,6,9,0,5] , A=[9] , C=0 , 1+5+0=6 , A->6 , C->0
[6,4,3,2,4,6,4,7,9,8] + [2,4,2,1,5,1,2,4,2,0,6,9,0] , A=[6,9] , C=0 , 8+0+0=8 , A->8 , C->0
[6,4,3,2,4,6,4,7,9] + [2,4,2,1,5,1,2,4,2,0,6,9] , A=[8,6,9] , C=0 , 9+9+0=18 , A->8 , C->1
[6,4,3,2,4,6,4,7] + [2,4,2,1,5,1,2,4,2,0,6] , A=[8,8,6,9] , C=1 , 7+6+1=14 , A->4 , C->1
[6,4,3,2,4,6,4] + [2,4,2,1,5,1,2,4,2,0] , A=[4,8,8,6,9] , C=1 , 4+0+1=5 , A->5 , C->0
[6,4,3,2,4,6] + [2,4,2,1,5,1,2,4,2] , A=[5,4,8,8,6,9] , C=0 , 6+2+0=8 , A->8 , C->0
[6,4,3,2,4] + [2,4,2,1,5,1,2,4] , A=[8,5,4,8,8,6,9] , C=0 , 4+4+0=8 , A->8 , C->0
[6,4,3,2] + [2,4,2,1,5,1,2] , A=[8,8,5,4,8,8,6,9] , C=0 , 2+2+0=4 , A->4 , C->0
[6,4,3] + [2,4,2,1,5,1] , A=[4,8,8,5,4,8,8,6,9] , C=0 , 3+1+0=4 , A->4 , C->0
[6,4] + [2,4,2,1,5] , A=[4,4,8,8,5,4,8,8,6,9] , C=0 , 4+5+0=9 , A->9 , C->0
[6] + [2,4,2,1] , A=[9,4,4,8,8,5,4,8,8,6,9] , C=0 , 6+1+0=7 , A->7 , C->0
[] + [2,4,2] , A=[7,9,4,4,8,8,5,4,8,8,6,9] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [2,4] , A=[2,7,9,4,4,8,8,5,4,8,8,6,9] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [2] , A=[4,2,7,9,4,4,8,8,5,4,8,8,6,9] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,4,2,7,9,4,4,8,8,5,4,8,8,6,9] C=0 , END
</scratch>
242794488548869
| 242794488548869 | 12 |
Input:
114175878127849+2
Target:
| Input:
114175878127849+2
Target:
[1,1,4,1,7,5,8,7,8,1,2,7,8,4,9] + [2] , A=[] , C=0 , 9+2+0=11 , A->1 , C->1
[1,1,4,1,7,5,8,7,8,1,2,7,8,4] + [] , A=[1] , C=1 , 4+0+1=5 , A->5 , C->0
[1,1,4,1,7,5,8,7,8,1,2,7,8] + [] , A=[5,1] , C=0 , 8+0+0=8 , A->8 , C->0
[1,1,4,1,7,5,8,7,8,1,2,7] + [] , A=[8,5,1] , C=0 , 7+0+0=7 , A->7 , C->0
[1,1,4,1,7,5,8,7,8,1,2] + [] , A=[7,8,5,1] , C=0 , 2+0+0=2 , A->2 , C->0
[1,1,4,1,7,5,8,7,8,1] + [] , A=[2,7,8,5,1] , C=0 , 1+0+0=1 , A->1 , C->0
[1,1,4,1,7,5,8,7,8] + [] , A=[1,2,7,8,5,1] , C=0 , 8+0+0=8 , A->8 , C->0
[1,1,4,1,7,5,8,7] + [] , A=[8,1,2,7,8,5,1] , C=0 , 7+0+0=7 , A->7 , C->0
[1,1,4,1,7,5,8] + [] , A=[7,8,1,2,7,8,5,1] , C=0 , 8+0+0=8 , A->8 , C->0
[1,1,4,1,7,5] + [] , A=[8,7,8,1,2,7,8,5,1] , C=0 , 5+0+0=5 , A->5 , C->0
[1,1,4,1,7] + [] , A=[5,8,7,8,1,2,7,8,5,1] , C=0 , 7+0+0=7 , A->7 , C->0
[1,1,4,1] + [] , A=[7,5,8,7,8,1,2,7,8,5,1] , C=0 , 1+0+0=1 , A->1 , C->0
[1,1,4] + [] , A=[1,7,5,8,7,8,1,2,7,8,5,1] , C=0 , 4+0+0=4 , A->4 , C->0
[1,1] + [] , A=[4,1,7,5,8,7,8,1,2,7,8,5,1] , C=0 , 1+0+0=1 , A->1 , C->0
[1] + [] , A=[1,4,1,7,5,8,7,8,1,2,7,8,5,1] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,1,4,1,7,5,8,7,8,1,2,7,8,5,1] C=0 , END
</scratch>
114175878127851
| 114175878127851 | 1 |
Input:
578860930659546+49986457444993
Target:
| Input:
578860930659546+49986457444993
Target:
[5,7,8,8,6,0,9,3,0,6,5,9,5,4,6] + [4,9,9,8,6,4,5,7,4,4,4,9,9,3] , A=[] , C=0 , 6+3+0=9 , A->9 , C->0
[5,7,8,8,6,0,9,3,0,6,5,9,5,4] + [4,9,9,8,6,4,5,7,4,4,4,9,9] , A=[9] , C=0 , 4+9+0=13 , A->3 , C->1
[5,7,8,8,6,0,9,3,0,6,5,9,5] + [4,9,9,8,6,4,5,7,4,4,4,9] , A=[3,9] , C=1 , 5+9+1=15 , A->5 , C->1
[5,7,8,8,6,0,9,3,0,6,5,9] + [4,9,9,8,6,4,5,7,4,4,4] , A=[5,3,9] , C=1 , 9+4+1=14 , A->4 , C->1
[5,7,8,8,6,0,9,3,0,6,5] + [4,9,9,8,6,4,5,7,4,4] , A=[4,5,3,9] , C=1 , 5+4+1=10 , A->0 , C->1
[5,7,8,8,6,0,9,3,0,6] + [4,9,9,8,6,4,5,7,4] , A=[0,4,5,3,9] , C=1 , 6+4+1=11 , A->1 , C->1
[5,7,8,8,6,0,9,3,0] + [4,9,9,8,6,4,5,7] , A=[1,0,4,5,3,9] , C=1 , 0+7+1=8 , A->8 , C->0
[5,7,8,8,6,0,9,3] + [4,9,9,8,6,4,5] , A=[8,1,0,4,5,3,9] , C=0 , 3+5+0=8 , A->8 , C->0
[5,7,8,8,6,0,9] + [4,9,9,8,6,4] , A=[8,8,1,0,4,5,3,9] , C=0 , 9+4+0=13 , A->3 , C->1
[5,7,8,8,6,0] + [4,9,9,8,6] , A=[3,8,8,1,0,4,5,3,9] , C=1 , 0+6+1=7 , A->7 , C->0
[5,7,8,8,6] + [4,9,9,8] , A=[7,3,8,8,1,0,4,5,3,9] , C=0 , 6+8+0=14 , A->4 , C->1
[5,7,8,8] + [4,9,9] , A=[4,7,3,8,8,1,0,4,5,3,9] , C=1 , 8+9+1=18 , A->8 , C->1
[5,7,8] + [4,9] , A=[8,4,7,3,8,8,1,0,4,5,3,9] , C=1 , 8+9+1=18 , A->8 , C->1
[5,7] + [4] , A=[8,8,4,7,3,8,8,1,0,4,5,3,9] , C=1 , 7+4+1=12 , A->2 , C->1
[5] + [] , A=[2,8,8,4,7,3,8,8,1,0,4,5,3,9] , C=1 , 5+0+1=6 , A->6 , C->0
[] + [] , A=[6,2,8,8,4,7,3,8,8,1,0,4,5,3,9] C=0 , END
</scratch>
628847388104539
| 628847388104539 | 14 |
Input:
432713+270580177153005
Target:
| Input:
432713+270580177153005
Target:
[4,3,2,7,1,3] + [2,7,0,5,8,0,1,7,7,1,5,3,0,0,5] , A=[] , C=0 , 3+5+0=8 , A->8 , C->0
[4,3,2,7,1] + [2,7,0,5,8,0,1,7,7,1,5,3,0,0] , A=[8] , C=0 , 1+0+0=1 , A->1 , C->0
[4,3,2,7] + [2,7,0,5,8,0,1,7,7,1,5,3,0] , A=[1,8] , C=0 , 7+0+0=7 , A->7 , C->0
[4,3,2] + [2,7,0,5,8,0,1,7,7,1,5,3] , A=[7,1,8] , C=0 , 2+3+0=5 , A->5 , C->0
[4,3] + [2,7,0,5,8,0,1,7,7,1,5] , A=[5,7,1,8] , C=0 , 3+5+0=8 , A->8 , C->0
[4] + [2,7,0,5,8,0,1,7,7,1] , A=[8,5,7,1,8] , C=0 , 4+1+0=5 , A->5 , C->0
[] + [2,7,0,5,8,0,1,7,7] , A=[5,8,5,7,1,8] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [2,7,0,5,8,0,1,7] , A=[7,5,8,5,7,1,8] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [2,7,0,5,8,0,1] , A=[7,7,5,8,5,7,1,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [2,7,0,5,8,0] , A=[1,7,7,5,8,5,7,1,8] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [2,7,0,5,8] , A=[0,1,7,7,5,8,5,7,1,8] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [2,7,0,5] , A=[8,0,1,7,7,5,8,5,7,1,8] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [2,7,0] , A=[5,8,0,1,7,7,5,8,5,7,1,8] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [2,7] , A=[0,5,8,0,1,7,7,5,8,5,7,1,8] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [2] , A=[7,0,5,8,0,1,7,7,5,8,5,7,1,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,7,0,5,8,0,1,7,7,5,8,5,7,1,8] C=0 , END
</scratch>
270580177585718
| 270580177585718 | 6 |
Input:
849+573154742584024
Target:
| Input:
849+573154742584024
Target:
[8,4,9] + [5,7,3,1,5,4,7,4,2,5,8,4,0,2,4] , A=[] , C=0 , 9+4+0=13 , A->3 , C->1
[8,4] + [5,7,3,1,5,4,7,4,2,5,8,4,0,2] , A=[3] , C=1 , 4+2+1=7 , A->7 , C->0
[8] + [5,7,3,1,5,4,7,4,2,5,8,4,0] , A=[7,3] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [5,7,3,1,5,4,7,4,2,5,8,4] , A=[8,7,3] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [5,7,3,1,5,4,7,4,2,5,8] , A=[4,8,7,3] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [5,7,3,1,5,4,7,4,2,5] , A=[8,4,8,7,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [5,7,3,1,5,4,7,4,2] , A=[5,8,4,8,7,3] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [5,7,3,1,5,4,7,4] , A=[2,5,8,4,8,7,3] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [5,7,3,1,5,4,7] , A=[4,2,5,8,4,8,7,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [5,7,3,1,5,4] , A=[7,4,2,5,8,4,8,7,3] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [5,7,3,1,5] , A=[4,7,4,2,5,8,4,8,7,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [5,7,3,1] , A=[5,4,7,4,2,5,8,4,8,7,3] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [5,7,3] , A=[1,5,4,7,4,2,5,8,4,8,7,3] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [5,7] , A=[3,1,5,4,7,4,2,5,8,4,8,7,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [5] , A=[7,3,1,5,4,7,4,2,5,8,4,8,7,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,7,3,1,5,4,7,4,2,5,8,4,8,7,3] C=0 , END
</scratch>
573154742584873
| 573154742584873 | 3 |
Input:
46+911302951181058
Target:
| Input:
46+911302951181058
Target:
[4,6] + [9,1,1,3,0,2,9,5,1,1,8,1,0,5,8] , A=[] , C=0 , 6+8+0=14 , A->4 , C->1
[4] + [9,1,1,3,0,2,9,5,1,1,8,1,0,5] , A=[4] , C=1 , 4+5+1=10 , A->0 , C->1
[] + [9,1,1,3,0,2,9,5,1,1,8,1,0] , A=[0,4] , C=1 , 0+0+1=1 , A->1 , C->0
[] + [9,1,1,3,0,2,9,5,1,1,8,1] , A=[1,0,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [9,1,1,3,0,2,9,5,1,1,8] , A=[1,1,0,4] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [9,1,1,3,0,2,9,5,1,1] , A=[8,1,1,0,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [9,1,1,3,0,2,9,5,1] , A=[1,8,1,1,0,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [9,1,1,3,0,2,9,5] , A=[1,1,8,1,1,0,4] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,1,1,3,0,2,9] , A=[5,1,1,8,1,1,0,4] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [9,1,1,3,0,2] , A=[9,5,1,1,8,1,1,0,4] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9,1,1,3,0] , A=[2,9,5,1,1,8,1,1,0,4] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [9,1,1,3] , A=[0,2,9,5,1,1,8,1,1,0,4] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [9,1,1] , A=[3,0,2,9,5,1,1,8,1,1,0,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [9,1] , A=[1,3,0,2,9,5,1,1,8,1,1,0,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [9] , A=[1,1,3,0,2,9,5,1,1,8,1,1,0,4] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,1,1,3,0,2,9,5,1,1,8,1,1,0,4] C=0 , END
</scratch>
911302951181104
| 911302951181104 | 2 |
Input:
219+963975630916436
Target:
| Input:
219+963975630916436
Target:
[2,1,9] + [9,6,3,9,7,5,6,3,0,9,1,6,4,3,6] , A=[] , C=0 , 9+6+0=15 , A->5 , C->1
[2,1] + [9,6,3,9,7,5,6,3,0,9,1,6,4,3] , A=[5] , C=1 , 1+3+1=5 , A->5 , C->0
[2] + [9,6,3,9,7,5,6,3,0,9,1,6,4] , A=[5,5] , C=0 , 2+4+0=6 , A->6 , C->0
[] + [9,6,3,9,7,5,6,3,0,9,1,6] , A=[6,5,5] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [9,6,3,9,7,5,6,3,0,9,1] , A=[6,6,5,5] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [9,6,3,9,7,5,6,3,0,9] , A=[1,6,6,5,5] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [9,6,3,9,7,5,6,3,0] , A=[9,1,6,6,5,5] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [9,6,3,9,7,5,6,3] , A=[0,9,1,6,6,5,5] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [9,6,3,9,7,5,6] , A=[3,0,9,1,6,6,5,5] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [9,6,3,9,7,5] , A=[6,3,0,9,1,6,6,5,5] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,6,3,9,7] , A=[5,6,3,0,9,1,6,6,5,5] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [9,6,3,9] , A=[7,5,6,3,0,9,1,6,6,5,5] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [9,6,3] , A=[9,7,5,6,3,0,9,1,6,6,5,5] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [9,6] , A=[3,9,7,5,6,3,0,9,1,6,6,5,5] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [9] , A=[6,3,9,7,5,6,3,0,9,1,6,6,5,5] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,6,3,9,7,5,6,3,0,9,1,6,6,5,5] C=0 , END
</scratch>
963975630916655
| 963975630916655 | 3 |
Input:
379768205474767+426243934781051
Target:
| Input:
379768205474767+426243934781051
Target:
[3,7,9,7,6,8,2,0,5,4,7,4,7,6,7] + [4,2,6,2,4,3,9,3,4,7,8,1,0,5,1] , A=[] , C=0 , 7+1+0=8 , A->8 , C->0
[3,7,9,7,6,8,2,0,5,4,7,4,7,6] + [4,2,6,2,4,3,9,3,4,7,8,1,0,5] , A=[8] , C=0 , 6+5+0=11 , A->1 , C->1
[3,7,9,7,6,8,2,0,5,4,7,4,7] + [4,2,6,2,4,3,9,3,4,7,8,1,0] , A=[1,8] , C=1 , 7+0+1=8 , A->8 , C->0
[3,7,9,7,6,8,2,0,5,4,7,4] + [4,2,6,2,4,3,9,3,4,7,8,1] , A=[8,1,8] , C=0 , 4+1+0=5 , A->5 , C->0
[3,7,9,7,6,8,2,0,5,4,7] + [4,2,6,2,4,3,9,3,4,7,8] , A=[5,8,1,8] , C=0 , 7+8+0=15 , A->5 , C->1
[3,7,9,7,6,8,2,0,5,4] + [4,2,6,2,4,3,9,3,4,7] , A=[5,5,8,1,8] , C=1 , 4+7+1=12 , A->2 , C->1
[3,7,9,7,6,8,2,0,5] + [4,2,6,2,4,3,9,3,4] , A=[2,5,5,8,1,8] , C=1 , 5+4+1=10 , A->0 , C->1
[3,7,9,7,6,8,2,0] + [4,2,6,2,4,3,9,3] , A=[0,2,5,5,8,1,8] , C=1 , 0+3+1=4 , A->4 , C->0
[3,7,9,7,6,8,2] + [4,2,6,2,4,3,9] , A=[4,0,2,5,5,8,1,8] , C=0 , 2+9+0=11 , A->1 , C->1
[3,7,9,7,6,8] + [4,2,6,2,4,3] , A=[1,4,0,2,5,5,8,1,8] , C=1 , 8+3+1=12 , A->2 , C->1
[3,7,9,7,6] + [4,2,6,2,4] , A=[2,1,4,0,2,5,5,8,1,8] , C=1 , 6+4+1=11 , A->1 , C->1
[3,7,9,7] + [4,2,6,2] , A=[1,2,1,4,0,2,5,5,8,1,8] , C=1 , 7+2+1=10 , A->0 , C->1
[3,7,9] + [4,2,6] , A=[0,1,2,1,4,0,2,5,5,8,1,8] , C=1 , 9+6+1=16 , A->6 , C->1
[3,7] + [4,2] , A=[6,0,1,2,1,4,0,2,5,5,8,1,8] , C=1 , 7+2+1=10 , A->0 , C->1
[3] + [4] , A=[0,6,0,1,2,1,4,0,2,5,5,8,1,8] , C=1 , 3+4+1=8 , A->8 , C->0
[] + [] , A=[8,0,6,0,1,2,1,4,0,2,5,5,8,1,8] C=0 , END
</scratch>
806012140255818
| 806012140255818 | 15 |
Input:
281705899272825+3320178
Target:
| Input:
281705899272825+3320178
Target:
[2,8,1,7,0,5,8,9,9,2,7,2,8,2,5] + [3,3,2,0,1,7,8] , A=[] , C=0 , 5+8+0=13 , A->3 , C->1
[2,8,1,7,0,5,8,9,9,2,7,2,8,2] + [3,3,2,0,1,7] , A=[3] , C=1 , 2+7+1=10 , A->0 , C->1
[2,8,1,7,0,5,8,9,9,2,7,2,8] + [3,3,2,0,1] , A=[0,3] , C=1 , 8+1+1=10 , A->0 , C->1
[2,8,1,7,0,5,8,9,9,2,7,2] + [3,3,2,0] , A=[0,0,3] , C=1 , 2+0+1=3 , A->3 , C->0
[2,8,1,7,0,5,8,9,9,2,7] + [3,3,2] , A=[3,0,0,3] , C=0 , 7+2+0=9 , A->9 , C->0
[2,8,1,7,0,5,8,9,9,2] + [3,3] , A=[9,3,0,0,3] , C=0 , 2+3+0=5 , A->5 , C->0
[2,8,1,7,0,5,8,9,9] + [3] , A=[5,9,3,0,0,3] , C=0 , 9+3+0=12 , A->2 , C->1
[2,8,1,7,0,5,8,9] + [] , A=[2,5,9,3,0,0,3] , C=1 , 9+0+1=10 , A->0 , C->1
[2,8,1,7,0,5,8] + [] , A=[0,2,5,9,3,0,0,3] , C=1 , 8+0+1=9 , A->9 , C->0
[2,8,1,7,0,5] + [] , A=[9,0,2,5,9,3,0,0,3] , C=0 , 5+0+0=5 , A->5 , C->0
[2,8,1,7,0] + [] , A=[5,9,0,2,5,9,3,0,0,3] , C=0 , 0+0+0=0 , A->0 , C->0
[2,8,1,7] + [] , A=[0,5,9,0,2,5,9,3,0,0,3] , C=0 , 7+0+0=7 , A->7 , C->0
[2,8,1] + [] , A=[7,0,5,9,0,2,5,9,3,0,0,3] , C=0 , 1+0+0=1 , A->1 , C->0
[2,8] + [] , A=[1,7,0,5,9,0,2,5,9,3,0,0,3] , C=0 , 8+0+0=8 , A->8 , C->0
[2] + [] , A=[8,1,7,0,5,9,0,2,5,9,3,0,0,3] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [] , A=[2,8,1,7,0,5,9,0,2,5,9,3,0,0,3] C=0 , END
</scratch>
281705902593003
| 281705902593003 | 7 |
Input:
618722344757846+9506
Target:
| Input:
618722344757846+9506
Target:
[6,1,8,7,2,2,3,4,4,7,5,7,8,4,6] + [9,5,0,6] , A=[] , C=0 , 6+6+0=12 , A->2 , C->1
[6,1,8,7,2,2,3,4,4,7,5,7,8,4] + [9,5,0] , A=[2] , C=1 , 4+0+1=5 , A->5 , C->0
[6,1,8,7,2,2,3,4,4,7,5,7,8] + [9,5] , A=[5,2] , C=0 , 8+5+0=13 , A->3 , C->1
[6,1,8,7,2,2,3,4,4,7,5,7] + [9] , A=[3,5,2] , C=1 , 7+9+1=17 , A->7 , C->1
[6,1,8,7,2,2,3,4,4,7,5] + [] , A=[7,3,5,2] , C=1 , 5+0+1=6 , A->6 , C->0
[6,1,8,7,2,2,3,4,4,7] + [] , A=[6,7,3,5,2] , C=0 , 7+0+0=7 , A->7 , C->0
[6,1,8,7,2,2,3,4,4] + [] , A=[7,6,7,3,5,2] , C=0 , 4+0+0=4 , A->4 , C->0
[6,1,8,7,2,2,3,4] + [] , A=[4,7,6,7,3,5,2] , C=0 , 4+0+0=4 , A->4 , C->0
[6,1,8,7,2,2,3] + [] , A=[4,4,7,6,7,3,5,2] , C=0 , 3+0+0=3 , A->3 , C->0
[6,1,8,7,2,2] + [] , A=[3,4,4,7,6,7,3,5,2] , C=0 , 2+0+0=2 , A->2 , C->0
[6,1,8,7,2] + [] , A=[2,3,4,4,7,6,7,3,5,2] , C=0 , 2+0+0=2 , A->2 , C->0
[6,1,8,7] + [] , A=[2,2,3,4,4,7,6,7,3,5,2] , C=0 , 7+0+0=7 , A->7 , C->0
[6,1,8] + [] , A=[7,2,2,3,4,4,7,6,7,3,5,2] , C=0 , 8+0+0=8 , A->8 , C->0
[6,1] + [] , A=[8,7,2,2,3,4,4,7,6,7,3,5,2] , C=0 , 1+0+0=1 , A->1 , C->0
[6] + [] , A=[1,8,7,2,2,3,4,4,7,6,7,3,5,2] , C=0 , 6+0+0=6 , A->6 , C->0
[] + [] , A=[6,1,8,7,2,2,3,4,4,7,6,7,3,5,2] C=0 , END
</scratch>
618722344767352
| 618722344767352 | 4 |
Input:
998741258563578+585211874
Target:
| Input:
998741258563578+585211874
Target:
[9,9,8,7,4,1,2,5,8,5,6,3,5,7,8] + [5,8,5,2,1,1,8,7,4] , A=[] , C=0 , 8+4+0=12 , A->2 , C->1
[9,9,8,7,4,1,2,5,8,5,6,3,5,7] + [5,8,5,2,1,1,8,7] , A=[2] , C=1 , 7+7+1=15 , A->5 , C->1
[9,9,8,7,4,1,2,5,8,5,6,3,5] + [5,8,5,2,1,1,8] , A=[5,2] , C=1 , 5+8+1=14 , A->4 , C->1
[9,9,8,7,4,1,2,5,8,5,6,3] + [5,8,5,2,1,1] , A=[4,5,2] , C=1 , 3+1+1=5 , A->5 , C->0
[9,9,8,7,4,1,2,5,8,5,6] + [5,8,5,2,1] , A=[5,4,5,2] , C=0 , 6+1+0=7 , A->7 , C->0
[9,9,8,7,4,1,2,5,8,5] + [5,8,5,2] , A=[7,5,4,5,2] , C=0 , 5+2+0=7 , A->7 , C->0
[9,9,8,7,4,1,2,5,8] + [5,8,5] , A=[7,7,5,4,5,2] , C=0 , 8+5+0=13 , A->3 , C->1
[9,9,8,7,4,1,2,5] + [5,8] , A=[3,7,7,5,4,5,2] , C=1 , 5+8+1=14 , A->4 , C->1
[9,9,8,7,4,1,2] + [5] , A=[4,3,7,7,5,4,5,2] , C=1 , 2+5+1=8 , A->8 , C->0
[9,9,8,7,4,1] + [] , A=[8,4,3,7,7,5,4,5,2] , C=0 , 1+0+0=1 , A->1 , C->0
[9,9,8,7,4] + [] , A=[1,8,4,3,7,7,5,4,5,2] , C=0 , 4+0+0=4 , A->4 , C->0
[9,9,8,7] + [] , A=[4,1,8,4,3,7,7,5,4,5,2] , C=0 , 7+0+0=7 , A->7 , C->0
[9,9,8] + [] , A=[7,4,1,8,4,3,7,7,5,4,5,2] , C=0 , 8+0+0=8 , A->8 , C->0
[9,9] + [] , A=[8,7,4,1,8,4,3,7,7,5,4,5,2] , C=0 , 9+0+0=9 , A->9 , C->0
[9] + [] , A=[9,8,7,4,1,8,4,3,7,7,5,4,5,2] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,9,8,7,4,1,8,4,3,7,7,5,4,5,2] C=0 , END
</scratch>
998741843775452
| 998741843775452 | 9 |
Input:
17370955221997+106878350617629
Target:
| Input:
17370955221997+106878350617629
Target:
[1,7,3,7,0,9,5,5,2,2,1,9,9,7] + [1,0,6,8,7,8,3,5,0,6,1,7,6,2,9] , A=[] , C=0 , 7+9+0=16 , A->6 , C->1
[1,7,3,7,0,9,5,5,2,2,1,9,9] + [1,0,6,8,7,8,3,5,0,6,1,7,6,2] , A=[6] , C=1 , 9+2+1=12 , A->2 , C->1
[1,7,3,7,0,9,5,5,2,2,1,9] + [1,0,6,8,7,8,3,5,0,6,1,7,6] , A=[2,6] , C=1 , 9+6+1=16 , A->6 , C->1
[1,7,3,7,0,9,5,5,2,2,1] + [1,0,6,8,7,8,3,5,0,6,1,7] , A=[6,2,6] , C=1 , 1+7+1=9 , A->9 , C->0
[1,7,3,7,0,9,5,5,2,2] + [1,0,6,8,7,8,3,5,0,6,1] , A=[9,6,2,6] , C=0 , 2+1+0=3 , A->3 , C->0
[1,7,3,7,0,9,5,5,2] + [1,0,6,8,7,8,3,5,0,6] , A=[3,9,6,2,6] , C=0 , 2+6+0=8 , A->8 , C->0
[1,7,3,7,0,9,5,5] + [1,0,6,8,7,8,3,5,0] , A=[8,3,9,6,2,6] , C=0 , 5+0+0=5 , A->5 , C->0
[1,7,3,7,0,9,5] + [1,0,6,8,7,8,3,5] , A=[5,8,3,9,6,2,6] , C=0 , 5+5+0=10 , A->0 , C->1
[1,7,3,7,0,9] + [1,0,6,8,7,8,3] , A=[0,5,8,3,9,6,2,6] , C=1 , 9+3+1=13 , A->3 , C->1
[1,7,3,7,0] + [1,0,6,8,7,8] , A=[3,0,5,8,3,9,6,2,6] , C=1 , 0+8+1=9 , A->9 , C->0
[1,7,3,7] + [1,0,6,8,7] , A=[9,3,0,5,8,3,9,6,2,6] , C=0 , 7+7+0=14 , A->4 , C->1
[1,7,3] + [1,0,6,8] , A=[4,9,3,0,5,8,3,9,6,2,6] , C=1 , 3+8+1=12 , A->2 , C->1
[1,7] + [1,0,6] , A=[2,4,9,3,0,5,8,3,9,6,2,6] , C=1 , 7+6+1=14 , A->4 , C->1
[1] + [1,0] , A=[4,2,4,9,3,0,5,8,3,9,6,2,6] , C=1 , 1+0+1=2 , A->2 , C->0
[] + [1] , A=[2,4,2,4,9,3,0,5,8,3,9,6,2,6] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,2,4,2,4,9,3,0,5,8,3,9,6,2,6] C=0 , END
</scratch>
124249305839626
| 124249305839626 | 14 |
Input:
872287016197783+68398617
Target:
| Input:
872287016197783+68398617
Target:
[8,7,2,2,8,7,0,1,6,1,9,7,7,8,3] + [6,8,3,9,8,6,1,7] , A=[] , C=0 , 3+7+0=10 , A->0 , C->1
[8,7,2,2,8,7,0,1,6,1,9,7,7,8] + [6,8,3,9,8,6,1] , A=[0] , C=1 , 8+1+1=10 , A->0 , C->1
[8,7,2,2,8,7,0,1,6,1,9,7,7] + [6,8,3,9,8,6] , A=[0,0] , C=1 , 7+6+1=14 , A->4 , C->1
[8,7,2,2,8,7,0,1,6,1,9,7] + [6,8,3,9,8] , A=[4,0,0] , C=1 , 7+8+1=16 , A->6 , C->1
[8,7,2,2,8,7,0,1,6,1,9] + [6,8,3,9] , A=[6,4,0,0] , C=1 , 9+9+1=19 , A->9 , C->1
[8,7,2,2,8,7,0,1,6,1] + [6,8,3] , A=[9,6,4,0,0] , C=1 , 1+3+1=5 , A->5 , C->0
[8,7,2,2,8,7,0,1,6] + [6,8] , A=[5,9,6,4,0,0] , C=0 , 6+8+0=14 , A->4 , C->1
[8,7,2,2,8,7,0,1] + [6] , A=[4,5,9,6,4,0,0] , C=1 , 1+6+1=8 , A->8 , C->0
[8,7,2,2,8,7,0] + [] , A=[8,4,5,9,6,4,0,0] , C=0 , 0+0+0=0 , A->0 , C->0
[8,7,2,2,8,7] + [] , A=[0,8,4,5,9,6,4,0,0] , C=0 , 7+0+0=7 , A->7 , C->0
[8,7,2,2,8] + [] , A=[7,0,8,4,5,9,6,4,0,0] , C=0 , 8+0+0=8 , A->8 , C->0
[8,7,2,2] + [] , A=[8,7,0,8,4,5,9,6,4,0,0] , C=0 , 2+0+0=2 , A->2 , C->0
[8,7,2] + [] , A=[2,8,7,0,8,4,5,9,6,4,0,0] , C=0 , 2+0+0=2 , A->2 , C->0
[8,7] + [] , A=[2,2,8,7,0,8,4,5,9,6,4,0,0] , C=0 , 7+0+0=7 , A->7 , C->0
[8] + [] , A=[7,2,2,8,7,0,8,4,5,9,6,4,0,0] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,7,2,2,8,7,0,8,4,5,9,6,4,0,0] C=0 , END
</scratch>
872287084596400
| 872287084596400 | 8 |
Input:
839826109981556+602938233861647
Target:
| Input:
839826109981556+602938233861647
Target:
[8,3,9,8,2,6,1,0,9,9,8,1,5,5,6] + [6,0,2,9,3,8,2,3,3,8,6,1,6,4,7] , A=[] , C=0 , 6+7+0=13 , A->3 , C->1
[8,3,9,8,2,6,1,0,9,9,8,1,5,5] + [6,0,2,9,3,8,2,3,3,8,6,1,6,4] , A=[3] , C=1 , 5+4+1=10 , A->0 , C->1
[8,3,9,8,2,6,1,0,9,9,8,1,5] + [6,0,2,9,3,8,2,3,3,8,6,1,6] , A=[0,3] , C=1 , 5+6+1=12 , A->2 , C->1
[8,3,9,8,2,6,1,0,9,9,8,1] + [6,0,2,9,3,8,2,3,3,8,6,1] , A=[2,0,3] , C=1 , 1+1+1=3 , A->3 , C->0
[8,3,9,8,2,6,1,0,9,9,8] + [6,0,2,9,3,8,2,3,3,8,6] , A=[3,2,0,3] , C=0 , 8+6+0=14 , A->4 , C->1
[8,3,9,8,2,6,1,0,9,9] + [6,0,2,9,3,8,2,3,3,8] , A=[4,3,2,0,3] , C=1 , 9+8+1=18 , A->8 , C->1
[8,3,9,8,2,6,1,0,9] + [6,0,2,9,3,8,2,3,3] , A=[8,4,3,2,0,3] , C=1 , 9+3+1=13 , A->3 , C->1
[8,3,9,8,2,6,1,0] + [6,0,2,9,3,8,2,3] , A=[3,8,4,3,2,0,3] , C=1 , 0+3+1=4 , A->4 , C->0
[8,3,9,8,2,6,1] + [6,0,2,9,3,8,2] , A=[4,3,8,4,3,2,0,3] , C=0 , 1+2+0=3 , A->3 , C->0
[8,3,9,8,2,6] + [6,0,2,9,3,8] , A=[3,4,3,8,4,3,2,0,3] , C=0 , 6+8+0=14 , A->4 , C->1
[8,3,9,8,2] + [6,0,2,9,3] , A=[4,3,4,3,8,4,3,2,0,3] , C=1 , 2+3+1=6 , A->6 , C->0
[8,3,9,8] + [6,0,2,9] , A=[6,4,3,4,3,8,4,3,2,0,3] , C=0 , 8+9+0=17 , A->7 , C->1
[8,3,9] + [6,0,2] , A=[7,6,4,3,4,3,8,4,3,2,0,3] , C=1 , 9+2+1=12 , A->2 , C->1
[8,3] + [6,0] , A=[2,7,6,4,3,4,3,8,4,3,2,0,3] , C=1 , 3+0+1=4 , A->4 , C->0
[8] + [6] , A=[4,2,7,6,4,3,4,3,8,4,3,2,0,3] , C=0 , 8+6+0=14 , A->4 , C->1
[] + [] , A=[4,4,2,7,6,4,3,4,3,8,4,3,2,0,3] C=1 , END
</scratch>
1442764343843203
| 1442764343843203 | 15 |
Input:
324416953046830+247306424236
Target:
| Input:
324416953046830+247306424236
Target:
[3,2,4,4,1,6,9,5,3,0,4,6,8,3,0] + [2,4,7,3,0,6,4,2,4,2,3,6] , A=[] , C=0 , 0+6+0=6 , A->6 , C->0
[3,2,4,4,1,6,9,5,3,0,4,6,8,3] + [2,4,7,3,0,6,4,2,4,2,3] , A=[6] , C=0 , 3+3+0=6 , A->6 , C->0
[3,2,4,4,1,6,9,5,3,0,4,6,8] + [2,4,7,3,0,6,4,2,4,2] , A=[6,6] , C=0 , 8+2+0=10 , A->0 , C->1
[3,2,4,4,1,6,9,5,3,0,4,6] + [2,4,7,3,0,6,4,2,4] , A=[0,6,6] , C=1 , 6+4+1=11 , A->1 , C->1
[3,2,4,4,1,6,9,5,3,0,4] + [2,4,7,3,0,6,4,2] , A=[1,0,6,6] , C=1 , 4+2+1=7 , A->7 , C->0
[3,2,4,4,1,6,9,5,3,0] + [2,4,7,3,0,6,4] , A=[7,1,0,6,6] , C=0 , 0+4+0=4 , A->4 , C->0
[3,2,4,4,1,6,9,5,3] + [2,4,7,3,0,6] , A=[4,7,1,0,6,6] , C=0 , 3+6+0=9 , A->9 , C->0
[3,2,4,4,1,6,9,5] + [2,4,7,3,0] , A=[9,4,7,1,0,6,6] , C=0 , 5+0+0=5 , A->5 , C->0
[3,2,4,4,1,6,9] + [2,4,7,3] , A=[5,9,4,7,1,0,6,6] , C=0 , 9+3+0=12 , A->2 , C->1
[3,2,4,4,1,6] + [2,4,7] , A=[2,5,9,4,7,1,0,6,6] , C=1 , 6+7+1=14 , A->4 , C->1
[3,2,4,4,1] + [2,4] , A=[4,2,5,9,4,7,1,0,6,6] , C=1 , 1+4+1=6 , A->6 , C->0
[3,2,4,4] + [2] , A=[6,4,2,5,9,4,7,1,0,6,6] , C=0 , 4+2+0=6 , A->6 , C->0
[3,2,4] + [] , A=[6,6,4,2,5,9,4,7,1,0,6,6] , C=0 , 4+0+0=4 , A->4 , C->0
[3,2] + [] , A=[4,6,6,4,2,5,9,4,7,1,0,6,6] , C=0 , 2+0+0=2 , A->2 , C->0
[3] + [] , A=[2,4,6,6,4,2,5,9,4,7,1,0,6,6] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,2,4,6,6,4,2,5,9,4,7,1,0,6,6] C=0 , END
</scratch>
324664259471066
| 324664259471066 | 12 |
Input:
2+630687803727752
Target:
| Input:
2+630687803727752
Target:
[2] + [6,3,0,6,8,7,8,0,3,7,2,7,7,5,2] , A=[] , C=0 , 2+2+0=4 , A->4 , C->0
[] + [6,3,0,6,8,7,8,0,3,7,2,7,7,5] , A=[4] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [6,3,0,6,8,7,8,0,3,7,2,7,7] , A=[5,4] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6,3,0,6,8,7,8,0,3,7,2,7] , A=[7,5,4] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6,3,0,6,8,7,8,0,3,7,2] , A=[7,7,5,4] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [6,3,0,6,8,7,8,0,3,7] , A=[2,7,7,5,4] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6,3,0,6,8,7,8,0,3] , A=[7,2,7,7,5,4] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [6,3,0,6,8,7,8,0] , A=[3,7,2,7,7,5,4] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [6,3,0,6,8,7,8] , A=[0,3,7,2,7,7,5,4] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [6,3,0,6,8,7] , A=[8,0,3,7,2,7,7,5,4] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6,3,0,6,8] , A=[7,8,0,3,7,2,7,7,5,4] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [6,3,0,6] , A=[8,7,8,0,3,7,2,7,7,5,4] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [6,3,0] , A=[6,8,7,8,0,3,7,2,7,7,5,4] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [6,3] , A=[0,6,8,7,8,0,3,7,2,7,7,5,4] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [6] , A=[3,0,6,8,7,8,0,3,7,2,7,7,5,4] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,3,0,6,8,7,8,0,3,7,2,7,7,5,4] C=0 , END
</scratch>
630687803727754
| 630687803727754 | 1 |
Input:
2377+386118579534953
Target:
| Input:
2377+386118579534953
Target:
[2,3,7,7] + [3,8,6,1,1,8,5,7,9,5,3,4,9,5,3] , A=[] , C=0 , 7+3+0=10 , A->0 , C->1
[2,3,7] + [3,8,6,1,1,8,5,7,9,5,3,4,9,5] , A=[0] , C=1 , 7+5+1=13 , A->3 , C->1
[2,3] + [3,8,6,1,1,8,5,7,9,5,3,4,9] , A=[3,0] , C=1 , 3+9+1=13 , A->3 , C->1
[2] + [3,8,6,1,1,8,5,7,9,5,3,4] , A=[3,3,0] , C=1 , 2+4+1=7 , A->7 , C->0
[] + [3,8,6,1,1,8,5,7,9,5,3] , A=[7,3,3,0] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [3,8,6,1,1,8,5,7,9,5] , A=[3,7,3,3,0] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [3,8,6,1,1,8,5,7,9] , A=[5,3,7,3,3,0] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [3,8,6,1,1,8,5,7] , A=[9,5,3,7,3,3,0] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [3,8,6,1,1,8,5] , A=[7,9,5,3,7,3,3,0] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [3,8,6,1,1,8] , A=[5,7,9,5,3,7,3,3,0] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [3,8,6,1,1] , A=[8,5,7,9,5,3,7,3,3,0] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [3,8,6,1] , A=[1,8,5,7,9,5,3,7,3,3,0] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [3,8,6] , A=[1,1,8,5,7,9,5,3,7,3,3,0] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [3,8] , A=[6,1,1,8,5,7,9,5,3,7,3,3,0] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [3] , A=[8,6,1,1,8,5,7,9,5,3,7,3,3,0] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [] , A=[3,8,6,1,1,8,5,7,9,5,3,7,3,3,0] C=0 , END
</scratch>
386118579537330
| 386118579537330 | 4 |
Input:
355699927182707+5443463414
Target:
| Input:
355699927182707+5443463414
Target:
[3,5,5,6,9,9,9,2,7,1,8,2,7,0,7] + [5,4,4,3,4,6,3,4,1,4] , A=[] , C=0 , 7+4+0=11 , A->1 , C->1
[3,5,5,6,9,9,9,2,7,1,8,2,7,0] + [5,4,4,3,4,6,3,4,1] , A=[1] , C=1 , 0+1+1=2 , A->2 , C->0
[3,5,5,6,9,9,9,2,7,1,8,2,7] + [5,4,4,3,4,6,3,4] , A=[2,1] , C=0 , 7+4+0=11 , A->1 , C->1
[3,5,5,6,9,9,9,2,7,1,8,2] + [5,4,4,3,4,6,3] , A=[1,2,1] , C=1 , 2+3+1=6 , A->6 , C->0
[3,5,5,6,9,9,9,2,7,1,8] + [5,4,4,3,4,6] , A=[6,1,2,1] , C=0 , 8+6+0=14 , A->4 , C->1
[3,5,5,6,9,9,9,2,7,1] + [5,4,4,3,4] , A=[4,6,1,2,1] , C=1 , 1+4+1=6 , A->6 , C->0
[3,5,5,6,9,9,9,2,7] + [5,4,4,3] , A=[6,4,6,1,2,1] , C=0 , 7+3+0=10 , A->0 , C->1
[3,5,5,6,9,9,9,2] + [5,4,4] , A=[0,6,4,6,1,2,1] , C=1 , 2+4+1=7 , A->7 , C->0
[3,5,5,6,9,9,9] + [5,4] , A=[7,0,6,4,6,1,2,1] , C=0 , 9+4+0=13 , A->3 , C->1
[3,5,5,6,9,9] + [5] , A=[3,7,0,6,4,6,1,2,1] , C=1 , 9+5+1=15 , A->5 , C->1
[3,5,5,6,9] + [] , A=[5,3,7,0,6,4,6,1,2,1] , C=1 , 9+0+1=10 , A->0 , C->1
[3,5,5,6] + [] , A=[0,5,3,7,0,6,4,6,1,2,1] , C=1 , 6+0+1=7 , A->7 , C->0
[3,5,5] + [] , A=[7,0,5,3,7,0,6,4,6,1,2,1] , C=0 , 5+0+0=5 , A->5 , C->0
[3,5] + [] , A=[5,7,0,5,3,7,0,6,4,6,1,2,1] , C=0 , 5+0+0=5 , A->5 , C->0
[3] + [] , A=[5,5,7,0,5,3,7,0,6,4,6,1,2,1] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,5,5,7,0,5,3,7,0,6,4,6,1,2,1] C=0 , END
</scratch>
355705370646121
| 355705370646121 | 10 |
Input:
353446778389647+933527761946768
Target:
| Input:
353446778389647+933527761946768
Target:
[3,5,3,4,4,6,7,7,8,3,8,9,6,4,7] + [9,3,3,5,2,7,7,6,1,9,4,6,7,6,8] , A=[] , C=0 , 7+8+0=15 , A->5 , C->1
[3,5,3,4,4,6,7,7,8,3,8,9,6,4] + [9,3,3,5,2,7,7,6,1,9,4,6,7,6] , A=[5] , C=1 , 4+6+1=11 , A->1 , C->1
[3,5,3,4,4,6,7,7,8,3,8,9,6] + [9,3,3,5,2,7,7,6,1,9,4,6,7] , A=[1,5] , C=1 , 6+7+1=14 , A->4 , C->1
[3,5,3,4,4,6,7,7,8,3,8,9] + [9,3,3,5,2,7,7,6,1,9,4,6] , A=[4,1,5] , C=1 , 9+6+1=16 , A->6 , C->1
[3,5,3,4,4,6,7,7,8,3,8] + [9,3,3,5,2,7,7,6,1,9,4] , A=[6,4,1,5] , C=1 , 8+4+1=13 , A->3 , C->1
[3,5,3,4,4,6,7,7,8,3] + [9,3,3,5,2,7,7,6,1,9] , A=[3,6,4,1,5] , C=1 , 3+9+1=13 , A->3 , C->1
[3,5,3,4,4,6,7,7,8] + [9,3,3,5,2,7,7,6,1] , A=[3,3,6,4,1,5] , C=1 , 8+1+1=10 , A->0 , C->1
[3,5,3,4,4,6,7,7] + [9,3,3,5,2,7,7,6] , A=[0,3,3,6,4,1,5] , C=1 , 7+6+1=14 , A->4 , C->1
[3,5,3,4,4,6,7] + [9,3,3,5,2,7,7] , A=[4,0,3,3,6,4,1,5] , C=1 , 7+7+1=15 , A->5 , C->1
[3,5,3,4,4,6] + [9,3,3,5,2,7] , A=[5,4,0,3,3,6,4,1,5] , C=1 , 6+7+1=14 , A->4 , C->1
[3,5,3,4,4] + [9,3,3,5,2] , A=[4,5,4,0,3,3,6,4,1,5] , C=1 , 4+2+1=7 , A->7 , C->0
[3,5,3,4] + [9,3,3,5] , A=[7,4,5,4,0,3,3,6,4,1,5] , C=0 , 4+5+0=9 , A->9 , C->0
[3,5,3] + [9,3,3] , A=[9,7,4,5,4,0,3,3,6,4,1,5] , C=0 , 3+3+0=6 , A->6 , C->0
[3,5] + [9,3] , A=[6,9,7,4,5,4,0,3,3,6,4,1,5] , C=0 , 5+3+0=8 , A->8 , C->0
[3] + [9] , A=[8,6,9,7,4,5,4,0,3,3,6,4,1,5] , C=0 , 3+9+0=12 , A->2 , C->1
[] + [] , A=[2,8,6,9,7,4,5,4,0,3,3,6,4,1,5] C=1 , END
</scratch>
1286974540336415
| 1286974540336415 | 15 |
Input:
516125140440781+595208
Target:
| Input:
516125140440781+595208
Target:
[5,1,6,1,2,5,1,4,0,4,4,0,7,8,1] + [5,9,5,2,0,8] , A=[] , C=0 , 1+8+0=9 , A->9 , C->0
[5,1,6,1,2,5,1,4,0,4,4,0,7,8] + [5,9,5,2,0] , A=[9] , C=0 , 8+0+0=8 , A->8 , C->0
[5,1,6,1,2,5,1,4,0,4,4,0,7] + [5,9,5,2] , A=[8,9] , C=0 , 7+2+0=9 , A->9 , C->0
[5,1,6,1,2,5,1,4,0,4,4,0] + [5,9,5] , A=[9,8,9] , C=0 , 0+5+0=5 , A->5 , C->0
[5,1,6,1,2,5,1,4,0,4,4] + [5,9] , A=[5,9,8,9] , C=0 , 4+9+0=13 , A->3 , C->1
[5,1,6,1,2,5,1,4,0,4] + [5] , A=[3,5,9,8,9] , C=1 , 4+5+1=10 , A->0 , C->1
[5,1,6,1,2,5,1,4,0] + [] , A=[0,3,5,9,8,9] , C=1 , 0+0+1=1 , A->1 , C->0
[5,1,6,1,2,5,1,4] + [] , A=[1,0,3,5,9,8,9] , C=0 , 4+0+0=4 , A->4 , C->0
[5,1,6,1,2,5,1] + [] , A=[4,1,0,3,5,9,8,9] , C=0 , 1+0+0=1 , A->1 , C->0
[5,1,6,1,2,5] + [] , A=[1,4,1,0,3,5,9,8,9] , C=0 , 5+0+0=5 , A->5 , C->0
[5,1,6,1,2] + [] , A=[5,1,4,1,0,3,5,9,8,9] , C=0 , 2+0+0=2 , A->2 , C->0
[5,1,6,1] + [] , A=[2,5,1,4,1,0,3,5,9,8,9] , C=0 , 1+0+0=1 , A->1 , C->0
[5,1,6] + [] , A=[1,2,5,1,4,1,0,3,5,9,8,9] , C=0 , 6+0+0=6 , A->6 , C->0
[5,1] + [] , A=[6,1,2,5,1,4,1,0,3,5,9,8,9] , C=0 , 1+0+0=1 , A->1 , C->0
[5] + [] , A=[1,6,1,2,5,1,4,1,0,3,5,9,8,9] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,1,6,1,2,5,1,4,1,0,3,5,9,8,9] C=0 , END
</scratch>
516125141035989
| 516125141035989 | 6 |
Input:
507403645732097+36399
Target:
| Input:
507403645732097+36399
Target:
[5,0,7,4,0,3,6,4,5,7,3,2,0,9,7] + [3,6,3,9,9] , A=[] , C=0 , 7+9+0=16 , A->6 , C->1
[5,0,7,4,0,3,6,4,5,7,3,2,0,9] + [3,6,3,9] , A=[6] , C=1 , 9+9+1=19 , A->9 , C->1
[5,0,7,4,0,3,6,4,5,7,3,2,0] + [3,6,3] , A=[9,6] , C=1 , 0+3+1=4 , A->4 , C->0
[5,0,7,4,0,3,6,4,5,7,3,2] + [3,6] , A=[4,9,6] , C=0 , 2+6+0=8 , A->8 , C->0
[5,0,7,4,0,3,6,4,5,7,3] + [3] , A=[8,4,9,6] , C=0 , 3+3+0=6 , A->6 , C->0
[5,0,7,4,0,3,6,4,5,7] + [] , A=[6,8,4,9,6] , C=0 , 7+0+0=7 , A->7 , C->0
[5,0,7,4,0,3,6,4,5] + [] , A=[7,6,8,4,9,6] , C=0 , 5+0+0=5 , A->5 , C->0
[5,0,7,4,0,3,6,4] + [] , A=[5,7,6,8,4,9,6] , C=0 , 4+0+0=4 , A->4 , C->0
[5,0,7,4,0,3,6] + [] , A=[4,5,7,6,8,4,9,6] , C=0 , 6+0+0=6 , A->6 , C->0
[5,0,7,4,0,3] + [] , A=[6,4,5,7,6,8,4,9,6] , C=0 , 3+0+0=3 , A->3 , C->0
[5,0,7,4,0] + [] , A=[3,6,4,5,7,6,8,4,9,6] , C=0 , 0+0+0=0 , A->0 , C->0
[5,0,7,4] + [] , A=[0,3,6,4,5,7,6,8,4,9,6] , C=0 , 4+0+0=4 , A->4 , C->0
[5,0,7] + [] , A=[4,0,3,6,4,5,7,6,8,4,9,6] , C=0 , 7+0+0=7 , A->7 , C->0
[5,0] + [] , A=[7,4,0,3,6,4,5,7,6,8,4,9,6] , C=0 , 0+0+0=0 , A->0 , C->0
[5] + [] , A=[0,7,4,0,3,6,4,5,7,6,8,4,9,6] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,0,7,4,0,3,6,4,5,7,6,8,4,9,6] C=0 , END
</scratch>
507403645768496
| 507403645768496 | 5 |
Input:
239364178911378+2843209
Target:
| Input:
239364178911378+2843209
Target:
[2,3,9,3,6,4,1,7,8,9,1,1,3,7,8] + [2,8,4,3,2,0,9] , A=[] , C=0 , 8+9+0=17 , A->7 , C->1
[2,3,9,3,6,4,1,7,8,9,1,1,3,7] + [2,8,4,3,2,0] , A=[7] , C=1 , 7+0+1=8 , A->8 , C->0
[2,3,9,3,6,4,1,7,8,9,1,1,3] + [2,8,4,3,2] , A=[8,7] , C=0 , 3+2+0=5 , A->5 , C->0
[2,3,9,3,6,4,1,7,8,9,1,1] + [2,8,4,3] , A=[5,8,7] , C=0 , 1+3+0=4 , A->4 , C->0
[2,3,9,3,6,4,1,7,8,9,1] + [2,8,4] , A=[4,5,8,7] , C=0 , 1+4+0=5 , A->5 , C->0
[2,3,9,3,6,4,1,7,8,9] + [2,8] , A=[5,4,5,8,7] , C=0 , 9+8+0=17 , A->7 , C->1
[2,3,9,3,6,4,1,7,8] + [2] , A=[7,5,4,5,8,7] , C=1 , 8+2+1=11 , A->1 , C->1
[2,3,9,3,6,4,1,7] + [] , A=[1,7,5,4,5,8,7] , C=1 , 7+0+1=8 , A->8 , C->0
[2,3,9,3,6,4,1] + [] , A=[8,1,7,5,4,5,8,7] , C=0 , 1+0+0=1 , A->1 , C->0
[2,3,9,3,6,4] + [] , A=[1,8,1,7,5,4,5,8,7] , C=0 , 4+0+0=4 , A->4 , C->0
[2,3,9,3,6] + [] , A=[4,1,8,1,7,5,4,5,8,7] , C=0 , 6+0+0=6 , A->6 , C->0
[2,3,9,3] + [] , A=[6,4,1,8,1,7,5,4,5,8,7] , C=0 , 3+0+0=3 , A->3 , C->0
[2,3,9] + [] , A=[3,6,4,1,8,1,7,5,4,5,8,7] , C=0 , 9+0+0=9 , A->9 , C->0
[2,3] + [] , A=[9,3,6,4,1,8,1,7,5,4,5,8,7] , C=0 , 3+0+0=3 , A->3 , C->0
[2] + [] , A=[3,9,3,6,4,1,8,1,7,5,4,5,8,7] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [] , A=[2,3,9,3,6,4,1,8,1,7,5,4,5,8,7] C=0 , END
</scratch>
239364181754587
| 239364181754587 | 7 |
Input:
53+204977614888150
Target:
| Input:
53+204977614888150
Target:
[5,3] + [2,0,4,9,7,7,6,1,4,8,8,8,1,5,0] , A=[] , C=0 , 3+0+0=3 , A->3 , C->0
[5] + [2,0,4,9,7,7,6,1,4,8,8,8,1,5] , A=[3] , C=0 , 5+5+0=10 , A->0 , C->1
[] + [2,0,4,9,7,7,6,1,4,8,8,8,1] , A=[0,3] , C=1 , 0+1+1=2 , A->2 , C->0
[] + [2,0,4,9,7,7,6,1,4,8,8,8] , A=[2,0,3] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [2,0,4,9,7,7,6,1,4,8,8] , A=[8,2,0,3] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [2,0,4,9,7,7,6,1,4,8] , A=[8,8,2,0,3] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [2,0,4,9,7,7,6,1,4] , A=[8,8,8,2,0,3] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [2,0,4,9,7,7,6,1] , A=[4,8,8,8,2,0,3] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [2,0,4,9,7,7,6] , A=[1,4,8,8,8,2,0,3] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [2,0,4,9,7,7] , A=[6,1,4,8,8,8,2,0,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [2,0,4,9,7] , A=[7,6,1,4,8,8,8,2,0,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [2,0,4,9] , A=[7,7,6,1,4,8,8,8,2,0,3] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [2,0,4] , A=[9,7,7,6,1,4,8,8,8,2,0,3] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [2,0] , A=[4,9,7,7,6,1,4,8,8,8,2,0,3] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [2] , A=[0,4,9,7,7,6,1,4,8,8,8,2,0,3] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,0,4,9,7,7,6,1,4,8,8,8,2,0,3] C=0 , END
</scratch>
204977614888203
| 204977614888203 | 2 |
Input:
290699534458+785779052066672
Target:
| Input:
290699534458+785779052066672
Target:
[2,9,0,6,9,9,5,3,4,4,5,8] + [7,8,5,7,7,9,0,5,2,0,6,6,6,7,2] , A=[] , C=0 , 8+2+0=10 , A->0 , C->1
[2,9,0,6,9,9,5,3,4,4,5] + [7,8,5,7,7,9,0,5,2,0,6,6,6,7] , A=[0] , C=1 , 5+7+1=13 , A->3 , C->1
[2,9,0,6,9,9,5,3,4,4] + [7,8,5,7,7,9,0,5,2,0,6,6,6] , A=[3,0] , C=1 , 4+6+1=11 , A->1 , C->1
[2,9,0,6,9,9,5,3,4] + [7,8,5,7,7,9,0,5,2,0,6,6] , A=[1,3,0] , C=1 , 4+6+1=11 , A->1 , C->1
[2,9,0,6,9,9,5,3] + [7,8,5,7,7,9,0,5,2,0,6] , A=[1,1,3,0] , C=1 , 3+6+1=10 , A->0 , C->1
[2,9,0,6,9,9,5] + [7,8,5,7,7,9,0,5,2,0] , A=[0,1,1,3,0] , C=1 , 5+0+1=6 , A->6 , C->0
[2,9,0,6,9,9] + [7,8,5,7,7,9,0,5,2] , A=[6,0,1,1,3,0] , C=0 , 9+2+0=11 , A->1 , C->1
[2,9,0,6,9] + [7,8,5,7,7,9,0,5] , A=[1,6,0,1,1,3,0] , C=1 , 9+5+1=15 , A->5 , C->1
[2,9,0,6] + [7,8,5,7,7,9,0] , A=[5,1,6,0,1,1,3,0] , C=1 , 6+0+1=7 , A->7 , C->0
[2,9,0] + [7,8,5,7,7,9] , A=[7,5,1,6,0,1,1,3,0] , C=0 , 0+9+0=9 , A->9 , C->0
[2,9] + [7,8,5,7,7] , A=[9,7,5,1,6,0,1,1,3,0] , C=0 , 9+7+0=16 , A->6 , C->1
[2] + [7,8,5,7] , A=[6,9,7,5,1,6,0,1,1,3,0] , C=1 , 2+7+1=10 , A->0 , C->1
[] + [7,8,5] , A=[0,6,9,7,5,1,6,0,1,1,3,0] , C=1 , 0+5+1=6 , A->6 , C->0
[] + [7,8] , A=[6,0,6,9,7,5,1,6,0,1,1,3,0] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [7] , A=[8,6,0,6,9,7,5,1,6,0,1,1,3,0] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,8,6,0,6,9,7,5,1,6,0,1,1,3,0] C=0 , END
</scratch>
786069751601130
| 786069751601130 | 12 |
Input:
682+144733060501061
Target:
| Input:
682+144733060501061
Target:
[6,8,2] + [1,4,4,7,3,3,0,6,0,5,0,1,0,6,1] , A=[] , C=0 , 2+1+0=3 , A->3 , C->0
[6,8] + [1,4,4,7,3,3,0,6,0,5,0,1,0,6] , A=[3] , C=0 , 8+6+0=14 , A->4 , C->1
[6] + [1,4,4,7,3,3,0,6,0,5,0,1,0] , A=[4,3] , C=1 , 6+0+1=7 , A->7 , C->0
[] + [1,4,4,7,3,3,0,6,0,5,0,1] , A=[7,4,3] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [1,4,4,7,3,3,0,6,0,5,0] , A=[1,7,4,3] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [1,4,4,7,3,3,0,6,0,5] , A=[0,1,7,4,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1,4,4,7,3,3,0,6,0] , A=[5,0,1,7,4,3] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [1,4,4,7,3,3,0,6] , A=[0,5,0,1,7,4,3] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [1,4,4,7,3,3,0] , A=[6,0,5,0,1,7,4,3] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [1,4,4,7,3,3] , A=[0,6,0,5,0,1,7,4,3] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [1,4,4,7,3] , A=[3,0,6,0,5,0,1,7,4,3] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [1,4,4,7] , A=[3,3,0,6,0,5,0,1,7,4,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [1,4,4] , A=[7,3,3,0,6,0,5,0,1,7,4,3] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [1,4] , A=[4,7,3,3,0,6,0,5,0,1,7,4,3] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [1] , A=[4,4,7,3,3,0,6,0,5,0,1,7,4,3] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,4,4,7,3,3,0,6,0,5,0,1,7,4,3] C=0 , END
</scratch>
144733060501743
| 144733060501743 | 3 |
Input:
879230882591320+236383
Target:
| Input:
879230882591320+236383
Target:
[8,7,9,2,3,0,8,8,2,5,9,1,3,2,0] + [2,3,6,3,8,3] , A=[] , C=0 , 0+3+0=3 , A->3 , C->0
[8,7,9,2,3,0,8,8,2,5,9,1,3,2] + [2,3,6,3,8] , A=[3] , C=0 , 2+8+0=10 , A->0 , C->1
[8,7,9,2,3,0,8,8,2,5,9,1,3] + [2,3,6,3] , A=[0,3] , C=1 , 3+3+1=7 , A->7 , C->0
[8,7,9,2,3,0,8,8,2,5,9,1] + [2,3,6] , A=[7,0,3] , C=0 , 1+6+0=7 , A->7 , C->0
[8,7,9,2,3,0,8,8,2,5,9] + [2,3] , A=[7,7,0,3] , C=0 , 9+3+0=12 , A->2 , C->1
[8,7,9,2,3,0,8,8,2,5] + [2] , A=[2,7,7,0,3] , C=1 , 5+2+1=8 , A->8 , C->0
[8,7,9,2,3,0,8,8,2] + [] , A=[8,2,7,7,0,3] , C=0 , 2+0+0=2 , A->2 , C->0
[8,7,9,2,3,0,8,8] + [] , A=[2,8,2,7,7,0,3] , C=0 , 8+0+0=8 , A->8 , C->0
[8,7,9,2,3,0,8] + [] , A=[8,2,8,2,7,7,0,3] , C=0 , 8+0+0=8 , A->8 , C->0
[8,7,9,2,3,0] + [] , A=[8,8,2,8,2,7,7,0,3] , C=0 , 0+0+0=0 , A->0 , C->0
[8,7,9,2,3] + [] , A=[0,8,8,2,8,2,7,7,0,3] , C=0 , 3+0+0=3 , A->3 , C->0
[8,7,9,2] + [] , A=[3,0,8,8,2,8,2,7,7,0,3] , C=0 , 2+0+0=2 , A->2 , C->0
[8,7,9] + [] , A=[2,3,0,8,8,2,8,2,7,7,0,3] , C=0 , 9+0+0=9 , A->9 , C->0
[8,7] + [] , A=[9,2,3,0,8,8,2,8,2,7,7,0,3] , C=0 , 7+0+0=7 , A->7 , C->0
[8] + [] , A=[7,9,2,3,0,8,8,2,8,2,7,7,0,3] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,7,9,2,3,0,8,8,2,8,2,7,7,0,3] C=0 , END
</scratch>
879230882827703
| 879230882827703 | 6 |
Input:
346958007421167+832758091
Target:
| Input:
346958007421167+832758091
Target:
[3,4,6,9,5,8,0,0,7,4,2,1,1,6,7] + [8,3,2,7,5,8,0,9,1] , A=[] , C=0 , 7+1+0=8 , A->8 , C->0
[3,4,6,9,5,8,0,0,7,4,2,1,1,6] + [8,3,2,7,5,8,0,9] , A=[8] , C=0 , 6+9+0=15 , A->5 , C->1
[3,4,6,9,5,8,0,0,7,4,2,1,1] + [8,3,2,7,5,8,0] , A=[5,8] , C=1 , 1+0+1=2 , A->2 , C->0
[3,4,6,9,5,8,0,0,7,4,2,1] + [8,3,2,7,5,8] , A=[2,5,8] , C=0 , 1+8+0=9 , A->9 , C->0
[3,4,6,9,5,8,0,0,7,4,2] + [8,3,2,7,5] , A=[9,2,5,8] , C=0 , 2+5+0=7 , A->7 , C->0
[3,4,6,9,5,8,0,0,7,4] + [8,3,2,7] , A=[7,9,2,5,8] , C=0 , 4+7+0=11 , A->1 , C->1
[3,4,6,9,5,8,0,0,7] + [8,3,2] , A=[1,7,9,2,5,8] , C=1 , 7+2+1=10 , A->0 , C->1
[3,4,6,9,5,8,0,0] + [8,3] , A=[0,1,7,9,2,5,8] , C=1 , 0+3+1=4 , A->4 , C->0
[3,4,6,9,5,8,0] + [8] , A=[4,0,1,7,9,2,5,8] , C=0 , 0+8+0=8 , A->8 , C->0
[3,4,6,9,5,8] + [] , A=[8,4,0,1,7,9,2,5,8] , C=0 , 8+0+0=8 , A->8 , C->0
[3,4,6,9,5] + [] , A=[8,8,4,0,1,7,9,2,5,8] , C=0 , 5+0+0=5 , A->5 , C->0
[3,4,6,9] + [] , A=[5,8,8,4,0,1,7,9,2,5,8] , C=0 , 9+0+0=9 , A->9 , C->0
[3,4,6] + [] , A=[9,5,8,8,4,0,1,7,9,2,5,8] , C=0 , 6+0+0=6 , A->6 , C->0
[3,4] + [] , A=[6,9,5,8,8,4,0,1,7,9,2,5,8] , C=0 , 4+0+0=4 , A->4 , C->0
[3] + [] , A=[4,6,9,5,8,8,4,0,1,7,9,2,5,8] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,4,6,9,5,8,8,4,0,1,7,9,2,5,8] C=0 , END
</scratch>
346958840179258
| 346958840179258 | 9 |
Input:
22633+750186493185246
Target:
| Input:
22633+750186493185246
Target:
[2,2,6,3,3] + [7,5,0,1,8,6,4,9,3,1,8,5,2,4,6] , A=[] , C=0 , 3+6+0=9 , A->9 , C->0
[2,2,6,3] + [7,5,0,1,8,6,4,9,3,1,8,5,2,4] , A=[9] , C=0 , 3+4+0=7 , A->7 , C->0
[2,2,6] + [7,5,0,1,8,6,4,9,3,1,8,5,2] , A=[7,9] , C=0 , 6+2+0=8 , A->8 , C->0
[2,2] + [7,5,0,1,8,6,4,9,3,1,8,5] , A=[8,7,9] , C=0 , 2+5+0=7 , A->7 , C->0
[2] + [7,5,0,1,8,6,4,9,3,1,8] , A=[7,8,7,9] , C=0 , 2+8+0=10 , A->0 , C->1
[] + [7,5,0,1,8,6,4,9,3,1] , A=[0,7,8,7,9] , C=1 , 0+1+1=2 , A->2 , C->0
[] + [7,5,0,1,8,6,4,9,3] , A=[2,0,7,8,7,9] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [7,5,0,1,8,6,4,9] , A=[3,2,0,7,8,7,9] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [7,5,0,1,8,6,4] , A=[9,3,2,0,7,8,7,9] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [7,5,0,1,8,6] , A=[4,9,3,2,0,7,8,7,9] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [7,5,0,1,8] , A=[6,4,9,3,2,0,7,8,7,9] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [7,5,0,1] , A=[8,6,4,9,3,2,0,7,8,7,9] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [7,5,0] , A=[1,8,6,4,9,3,2,0,7,8,7,9] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [7,5] , A=[0,1,8,6,4,9,3,2,0,7,8,7,9] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [7] , A=[5,0,1,8,6,4,9,3,2,0,7,8,7,9] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,5,0,1,8,6,4,9,3,2,0,7,8,7,9] C=0 , END
</scratch>
750186493207879
| 750186493207879 | 5 |
Input:
3552509404611+540351174303962
Target:
| Input:
3552509404611+540351174303962
Target:
[3,5,5,2,5,0,9,4,0,4,6,1,1] + [5,4,0,3,5,1,1,7,4,3,0,3,9,6,2] , A=[] , C=0 , 1+2+0=3 , A->3 , C->0
[3,5,5,2,5,0,9,4,0,4,6,1] + [5,4,0,3,5,1,1,7,4,3,0,3,9,6] , A=[3] , C=0 , 1+6+0=7 , A->7 , C->0
[3,5,5,2,5,0,9,4,0,4,6] + [5,4,0,3,5,1,1,7,4,3,0,3,9] , A=[7,3] , C=0 , 6+9+0=15 , A->5 , C->1
[3,5,5,2,5,0,9,4,0,4] + [5,4,0,3,5,1,1,7,4,3,0,3] , A=[5,7,3] , C=1 , 4+3+1=8 , A->8 , C->0
[3,5,5,2,5,0,9,4,0] + [5,4,0,3,5,1,1,7,4,3,0] , A=[8,5,7,3] , C=0 , 0+0+0=0 , A->0 , C->0
[3,5,5,2,5,0,9,4] + [5,4,0,3,5,1,1,7,4,3] , A=[0,8,5,7,3] , C=0 , 4+3+0=7 , A->7 , C->0
[3,5,5,2,5,0,9] + [5,4,0,3,5,1,1,7,4] , A=[7,0,8,5,7,3] , C=0 , 9+4+0=13 , A->3 , C->1
[3,5,5,2,5,0] + [5,4,0,3,5,1,1,7] , A=[3,7,0,8,5,7,3] , C=1 , 0+7+1=8 , A->8 , C->0
[3,5,5,2,5] + [5,4,0,3,5,1,1] , A=[8,3,7,0,8,5,7,3] , C=0 , 5+1+0=6 , A->6 , C->0
[3,5,5,2] + [5,4,0,3,5,1] , A=[6,8,3,7,0,8,5,7,3] , C=0 , 2+1+0=3 , A->3 , C->0
[3,5,5] + [5,4,0,3,5] , A=[3,6,8,3,7,0,8,5,7,3] , C=0 , 5+5+0=10 , A->0 , C->1
[3,5] + [5,4,0,3] , A=[0,3,6,8,3,7,0,8,5,7,3] , C=1 , 5+3+1=9 , A->9 , C->0
[3] + [5,4,0] , A=[9,0,3,6,8,3,7,0,8,5,7,3] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [5,4] , A=[3,9,0,3,6,8,3,7,0,8,5,7,3] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [5] , A=[4,3,9,0,3,6,8,3,7,0,8,5,7,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,4,3,9,0,3,6,8,3,7,0,8,5,7,3] C=0 , END
</scratch>
543903683708573
| 543903683708573 | 13 |
Input:
823349141617659+60739979399615
Target:
| Input:
823349141617659+60739979399615
Target:
[8,2,3,3,4,9,1,4,1,6,1,7,6,5,9] + [6,0,7,3,9,9,7,9,3,9,9,6,1,5] , A=[] , C=0 , 9+5+0=14 , A->4 , C->1
[8,2,3,3,4,9,1,4,1,6,1,7,6,5] + [6,0,7,3,9,9,7,9,3,9,9,6,1] , A=[4] , C=1 , 5+1+1=7 , A->7 , C->0
[8,2,3,3,4,9,1,4,1,6,1,7,6] + [6,0,7,3,9,9,7,9,3,9,9,6] , A=[7,4] , C=0 , 6+6+0=12 , A->2 , C->1
[8,2,3,3,4,9,1,4,1,6,1,7] + [6,0,7,3,9,9,7,9,3,9,9] , A=[2,7,4] , C=1 , 7+9+1=17 , A->7 , C->1
[8,2,3,3,4,9,1,4,1,6,1] + [6,0,7,3,9,9,7,9,3,9] , A=[7,2,7,4] , C=1 , 1+9+1=11 , A->1 , C->1
[8,2,3,3,4,9,1,4,1,6] + [6,0,7,3,9,9,7,9,3] , A=[1,7,2,7,4] , C=1 , 6+3+1=10 , A->0 , C->1
[8,2,3,3,4,9,1,4,1] + [6,0,7,3,9,9,7,9] , A=[0,1,7,2,7,4] , C=1 , 1+9+1=11 , A->1 , C->1
[8,2,3,3,4,9,1,4] + [6,0,7,3,9,9,7] , A=[1,0,1,7,2,7,4] , C=1 , 4+7+1=12 , A->2 , C->1
[8,2,3,3,4,9,1] + [6,0,7,3,9,9] , A=[2,1,0,1,7,2,7,4] , C=1 , 1+9+1=11 , A->1 , C->1
[8,2,3,3,4,9] + [6,0,7,3,9] , A=[1,2,1,0,1,7,2,7,4] , C=1 , 9+9+1=19 , A->9 , C->1
[8,2,3,3,4] + [6,0,7,3] , A=[9,1,2,1,0,1,7,2,7,4] , C=1 , 4+3+1=8 , A->8 , C->0
[8,2,3,3] + [6,0,7] , A=[8,9,1,2,1,0,1,7,2,7,4] , C=0 , 3+7+0=10 , A->0 , C->1
[8,2,3] + [6,0] , A=[0,8,9,1,2,1,0,1,7,2,7,4] , C=1 , 3+0+1=4 , A->4 , C->0
[8,2] + [6] , A=[4,0,8,9,1,2,1,0,1,7,2,7,4] , C=0 , 2+6+0=8 , A->8 , C->0
[8] + [] , A=[8,4,0,8,9,1,2,1,0,1,7,2,7,4] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,8,4,0,8,9,1,2,1,0,1,7,2,7,4] C=0 , END
</scratch>
884089121017274
| 884089121017274 | 14 |
Input:
720237606081253+1037930
Target:
| Input:
720237606081253+1037930
Target:
[7,2,0,2,3,7,6,0,6,0,8,1,2,5,3] + [1,0,3,7,9,3,0] , A=[] , C=0 , 3+0+0=3 , A->3 , C->0
[7,2,0,2,3,7,6,0,6,0,8,1,2,5] + [1,0,3,7,9,3] , A=[3] , C=0 , 5+3+0=8 , A->8 , C->0
[7,2,0,2,3,7,6,0,6,0,8,1,2] + [1,0,3,7,9] , A=[8,3] , C=0 , 2+9+0=11 , A->1 , C->1
[7,2,0,2,3,7,6,0,6,0,8,1] + [1,0,3,7] , A=[1,8,3] , C=1 , 1+7+1=9 , A->9 , C->0
[7,2,0,2,3,7,6,0,6,0,8] + [1,0,3] , A=[9,1,8,3] , C=0 , 8+3+0=11 , A->1 , C->1
[7,2,0,2,3,7,6,0,6,0] + [1,0] , A=[1,9,1,8,3] , C=1 , 0+0+1=1 , A->1 , C->0
[7,2,0,2,3,7,6,0,6] + [1] , A=[1,1,9,1,8,3] , C=0 , 6+1+0=7 , A->7 , C->0
[7,2,0,2,3,7,6,0] + [] , A=[7,1,1,9,1,8,3] , C=0 , 0+0+0=0 , A->0 , C->0
[7,2,0,2,3,7,6] + [] , A=[0,7,1,1,9,1,8,3] , C=0 , 6+0+0=6 , A->6 , C->0
[7,2,0,2,3,7] + [] , A=[6,0,7,1,1,9,1,8,3] , C=0 , 7+0+0=7 , A->7 , C->0
[7,2,0,2,3] + [] , A=[7,6,0,7,1,1,9,1,8,3] , C=0 , 3+0+0=3 , A->3 , C->0
[7,2,0,2] + [] , A=[3,7,6,0,7,1,1,9,1,8,3] , C=0 , 2+0+0=2 , A->2 , C->0
[7,2,0] + [] , A=[2,3,7,6,0,7,1,1,9,1,8,3] , C=0 , 0+0+0=0 , A->0 , C->0
[7,2] + [] , A=[0,2,3,7,6,0,7,1,1,9,1,8,3] , C=0 , 2+0+0=2 , A->2 , C->0
[7] + [] , A=[2,0,2,3,7,6,0,7,1,1,9,1,8,3] , C=0 , 7+0+0=7 , A->7 , C->0
[] + [] , A=[7,2,0,2,3,7,6,0,7,1,1,9,1,8,3] C=0 , END
</scratch>
720237607119183
| 720237607119183 | 7 |
Input:
546675254103030+248033
Target:
| Input:
546675254103030+248033
Target:
[5,4,6,6,7,5,2,5,4,1,0,3,0,3,0] + [2,4,8,0,3,3] , A=[] , C=0 , 0+3+0=3 , A->3 , C->0
[5,4,6,6,7,5,2,5,4,1,0,3,0,3] + [2,4,8,0,3] , A=[3] , C=0 , 3+3+0=6 , A->6 , C->0
[5,4,6,6,7,5,2,5,4,1,0,3,0] + [2,4,8,0] , A=[6,3] , C=0 , 0+0+0=0 , A->0 , C->0
[5,4,6,6,7,5,2,5,4,1,0,3] + [2,4,8] , A=[0,6,3] , C=0 , 3+8+0=11 , A->1 , C->1
[5,4,6,6,7,5,2,5,4,1,0] + [2,4] , A=[1,0,6,3] , C=1 , 0+4+1=5 , A->5 , C->0
[5,4,6,6,7,5,2,5,4,1] + [2] , A=[5,1,0,6,3] , C=0 , 1+2+0=3 , A->3 , C->0
[5,4,6,6,7,5,2,5,4] + [] , A=[3,5,1,0,6,3] , C=0 , 4+0+0=4 , A->4 , C->0
[5,4,6,6,7,5,2,5] + [] , A=[4,3,5,1,0,6,3] , C=0 , 5+0+0=5 , A->5 , C->0
[5,4,6,6,7,5,2] + [] , A=[5,4,3,5,1,0,6,3] , C=0 , 2+0+0=2 , A->2 , C->0
[5,4,6,6,7,5] + [] , A=[2,5,4,3,5,1,0,6,3] , C=0 , 5+0+0=5 , A->5 , C->0
[5,4,6,6,7] + [] , A=[5,2,5,4,3,5,1,0,6,3] , C=0 , 7+0+0=7 , A->7 , C->0
[5,4,6,6] + [] , A=[7,5,2,5,4,3,5,1,0,6,3] , C=0 , 6+0+0=6 , A->6 , C->0
[5,4,6] + [] , A=[6,7,5,2,5,4,3,5,1,0,6,3] , C=0 , 6+0+0=6 , A->6 , C->0
[5,4] + [] , A=[6,6,7,5,2,5,4,3,5,1,0,6,3] , C=0 , 4+0+0=4 , A->4 , C->0
[5] + [] , A=[4,6,6,7,5,2,5,4,3,5,1,0,6,3] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,4,6,6,7,5,2,5,4,3,5,1,0,6,3] C=0 , END
</scratch>
546675254351063
| 546675254351063 | 6 |
Input:
45481915909934+977812634080223
Target:
| Input:
45481915909934+977812634080223
Target:
[4,5,4,8,1,9,1,5,9,0,9,9,3,4] + [9,7,7,8,1,2,6,3,4,0,8,0,2,2,3] , A=[] , C=0 , 4+3+0=7 , A->7 , C->0
[4,5,4,8,1,9,1,5,9,0,9,9,3] + [9,7,7,8,1,2,6,3,4,0,8,0,2,2] , A=[7] , C=0 , 3+2+0=5 , A->5 , C->0
[4,5,4,8,1,9,1,5,9,0,9,9] + [9,7,7,8,1,2,6,3,4,0,8,0,2] , A=[5,7] , C=0 , 9+2+0=11 , A->1 , C->1
[4,5,4,8,1,9,1,5,9,0,9] + [9,7,7,8,1,2,6,3,4,0,8,0] , A=[1,5,7] , C=1 , 9+0+1=10 , A->0 , C->1
[4,5,4,8,1,9,1,5,9,0] + [9,7,7,8,1,2,6,3,4,0,8] , A=[0,1,5,7] , C=1 , 0+8+1=9 , A->9 , C->0
[4,5,4,8,1,9,1,5,9] + [9,7,7,8,1,2,6,3,4,0] , A=[9,0,1,5,7] , C=0 , 9+0+0=9 , A->9 , C->0
[4,5,4,8,1,9,1,5] + [9,7,7,8,1,2,6,3,4] , A=[9,9,0,1,5,7] , C=0 , 5+4+0=9 , A->9 , C->0
[4,5,4,8,1,9,1] + [9,7,7,8,1,2,6,3] , A=[9,9,9,0,1,5,7] , C=0 , 1+3+0=4 , A->4 , C->0
[4,5,4,8,1,9] + [9,7,7,8,1,2,6] , A=[4,9,9,9,0,1,5,7] , C=0 , 9+6+0=15 , A->5 , C->1
[4,5,4,8,1] + [9,7,7,8,1,2] , A=[5,4,9,9,9,0,1,5,7] , C=1 , 1+2+1=4 , A->4 , C->0
[4,5,4,8] + [9,7,7,8,1] , A=[4,5,4,9,9,9,0,1,5,7] , C=0 , 8+1+0=9 , A->9 , C->0
[4,5,4] + [9,7,7,8] , A=[9,4,5,4,9,9,9,0,1,5,7] , C=0 , 4+8+0=12 , A->2 , C->1
[4,5] + [9,7,7] , A=[2,9,4,5,4,9,9,9,0,1,5,7] , C=1 , 5+7+1=13 , A->3 , C->1
[4] + [9,7] , A=[3,2,9,4,5,4,9,9,9,0,1,5,7] , C=1 , 4+7+1=12 , A->2 , C->1
[] + [9] , A=[2,3,2,9,4,5,4,9,9,9,0,1,5,7] , C=1 , 0+9+1=10 , A->0 , C->1
[] + [] , A=[0,2,3,2,9,4,5,4,9,9,9,0,1,5,7] C=1 , END
</scratch>
1023294549990157
| 1023294549990157 | 14 |
Input:
58986182462+910253488726037
Target:
| Input:
58986182462+910253488726037
Target:
[5,8,9,8,6,1,8,2,4,6,2] + [9,1,0,2,5,3,4,8,8,7,2,6,0,3,7] , A=[] , C=0 , 2+7+0=9 , A->9 , C->0
[5,8,9,8,6,1,8,2,4,6] + [9,1,0,2,5,3,4,8,8,7,2,6,0,3] , A=[9] , C=0 , 6+3+0=9 , A->9 , C->0
[5,8,9,8,6,1,8,2,4] + [9,1,0,2,5,3,4,8,8,7,2,6,0] , A=[9,9] , C=0 , 4+0+0=4 , A->4 , C->0
[5,8,9,8,6,1,8,2] + [9,1,0,2,5,3,4,8,8,7,2,6] , A=[4,9,9] , C=0 , 2+6+0=8 , A->8 , C->0
[5,8,9,8,6,1,8] + [9,1,0,2,5,3,4,8,8,7,2] , A=[8,4,9,9] , C=0 , 8+2+0=10 , A->0 , C->1
[5,8,9,8,6,1] + [9,1,0,2,5,3,4,8,8,7] , A=[0,8,4,9,9] , C=1 , 1+7+1=9 , A->9 , C->0
[5,8,9,8,6] + [9,1,0,2,5,3,4,8,8] , A=[9,0,8,4,9,9] , C=0 , 6+8+0=14 , A->4 , C->1
[5,8,9,8] + [9,1,0,2,5,3,4,8] , A=[4,9,0,8,4,9,9] , C=1 , 8+8+1=17 , A->7 , C->1
[5,8,9] + [9,1,0,2,5,3,4] , A=[7,4,9,0,8,4,9,9] , C=1 , 9+4+1=14 , A->4 , C->1
[5,8] + [9,1,0,2,5,3] , A=[4,7,4,9,0,8,4,9,9] , C=1 , 8+3+1=12 , A->2 , C->1
[5] + [9,1,0,2,5] , A=[2,4,7,4,9,0,8,4,9,9] , C=1 , 5+5+1=11 , A->1 , C->1
[] + [9,1,0,2] , A=[1,2,4,7,4,9,0,8,4,9,9] , C=1 , 0+2+1=3 , A->3 , C->0
[] + [9,1,0] , A=[3,1,2,4,7,4,9,0,8,4,9,9] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [9,1] , A=[0,3,1,2,4,7,4,9,0,8,4,9,9] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [9] , A=[1,0,3,1,2,4,7,4,9,0,8,4,9,9] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,1,0,3,1,2,4,7,4,9,0,8,4,9,9] C=0 , END
</scratch>
910312474908499
| 910312474908499 | 11 |
Input:
84420+685620418608408
Target:
| Input:
84420+685620418608408
Target:
[8,4,4,2,0] + [6,8,5,6,2,0,4,1,8,6,0,8,4,0,8] , A=[] , C=0 , 0+8+0=8 , A->8 , C->0
[8,4,4,2] + [6,8,5,6,2,0,4,1,8,6,0,8,4,0] , A=[8] , C=0 , 2+0+0=2 , A->2 , C->0
[8,4,4] + [6,8,5,6,2,0,4,1,8,6,0,8,4] , A=[2,8] , C=0 , 4+4+0=8 , A->8 , C->0
[8,4] + [6,8,5,6,2,0,4,1,8,6,0,8] , A=[8,2,8] , C=0 , 4+8+0=12 , A->2 , C->1
[8] + [6,8,5,6,2,0,4,1,8,6,0] , A=[2,8,2,8] , C=1 , 8+0+1=9 , A->9 , C->0
[] + [6,8,5,6,2,0,4,1,8,6] , A=[9,2,8,2,8] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [6,8,5,6,2,0,4,1,8] , A=[6,9,2,8,2,8] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [6,8,5,6,2,0,4,1] , A=[8,6,9,2,8,2,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [6,8,5,6,2,0,4] , A=[1,8,6,9,2,8,2,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [6,8,5,6,2,0] , A=[4,1,8,6,9,2,8,2,8] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [6,8,5,6,2] , A=[0,4,1,8,6,9,2,8,2,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [6,8,5,6] , A=[2,0,4,1,8,6,9,2,8,2,8] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [6,8,5] , A=[6,2,0,4,1,8,6,9,2,8,2,8] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [6,8] , A=[5,6,2,0,4,1,8,6,9,2,8,2,8] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [6] , A=[8,5,6,2,0,4,1,8,6,9,2,8,2,8] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,8,5,6,2,0,4,1,8,6,9,2,8,2,8] C=0 , END
</scratch>
685620418692828
| 685620418692828 | 5 |
Input:
33717106+623124028456388
Target:
| Input:
33717106+623124028456388
Target:
[3,3,7,1,7,1,0,6] + [6,2,3,1,2,4,0,2,8,4,5,6,3,8,8] , A=[] , C=0 , 6+8+0=14 , A->4 , C->1
[3,3,7,1,7,1,0] + [6,2,3,1,2,4,0,2,8,4,5,6,3,8] , A=[4] , C=1 , 0+8+1=9 , A->9 , C->0
[3,3,7,1,7,1] + [6,2,3,1,2,4,0,2,8,4,5,6,3] , A=[9,4] , C=0 , 1+3+0=4 , A->4 , C->0
[3,3,7,1,7] + [6,2,3,1,2,4,0,2,8,4,5,6] , A=[4,9,4] , C=0 , 7+6+0=13 , A->3 , C->1
[3,3,7,1] + [6,2,3,1,2,4,0,2,8,4,5] , A=[3,4,9,4] , C=1 , 1+5+1=7 , A->7 , C->0
[3,3,7] + [6,2,3,1,2,4,0,2,8,4] , A=[7,3,4,9,4] , C=0 , 7+4+0=11 , A->1 , C->1
[3,3] + [6,2,3,1,2,4,0,2,8] , A=[1,7,3,4,9,4] , C=1 , 3+8+1=12 , A->2 , C->1
[3] + [6,2,3,1,2,4,0,2] , A=[2,1,7,3,4,9,4] , C=1 , 3+2+1=6 , A->6 , C->0
[] + [6,2,3,1,2,4,0] , A=[6,2,1,7,3,4,9,4] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [6,2,3,1,2,4] , A=[0,6,2,1,7,3,4,9,4] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [6,2,3,1,2] , A=[4,0,6,2,1,7,3,4,9,4] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [6,2,3,1] , A=[2,4,0,6,2,1,7,3,4,9,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [6,2,3] , A=[1,2,4,0,6,2,1,7,3,4,9,4] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [6,2] , A=[3,1,2,4,0,6,2,1,7,3,4,9,4] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [6] , A=[2,3,1,2,4,0,6,2,1,7,3,4,9,4] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,2,3,1,2,4,0,6,2,1,7,3,4,9,4] C=0 , END
</scratch>
623124062173494
| 623124062173494 | 8 |
Input:
494316090567778+958891480526868
Target:
| Input:
494316090567778+958891480526868
Target:
[4,9,4,3,1,6,0,9,0,5,6,7,7,7,8] + [9,5,8,8,9,1,4,8,0,5,2,6,8,6,8] , A=[] , C=0 , 8+8+0=16 , A->6 , C->1
[4,9,4,3,1,6,0,9,0,5,6,7,7,7] + [9,5,8,8,9,1,4,8,0,5,2,6,8,6] , A=[6] , C=1 , 7+6+1=14 , A->4 , C->1
[4,9,4,3,1,6,0,9,0,5,6,7,7] + [9,5,8,8,9,1,4,8,0,5,2,6,8] , A=[4,6] , C=1 , 7+8+1=16 , A->6 , C->1
[4,9,4,3,1,6,0,9,0,5,6,7] + [9,5,8,8,9,1,4,8,0,5,2,6] , A=[6,4,6] , C=1 , 7+6+1=14 , A->4 , C->1
[4,9,4,3,1,6,0,9,0,5,6] + [9,5,8,8,9,1,4,8,0,5,2] , A=[4,6,4,6] , C=1 , 6+2+1=9 , A->9 , C->0
[4,9,4,3,1,6,0,9,0,5] + [9,5,8,8,9,1,4,8,0,5] , A=[9,4,6,4,6] , C=0 , 5+5+0=10 , A->0 , C->1
[4,9,4,3,1,6,0,9,0] + [9,5,8,8,9,1,4,8,0] , A=[0,9,4,6,4,6] , C=1 , 0+0+1=1 , A->1 , C->0
[4,9,4,3,1,6,0,9] + [9,5,8,8,9,1,4,8] , A=[1,0,9,4,6,4,6] , C=0 , 9+8+0=17 , A->7 , C->1
[4,9,4,3,1,6,0] + [9,5,8,8,9,1,4] , A=[7,1,0,9,4,6,4,6] , C=1 , 0+4+1=5 , A->5 , C->0
[4,9,4,3,1,6] + [9,5,8,8,9,1] , A=[5,7,1,0,9,4,6,4,6] , C=0 , 6+1+0=7 , A->7 , C->0
[4,9,4,3,1] + [9,5,8,8,9] , A=[7,5,7,1,0,9,4,6,4,6] , C=0 , 1+9+0=10 , A->0 , C->1
[4,9,4,3] + [9,5,8,8] , A=[0,7,5,7,1,0,9,4,6,4,6] , C=1 , 3+8+1=12 , A->2 , C->1
[4,9,4] + [9,5,8] , A=[2,0,7,5,7,1,0,9,4,6,4,6] , C=1 , 4+8+1=13 , A->3 , C->1
[4,9] + [9,5] , A=[3,2,0,7,5,7,1,0,9,4,6,4,6] , C=1 , 9+5+1=15 , A->5 , C->1
[4] + [9] , A=[5,3,2,0,7,5,7,1,0,9,4,6,4,6] , C=1 , 4+9+1=14 , A->4 , C->1
[] + [] , A=[4,5,3,2,0,7,5,7,1,0,9,4,6,4,6] C=1 , END
</scratch>
1453207571094646
| 1453207571094646 | 15 |
Input:
249+836834448313631
Target:
| Input:
249+836834448313631
Target:
[2,4,9] + [8,3,6,8,3,4,4,4,8,3,1,3,6,3,1] , A=[] , C=0 , 9+1+0=10 , A->0 , C->1
[2,4] + [8,3,6,8,3,4,4,4,8,3,1,3,6,3] , A=[0] , C=1 , 4+3+1=8 , A->8 , C->0
[2] + [8,3,6,8,3,4,4,4,8,3,1,3,6] , A=[8,0] , C=0 , 2+6+0=8 , A->8 , C->0
[] + [8,3,6,8,3,4,4,4,8,3,1,3] , A=[8,8,0] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [8,3,6,8,3,4,4,4,8,3,1] , A=[3,8,8,0] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [8,3,6,8,3,4,4,4,8,3] , A=[1,3,8,8,0] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [8,3,6,8,3,4,4,4,8] , A=[3,1,3,8,8,0] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [8,3,6,8,3,4,4,4] , A=[8,3,1,3,8,8,0] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [8,3,6,8,3,4,4] , A=[4,8,3,1,3,8,8,0] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [8,3,6,8,3,4] , A=[4,4,8,3,1,3,8,8,0] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [8,3,6,8,3] , A=[4,4,4,8,3,1,3,8,8,0] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [8,3,6,8] , A=[3,4,4,4,8,3,1,3,8,8,0] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [8,3,6] , A=[8,3,4,4,4,8,3,1,3,8,8,0] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [8,3] , A=[6,8,3,4,4,4,8,3,1,3,8,8,0] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [8] , A=[3,6,8,3,4,4,4,8,3,1,3,8,8,0] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [] , A=[8,3,6,8,3,4,4,4,8,3,1,3,8,8,0] C=0 , END
</scratch>
836834448313880
| 836834448313880 | 3 |
Input:
890861653343573+37003158650
Target:
| Input:
890861653343573+37003158650
Target:
[8,9,0,8,6,1,6,5,3,3,4,3,5,7,3] + [3,7,0,0,3,1,5,8,6,5,0] , A=[] , C=0 , 3+0+0=3 , A->3 , C->0
[8,9,0,8,6,1,6,5,3,3,4,3,5,7] + [3,7,0,0,3,1,5,8,6,5] , A=[3] , C=0 , 7+5+0=12 , A->2 , C->1
[8,9,0,8,6,1,6,5,3,3,4,3,5] + [3,7,0,0,3,1,5,8,6] , A=[2,3] , C=1 , 5+6+1=12 , A->2 , C->1
[8,9,0,8,6,1,6,5,3,3,4,3] + [3,7,0,0,3,1,5,8] , A=[2,2,3] , C=1 , 3+8+1=12 , A->2 , C->1
[8,9,0,8,6,1,6,5,3,3,4] + [3,7,0,0,3,1,5] , A=[2,2,2,3] , C=1 , 4+5+1=10 , A->0 , C->1
[8,9,0,8,6,1,6,5,3,3] + [3,7,0,0,3,1] , A=[0,2,2,2,3] , C=1 , 3+1+1=5 , A->5 , C->0
[8,9,0,8,6,1,6,5,3] + [3,7,0,0,3] , A=[5,0,2,2,2,3] , C=0 , 3+3+0=6 , A->6 , C->0
[8,9,0,8,6,1,6,5] + [3,7,0,0] , A=[6,5,0,2,2,2,3] , C=0 , 5+0+0=5 , A->5 , C->0
[8,9,0,8,6,1,6] + [3,7,0] , A=[5,6,5,0,2,2,2,3] , C=0 , 6+0+0=6 , A->6 , C->0
[8,9,0,8,6,1] + [3,7] , A=[6,5,6,5,0,2,2,2,3] , C=0 , 1+7+0=8 , A->8 , C->0
[8,9,0,8,6] + [3] , A=[8,6,5,6,5,0,2,2,2,3] , C=0 , 6+3+0=9 , A->9 , C->0
[8,9,0,8] + [] , A=[9,8,6,5,6,5,0,2,2,2,3] , C=0 , 8+0+0=8 , A->8 , C->0
[8,9,0] + [] , A=[8,9,8,6,5,6,5,0,2,2,2,3] , C=0 , 0+0+0=0 , A->0 , C->0
[8,9] + [] , A=[0,8,9,8,6,5,6,5,0,2,2,2,3] , C=0 , 9+0+0=9 , A->9 , C->0
[8] + [] , A=[9,0,8,9,8,6,5,6,5,0,2,2,2,3] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,9,0,8,9,8,6,5,6,5,0,2,2,2,3] C=0 , END
</scratch>
890898656502223
| 890898656502223 | 11 |
Input:
620240130796727+57
Target:
| Input:
620240130796727+57
Target:
[6,2,0,2,4,0,1,3,0,7,9,6,7,2,7] + [5,7] , A=[] , C=0 , 7+7+0=14 , A->4 , C->1
[6,2,0,2,4,0,1,3,0,7,9,6,7,2] + [5] , A=[4] , C=1 , 2+5+1=8 , A->8 , C->0
[6,2,0,2,4,0,1,3,0,7,9,6,7] + [] , A=[8,4] , C=0 , 7+0+0=7 , A->7 , C->0
[6,2,0,2,4,0,1,3,0,7,9,6] + [] , A=[7,8,4] , C=0 , 6+0+0=6 , A->6 , C->0
[6,2,0,2,4,0,1,3,0,7,9] + [] , A=[6,7,8,4] , C=0 , 9+0+0=9 , A->9 , C->0
[6,2,0,2,4,0,1,3,0,7] + [] , A=[9,6,7,8,4] , C=0 , 7+0+0=7 , A->7 , C->0
[6,2,0,2,4,0,1,3,0] + [] , A=[7,9,6,7,8,4] , C=0 , 0+0+0=0 , A->0 , C->0
[6,2,0,2,4,0,1,3] + [] , A=[0,7,9,6,7,8,4] , C=0 , 3+0+0=3 , A->3 , C->0
[6,2,0,2,4,0,1] + [] , A=[3,0,7,9,6,7,8,4] , C=0 , 1+0+0=1 , A->1 , C->0
[6,2,0,2,4,0] + [] , A=[1,3,0,7,9,6,7,8,4] , C=0 , 0+0+0=0 , A->0 , C->0
[6,2,0,2,4] + [] , A=[0,1,3,0,7,9,6,7,8,4] , C=0 , 4+0+0=4 , A->4 , C->0
[6,2,0,2] + [] , A=[4,0,1,3,0,7,9,6,7,8,4] , C=0 , 2+0+0=2 , A->2 , C->0
[6,2,0] + [] , A=[2,4,0,1,3,0,7,9,6,7,8,4] , C=0 , 0+0+0=0 , A->0 , C->0
[6,2] + [] , A=[0,2,4,0,1,3,0,7,9,6,7,8,4] , C=0 , 2+0+0=2 , A->2 , C->0
[6] + [] , A=[2,0,2,4,0,1,3,0,7,9,6,7,8,4] , C=0 , 6+0+0=6 , A->6 , C->0
[] + [] , A=[6,2,0,2,4,0,1,3,0,7,9,6,7,8,4] C=0 , END
</scratch>
620240130796784
| 620240130796784 | 2 |
Input:
432499774714193+501346632919633
Target:
| Input:
432499774714193+501346632919633
Target:
[4,3,2,4,9,9,7,7,4,7,1,4,1,9,3] + [5,0,1,3,4,6,6,3,2,9,1,9,6,3,3] , A=[] , C=0 , 3+3+0=6 , A->6 , C->0
[4,3,2,4,9,9,7,7,4,7,1,4,1,9] + [5,0,1,3,4,6,6,3,2,9,1,9,6,3] , A=[6] , C=0 , 9+3+0=12 , A->2 , C->1
[4,3,2,4,9,9,7,7,4,7,1,4,1] + [5,0,1,3,4,6,6,3,2,9,1,9,6] , A=[2,6] , C=1 , 1+6+1=8 , A->8 , C->0
[4,3,2,4,9,9,7,7,4,7,1,4] + [5,0,1,3,4,6,6,3,2,9,1,9] , A=[8,2,6] , C=0 , 4+9+0=13 , A->3 , C->1
[4,3,2,4,9,9,7,7,4,7,1] + [5,0,1,3,4,6,6,3,2,9,1] , A=[3,8,2,6] , C=1 , 1+1+1=3 , A->3 , C->0
[4,3,2,4,9,9,7,7,4,7] + [5,0,1,3,4,6,6,3,2,9] , A=[3,3,8,2,6] , C=0 , 7+9+0=16 , A->6 , C->1
[4,3,2,4,9,9,7,7,4] + [5,0,1,3,4,6,6,3,2] , A=[6,3,3,8,2,6] , C=1 , 4+2+1=7 , A->7 , C->0
[4,3,2,4,9,9,7,7] + [5,0,1,3,4,6,6,3] , A=[7,6,3,3,8,2,6] , C=0 , 7+3+0=10 , A->0 , C->1
[4,3,2,4,9,9,7] + [5,0,1,3,4,6,6] , A=[0,7,6,3,3,8,2,6] , C=1 , 7+6+1=14 , A->4 , C->1
[4,3,2,4,9,9] + [5,0,1,3,4,6] , A=[4,0,7,6,3,3,8,2,6] , C=1 , 9+6+1=16 , A->6 , C->1
[4,3,2,4,9] + [5,0,1,3,4] , A=[6,4,0,7,6,3,3,8,2,6] , C=1 , 9+4+1=14 , A->4 , C->1
[4,3,2,4] + [5,0,1,3] , A=[4,6,4,0,7,6,3,3,8,2,6] , C=1 , 4+3+1=8 , A->8 , C->0
[4,3,2] + [5,0,1] , A=[8,4,6,4,0,7,6,3,3,8,2,6] , C=0 , 2+1+0=3 , A->3 , C->0
[4,3] + [5,0] , A=[3,8,4,6,4,0,7,6,3,3,8,2,6] , C=0 , 3+0+0=3 , A->3 , C->0
[4] + [5] , A=[3,3,8,4,6,4,0,7,6,3,3,8,2,6] , C=0 , 4+5+0=9 , A->9 , C->0
[] + [] , A=[9,3,3,8,4,6,4,0,7,6,3,3,8,2,6] C=0 , END
</scratch>
933846407633826
| 933846407633826 | 15 |
Input:
910947277485844+11207465371510
Target:
| Input:
910947277485844+11207465371510
Target:
[9,1,0,9,4,7,2,7,7,4,8,5,8,4,4] + [1,1,2,0,7,4,6,5,3,7,1,5,1,0] , A=[] , C=0 , 4+0+0=4 , A->4 , C->0
[9,1,0,9,4,7,2,7,7,4,8,5,8,4] + [1,1,2,0,7,4,6,5,3,7,1,5,1] , A=[4] , C=0 , 4+1+0=5 , A->5 , C->0
[9,1,0,9,4,7,2,7,7,4,8,5,8] + [1,1,2,0,7,4,6,5,3,7,1,5] , A=[5,4] , C=0 , 8+5+0=13 , A->3 , C->1
[9,1,0,9,4,7,2,7,7,4,8,5] + [1,1,2,0,7,4,6,5,3,7,1] , A=[3,5,4] , C=1 , 5+1+1=7 , A->7 , C->0
[9,1,0,9,4,7,2,7,7,4,8] + [1,1,2,0,7,4,6,5,3,7] , A=[7,3,5,4] , C=0 , 8+7+0=15 , A->5 , C->1
[9,1,0,9,4,7,2,7,7,4] + [1,1,2,0,7,4,6,5,3] , A=[5,7,3,5,4] , C=1 , 4+3+1=8 , A->8 , C->0
[9,1,0,9,4,7,2,7,7] + [1,1,2,0,7,4,6,5] , A=[8,5,7,3,5,4] , C=0 , 7+5+0=12 , A->2 , C->1
[9,1,0,9,4,7,2,7] + [1,1,2,0,7,4,6] , A=[2,8,5,7,3,5,4] , C=1 , 7+6+1=14 , A->4 , C->1
[9,1,0,9,4,7,2] + [1,1,2,0,7,4] , A=[4,2,8,5,7,3,5,4] , C=1 , 2+4+1=7 , A->7 , C->0
[9,1,0,9,4,7] + [1,1,2,0,7] , A=[7,4,2,8,5,7,3,5,4] , C=0 , 7+7+0=14 , A->4 , C->1
[9,1,0,9,4] + [1,1,2,0] , A=[4,7,4,2,8,5,7,3,5,4] , C=1 , 4+0+1=5 , A->5 , C->0
[9,1,0,9] + [1,1,2] , A=[5,4,7,4,2,8,5,7,3,5,4] , C=0 , 9+2+0=11 , A->1 , C->1
[9,1,0] + [1,1] , A=[1,5,4,7,4,2,8,5,7,3,5,4] , C=1 , 0+1+1=2 , A->2 , C->0
[9,1] + [1] , A=[2,1,5,4,7,4,2,8,5,7,3,5,4] , C=0 , 1+1+0=2 , A->2 , C->0
[9] + [] , A=[2,2,1,5,4,7,4,2,8,5,7,3,5,4] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,2,2,1,5,4,7,4,2,8,5,7,3,5,4] C=0 , END
</scratch>
922154742857354
| 922154742857354 | 14 |
Input:
301748596787629+953244
Target:
| Input:
301748596787629+953244
Target:
[3,0,1,7,4,8,5,9,6,7,8,7,6,2,9] + [9,5,3,2,4,4] , A=[] , C=0 , 9+4+0=13 , A->3 , C->1
[3,0,1,7,4,8,5,9,6,7,8,7,6,2] + [9,5,3,2,4] , A=[3] , C=1 , 2+4+1=7 , A->7 , C->0
[3,0,1,7,4,8,5,9,6,7,8,7,6] + [9,5,3,2] , A=[7,3] , C=0 , 6+2+0=8 , A->8 , C->0
[3,0,1,7,4,8,5,9,6,7,8,7] + [9,5,3] , A=[8,7,3] , C=0 , 7+3+0=10 , A->0 , C->1
[3,0,1,7,4,8,5,9,6,7,8] + [9,5] , A=[0,8,7,3] , C=1 , 8+5+1=14 , A->4 , C->1
[3,0,1,7,4,8,5,9,6,7] + [9] , A=[4,0,8,7,3] , C=1 , 7+9+1=17 , A->7 , C->1
[3,0,1,7,4,8,5,9,6] + [] , A=[7,4,0,8,7,3] , C=1 , 6+0+1=7 , A->7 , C->0
[3,0,1,7,4,8,5,9] + [] , A=[7,7,4,0,8,7,3] , C=0 , 9+0+0=9 , A->9 , C->0
[3,0,1,7,4,8,5] + [] , A=[9,7,7,4,0,8,7,3] , C=0 , 5+0+0=5 , A->5 , C->0
[3,0,1,7,4,8] + [] , A=[5,9,7,7,4,0,8,7,3] , C=0 , 8+0+0=8 , A->8 , C->0
[3,0,1,7,4] + [] , A=[8,5,9,7,7,4,0,8,7,3] , C=0 , 4+0+0=4 , A->4 , C->0
[3,0,1,7] + [] , A=[4,8,5,9,7,7,4,0,8,7,3] , C=0 , 7+0+0=7 , A->7 , C->0
[3,0,1] + [] , A=[7,4,8,5,9,7,7,4,0,8,7,3] , C=0 , 1+0+0=1 , A->1 , C->0
[3,0] + [] , A=[1,7,4,8,5,9,7,7,4,0,8,7,3] , C=0 , 0+0+0=0 , A->0 , C->0
[3] + [] , A=[0,1,7,4,8,5,9,7,7,4,0,8,7,3] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,0,1,7,4,8,5,9,7,7,4,0,8,7,3] C=0 , END
</scratch>
301748597740873
| 301748597740873 | 6 |
Input:
371171293653774+625
Target:
| Input:
371171293653774+625
Target:
[3,7,1,1,7,1,2,9,3,6,5,3,7,7,4] + [6,2,5] , A=[] , C=0 , 4+5+0=9 , A->9 , C->0
[3,7,1,1,7,1,2,9,3,6,5,3,7,7] + [6,2] , A=[9] , C=0 , 7+2+0=9 , A->9 , C->0
[3,7,1,1,7,1,2,9,3,6,5,3,7] + [6] , A=[9,9] , C=0 , 7+6+0=13 , A->3 , C->1
[3,7,1,1,7,1,2,9,3,6,5,3] + [] , A=[3,9,9] , C=1 , 3+0+1=4 , A->4 , C->0
[3,7,1,1,7,1,2,9,3,6,5] + [] , A=[4,3,9,9] , C=0 , 5+0+0=5 , A->5 , C->0
[3,7,1,1,7,1,2,9,3,6] + [] , A=[5,4,3,9,9] , C=0 , 6+0+0=6 , A->6 , C->0
[3,7,1,1,7,1,2,9,3] + [] , A=[6,5,4,3,9,9] , C=0 , 3+0+0=3 , A->3 , C->0
[3,7,1,1,7,1,2,9] + [] , A=[3,6,5,4,3,9,9] , C=0 , 9+0+0=9 , A->9 , C->0
[3,7,1,1,7,1,2] + [] , A=[9,3,6,5,4,3,9,9] , C=0 , 2+0+0=2 , A->2 , C->0
[3,7,1,1,7,1] + [] , A=[2,9,3,6,5,4,3,9,9] , C=0 , 1+0+0=1 , A->1 , C->0
[3,7,1,1,7] + [] , A=[1,2,9,3,6,5,4,3,9,9] , C=0 , 7+0+0=7 , A->7 , C->0
[3,7,1,1] + [] , A=[7,1,2,9,3,6,5,4,3,9,9] , C=0 , 1+0+0=1 , A->1 , C->0
[3,7,1] + [] , A=[1,7,1,2,9,3,6,5,4,3,9,9] , C=0 , 1+0+0=1 , A->1 , C->0
[3,7] + [] , A=[1,1,7,1,2,9,3,6,5,4,3,9,9] , C=0 , 7+0+0=7 , A->7 , C->0
[3] + [] , A=[7,1,1,7,1,2,9,3,6,5,4,3,9,9] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,7,1,1,7,1,2,9,3,6,5,4,3,9,9] C=0 , END
</scratch>
371171293654399
| 371171293654399 | 3 |
Input:
639584537683444+5096559433702
Target:
| Input:
639584537683444+5096559433702
Target:
[6,3,9,5,8,4,5,3,7,6,8,3,4,4,4] + [5,0,9,6,5,5,9,4,3,3,7,0,2] , A=[] , C=0 , 4+2+0=6 , A->6 , C->0
[6,3,9,5,8,4,5,3,7,6,8,3,4,4] + [5,0,9,6,5,5,9,4,3,3,7,0] , A=[6] , C=0 , 4+0+0=4 , A->4 , C->0
[6,3,9,5,8,4,5,3,7,6,8,3,4] + [5,0,9,6,5,5,9,4,3,3,7] , A=[4,6] , C=0 , 4+7+0=11 , A->1 , C->1
[6,3,9,5,8,4,5,3,7,6,8,3] + [5,0,9,6,5,5,9,4,3,3] , A=[1,4,6] , C=1 , 3+3+1=7 , A->7 , C->0
[6,3,9,5,8,4,5,3,7,6,8] + [5,0,9,6,5,5,9,4,3] , A=[7,1,4,6] , C=0 , 8+3+0=11 , A->1 , C->1
[6,3,9,5,8,4,5,3,7,6] + [5,0,9,6,5,5,9,4] , A=[1,7,1,4,6] , C=1 , 6+4+1=11 , A->1 , C->1
[6,3,9,5,8,4,5,3,7] + [5,0,9,6,5,5,9] , A=[1,1,7,1,4,6] , C=1 , 7+9+1=17 , A->7 , C->1
[6,3,9,5,8,4,5,3] + [5,0,9,6,5,5] , A=[7,1,1,7,1,4,6] , C=1 , 3+5+1=9 , A->9 , C->0
[6,3,9,5,8,4,5] + [5,0,9,6,5] , A=[9,7,1,1,7,1,4,6] , C=0 , 5+5+0=10 , A->0 , C->1
[6,3,9,5,8,4] + [5,0,9,6] , A=[0,9,7,1,1,7,1,4,6] , C=1 , 4+6+1=11 , A->1 , C->1
[6,3,9,5,8] + [5,0,9] , A=[1,0,9,7,1,1,7,1,4,6] , C=1 , 8+9+1=18 , A->8 , C->1
[6,3,9,5] + [5,0] , A=[8,1,0,9,7,1,1,7,1,4,6] , C=1 , 5+0+1=6 , A->6 , C->0
[6,3,9] + [5] , A=[6,8,1,0,9,7,1,1,7,1,4,6] , C=0 , 9+5+0=14 , A->4 , C->1
[6,3] + [] , A=[4,6,8,1,0,9,7,1,1,7,1,4,6] , C=1 , 3+0+1=4 , A->4 , C->0
[6] + [] , A=[4,4,6,8,1,0,9,7,1,1,7,1,4,6] , C=0 , 6+0+0=6 , A->6 , C->0
[] + [] , A=[6,4,4,6,8,1,0,9,7,1,1,7,1,4,6] C=0 , END
</scratch>
644681097117146
| 644681097117146 | 13 |
Input:
594042781148025+85165766146
Target:
| Input:
594042781148025+85165766146
Target:
[5,9,4,0,4,2,7,8,1,1,4,8,0,2,5] + [8,5,1,6,5,7,6,6,1,4,6] , A=[] , C=0 , 5+6+0=11 , A->1 , C->1
[5,9,4,0,4,2,7,8,1,1,4,8,0,2] + [8,5,1,6,5,7,6,6,1,4] , A=[1] , C=1 , 2+4+1=7 , A->7 , C->0
[5,9,4,0,4,2,7,8,1,1,4,8,0] + [8,5,1,6,5,7,6,6,1] , A=[7,1] , C=0 , 0+1+0=1 , A->1 , C->0
[5,9,4,0,4,2,7,8,1,1,4,8] + [8,5,1,6,5,7,6,6] , A=[1,7,1] , C=0 , 8+6+0=14 , A->4 , C->1
[5,9,4,0,4,2,7,8,1,1,4] + [8,5,1,6,5,7,6] , A=[4,1,7,1] , C=1 , 4+6+1=11 , A->1 , C->1
[5,9,4,0,4,2,7,8,1,1] + [8,5,1,6,5,7] , A=[1,4,1,7,1] , C=1 , 1+7+1=9 , A->9 , C->0
[5,9,4,0,4,2,7,8,1] + [8,5,1,6,5] , A=[9,1,4,1,7,1] , C=0 , 1+5+0=6 , A->6 , C->0
[5,9,4,0,4,2,7,8] + [8,5,1,6] , A=[6,9,1,4,1,7,1] , C=0 , 8+6+0=14 , A->4 , C->1
[5,9,4,0,4,2,7] + [8,5,1] , A=[4,6,9,1,4,1,7,1] , C=1 , 7+1+1=9 , A->9 , C->0
[5,9,4,0,4,2] + [8,5] , A=[9,4,6,9,1,4,1,7,1] , C=0 , 2+5+0=7 , A->7 , C->0
[5,9,4,0,4] + [8] , A=[7,9,4,6,9,1,4,1,7,1] , C=0 , 4+8+0=12 , A->2 , C->1
[5,9,4,0] + [] , A=[2,7,9,4,6,9,1,4,1,7,1] , C=1 , 0+0+1=1 , A->1 , C->0
[5,9,4] + [] , A=[1,2,7,9,4,6,9,1,4,1,7,1] , C=0 , 4+0+0=4 , A->4 , C->0
[5,9] + [] , A=[4,1,2,7,9,4,6,9,1,4,1,7,1] , C=0 , 9+0+0=9 , A->9 , C->0
[5] + [] , A=[9,4,1,2,7,9,4,6,9,1,4,1,7,1] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,9,4,1,2,7,9,4,6,9,1,4,1,7,1] C=0 , END
</scratch>
594127946914171
| 594127946914171 | 11 |
Input:
2127126543829+267400405097015
Target:
| Input:
2127126543829+267400405097015
Target:
[2,1,2,7,1,2,6,5,4,3,8,2,9] + [2,6,7,4,0,0,4,0,5,0,9,7,0,1,5] , A=[] , C=0 , 9+5+0=14 , A->4 , C->1
[2,1,2,7,1,2,6,5,4,3,8,2] + [2,6,7,4,0,0,4,0,5,0,9,7,0,1] , A=[4] , C=1 , 2+1+1=4 , A->4 , C->0
[2,1,2,7,1,2,6,5,4,3,8] + [2,6,7,4,0,0,4,0,5,0,9,7,0] , A=[4,4] , C=0 , 8+0+0=8 , A->8 , C->0
[2,1,2,7,1,2,6,5,4,3] + [2,6,7,4,0,0,4,0,5,0,9,7] , A=[8,4,4] , C=0 , 3+7+0=10 , A->0 , C->1
[2,1,2,7,1,2,6,5,4] + [2,6,7,4,0,0,4,0,5,0,9] , A=[0,8,4,4] , C=1 , 4+9+1=14 , A->4 , C->1
[2,1,2,7,1,2,6,5] + [2,6,7,4,0,0,4,0,5,0] , A=[4,0,8,4,4] , C=1 , 5+0+1=6 , A->6 , C->0
[2,1,2,7,1,2,6] + [2,6,7,4,0,0,4,0,5] , A=[6,4,0,8,4,4] , C=0 , 6+5+0=11 , A->1 , C->1
[2,1,2,7,1,2] + [2,6,7,4,0,0,4,0] , A=[1,6,4,0,8,4,4] , C=1 , 2+0+1=3 , A->3 , C->0
[2,1,2,7,1] + [2,6,7,4,0,0,4] , A=[3,1,6,4,0,8,4,4] , C=0 , 1+4+0=5 , A->5 , C->0
[2,1,2,7] + [2,6,7,4,0,0] , A=[5,3,1,6,4,0,8,4,4] , C=0 , 7+0+0=7 , A->7 , C->0
[2,1,2] + [2,6,7,4,0] , A=[7,5,3,1,6,4,0,8,4,4] , C=0 , 2+0+0=2 , A->2 , C->0
[2,1] + [2,6,7,4] , A=[2,7,5,3,1,6,4,0,8,4,4] , C=0 , 1+4+0=5 , A->5 , C->0
[2] + [2,6,7] , A=[5,2,7,5,3,1,6,4,0,8,4,4] , C=0 , 2+7+0=9 , A->9 , C->0
[] + [2,6] , A=[9,5,2,7,5,3,1,6,4,0,8,4,4] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [2] , A=[6,9,5,2,7,5,3,1,6,4,0,8,4,4] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,6,9,5,2,7,5,3,1,6,4,0,8,4,4] C=0 , END
</scratch>
269527531640844
| 269527531640844 | 13 |
Input:
678342475854636+9682812617729
Target:
| Input:
678342475854636+9682812617729
Target:
[6,7,8,3,4,2,4,7,5,8,5,4,6,3,6] + [9,6,8,2,8,1,2,6,1,7,7,2,9] , A=[] , C=0 , 6+9+0=15 , A->5 , C->1
[6,7,8,3,4,2,4,7,5,8,5,4,6,3] + [9,6,8,2,8,1,2,6,1,7,7,2] , A=[5] , C=1 , 3+2+1=6 , A->6 , C->0
[6,7,8,3,4,2,4,7,5,8,5,4,6] + [9,6,8,2,8,1,2,6,1,7,7] , A=[6,5] , C=0 , 6+7+0=13 , A->3 , C->1
[6,7,8,3,4,2,4,7,5,8,5,4] + [9,6,8,2,8,1,2,6,1,7] , A=[3,6,5] , C=1 , 4+7+1=12 , A->2 , C->1
[6,7,8,3,4,2,4,7,5,8,5] + [9,6,8,2,8,1,2,6,1] , A=[2,3,6,5] , C=1 , 5+1+1=7 , A->7 , C->0
[6,7,8,3,4,2,4,7,5,8] + [9,6,8,2,8,1,2,6] , A=[7,2,3,6,5] , C=0 , 8+6+0=14 , A->4 , C->1
[6,7,8,3,4,2,4,7,5] + [9,6,8,2,8,1,2] , A=[4,7,2,3,6,5] , C=1 , 5+2+1=8 , A->8 , C->0
[6,7,8,3,4,2,4,7] + [9,6,8,2,8,1] , A=[8,4,7,2,3,6,5] , C=0 , 7+1+0=8 , A->8 , C->0
[6,7,8,3,4,2,4] + [9,6,8,2,8] , A=[8,8,4,7,2,3,6,5] , C=0 , 4+8+0=12 , A->2 , C->1
[6,7,8,3,4,2] + [9,6,8,2] , A=[2,8,8,4,7,2,3,6,5] , C=1 , 2+2+1=5 , A->5 , C->0
[6,7,8,3,4] + [9,6,8] , A=[5,2,8,8,4,7,2,3,6,5] , C=0 , 4+8+0=12 , A->2 , C->1
[6,7,8,3] + [9,6] , A=[2,5,2,8,8,4,7,2,3,6,5] , C=1 , 3+6+1=10 , A->0 , C->1
[6,7,8] + [9] , A=[0,2,5,2,8,8,4,7,2,3,6,5] , C=1 , 8+9+1=18 , A->8 , C->1
[6,7] + [] , A=[8,0,2,5,2,8,8,4,7,2,3,6,5] , C=1 , 7+0+1=8 , A->8 , C->0
[6] + [] , A=[8,8,0,2,5,2,8,8,4,7,2,3,6,5] , C=0 , 6+0+0=6 , A->6 , C->0
[] + [] , A=[6,8,8,0,2,5,2,8,8,4,7,2,3,6,5] C=0 , END
</scratch>
688025288472365
| 688025288472365 | 13 |
Input:
88686201838+631468477743899
Target:
| Input:
88686201838+631468477743899
Target:
[8,8,6,8,6,2,0,1,8,3,8] + [6,3,1,4,6,8,4,7,7,7,4,3,8,9,9] , A=[] , C=0 , 8+9+0=17 , A->7 , C->1
[8,8,6,8,6,2,0,1,8,3] + [6,3,1,4,6,8,4,7,7,7,4,3,8,9] , A=[7] , C=1 , 3+9+1=13 , A->3 , C->1
[8,8,6,8,6,2,0,1,8] + [6,3,1,4,6,8,4,7,7,7,4,3,8] , A=[3,7] , C=1 , 8+8+1=17 , A->7 , C->1
[8,8,6,8,6,2,0,1] + [6,3,1,4,6,8,4,7,7,7,4,3] , A=[7,3,7] , C=1 , 1+3+1=5 , A->5 , C->0
[8,8,6,8,6,2,0] + [6,3,1,4,6,8,4,7,7,7,4] , A=[5,7,3,7] , C=0 , 0+4+0=4 , A->4 , C->0
[8,8,6,8,6,2] + [6,3,1,4,6,8,4,7,7,7] , A=[4,5,7,3,7] , C=0 , 2+7+0=9 , A->9 , C->0
[8,8,6,8,6] + [6,3,1,4,6,8,4,7,7] , A=[9,4,5,7,3,7] , C=0 , 6+7+0=13 , A->3 , C->1
[8,8,6,8] + [6,3,1,4,6,8,4,7] , A=[3,9,4,5,7,3,7] , C=1 , 8+7+1=16 , A->6 , C->1
[8,8,6] + [6,3,1,4,6,8,4] , A=[6,3,9,4,5,7,3,7] , C=1 , 6+4+1=11 , A->1 , C->1
[8,8] + [6,3,1,4,6,8] , A=[1,6,3,9,4,5,7,3,7] , C=1 , 8+8+1=17 , A->7 , C->1
[8] + [6,3,1,4,6] , A=[7,1,6,3,9,4,5,7,3,7] , C=1 , 8+6+1=15 , A->5 , C->1
[] + [6,3,1,4] , A=[5,7,1,6,3,9,4,5,7,3,7] , C=1 , 0+4+1=5 , A->5 , C->0
[] + [6,3,1] , A=[5,5,7,1,6,3,9,4,5,7,3,7] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [6,3] , A=[1,5,5,7,1,6,3,9,4,5,7,3,7] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [6] , A=[3,1,5,5,7,1,6,3,9,4,5,7,3,7] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,3,1,5,5,7,1,6,3,9,4,5,7,3,7] C=0 , END
</scratch>
631557163945737
| 631557163945737 | 11 |
Input:
594203493267927+5503795551551
Target:
| Input:
594203493267927+5503795551551
Target:
[5,9,4,2,0,3,4,9,3,2,6,7,9,2,7] + [5,5,0,3,7,9,5,5,5,1,5,5,1] , A=[] , C=0 , 7+1+0=8 , A->8 , C->0
[5,9,4,2,0,3,4,9,3,2,6,7,9,2] + [5,5,0,3,7,9,5,5,5,1,5,5] , A=[8] , C=0 , 2+5+0=7 , A->7 , C->0
[5,9,4,2,0,3,4,9,3,2,6,7,9] + [5,5,0,3,7,9,5,5,5,1,5] , A=[7,8] , C=0 , 9+5+0=14 , A->4 , C->1
[5,9,4,2,0,3,4,9,3,2,6,7] + [5,5,0,3,7,9,5,5,5,1] , A=[4,7,8] , C=1 , 7+1+1=9 , A->9 , C->0
[5,9,4,2,0,3,4,9,3,2,6] + [5,5,0,3,7,9,5,5,5] , A=[9,4,7,8] , C=0 , 6+5+0=11 , A->1 , C->1
[5,9,4,2,0,3,4,9,3,2] + [5,5,0,3,7,9,5,5] , A=[1,9,4,7,8] , C=1 , 2+5+1=8 , A->8 , C->0
[5,9,4,2,0,3,4,9,3] + [5,5,0,3,7,9,5] , A=[8,1,9,4,7,8] , C=0 , 3+5+0=8 , A->8 , C->0
[5,9,4,2,0,3,4,9] + [5,5,0,3,7,9] , A=[8,8,1,9,4,7,8] , C=0 , 9+9+0=18 , A->8 , C->1
[5,9,4,2,0,3,4] + [5,5,0,3,7] , A=[8,8,8,1,9,4,7,8] , C=1 , 4+7+1=12 , A->2 , C->1
[5,9,4,2,0,3] + [5,5,0,3] , A=[2,8,8,8,1,9,4,7,8] , C=1 , 3+3+1=7 , A->7 , C->0
[5,9,4,2,0] + [5,5,0] , A=[7,2,8,8,8,1,9,4,7,8] , C=0 , 0+0+0=0 , A->0 , C->0
[5,9,4,2] + [5,5] , A=[0,7,2,8,8,8,1,9,4,7,8] , C=0 , 2+5+0=7 , A->7 , C->0
[5,9,4] + [5] , A=[7,0,7,2,8,8,8,1,9,4,7,8] , C=0 , 4+5+0=9 , A->9 , C->0
[5,9] + [] , A=[9,7,0,7,2,8,8,8,1,9,4,7,8] , C=0 , 9+0+0=9 , A->9 , C->0
[5] + [] , A=[9,9,7,0,7,2,8,8,8,1,9,4,7,8] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,9,9,7,0,7,2,8,8,8,1,9,4,7,8] C=0 , END
</scratch>
599707288819478
| 599707288819478 | 13 |
Input:
4539+473659289036050
Target:
| Input:
4539+473659289036050
Target:
[4,5,3,9] + [4,7,3,6,5,9,2,8,9,0,3,6,0,5,0] , A=[] , C=0 , 9+0+0=9 , A->9 , C->0
[4,5,3] + [4,7,3,6,5,9,2,8,9,0,3,6,0,5] , A=[9] , C=0 , 3+5+0=8 , A->8 , C->0
[4,5] + [4,7,3,6,5,9,2,8,9,0,3,6,0] , A=[8,9] , C=0 , 5+0+0=5 , A->5 , C->0
[4] + [4,7,3,6,5,9,2,8,9,0,3,6] , A=[5,8,9] , C=0 , 4+6+0=10 , A->0 , C->1
[] + [4,7,3,6,5,9,2,8,9,0,3] , A=[0,5,8,9] , C=1 , 0+3+1=4 , A->4 , C->0
[] + [4,7,3,6,5,9,2,8,9,0] , A=[4,0,5,8,9] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [4,7,3,6,5,9,2,8,9] , A=[0,4,0,5,8,9] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [4,7,3,6,5,9,2,8] , A=[9,0,4,0,5,8,9] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [4,7,3,6,5,9,2] , A=[8,9,0,4,0,5,8,9] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [4,7,3,6,5,9] , A=[2,8,9,0,4,0,5,8,9] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [4,7,3,6,5] , A=[9,2,8,9,0,4,0,5,8,9] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [4,7,3,6] , A=[5,9,2,8,9,0,4,0,5,8,9] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [4,7,3] , A=[6,5,9,2,8,9,0,4,0,5,8,9] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [4,7] , A=[3,6,5,9,2,8,9,0,4,0,5,8,9] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [4] , A=[7,3,6,5,9,2,8,9,0,4,0,5,8,9] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,7,3,6,5,9,2,8,9,0,4,0,5,8,9] C=0 , END
</scratch>
473659289040589
| 473659289040589 | 4 |
Input:
948321335503083+858000685785718
Target:
| Input:
948321335503083+858000685785718
Target:
[9,4,8,3,2,1,3,3,5,5,0,3,0,8,3] + [8,5,8,0,0,0,6,8,5,7,8,5,7,1,8] , A=[] , C=0 , 3+8+0=11 , A->1 , C->1
[9,4,8,3,2,1,3,3,5,5,0,3,0,8] + [8,5,8,0,0,0,6,8,5,7,8,5,7,1] , A=[1] , C=1 , 8+1+1=10 , A->0 , C->1
[9,4,8,3,2,1,3,3,5,5,0,3,0] + [8,5,8,0,0,0,6,8,5,7,8,5,7] , A=[0,1] , C=1 , 0+7+1=8 , A->8 , C->0
[9,4,8,3,2,1,3,3,5,5,0,3] + [8,5,8,0,0,0,6,8,5,7,8,5] , A=[8,0,1] , C=0 , 3+5+0=8 , A->8 , C->0
[9,4,8,3,2,1,3,3,5,5,0] + [8,5,8,0,0,0,6,8,5,7,8] , A=[8,8,0,1] , C=0 , 0+8+0=8 , A->8 , C->0
[9,4,8,3,2,1,3,3,5,5] + [8,5,8,0,0,0,6,8,5,7] , A=[8,8,8,0,1] , C=0 , 5+7+0=12 , A->2 , C->1
[9,4,8,3,2,1,3,3,5] + [8,5,8,0,0,0,6,8,5] , A=[2,8,8,8,0,1] , C=1 , 5+5+1=11 , A->1 , C->1
[9,4,8,3,2,1,3,3] + [8,5,8,0,0,0,6,8] , A=[1,2,8,8,8,0,1] , C=1 , 3+8+1=12 , A->2 , C->1
[9,4,8,3,2,1,3] + [8,5,8,0,0,0,6] , A=[2,1,2,8,8,8,0,1] , C=1 , 3+6+1=10 , A->0 , C->1
[9,4,8,3,2,1] + [8,5,8,0,0,0] , A=[0,2,1,2,8,8,8,0,1] , C=1 , 1+0+1=2 , A->2 , C->0
[9,4,8,3,2] + [8,5,8,0,0] , A=[2,0,2,1,2,8,8,8,0,1] , C=0 , 2+0+0=2 , A->2 , C->0
[9,4,8,3] + [8,5,8,0] , A=[2,2,0,2,1,2,8,8,8,0,1] , C=0 , 3+0+0=3 , A->3 , C->0
[9,4,8] + [8,5,8] , A=[3,2,2,0,2,1,2,8,8,8,0,1] , C=0 , 8+8+0=16 , A->6 , C->1
[9,4] + [8,5] , A=[6,3,2,2,0,2,1,2,8,8,8,0,1] , C=1 , 4+5+1=10 , A->0 , C->1
[9] + [8] , A=[0,6,3,2,2,0,2,1,2,8,8,8,0,1] , C=1 , 9+8+1=18 , A->8 , C->1
[] + [] , A=[8,0,6,3,2,2,0,2,1,2,8,8,8,0,1] C=1 , END
</scratch>
1806322021288801
| 1806322021288801 | 15 |
Input:
485527355313785+6896433
Target:
| Input:
485527355313785+6896433
Target:
[4,8,5,5,2,7,3,5,5,3,1,3,7,8,5] + [6,8,9,6,4,3,3] , A=[] , C=0 , 5+3+0=8 , A->8 , C->0
[4,8,5,5,2,7,3,5,5,3,1,3,7,8] + [6,8,9,6,4,3] , A=[8] , C=0 , 8+3+0=11 , A->1 , C->1
[4,8,5,5,2,7,3,5,5,3,1,3,7] + [6,8,9,6,4] , A=[1,8] , C=1 , 7+4+1=12 , A->2 , C->1
[4,8,5,5,2,7,3,5,5,3,1,3] + [6,8,9,6] , A=[2,1,8] , C=1 , 3+6+1=10 , A->0 , C->1
[4,8,5,5,2,7,3,5,5,3,1] + [6,8,9] , A=[0,2,1,8] , C=1 , 1+9+1=11 , A->1 , C->1
[4,8,5,5,2,7,3,5,5,3] + [6,8] , A=[1,0,2,1,8] , C=1 , 3+8+1=12 , A->2 , C->1
[4,8,5,5,2,7,3,5,5] + [6] , A=[2,1,0,2,1,8] , C=1 , 5+6+1=12 , A->2 , C->1
[4,8,5,5,2,7,3,5] + [] , A=[2,2,1,0,2,1,8] , C=1 , 5+0+1=6 , A->6 , C->0
[4,8,5,5,2,7,3] + [] , A=[6,2,2,1,0,2,1,8] , C=0 , 3+0+0=3 , A->3 , C->0
[4,8,5,5,2,7] + [] , A=[3,6,2,2,1,0,2,1,8] , C=0 , 7+0+0=7 , A->7 , C->0
[4,8,5,5,2] + [] , A=[7,3,6,2,2,1,0,2,1,8] , C=0 , 2+0+0=2 , A->2 , C->0
[4,8,5,5] + [] , A=[2,7,3,6,2,2,1,0,2,1,8] , C=0 , 5+0+0=5 , A->5 , C->0
[4,8,5] + [] , A=[5,2,7,3,6,2,2,1,0,2,1,8] , C=0 , 5+0+0=5 , A->5 , C->0
[4,8] + [] , A=[5,5,2,7,3,6,2,2,1,0,2,1,8] , C=0 , 8+0+0=8 , A->8 , C->0
[4] + [] , A=[8,5,5,2,7,3,6,2,2,1,0,2,1,8] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,8,5,5,2,7,3,6,2,2,1,0,2,1,8] C=0 , END
</scratch>
485527362210218
| 485527362210218 | 7 |
Input:
945461641768075+86119286
Target:
| Input:
945461641768075+86119286
Target:
[9,4,5,4,6,1,6,4,1,7,6,8,0,7,5] + [8,6,1,1,9,2,8,6] , A=[] , C=0 , 5+6+0=11 , A->1 , C->1
[9,4,5,4,6,1,6,4,1,7,6,8,0,7] + [8,6,1,1,9,2,8] , A=[1] , C=1 , 7+8+1=16 , A->6 , C->1
[9,4,5,4,6,1,6,4,1,7,6,8,0] + [8,6,1,1,9,2] , A=[6,1] , C=1 , 0+2+1=3 , A->3 , C->0
[9,4,5,4,6,1,6,4,1,7,6,8] + [8,6,1,1,9] , A=[3,6,1] , C=0 , 8+9+0=17 , A->7 , C->1
[9,4,5,4,6,1,6,4,1,7,6] + [8,6,1,1] , A=[7,3,6,1] , C=1 , 6+1+1=8 , A->8 , C->0
[9,4,5,4,6,1,6,4,1,7] + [8,6,1] , A=[8,7,3,6,1] , C=0 , 7+1+0=8 , A->8 , C->0
[9,4,5,4,6,1,6,4,1] + [8,6] , A=[8,8,7,3,6,1] , C=0 , 1+6+0=7 , A->7 , C->0
[9,4,5,4,6,1,6,4] + [8] , A=[7,8,8,7,3,6,1] , C=0 , 4+8+0=12 , A->2 , C->1
[9,4,5,4,6,1,6] + [] , A=[2,7,8,8,7,3,6,1] , C=1 , 6+0+1=7 , A->7 , C->0
[9,4,5,4,6,1] + [] , A=[7,2,7,8,8,7,3,6,1] , C=0 , 1+0+0=1 , A->1 , C->0
[9,4,5,4,6] + [] , A=[1,7,2,7,8,8,7,3,6,1] , C=0 , 6+0+0=6 , A->6 , C->0
[9,4,5,4] + [] , A=[6,1,7,2,7,8,8,7,3,6,1] , C=0 , 4+0+0=4 , A->4 , C->0
[9,4,5] + [] , A=[4,6,1,7,2,7,8,8,7,3,6,1] , C=0 , 5+0+0=5 , A->5 , C->0
[9,4] + [] , A=[5,4,6,1,7,2,7,8,8,7,3,6,1] , C=0 , 4+0+0=4 , A->4 , C->0
[9] + [] , A=[4,5,4,6,1,7,2,7,8,8,7,3,6,1] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,4,5,4,6,1,7,2,7,8,8,7,3,6,1] C=0 , END
</scratch>
945461727887361
| 945461727887361 | 8 |
Input:
612283376309844+101087978
Target:
| Input:
612283376309844+101087978
Target:
[6,1,2,2,8,3,3,7,6,3,0,9,8,4,4] + [1,0,1,0,8,7,9,7,8] , A=[] , C=0 , 4+8+0=12 , A->2 , C->1
[6,1,2,2,8,3,3,7,6,3,0,9,8,4] + [1,0,1,0,8,7,9,7] , A=[2] , C=1 , 4+7+1=12 , A->2 , C->1
[6,1,2,2,8,3,3,7,6,3,0,9,8] + [1,0,1,0,8,7,9] , A=[2,2] , C=1 , 8+9+1=18 , A->8 , C->1
[6,1,2,2,8,3,3,7,6,3,0,9] + [1,0,1,0,8,7] , A=[8,2,2] , C=1 , 9+7+1=17 , A->7 , C->1
[6,1,2,2,8,3,3,7,6,3,0] + [1,0,1,0,8] , A=[7,8,2,2] , C=1 , 0+8+1=9 , A->9 , C->0
[6,1,2,2,8,3,3,7,6,3] + [1,0,1,0] , A=[9,7,8,2,2] , C=0 , 3+0+0=3 , A->3 , C->0
[6,1,2,2,8,3,3,7,6] + [1,0,1] , A=[3,9,7,8,2,2] , C=0 , 6+1+0=7 , A->7 , C->0
[6,1,2,2,8,3,3,7] + [1,0] , A=[7,3,9,7,8,2,2] , C=0 , 7+0+0=7 , A->7 , C->0
[6,1,2,2,8,3,3] + [1] , A=[7,7,3,9,7,8,2,2] , C=0 , 3+1+0=4 , A->4 , C->0
[6,1,2,2,8,3] + [] , A=[4,7,7,3,9,7,8,2,2] , C=0 , 3+0+0=3 , A->3 , C->0
[6,1,2,2,8] + [] , A=[3,4,7,7,3,9,7,8,2,2] , C=0 , 8+0+0=8 , A->8 , C->0
[6,1,2,2] + [] , A=[8,3,4,7,7,3,9,7,8,2,2] , C=0 , 2+0+0=2 , A->2 , C->0
[6,1,2] + [] , A=[2,8,3,4,7,7,3,9,7,8,2,2] , C=0 , 2+0+0=2 , A->2 , C->0
[6,1] + [] , A=[2,2,8,3,4,7,7,3,9,7,8,2,2] , C=0 , 1+0+0=1 , A->1 , C->0
[6] + [] , A=[1,2,2,8,3,4,7,7,3,9,7,8,2,2] , C=0 , 6+0+0=6 , A->6 , C->0
[] + [] , A=[6,1,2,2,8,3,4,7,7,3,9,7,8,2,2] C=0 , END
</scratch>
612283477397822
| 612283477397822 | 9 |
Input:
486135628653940+3264
Target:
| Input:
486135628653940+3264
Target:
[4,8,6,1,3,5,6,2,8,6,5,3,9,4,0] + [3,2,6,4] , A=[] , C=0 , 0+4+0=4 , A->4 , C->0
[4,8,6,1,3,5,6,2,8,6,5,3,9,4] + [3,2,6] , A=[4] , C=0 , 4+6+0=10 , A->0 , C->1
[4,8,6,1,3,5,6,2,8,6,5,3,9] + [3,2] , A=[0,4] , C=1 , 9+2+1=12 , A->2 , C->1
[4,8,6,1,3,5,6,2,8,6,5,3] + [3] , A=[2,0,4] , C=1 , 3+3+1=7 , A->7 , C->0
[4,8,6,1,3,5,6,2,8,6,5] + [] , A=[7,2,0,4] , C=0 , 5+0+0=5 , A->5 , C->0
[4,8,6,1,3,5,6,2,8,6] + [] , A=[5,7,2,0,4] , C=0 , 6+0+0=6 , A->6 , C->0
[4,8,6,1,3,5,6,2,8] + [] , A=[6,5,7,2,0,4] , C=0 , 8+0+0=8 , A->8 , C->0
[4,8,6,1,3,5,6,2] + [] , A=[8,6,5,7,2,0,4] , C=0 , 2+0+0=2 , A->2 , C->0
[4,8,6,1,3,5,6] + [] , A=[2,8,6,5,7,2,0,4] , C=0 , 6+0+0=6 , A->6 , C->0
[4,8,6,1,3,5] + [] , A=[6,2,8,6,5,7,2,0,4] , C=0 , 5+0+0=5 , A->5 , C->0
[4,8,6,1,3] + [] , A=[5,6,2,8,6,5,7,2,0,4] , C=0 , 3+0+0=3 , A->3 , C->0
[4,8,6,1] + [] , A=[3,5,6,2,8,6,5,7,2,0,4] , C=0 , 1+0+0=1 , A->1 , C->0
[4,8,6] + [] , A=[1,3,5,6,2,8,6,5,7,2,0,4] , C=0 , 6+0+0=6 , A->6 , C->0
[4,8] + [] , A=[6,1,3,5,6,2,8,6,5,7,2,0,4] , C=0 , 8+0+0=8 , A->8 , C->0
[4] + [] , A=[8,6,1,3,5,6,2,8,6,5,7,2,0,4] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,8,6,1,3,5,6,2,8,6,5,7,2,0,4] C=0 , END
</scratch>
486135628657204
| 486135628657204 | 4 |
Input:
863705156368576+204427905
Target:
| Input:
863705156368576+204427905
Target:
[8,6,3,7,0,5,1,5,6,3,6,8,5,7,6] + [2,0,4,4,2,7,9,0,5] , A=[] , C=0 , 6+5+0=11 , A->1 , C->1
[8,6,3,7,0,5,1,5,6,3,6,8,5,7] + [2,0,4,4,2,7,9,0] , A=[1] , C=1 , 7+0+1=8 , A->8 , C->0
[8,6,3,7,0,5,1,5,6,3,6,8,5] + [2,0,4,4,2,7,9] , A=[8,1] , C=0 , 5+9+0=14 , A->4 , C->1
[8,6,3,7,0,5,1,5,6,3,6,8] + [2,0,4,4,2,7] , A=[4,8,1] , C=1 , 8+7+1=16 , A->6 , C->1
[8,6,3,7,0,5,1,5,6,3,6] + [2,0,4,4,2] , A=[6,4,8,1] , C=1 , 6+2+1=9 , A->9 , C->0
[8,6,3,7,0,5,1,5,6,3] + [2,0,4,4] , A=[9,6,4,8,1] , C=0 , 3+4+0=7 , A->7 , C->0
[8,6,3,7,0,5,1,5,6] + [2,0,4] , A=[7,9,6,4,8,1] , C=0 , 6+4+0=10 , A->0 , C->1
[8,6,3,7,0,5,1,5] + [2,0] , A=[0,7,9,6,4,8,1] , C=1 , 5+0+1=6 , A->6 , C->0
[8,6,3,7,0,5,1] + [2] , A=[6,0,7,9,6,4,8,1] , C=0 , 1+2+0=3 , A->3 , C->0
[8,6,3,7,0,5] + [] , A=[3,6,0,7,9,6,4,8,1] , C=0 , 5+0+0=5 , A->5 , C->0
[8,6,3,7,0] + [] , A=[5,3,6,0,7,9,6,4,8,1] , C=0 , 0+0+0=0 , A->0 , C->0
[8,6,3,7] + [] , A=[0,5,3,6,0,7,9,6,4,8,1] , C=0 , 7+0+0=7 , A->7 , C->0
[8,6,3] + [] , A=[7,0,5,3,6,0,7,9,6,4,8,1] , C=0 , 3+0+0=3 , A->3 , C->0
[8,6] + [] , A=[3,7,0,5,3,6,0,7,9,6,4,8,1] , C=0 , 6+0+0=6 , A->6 , C->0
[8] + [] , A=[6,3,7,0,5,3,6,0,7,9,6,4,8,1] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,6,3,7,0,5,3,6,0,7,9,6,4,8,1] C=0 , END
</scratch>
863705360796481
| 863705360796481 | 9 |
Input:
472232+622119298657387
Target:
| Input:
472232+622119298657387
Target:
[4,7,2,2,3,2] + [6,2,2,1,1,9,2,9,8,6,5,7,3,8,7] , A=[] , C=0 , 2+7+0=9 , A->9 , C->0
[4,7,2,2,3] + [6,2,2,1,1,9,2,9,8,6,5,7,3,8] , A=[9] , C=0 , 3+8+0=11 , A->1 , C->1
[4,7,2,2] + [6,2,2,1,1,9,2,9,8,6,5,7,3] , A=[1,9] , C=1 , 2+3+1=6 , A->6 , C->0
[4,7,2] + [6,2,2,1,1,9,2,9,8,6,5,7] , A=[6,1,9] , C=0 , 2+7+0=9 , A->9 , C->0
[4,7] + [6,2,2,1,1,9,2,9,8,6,5] , A=[9,6,1,9] , C=0 , 7+5+0=12 , A->2 , C->1
[4] + [6,2,2,1,1,9,2,9,8,6] , A=[2,9,6,1,9] , C=1 , 4+6+1=11 , A->1 , C->1
[] + [6,2,2,1,1,9,2,9,8] , A=[1,2,9,6,1,9] , C=1 , 0+8+1=9 , A->9 , C->0
[] + [6,2,2,1,1,9,2,9] , A=[9,1,2,9,6,1,9] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [6,2,2,1,1,9,2] , A=[9,9,1,2,9,6,1,9] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [6,2,2,1,1,9] , A=[2,9,9,1,2,9,6,1,9] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [6,2,2,1,1] , A=[9,2,9,9,1,2,9,6,1,9] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [6,2,2,1] , A=[1,9,2,9,9,1,2,9,6,1,9] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [6,2,2] , A=[1,1,9,2,9,9,1,2,9,6,1,9] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [6,2] , A=[2,1,1,9,2,9,9,1,2,9,6,1,9] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [6] , A=[2,2,1,1,9,2,9,9,1,2,9,6,1,9] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,2,2,1,1,9,2,9,9,1,2,9,6,1,9] C=0 , END
</scratch>
622119299129619
| 622119299129619 | 6 |
Input:
97315554832590+483979594494828
Target:
| Input:
97315554832590+483979594494828
Target:
[9,7,3,1,5,5,5,4,8,3,2,5,9,0] + [4,8,3,9,7,9,5,9,4,4,9,4,8,2,8] , A=[] , C=0 , 0+8+0=8 , A->8 , C->0
[9,7,3,1,5,5,5,4,8,3,2,5,9] + [4,8,3,9,7,9,5,9,4,4,9,4,8,2] , A=[8] , C=0 , 9+2+0=11 , A->1 , C->1
[9,7,3,1,5,5,5,4,8,3,2,5] + [4,8,3,9,7,9,5,9,4,4,9,4,8] , A=[1,8] , C=1 , 5+8+1=14 , A->4 , C->1
[9,7,3,1,5,5,5,4,8,3,2] + [4,8,3,9,7,9,5,9,4,4,9,4] , A=[4,1,8] , C=1 , 2+4+1=7 , A->7 , C->0
[9,7,3,1,5,5,5,4,8,3] + [4,8,3,9,7,9,5,9,4,4,9] , A=[7,4,1,8] , C=0 , 3+9+0=12 , A->2 , C->1
[9,7,3,1,5,5,5,4,8] + [4,8,3,9,7,9,5,9,4,4] , A=[2,7,4,1,8] , C=1 , 8+4+1=13 , A->3 , C->1
[9,7,3,1,5,5,5,4] + [4,8,3,9,7,9,5,9,4] , A=[3,2,7,4,1,8] , C=1 , 4+4+1=9 , A->9 , C->0
[9,7,3,1,5,5,5] + [4,8,3,9,7,9,5,9] , A=[9,3,2,7,4,1,8] , C=0 , 5+9+0=14 , A->4 , C->1
[9,7,3,1,5,5] + [4,8,3,9,7,9,5] , A=[4,9,3,2,7,4,1,8] , C=1 , 5+5+1=11 , A->1 , C->1
[9,7,3,1,5] + [4,8,3,9,7,9] , A=[1,4,9,3,2,7,4,1,8] , C=1 , 5+9+1=15 , A->5 , C->1
[9,7,3,1] + [4,8,3,9,7] , A=[5,1,4,9,3,2,7,4,1,8] , C=1 , 1+7+1=9 , A->9 , C->0
[9,7,3] + [4,8,3,9] , A=[9,5,1,4,9,3,2,7,4,1,8] , C=0 , 3+9+0=12 , A->2 , C->1
[9,7] + [4,8,3] , A=[2,9,5,1,4,9,3,2,7,4,1,8] , C=1 , 7+3+1=11 , A->1 , C->1
[9] + [4,8] , A=[1,2,9,5,1,4,9,3,2,7,4,1,8] , C=1 , 9+8+1=18 , A->8 , C->1
[] + [4] , A=[8,1,2,9,5,1,4,9,3,2,7,4,1,8] , C=1 , 0+4+1=5 , A->5 , C->0
[] + [] , A=[5,8,1,2,9,5,1,4,9,3,2,7,4,1,8] C=0 , END
</scratch>
581295149327418
| 581295149327418 | 14 |
Input:
5+801358522299429
Target:
| Input:
5+801358522299429
Target:
[5] + [8,0,1,3,5,8,5,2,2,2,9,9,4,2,9] , A=[] , C=0 , 5+9+0=14 , A->4 , C->1
[] + [8,0,1,3,5,8,5,2,2,2,9,9,4,2] , A=[4] , C=1 , 0+2+1=3 , A->3 , C->0
[] + [8,0,1,3,5,8,5,2,2,2,9,9,4] , A=[3,4] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [8,0,1,3,5,8,5,2,2,2,9,9] , A=[4,3,4] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [8,0,1,3,5,8,5,2,2,2,9] , A=[9,4,3,4] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [8,0,1,3,5,8,5,2,2,2] , A=[9,9,4,3,4] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [8,0,1,3,5,8,5,2,2] , A=[2,9,9,4,3,4] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [8,0,1,3,5,8,5,2] , A=[2,2,9,9,4,3,4] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [8,0,1,3,5,8,5] , A=[2,2,2,9,9,4,3,4] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [8,0,1,3,5,8] , A=[5,2,2,2,9,9,4,3,4] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [8,0,1,3,5] , A=[8,5,2,2,2,9,9,4,3,4] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [8,0,1,3] , A=[5,8,5,2,2,2,9,9,4,3,4] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [8,0,1] , A=[3,5,8,5,2,2,2,9,9,4,3,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [8,0] , A=[1,3,5,8,5,2,2,2,9,9,4,3,4] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [8] , A=[0,1,3,5,8,5,2,2,2,9,9,4,3,4] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [] , A=[8,0,1,3,5,8,5,2,2,2,9,9,4,3,4] C=0 , END
</scratch>
801358522299434
| 801358522299434 | 1 |
Input:
324930729584070+248234362215
Target:
| Input:
324930729584070+248234362215
Target:
[3,2,4,9,3,0,7,2,9,5,8,4,0,7,0] + [2,4,8,2,3,4,3,6,2,2,1,5] , A=[] , C=0 , 0+5+0=5 , A->5 , C->0
[3,2,4,9,3,0,7,2,9,5,8,4,0,7] + [2,4,8,2,3,4,3,6,2,2,1] , A=[5] , C=0 , 7+1+0=8 , A->8 , C->0
[3,2,4,9,3,0,7,2,9,5,8,4,0] + [2,4,8,2,3,4,3,6,2,2] , A=[8,5] , C=0 , 0+2+0=2 , A->2 , C->0
[3,2,4,9,3,0,7,2,9,5,8,4] + [2,4,8,2,3,4,3,6,2] , A=[2,8,5] , C=0 , 4+2+0=6 , A->6 , C->0
[3,2,4,9,3,0,7,2,9,5,8] + [2,4,8,2,3,4,3,6] , A=[6,2,8,5] , C=0 , 8+6+0=14 , A->4 , C->1
[3,2,4,9,3,0,7,2,9,5] + [2,4,8,2,3,4,3] , A=[4,6,2,8,5] , C=1 , 5+3+1=9 , A->9 , C->0
[3,2,4,9,3,0,7,2,9] + [2,4,8,2,3,4] , A=[9,4,6,2,8,5] , C=0 , 9+4+0=13 , A->3 , C->1
[3,2,4,9,3,0,7,2] + [2,4,8,2,3] , A=[3,9,4,6,2,8,5] , C=1 , 2+3+1=6 , A->6 , C->0
[3,2,4,9,3,0,7] + [2,4,8,2] , A=[6,3,9,4,6,2,8,5] , C=0 , 7+2+0=9 , A->9 , C->0
[3,2,4,9,3,0] + [2,4,8] , A=[9,6,3,9,4,6,2,8,5] , C=0 , 0+8+0=8 , A->8 , C->0
[3,2,4,9,3] + [2,4] , A=[8,9,6,3,9,4,6,2,8,5] , C=0 , 3+4+0=7 , A->7 , C->0
[3,2,4,9] + [2] , A=[7,8,9,6,3,9,4,6,2,8,5] , C=0 , 9+2+0=11 , A->1 , C->1
[3,2,4] + [] , A=[1,7,8,9,6,3,9,4,6,2,8,5] , C=1 , 4+0+1=5 , A->5 , C->0
[3,2] + [] , A=[5,1,7,8,9,6,3,9,4,6,2,8,5] , C=0 , 2+0+0=2 , A->2 , C->0
[3] + [] , A=[2,5,1,7,8,9,6,3,9,4,6,2,8,5] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,2,5,1,7,8,9,6,3,9,4,6,2,8,5] C=0 , END
</scratch>
325178963946285
| 325178963946285 | 12 |
Input:
21051319+992170020226036
Target:
| Input:
21051319+992170020226036
Target:
[2,1,0,5,1,3,1,9] + [9,9,2,1,7,0,0,2,0,2,2,6,0,3,6] , A=[] , C=0 , 9+6+0=15 , A->5 , C->1
[2,1,0,5,1,3,1] + [9,9,2,1,7,0,0,2,0,2,2,6,0,3] , A=[5] , C=1 , 1+3+1=5 , A->5 , C->0
[2,1,0,5,1,3] + [9,9,2,1,7,0,0,2,0,2,2,6,0] , A=[5,5] , C=0 , 3+0+0=3 , A->3 , C->0
[2,1,0,5,1] + [9,9,2,1,7,0,0,2,0,2,2,6] , A=[3,5,5] , C=0 , 1+6+0=7 , A->7 , C->0
[2,1,0,5] + [9,9,2,1,7,0,0,2,0,2,2] , A=[7,3,5,5] , C=0 , 5+2+0=7 , A->7 , C->0
[2,1,0] + [9,9,2,1,7,0,0,2,0,2] , A=[7,7,3,5,5] , C=0 , 0+2+0=2 , A->2 , C->0
[2,1] + [9,9,2,1,7,0,0,2,0] , A=[2,7,7,3,5,5] , C=0 , 1+0+0=1 , A->1 , C->0
[2] + [9,9,2,1,7,0,0,2] , A=[1,2,7,7,3,5,5] , C=0 , 2+2+0=4 , A->4 , C->0
[] + [9,9,2,1,7,0,0] , A=[4,1,2,7,7,3,5,5] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [9,9,2,1,7,0] , A=[0,4,1,2,7,7,3,5,5] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [9,9,2,1,7] , A=[0,0,4,1,2,7,7,3,5,5] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [9,9,2,1] , A=[7,0,0,4,1,2,7,7,3,5,5] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [9,9,2] , A=[1,7,0,0,4,1,2,7,7,3,5,5] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9,9] , A=[2,1,7,0,0,4,1,2,7,7,3,5,5] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [9] , A=[9,2,1,7,0,0,4,1,2,7,7,3,5,5] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,9,2,1,7,0,0,4,1,2,7,7,3,5,5] C=0 , END
</scratch>
992170041277355
| 992170041277355 | 8 |
Input:
2989900310268+760489776711788
Target:
| Input:
2989900310268+760489776711788
Target:
[2,9,8,9,9,0,0,3,1,0,2,6,8] + [7,6,0,4,8,9,7,7,6,7,1,1,7,8,8] , A=[] , C=0 , 8+8+0=16 , A->6 , C->1
[2,9,8,9,9,0,0,3,1,0,2,6] + [7,6,0,4,8,9,7,7,6,7,1,1,7,8] , A=[6] , C=1 , 6+8+1=15 , A->5 , C->1
[2,9,8,9,9,0,0,3,1,0,2] + [7,6,0,4,8,9,7,7,6,7,1,1,7] , A=[5,6] , C=1 , 2+7+1=10 , A->0 , C->1
[2,9,8,9,9,0,0,3,1,0] + [7,6,0,4,8,9,7,7,6,7,1,1] , A=[0,5,6] , C=1 , 0+1+1=2 , A->2 , C->0
[2,9,8,9,9,0,0,3,1] + [7,6,0,4,8,9,7,7,6,7,1] , A=[2,0,5,6] , C=0 , 1+1+0=2 , A->2 , C->0
[2,9,8,9,9,0,0,3] + [7,6,0,4,8,9,7,7,6,7] , A=[2,2,0,5,6] , C=0 , 3+7+0=10 , A->0 , C->1
[2,9,8,9,9,0,0] + [7,6,0,4,8,9,7,7,6] , A=[0,2,2,0,5,6] , C=1 , 0+6+1=7 , A->7 , C->0
[2,9,8,9,9,0] + [7,6,0,4,8,9,7,7] , A=[7,0,2,2,0,5,6] , C=0 , 0+7+0=7 , A->7 , C->0
[2,9,8,9,9] + [7,6,0,4,8,9,7] , A=[7,7,0,2,2,0,5,6] , C=0 , 9+7+0=16 , A->6 , C->1
[2,9,8,9] + [7,6,0,4,8,9] , A=[6,7,7,0,2,2,0,5,6] , C=1 , 9+9+1=19 , A->9 , C->1
[2,9,8] + [7,6,0,4,8] , A=[9,6,7,7,0,2,2,0,5,6] , C=1 , 8+8+1=17 , A->7 , C->1
[2,9] + [7,6,0,4] , A=[7,9,6,7,7,0,2,2,0,5,6] , C=1 , 9+4+1=14 , A->4 , C->1
[2] + [7,6,0] , A=[4,7,9,6,7,7,0,2,2,0,5,6] , C=1 , 2+0+1=3 , A->3 , C->0
[] + [7,6] , A=[3,4,7,9,6,7,7,0,2,2,0,5,6] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [7] , A=[6,3,4,7,9,6,7,7,0,2,2,0,5,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,6,3,4,7,9,6,7,7,0,2,2,0,5,6] C=0 , END
</scratch>
763479677022056
| 763479677022056 | 13 |
Input:
22831714275+888141597613737
Target:
| Input:
22831714275+888141597613737
Target:
[2,2,8,3,1,7,1,4,2,7,5] + [8,8,8,1,4,1,5,9,7,6,1,3,7,3,7] , A=[] , C=0 , 5+7+0=12 , A->2 , C->1
[2,2,8,3,1,7,1,4,2,7] + [8,8,8,1,4,1,5,9,7,6,1,3,7,3] , A=[2] , C=1 , 7+3+1=11 , A->1 , C->1
[2,2,8,3,1,7,1,4,2] + [8,8,8,1,4,1,5,9,7,6,1,3,7] , A=[1,2] , C=1 , 2+7+1=10 , A->0 , C->1
[2,2,8,3,1,7,1,4] + [8,8,8,1,4,1,5,9,7,6,1,3] , A=[0,1,2] , C=1 , 4+3+1=8 , A->8 , C->0
[2,2,8,3,1,7,1] + [8,8,8,1,4,1,5,9,7,6,1] , A=[8,0,1,2] , C=0 , 1+1+0=2 , A->2 , C->0
[2,2,8,3,1,7] + [8,8,8,1,4,1,5,9,7,6] , A=[2,8,0,1,2] , C=0 , 7+6+0=13 , A->3 , C->1
[2,2,8,3,1] + [8,8,8,1,4,1,5,9,7] , A=[3,2,8,0,1,2] , C=1 , 1+7+1=9 , A->9 , C->0
[2,2,8,3] + [8,8,8,1,4,1,5,9] , A=[9,3,2,8,0,1,2] , C=0 , 3+9+0=12 , A->2 , C->1
[2,2,8] + [8,8,8,1,4,1,5] , A=[2,9,3,2,8,0,1,2] , C=1 , 8+5+1=14 , A->4 , C->1
[2,2] + [8,8,8,1,4,1] , A=[4,2,9,3,2,8,0,1,2] , C=1 , 2+1+1=4 , A->4 , C->0
[2] + [8,8,8,1,4] , A=[4,4,2,9,3,2,8,0,1,2] , C=0 , 2+4+0=6 , A->6 , C->0
[] + [8,8,8,1] , A=[6,4,4,2,9,3,2,8,0,1,2] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [8,8,8] , A=[1,6,4,4,2,9,3,2,8,0,1,2] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [8,8] , A=[8,1,6,4,4,2,9,3,2,8,0,1,2] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [8] , A=[8,8,1,6,4,4,2,9,3,2,8,0,1,2] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [] , A=[8,8,8,1,6,4,4,2,9,3,2,8,0,1,2] C=0 , END
</scratch>
888164429328012
| 888164429328012 | 11 |
Input:
53455+142696717790657
Target:
| Input:
53455+142696717790657
Target:
[5,3,4,5,5] + [1,4,2,6,9,6,7,1,7,7,9,0,6,5,7] , A=[] , C=0 , 5+7+0=12 , A->2 , C->1
[5,3,4,5] + [1,4,2,6,9,6,7,1,7,7,9,0,6,5] , A=[2] , C=1 , 5+5+1=11 , A->1 , C->1
[5,3,4] + [1,4,2,6,9,6,7,1,7,7,9,0,6] , A=[1,2] , C=1 , 4+6+1=11 , A->1 , C->1
[5,3] + [1,4,2,6,9,6,7,1,7,7,9,0] , A=[1,1,2] , C=1 , 3+0+1=4 , A->4 , C->0
[5] + [1,4,2,6,9,6,7,1,7,7,9] , A=[4,1,1,2] , C=0 , 5+9+0=14 , A->4 , C->1
[] + [1,4,2,6,9,6,7,1,7,7] , A=[4,4,1,1,2] , C=1 , 0+7+1=8 , A->8 , C->0
[] + [1,4,2,6,9,6,7,1,7] , A=[8,4,4,1,1,2] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [1,4,2,6,9,6,7,1] , A=[7,8,4,4,1,1,2] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [1,4,2,6,9,6,7] , A=[1,7,8,4,4,1,1,2] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [1,4,2,6,9,6] , A=[7,1,7,8,4,4,1,1,2] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [1,4,2,6,9] , A=[6,7,1,7,8,4,4,1,1,2] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [1,4,2,6] , A=[9,6,7,1,7,8,4,4,1,1,2] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [1,4,2] , A=[6,9,6,7,1,7,8,4,4,1,1,2] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [1,4] , A=[2,6,9,6,7,1,7,8,4,4,1,1,2] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [1] , A=[4,2,6,9,6,7,1,7,8,4,4,1,1,2] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,4,2,6,9,6,7,1,7,8,4,4,1,1,2] C=0 , END
</scratch>
142696717844112
| 142696717844112 | 5 |
Input:
60335+845463270454193
Target:
| Input:
60335+845463270454193
Target:
[6,0,3,3,5] + [8,4,5,4,6,3,2,7,0,4,5,4,1,9,3] , A=[] , C=0 , 5+3+0=8 , A->8 , C->0
[6,0,3,3] + [8,4,5,4,6,3,2,7,0,4,5,4,1,9] , A=[8] , C=0 , 3+9+0=12 , A->2 , C->1
[6,0,3] + [8,4,5,4,6,3,2,7,0,4,5,4,1] , A=[2,8] , C=1 , 3+1+1=5 , A->5 , C->0
[6,0] + [8,4,5,4,6,3,2,7,0,4,5,4] , A=[5,2,8] , C=0 , 0+4+0=4 , A->4 , C->0
[6] + [8,4,5,4,6,3,2,7,0,4,5] , A=[4,5,2,8] , C=0 , 6+5+0=11 , A->1 , C->1
[] + [8,4,5,4,6,3,2,7,0,4] , A=[1,4,5,2,8] , C=1 , 0+4+1=5 , A->5 , C->0
[] + [8,4,5,4,6,3,2,7,0] , A=[5,1,4,5,2,8] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [8,4,5,4,6,3,2,7] , A=[0,5,1,4,5,2,8] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [8,4,5,4,6,3,2] , A=[7,0,5,1,4,5,2,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [8,4,5,4,6,3] , A=[2,7,0,5,1,4,5,2,8] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [8,4,5,4,6] , A=[3,2,7,0,5,1,4,5,2,8] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [8,4,5,4] , A=[6,3,2,7,0,5,1,4,5,2,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [8,4,5] , A=[4,6,3,2,7,0,5,1,4,5,2,8] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [8,4] , A=[5,4,6,3,2,7,0,5,1,4,5,2,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [8] , A=[4,5,4,6,3,2,7,0,5,1,4,5,2,8] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [] , A=[8,4,5,4,6,3,2,7,0,5,1,4,5,2,8] C=0 , END
</scratch>
845463270514528
| 845463270514528 | 5 |
Input:
9505488887+506176807561441
Target:
| Input:
9505488887+506176807561441
Target:
[9,5,0,5,4,8,8,8,8,7] + [5,0,6,1,7,6,8,0,7,5,6,1,4,4,1] , A=[] , C=0 , 7+1+0=8 , A->8 , C->0
[9,5,0,5,4,8,8,8,8] + [5,0,6,1,7,6,8,0,7,5,6,1,4,4] , A=[8] , C=0 , 8+4+0=12 , A->2 , C->1
[9,5,0,5,4,8,8,8] + [5,0,6,1,7,6,8,0,7,5,6,1,4] , A=[2,8] , C=1 , 8+4+1=13 , A->3 , C->1
[9,5,0,5,4,8,8] + [5,0,6,1,7,6,8,0,7,5,6,1] , A=[3,2,8] , C=1 , 8+1+1=10 , A->0 , C->1
[9,5,0,5,4,8] + [5,0,6,1,7,6,8,0,7,5,6] , A=[0,3,2,8] , C=1 , 8+6+1=15 , A->5 , C->1
[9,5,0,5,4] + [5,0,6,1,7,6,8,0,7,5] , A=[5,0,3,2,8] , C=1 , 4+5+1=10 , A->0 , C->1
[9,5,0,5] + [5,0,6,1,7,6,8,0,7] , A=[0,5,0,3,2,8] , C=1 , 5+7+1=13 , A->3 , C->1
[9,5,0] + [5,0,6,1,7,6,8,0] , A=[3,0,5,0,3,2,8] , C=1 , 0+0+1=1 , A->1 , C->0
[9,5] + [5,0,6,1,7,6,8] , A=[1,3,0,5,0,3,2,8] , C=0 , 5+8+0=13 , A->3 , C->1
[9] + [5,0,6,1,7,6] , A=[3,1,3,0,5,0,3,2,8] , C=1 , 9+6+1=16 , A->6 , C->1
[] + [5,0,6,1,7] , A=[6,3,1,3,0,5,0,3,2,8] , C=1 , 0+7+1=8 , A->8 , C->0
[] + [5,0,6,1] , A=[8,6,3,1,3,0,5,0,3,2,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [5,0,6] , A=[1,8,6,3,1,3,0,5,0,3,2,8] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [5,0] , A=[6,1,8,6,3,1,3,0,5,0,3,2,8] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [5] , A=[0,6,1,8,6,3,1,3,0,5,0,3,2,8] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,0,6,1,8,6,3,1,3,0,5,0,3,2,8] C=0 , END
</scratch>
506186313050328
| 506186313050328 | 10 |
Input:
195202189337356+9411403371565
Target:
| Input:
195202189337356+9411403371565
Target:
[1,9,5,2,0,2,1,8,9,3,3,7,3,5,6] + [9,4,1,1,4,0,3,3,7,1,5,6,5] , A=[] , C=0 , 6+5+0=11 , A->1 , C->1
[1,9,5,2,0,2,1,8,9,3,3,7,3,5] + [9,4,1,1,4,0,3,3,7,1,5,6] , A=[1] , C=1 , 5+6+1=12 , A->2 , C->1
[1,9,5,2,0,2,1,8,9,3,3,7,3] + [9,4,1,1,4,0,3,3,7,1,5] , A=[2,1] , C=1 , 3+5+1=9 , A->9 , C->0
[1,9,5,2,0,2,1,8,9,3,3,7] + [9,4,1,1,4,0,3,3,7,1] , A=[9,2,1] , C=0 , 7+1+0=8 , A->8 , C->0
[1,9,5,2,0,2,1,8,9,3,3] + [9,4,1,1,4,0,3,3,7] , A=[8,9,2,1] , C=0 , 3+7+0=10 , A->0 , C->1
[1,9,5,2,0,2,1,8,9,3] + [9,4,1,1,4,0,3,3] , A=[0,8,9,2,1] , C=1 , 3+3+1=7 , A->7 , C->0
[1,9,5,2,0,2,1,8,9] + [9,4,1,1,4,0,3] , A=[7,0,8,9,2,1] , C=0 , 9+3+0=12 , A->2 , C->1
[1,9,5,2,0,2,1,8] + [9,4,1,1,4,0] , A=[2,7,0,8,9,2,1] , C=1 , 8+0+1=9 , A->9 , C->0
[1,9,5,2,0,2,1] + [9,4,1,1,4] , A=[9,2,7,0,8,9,2,1] , C=0 , 1+4+0=5 , A->5 , C->0
[1,9,5,2,0,2] + [9,4,1,1] , A=[5,9,2,7,0,8,9,2,1] , C=0 , 2+1+0=3 , A->3 , C->0
[1,9,5,2,0] + [9,4,1] , A=[3,5,9,2,7,0,8,9,2,1] , C=0 , 0+1+0=1 , A->1 , C->0
[1,9,5,2] + [9,4] , A=[1,3,5,9,2,7,0,8,9,2,1] , C=0 , 2+4+0=6 , A->6 , C->0
[1,9,5] + [9] , A=[6,1,3,5,9,2,7,0,8,9,2,1] , C=0 , 5+9+0=14 , A->4 , C->1
[1,9] + [] , A=[4,6,1,3,5,9,2,7,0,8,9,2,1] , C=1 , 9+0+1=10 , A->0 , C->1
[1] + [] , A=[0,4,6,1,3,5,9,2,7,0,8,9,2,1] , C=1 , 1+0+1=2 , A->2 , C->0
[] + [] , A=[2,0,4,6,1,3,5,9,2,7,0,8,9,2,1] C=0 , END
</scratch>
204613592708921
| 204613592708921 | 13 |
Input:
74+750701858745082
Target:
| Input:
74+750701858745082
Target:
[7,4] + [7,5,0,7,0,1,8,5,8,7,4,5,0,8,2] , A=[] , C=0 , 4+2+0=6 , A->6 , C->0
[7] + [7,5,0,7,0,1,8,5,8,7,4,5,0,8] , A=[6] , C=0 , 7+8+0=15 , A->5 , C->1
[] + [7,5,0,7,0,1,8,5,8,7,4,5,0] , A=[5,6] , C=1 , 0+0+1=1 , A->1 , C->0
[] + [7,5,0,7,0,1,8,5,8,7,4,5] , A=[1,5,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [7,5,0,7,0,1,8,5,8,7,4] , A=[5,1,5,6] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [7,5,0,7,0,1,8,5,8,7] , A=[4,5,1,5,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [7,5,0,7,0,1,8,5,8] , A=[7,4,5,1,5,6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [7,5,0,7,0,1,8,5] , A=[8,7,4,5,1,5,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [7,5,0,7,0,1,8] , A=[5,8,7,4,5,1,5,6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [7,5,0,7,0,1] , A=[8,5,8,7,4,5,1,5,6] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [7,5,0,7,0] , A=[1,8,5,8,7,4,5,1,5,6] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [7,5,0,7] , A=[0,1,8,5,8,7,4,5,1,5,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [7,5,0] , A=[7,0,1,8,5,8,7,4,5,1,5,6] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [7,5] , A=[0,7,0,1,8,5,8,7,4,5,1,5,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [7] , A=[5,0,7,0,1,8,5,8,7,4,5,1,5,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,5,0,7,0,1,8,5,8,7,4,5,1,5,6] C=0 , END
</scratch>
750701858745156
| 750701858745156 | 2 |
Input:
714503499931+971096545054844
Target:
| Input:
714503499931+971096545054844
Target:
[7,1,4,5,0,3,4,9,9,9,3,1] + [9,7,1,0,9,6,5,4,5,0,5,4,8,4,4] , A=[] , C=0 , 1+4+0=5 , A->5 , C->0
[7,1,4,5,0,3,4,9,9,9,3] + [9,7,1,0,9,6,5,4,5,0,5,4,8,4] , A=[5] , C=0 , 3+4+0=7 , A->7 , C->0
[7,1,4,5,0,3,4,9,9,9] + [9,7,1,0,9,6,5,4,5,0,5,4,8] , A=[7,5] , C=0 , 9+8+0=17 , A->7 , C->1
[7,1,4,5,0,3,4,9,9] + [9,7,1,0,9,6,5,4,5,0,5,4] , A=[7,7,5] , C=1 , 9+4+1=14 , A->4 , C->1
[7,1,4,5,0,3,4,9] + [9,7,1,0,9,6,5,4,5,0,5] , A=[4,7,7,5] , C=1 , 9+5+1=15 , A->5 , C->1
[7,1,4,5,0,3,4] + [9,7,1,0,9,6,5,4,5,0] , A=[5,4,7,7,5] , C=1 , 4+0+1=5 , A->5 , C->0
[7,1,4,5,0,3] + [9,7,1,0,9,6,5,4,5] , A=[5,5,4,7,7,5] , C=0 , 3+5+0=8 , A->8 , C->0
[7,1,4,5,0] + [9,7,1,0,9,6,5,4] , A=[8,5,5,4,7,7,5] , C=0 , 0+4+0=4 , A->4 , C->0
[7,1,4,5] + [9,7,1,0,9,6,5] , A=[4,8,5,5,4,7,7,5] , C=0 , 5+5+0=10 , A->0 , C->1
[7,1,4] + [9,7,1,0,9,6] , A=[0,4,8,5,5,4,7,7,5] , C=1 , 4+6+1=11 , A->1 , C->1
[7,1] + [9,7,1,0,9] , A=[1,0,4,8,5,5,4,7,7,5] , C=1 , 1+9+1=11 , A->1 , C->1
[7] + [9,7,1,0] , A=[1,1,0,4,8,5,5,4,7,7,5] , C=1 , 7+0+1=8 , A->8 , C->0
[] + [9,7,1] , A=[8,1,1,0,4,8,5,5,4,7,7,5] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [9,7] , A=[1,8,1,1,0,4,8,5,5,4,7,7,5] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [9] , A=[7,1,8,1,1,0,4,8,5,5,4,7,7,5] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,7,1,8,1,1,0,4,8,5,5,4,7,7,5] C=0 , END
</scratch>
971811048554775
| 971811048554775 | 12 |
Input:
147531847576522+1089874747
Target:
| Input:
147531847576522+1089874747
Target:
[1,4,7,5,3,1,8,4,7,5,7,6,5,2,2] + [1,0,8,9,8,7,4,7,4,7] , A=[] , C=0 , 2+7+0=9 , A->9 , C->0
[1,4,7,5,3,1,8,4,7,5,7,6,5,2] + [1,0,8,9,8,7,4,7,4] , A=[9] , C=0 , 2+4+0=6 , A->6 , C->0
[1,4,7,5,3,1,8,4,7,5,7,6,5] + [1,0,8,9,8,7,4,7] , A=[6,9] , C=0 , 5+7+0=12 , A->2 , C->1
[1,4,7,5,3,1,8,4,7,5,7,6] + [1,0,8,9,8,7,4] , A=[2,6,9] , C=1 , 6+4+1=11 , A->1 , C->1
[1,4,7,5,3,1,8,4,7,5,7] + [1,0,8,9,8,7] , A=[1,2,6,9] , C=1 , 7+7+1=15 , A->5 , C->1
[1,4,7,5,3,1,8,4,7,5] + [1,0,8,9,8] , A=[5,1,2,6,9] , C=1 , 5+8+1=14 , A->4 , C->1
[1,4,7,5,3,1,8,4,7] + [1,0,8,9] , A=[4,5,1,2,6,9] , C=1 , 7+9+1=17 , A->7 , C->1
[1,4,7,5,3,1,8,4] + [1,0,8] , A=[7,4,5,1,2,6,9] , C=1 , 4+8+1=13 , A->3 , C->1
[1,4,7,5,3,1,8] + [1,0] , A=[3,7,4,5,1,2,6,9] , C=1 , 8+0+1=9 , A->9 , C->0
[1,4,7,5,3,1] + [1] , A=[9,3,7,4,5,1,2,6,9] , C=0 , 1+1+0=2 , A->2 , C->0
[1,4,7,5,3] + [] , A=[2,9,3,7,4,5,1,2,6,9] , C=0 , 3+0+0=3 , A->3 , C->0
[1,4,7,5] + [] , A=[3,2,9,3,7,4,5,1,2,6,9] , C=0 , 5+0+0=5 , A->5 , C->0
[1,4,7] + [] , A=[5,3,2,9,3,7,4,5,1,2,6,9] , C=0 , 7+0+0=7 , A->7 , C->0
[1,4] + [] , A=[7,5,3,2,9,3,7,4,5,1,2,6,9] , C=0 , 4+0+0=4 , A->4 , C->0
[1] + [] , A=[4,7,5,3,2,9,3,7,4,5,1,2,6,9] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,4,7,5,3,2,9,3,7,4,5,1,2,6,9] C=0 , END
</scratch>
147532937451269
| 147532937451269 | 10 |
Input:
292397301911210+4
Target:
| Input:
292397301911210+4
Target:
[2,9,2,3,9,7,3,0,1,9,1,1,2,1,0] + [4] , A=[] , C=0 , 0+4+0=4 , A->4 , C->0
[2,9,2,3,9,7,3,0,1,9,1,1,2,1] + [] , A=[4] , C=0 , 1+0+0=1 , A->1 , C->0
[2,9,2,3,9,7,3,0,1,9,1,1,2] + [] , A=[1,4] , C=0 , 2+0+0=2 , A->2 , C->0
[2,9,2,3,9,7,3,0,1,9,1,1] + [] , A=[2,1,4] , C=0 , 1+0+0=1 , A->1 , C->0
[2,9,2,3,9,7,3,0,1,9,1] + [] , A=[1,2,1,4] , C=0 , 1+0+0=1 , A->1 , C->0
[2,9,2,3,9,7,3,0,1,9] + [] , A=[1,1,2,1,4] , C=0 , 9+0+0=9 , A->9 , C->0
[2,9,2,3,9,7,3,0,1] + [] , A=[9,1,1,2,1,4] , C=0 , 1+0+0=1 , A->1 , C->0
[2,9,2,3,9,7,3,0] + [] , A=[1,9,1,1,2,1,4] , C=0 , 0+0+0=0 , A->0 , C->0
[2,9,2,3,9,7,3] + [] , A=[0,1,9,1,1,2,1,4] , C=0 , 3+0+0=3 , A->3 , C->0
[2,9,2,3,9,7] + [] , A=[3,0,1,9,1,1,2,1,4] , C=0 , 7+0+0=7 , A->7 , C->0
[2,9,2,3,9] + [] , A=[7,3,0,1,9,1,1,2,1,4] , C=0 , 9+0+0=9 , A->9 , C->0
[2,9,2,3] + [] , A=[9,7,3,0,1,9,1,1,2,1,4] , C=0 , 3+0+0=3 , A->3 , C->0
[2,9,2] + [] , A=[3,9,7,3,0,1,9,1,1,2,1,4] , C=0 , 2+0+0=2 , A->2 , C->0
[2,9] + [] , A=[2,3,9,7,3,0,1,9,1,1,2,1,4] , C=0 , 9+0+0=9 , A->9 , C->0
[2] + [] , A=[9,2,3,9,7,3,0,1,9,1,1,2,1,4] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [] , A=[2,9,2,3,9,7,3,0,1,9,1,1,2,1,4] C=0 , END
</scratch>
292397301911214
| 292397301911214 | 1 |
Input:
882566806300181+270683002
Target:
| Input:
882566806300181+270683002
Target:
[8,8,2,5,6,6,8,0,6,3,0,0,1,8,1] + [2,7,0,6,8,3,0,0,2] , A=[] , C=0 , 1+2+0=3 , A->3 , C->0
[8,8,2,5,6,6,8,0,6,3,0,0,1,8] + [2,7,0,6,8,3,0,0] , A=[3] , C=0 , 8+0+0=8 , A->8 , C->0
[8,8,2,5,6,6,8,0,6,3,0,0,1] + [2,7,0,6,8,3,0] , A=[8,3] , C=0 , 1+0+0=1 , A->1 , C->0
[8,8,2,5,6,6,8,0,6,3,0,0] + [2,7,0,6,8,3] , A=[1,8,3] , C=0 , 0+3+0=3 , A->3 , C->0
[8,8,2,5,6,6,8,0,6,3,0] + [2,7,0,6,8] , A=[3,1,8,3] , C=0 , 0+8+0=8 , A->8 , C->0
[8,8,2,5,6,6,8,0,6,3] + [2,7,0,6] , A=[8,3,1,8,3] , C=0 , 3+6+0=9 , A->9 , C->0
[8,8,2,5,6,6,8,0,6] + [2,7,0] , A=[9,8,3,1,8,3] , C=0 , 6+0+0=6 , A->6 , C->0
[8,8,2,5,6,6,8,0] + [2,7] , A=[6,9,8,3,1,8,3] , C=0 , 0+7+0=7 , A->7 , C->0
[8,8,2,5,6,6,8] + [2] , A=[7,6,9,8,3,1,8,3] , C=0 , 8+2+0=10 , A->0 , C->1
[8,8,2,5,6,6] + [] , A=[0,7,6,9,8,3,1,8,3] , C=1 , 6+0+1=7 , A->7 , C->0
[8,8,2,5,6] + [] , A=[7,0,7,6,9,8,3,1,8,3] , C=0 , 6+0+0=6 , A->6 , C->0
[8,8,2,5] + [] , A=[6,7,0,7,6,9,8,3,1,8,3] , C=0 , 5+0+0=5 , A->5 , C->0
[8,8,2] + [] , A=[5,6,7,0,7,6,9,8,3,1,8,3] , C=0 , 2+0+0=2 , A->2 , C->0
[8,8] + [] , A=[2,5,6,7,0,7,6,9,8,3,1,8,3] , C=0 , 8+0+0=8 , A->8 , C->0
[8] + [] , A=[8,2,5,6,7,0,7,6,9,8,3,1,8,3] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,8,2,5,6,7,0,7,6,9,8,3,1,8,3] C=0 , END
</scratch>
882567076983183
| 882567076983183 | 9 |
Input:
2486273+983542231799405
Target:
| Input:
2486273+983542231799405
Target:
[2,4,8,6,2,7,3] + [9,8,3,5,4,2,2,3,1,7,9,9,4,0,5] , A=[] , C=0 , 3+5+0=8 , A->8 , C->0
[2,4,8,6,2,7] + [9,8,3,5,4,2,2,3,1,7,9,9,4,0] , A=[8] , C=0 , 7+0+0=7 , A->7 , C->0
[2,4,8,6,2] + [9,8,3,5,4,2,2,3,1,7,9,9,4] , A=[7,8] , C=0 , 2+4+0=6 , A->6 , C->0
[2,4,8,6] + [9,8,3,5,4,2,2,3,1,7,9,9] , A=[6,7,8] , C=0 , 6+9+0=15 , A->5 , C->1
[2,4,8] + [9,8,3,5,4,2,2,3,1,7,9] , A=[5,6,7,8] , C=1 , 8+9+1=18 , A->8 , C->1
[2,4] + [9,8,3,5,4,2,2,3,1,7] , A=[8,5,6,7,8] , C=1 , 4+7+1=12 , A->2 , C->1
[2] + [9,8,3,5,4,2,2,3,1] , A=[2,8,5,6,7,8] , C=1 , 2+1+1=4 , A->4 , C->0
[] + [9,8,3,5,4,2,2,3] , A=[4,2,8,5,6,7,8] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [9,8,3,5,4,2,2] , A=[3,4,2,8,5,6,7,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9,8,3,5,4,2] , A=[2,3,4,2,8,5,6,7,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9,8,3,5,4] , A=[2,2,3,4,2,8,5,6,7,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [9,8,3,5] , A=[4,2,2,3,4,2,8,5,6,7,8] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,8,3] , A=[5,4,2,2,3,4,2,8,5,6,7,8] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [9,8] , A=[3,5,4,2,2,3,4,2,8,5,6,7,8] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [9] , A=[8,3,5,4,2,2,3,4,2,8,5,6,7,8] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,8,3,5,4,2,2,3,4,2,8,5,6,7,8] C=0 , END
</scratch>
983542234285678
| 983542234285678 | 7 |
Input:
847440257143214+760907
Target:
| Input:
847440257143214+760907
Target:
[8,4,7,4,4,0,2,5,7,1,4,3,2,1,4] + [7,6,0,9,0,7] , A=[] , C=0 , 4+7+0=11 , A->1 , C->1
[8,4,7,4,4,0,2,5,7,1,4,3,2,1] + [7,6,0,9,0] , A=[1] , C=1 , 1+0+1=2 , A->2 , C->0
[8,4,7,4,4,0,2,5,7,1,4,3,2] + [7,6,0,9] , A=[2,1] , C=0 , 2+9+0=11 , A->1 , C->1
[8,4,7,4,4,0,2,5,7,1,4,3] + [7,6,0] , A=[1,2,1] , C=1 , 3+0+1=4 , A->4 , C->0
[8,4,7,4,4,0,2,5,7,1,4] + [7,6] , A=[4,1,2,1] , C=0 , 4+6+0=10 , A->0 , C->1
[8,4,7,4,4,0,2,5,7,1] + [7] , A=[0,4,1,2,1] , C=1 , 1+7+1=9 , A->9 , C->0
[8,4,7,4,4,0,2,5,7] + [] , A=[9,0,4,1,2,1] , C=0 , 7+0+0=7 , A->7 , C->0
[8,4,7,4,4,0,2,5] + [] , A=[7,9,0,4,1,2,1] , C=0 , 5+0+0=5 , A->5 , C->0
[8,4,7,4,4,0,2] + [] , A=[5,7,9,0,4,1,2,1] , C=0 , 2+0+0=2 , A->2 , C->0
[8,4,7,4,4,0] + [] , A=[2,5,7,9,0,4,1,2,1] , C=0 , 0+0+0=0 , A->0 , C->0
[8,4,7,4,4] + [] , A=[0,2,5,7,9,0,4,1,2,1] , C=0 , 4+0+0=4 , A->4 , C->0
[8,4,7,4] + [] , A=[4,0,2,5,7,9,0,4,1,2,1] , C=0 , 4+0+0=4 , A->4 , C->0
[8,4,7] + [] , A=[4,4,0,2,5,7,9,0,4,1,2,1] , C=0 , 7+0+0=7 , A->7 , C->0
[8,4] + [] , A=[7,4,4,0,2,5,7,9,0,4,1,2,1] , C=0 , 4+0+0=4 , A->4 , C->0
[8] + [] , A=[4,7,4,4,0,2,5,7,9,0,4,1,2,1] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,4,7,4,4,0,2,5,7,9,0,4,1,2,1] C=0 , END
</scratch>
847440257904121
| 847440257904121 | 6 |
Input:
80043996378805+781463544254806
Target:
| Input:
80043996378805+781463544254806
Target:
[8,0,0,4,3,9,9,6,3,7,8,8,0,5] + [7,8,1,4,6,3,5,4,4,2,5,4,8,0,6] , A=[] , C=0 , 5+6+0=11 , A->1 , C->1
[8,0,0,4,3,9,9,6,3,7,8,8,0] + [7,8,1,4,6,3,5,4,4,2,5,4,8,0] , A=[1] , C=1 , 0+0+1=1 , A->1 , C->0
[8,0,0,4,3,9,9,6,3,7,8,8] + [7,8,1,4,6,3,5,4,4,2,5,4,8] , A=[1,1] , C=0 , 8+8+0=16 , A->6 , C->1
[8,0,0,4,3,9,9,6,3,7,8] + [7,8,1,4,6,3,5,4,4,2,5,4] , A=[6,1,1] , C=1 , 8+4+1=13 , A->3 , C->1
[8,0,0,4,3,9,9,6,3,7] + [7,8,1,4,6,3,5,4,4,2,5] , A=[3,6,1,1] , C=1 , 7+5+1=13 , A->3 , C->1
[8,0,0,4,3,9,9,6,3] + [7,8,1,4,6,3,5,4,4,2] , A=[3,3,6,1,1] , C=1 , 3+2+1=6 , A->6 , C->0
[8,0,0,4,3,9,9,6] + [7,8,1,4,6,3,5,4,4] , A=[6,3,3,6,1,1] , C=0 , 6+4+0=10 , A->0 , C->1
[8,0,0,4,3,9,9] + [7,8,1,4,6,3,5,4] , A=[0,6,3,3,6,1,1] , C=1 , 9+4+1=14 , A->4 , C->1
[8,0,0,4,3,9] + [7,8,1,4,6,3,5] , A=[4,0,6,3,3,6,1,1] , C=1 , 9+5+1=15 , A->5 , C->1
[8,0,0,4,3] + [7,8,1,4,6,3] , A=[5,4,0,6,3,3,6,1,1] , C=1 , 3+3+1=7 , A->7 , C->0
[8,0,0,4] + [7,8,1,4,6] , A=[7,5,4,0,6,3,3,6,1,1] , C=0 , 4+6+0=10 , A->0 , C->1
[8,0,0] + [7,8,1,4] , A=[0,7,5,4,0,6,3,3,6,1,1] , C=1 , 0+4+1=5 , A->5 , C->0
[8,0] + [7,8,1] , A=[5,0,7,5,4,0,6,3,3,6,1,1] , C=0 , 0+1+0=1 , A->1 , C->0
[8] + [7,8] , A=[1,5,0,7,5,4,0,6,3,3,6,1,1] , C=0 , 8+8+0=16 , A->6 , C->1
[] + [7] , A=[6,1,5,0,7,5,4,0,6,3,3,6,1,1] , C=1 , 0+7+1=8 , A->8 , C->0
[] + [] , A=[8,6,1,5,0,7,5,4,0,6,3,3,6,1,1] C=0 , END
</scratch>
861507540633611
| 861507540633611 | 14 |
Input:
95934561317235+164022484910718
Target:
| Input:
95934561317235+164022484910718
Target:
[9,5,9,3,4,5,6,1,3,1,7,2,3,5] + [1,6,4,0,2,2,4,8,4,9,1,0,7,1,8] , A=[] , C=0 , 5+8+0=13 , A->3 , C->1
[9,5,9,3,4,5,6,1,3,1,7,2,3] + [1,6,4,0,2,2,4,8,4,9,1,0,7,1] , A=[3] , C=1 , 3+1+1=5 , A->5 , C->0
[9,5,9,3,4,5,6,1,3,1,7,2] + [1,6,4,0,2,2,4,8,4,9,1,0,7] , A=[5,3] , C=0 , 2+7+0=9 , A->9 , C->0
[9,5,9,3,4,5,6,1,3,1,7] + [1,6,4,0,2,2,4,8,4,9,1,0] , A=[9,5,3] , C=0 , 7+0+0=7 , A->7 , C->0
[9,5,9,3,4,5,6,1,3,1] + [1,6,4,0,2,2,4,8,4,9,1] , A=[7,9,5,3] , C=0 , 1+1+0=2 , A->2 , C->0
[9,5,9,3,4,5,6,1,3] + [1,6,4,0,2,2,4,8,4,9] , A=[2,7,9,5,3] , C=0 , 3+9+0=12 , A->2 , C->1
[9,5,9,3,4,5,6,1] + [1,6,4,0,2,2,4,8,4] , A=[2,2,7,9,5,3] , C=1 , 1+4+1=6 , A->6 , C->0
[9,5,9,3,4,5,6] + [1,6,4,0,2,2,4,8] , A=[6,2,2,7,9,5,3] , C=0 , 6+8+0=14 , A->4 , C->1
[9,5,9,3,4,5] + [1,6,4,0,2,2,4] , A=[4,6,2,2,7,9,5,3] , C=1 , 5+4+1=10 , A->0 , C->1
[9,5,9,3,4] + [1,6,4,0,2,2] , A=[0,4,6,2,2,7,9,5,3] , C=1 , 4+2+1=7 , A->7 , C->0
[9,5,9,3] + [1,6,4,0,2] , A=[7,0,4,6,2,2,7,9,5,3] , C=0 , 3+2+0=5 , A->5 , C->0
[9,5,9] + [1,6,4,0] , A=[5,7,0,4,6,2,2,7,9,5,3] , C=0 , 9+0+0=9 , A->9 , C->0
[9,5] + [1,6,4] , A=[9,5,7,0,4,6,2,2,7,9,5,3] , C=0 , 5+4+0=9 , A->9 , C->0
[9] + [1,6] , A=[9,9,5,7,0,4,6,2,2,7,9,5,3] , C=0 , 9+6+0=15 , A->5 , C->1
[] + [1] , A=[5,9,9,5,7,0,4,6,2,2,7,9,5,3] , C=1 , 0+1+1=2 , A->2 , C->0
[] + [] , A=[2,5,9,9,5,7,0,4,6,2,2,7,9,5,3] C=0 , END
</scratch>
259957046227953
| 259957046227953 | 14 |
Input:
575955446046817+207601678684
Target:
| Input:
575955446046817+207601678684
Target:
[5,7,5,9,5,5,4,4,6,0,4,6,8,1,7] + [2,0,7,6,0,1,6,7,8,6,8,4] , A=[] , C=0 , 7+4+0=11 , A->1 , C->1
[5,7,5,9,5,5,4,4,6,0,4,6,8,1] + [2,0,7,6,0,1,6,7,8,6,8] , A=[1] , C=1 , 1+8+1=10 , A->0 , C->1
[5,7,5,9,5,5,4,4,6,0,4,6,8] + [2,0,7,6,0,1,6,7,8,6] , A=[0,1] , C=1 , 8+6+1=15 , A->5 , C->1
[5,7,5,9,5,5,4,4,6,0,4,6] + [2,0,7,6,0,1,6,7,8] , A=[5,0,1] , C=1 , 6+8+1=15 , A->5 , C->1
[5,7,5,9,5,5,4,4,6,0,4] + [2,0,7,6,0,1,6,7] , A=[5,5,0,1] , C=1 , 4+7+1=12 , A->2 , C->1
[5,7,5,9,5,5,4,4,6,0] + [2,0,7,6,0,1,6] , A=[2,5,5,0,1] , C=1 , 0+6+1=7 , A->7 , C->0
[5,7,5,9,5,5,4,4,6] + [2,0,7,6,0,1] , A=[7,2,5,5,0,1] , C=0 , 6+1+0=7 , A->7 , C->0
[5,7,5,9,5,5,4,4] + [2,0,7,6,0] , A=[7,7,2,5,5,0,1] , C=0 , 4+0+0=4 , A->4 , C->0
[5,7,5,9,5,5,4] + [2,0,7,6] , A=[4,7,7,2,5,5,0,1] , C=0 , 4+6+0=10 , A->0 , C->1
[5,7,5,9,5,5] + [2,0,7] , A=[0,4,7,7,2,5,5,0,1] , C=1 , 5+7+1=13 , A->3 , C->1
[5,7,5,9,5] + [2,0] , A=[3,0,4,7,7,2,5,5,0,1] , C=1 , 5+0+1=6 , A->6 , C->0
[5,7,5,9] + [2] , A=[6,3,0,4,7,7,2,5,5,0,1] , C=0 , 9+2+0=11 , A->1 , C->1
[5,7,5] + [] , A=[1,6,3,0,4,7,7,2,5,5,0,1] , C=1 , 5+0+1=6 , A->6 , C->0
[5,7] + [] , A=[6,1,6,3,0,4,7,7,2,5,5,0,1] , C=0 , 7+0+0=7 , A->7 , C->0
[5] + [] , A=[7,6,1,6,3,0,4,7,7,2,5,5,0,1] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,7,6,1,6,3,0,4,7,7,2,5,5,0,1] C=0 , END
</scratch>
576163047725501
| 576163047725501 | 12 |
Input:
779951294224854+8209
Target:
| Input:
779951294224854+8209
Target:
[7,7,9,9,5,1,2,9,4,2,2,4,8,5,4] + [8,2,0,9] , A=[] , C=0 , 4+9+0=13 , A->3 , C->1
[7,7,9,9,5,1,2,9,4,2,2,4,8,5] + [8,2,0] , A=[3] , C=1 , 5+0+1=6 , A->6 , C->0
[7,7,9,9,5,1,2,9,4,2,2,4,8] + [8,2] , A=[6,3] , C=0 , 8+2+0=10 , A->0 , C->1
[7,7,9,9,5,1,2,9,4,2,2,4] + [8] , A=[0,6,3] , C=1 , 4+8+1=13 , A->3 , C->1
[7,7,9,9,5,1,2,9,4,2,2] + [] , A=[3,0,6,3] , C=1 , 2+0+1=3 , A->3 , C->0
[7,7,9,9,5,1,2,9,4,2] + [] , A=[3,3,0,6,3] , C=0 , 2+0+0=2 , A->2 , C->0
[7,7,9,9,5,1,2,9,4] + [] , A=[2,3,3,0,6,3] , C=0 , 4+0+0=4 , A->4 , C->0
[7,7,9,9,5,1,2,9] + [] , A=[4,2,3,3,0,6,3] , C=0 , 9+0+0=9 , A->9 , C->0
[7,7,9,9,5,1,2] + [] , A=[9,4,2,3,3,0,6,3] , C=0 , 2+0+0=2 , A->2 , C->0
[7,7,9,9,5,1] + [] , A=[2,9,4,2,3,3,0,6,3] , C=0 , 1+0+0=1 , A->1 , C->0
[7,7,9,9,5] + [] , A=[1,2,9,4,2,3,3,0,6,3] , C=0 , 5+0+0=5 , A->5 , C->0
[7,7,9,9] + [] , A=[5,1,2,9,4,2,3,3,0,6,3] , C=0 , 9+0+0=9 , A->9 , C->0
[7,7,9] + [] , A=[9,5,1,2,9,4,2,3,3,0,6,3] , C=0 , 9+0+0=9 , A->9 , C->0
[7,7] + [] , A=[9,9,5,1,2,9,4,2,3,3,0,6,3] , C=0 , 7+0+0=7 , A->7 , C->0
[7] + [] , A=[7,9,9,5,1,2,9,4,2,3,3,0,6,3] , C=0 , 7+0+0=7 , A->7 , C->0
[] + [] , A=[7,7,9,9,5,1,2,9,4,2,3,3,0,6,3] C=0 , END
</scratch>
779951294233063
| 779951294233063 | 4 |
Input:
1990836654+231265520831015
Target:
| Input:
1990836654+231265520831015
Target:
[1,9,9,0,8,3,6,6,5,4] + [2,3,1,2,6,5,5,2,0,8,3,1,0,1,5] , A=[] , C=0 , 4+5+0=9 , A->9 , C->0
[1,9,9,0,8,3,6,6,5] + [2,3,1,2,6,5,5,2,0,8,3,1,0,1] , A=[9] , C=0 , 5+1+0=6 , A->6 , C->0
[1,9,9,0,8,3,6,6] + [2,3,1,2,6,5,5,2,0,8,3,1,0] , A=[6,9] , C=0 , 6+0+0=6 , A->6 , C->0
[1,9,9,0,8,3,6] + [2,3,1,2,6,5,5,2,0,8,3,1] , A=[6,6,9] , C=0 , 6+1+0=7 , A->7 , C->0
[1,9,9,0,8,3] + [2,3,1,2,6,5,5,2,0,8,3] , A=[7,6,6,9] , C=0 , 3+3+0=6 , A->6 , C->0
[1,9,9,0,8] + [2,3,1,2,6,5,5,2,0,8] , A=[6,7,6,6,9] , C=0 , 8+8+0=16 , A->6 , C->1
[1,9,9,0] + [2,3,1,2,6,5,5,2,0] , A=[6,6,7,6,6,9] , C=1 , 0+0+1=1 , A->1 , C->0
[1,9,9] + [2,3,1,2,6,5,5,2] , A=[1,6,6,7,6,6,9] , C=0 , 9+2+0=11 , A->1 , C->1
[1,9] + [2,3,1,2,6,5,5] , A=[1,1,6,6,7,6,6,9] , C=1 , 9+5+1=15 , A->5 , C->1
[1] + [2,3,1,2,6,5] , A=[5,1,1,6,6,7,6,6,9] , C=1 , 1+5+1=7 , A->7 , C->0
[] + [2,3,1,2,6] , A=[7,5,1,1,6,6,7,6,6,9] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [2,3,1,2] , A=[6,7,5,1,1,6,6,7,6,6,9] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [2,3,1] , A=[2,6,7,5,1,1,6,6,7,6,6,9] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [2,3] , A=[1,2,6,7,5,1,1,6,6,7,6,6,9] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [2] , A=[3,1,2,6,7,5,1,1,6,6,7,6,6,9] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,3,1,2,6,7,5,1,1,6,6,7,6,6,9] C=0 , END
</scratch>
231267511667669
| 231267511667669 | 10 |
Input:
75631+229498305677310
Target:
| Input:
75631+229498305677310
Target:
[7,5,6,3,1] + [2,2,9,4,9,8,3,0,5,6,7,7,3,1,0] , A=[] , C=0 , 1+0+0=1 , A->1 , C->0
[7,5,6,3] + [2,2,9,4,9,8,3,0,5,6,7,7,3,1] , A=[1] , C=0 , 3+1+0=4 , A->4 , C->0
[7,5,6] + [2,2,9,4,9,8,3,0,5,6,7,7,3] , A=[4,1] , C=0 , 6+3+0=9 , A->9 , C->0
[7,5] + [2,2,9,4,9,8,3,0,5,6,7,7] , A=[9,4,1] , C=0 , 5+7+0=12 , A->2 , C->1
[7] + [2,2,9,4,9,8,3,0,5,6,7] , A=[2,9,4,1] , C=1 , 7+7+1=15 , A->5 , C->1
[] + [2,2,9,4,9,8,3,0,5,6] , A=[5,2,9,4,1] , C=1 , 0+6+1=7 , A->7 , C->0
[] + [2,2,9,4,9,8,3,0,5] , A=[7,5,2,9,4,1] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [2,2,9,4,9,8,3,0] , A=[5,7,5,2,9,4,1] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [2,2,9,4,9,8,3] , A=[0,5,7,5,2,9,4,1] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [2,2,9,4,9,8] , A=[3,0,5,7,5,2,9,4,1] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [2,2,9,4,9] , A=[8,3,0,5,7,5,2,9,4,1] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [2,2,9,4] , A=[9,8,3,0,5,7,5,2,9,4,1] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [2,2,9] , A=[4,9,8,3,0,5,7,5,2,9,4,1] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [2,2] , A=[9,4,9,8,3,0,5,7,5,2,9,4,1] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [2] , A=[2,9,4,9,8,3,0,5,7,5,2,9,4,1] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,2,9,4,9,8,3,0,5,7,5,2,9,4,1] C=0 , END
</scratch>
229498305752941
| 229498305752941 | 5 |
Input:
191819998020149+9
Target:
| Input:
191819998020149+9
Target:
[1,9,1,8,1,9,9,9,8,0,2,0,1,4,9] + [9] , A=[] , C=0 , 9+9+0=18 , A->8 , C->1
[1,9,1,8,1,9,9,9,8,0,2,0,1,4] + [] , A=[8] , C=1 , 4+0+1=5 , A->5 , C->0
[1,9,1,8,1,9,9,9,8,0,2,0,1] + [] , A=[5,8] , C=0 , 1+0+0=1 , A->1 , C->0
[1,9,1,8,1,9,9,9,8,0,2,0] + [] , A=[1,5,8] , C=0 , 0+0+0=0 , A->0 , C->0
[1,9,1,8,1,9,9,9,8,0,2] + [] , A=[0,1,5,8] , C=0 , 2+0+0=2 , A->2 , C->0
[1,9,1,8,1,9,9,9,8,0] + [] , A=[2,0,1,5,8] , C=0 , 0+0+0=0 , A->0 , C->0
[1,9,1,8,1,9,9,9,8] + [] , A=[0,2,0,1,5,8] , C=0 , 8+0+0=8 , A->8 , C->0
[1,9,1,8,1,9,9,9] + [] , A=[8,0,2,0,1,5,8] , C=0 , 9+0+0=9 , A->9 , C->0
[1,9,1,8,1,9,9] + [] , A=[9,8,0,2,0,1,5,8] , C=0 , 9+0+0=9 , A->9 , C->0
[1,9,1,8,1,9] + [] , A=[9,9,8,0,2,0,1,5,8] , C=0 , 9+0+0=9 , A->9 , C->0
[1,9,1,8,1] + [] , A=[9,9,9,8,0,2,0,1,5,8] , C=0 , 1+0+0=1 , A->1 , C->0
[1,9,1,8] + [] , A=[1,9,9,9,8,0,2,0,1,5,8] , C=0 , 8+0+0=8 , A->8 , C->0
[1,9,1] + [] , A=[8,1,9,9,9,8,0,2,0,1,5,8] , C=0 , 1+0+0=1 , A->1 , C->0
[1,9] + [] , A=[1,8,1,9,9,9,8,0,2,0,1,5,8] , C=0 , 9+0+0=9 , A->9 , C->0
[1] + [] , A=[9,1,8,1,9,9,9,8,0,2,0,1,5,8] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,9,1,8,1,9,9,9,8,0,2,0,1,5,8] C=0 , END
</scratch>
191819998020158
| 191819998020158 | 1 |
Input:
162208482929137+805682403
Target:
| Input:
162208482929137+805682403
Target:
[1,6,2,2,0,8,4,8,2,9,2,9,1,3,7] + [8,0,5,6,8,2,4,0,3] , A=[] , C=0 , 7+3+0=10 , A->0 , C->1
[1,6,2,2,0,8,4,8,2,9,2,9,1,3] + [8,0,5,6,8,2,4,0] , A=[0] , C=1 , 3+0+1=4 , A->4 , C->0
[1,6,2,2,0,8,4,8,2,9,2,9,1] + [8,0,5,6,8,2,4] , A=[4,0] , C=0 , 1+4+0=5 , A->5 , C->0
[1,6,2,2,0,8,4,8,2,9,2,9] + [8,0,5,6,8,2] , A=[5,4,0] , C=0 , 9+2+0=11 , A->1 , C->1
[1,6,2,2,0,8,4,8,2,9,2] + [8,0,5,6,8] , A=[1,5,4,0] , C=1 , 2+8+1=11 , A->1 , C->1
[1,6,2,2,0,8,4,8,2,9] + [8,0,5,6] , A=[1,1,5,4,0] , C=1 , 9+6+1=16 , A->6 , C->1
[1,6,2,2,0,8,4,8,2] + [8,0,5] , A=[6,1,1,5,4,0] , C=1 , 2+5+1=8 , A->8 , C->0
[1,6,2,2,0,8,4,8] + [8,0] , A=[8,6,1,1,5,4,0] , C=0 , 8+0+0=8 , A->8 , C->0
[1,6,2,2,0,8,4] + [8] , A=[8,8,6,1,1,5,4,0] , C=0 , 4+8+0=12 , A->2 , C->1
[1,6,2,2,0,8] + [] , A=[2,8,8,6,1,1,5,4,0] , C=1 , 8+0+1=9 , A->9 , C->0
[1,6,2,2,0] + [] , A=[9,2,8,8,6,1,1,5,4,0] , C=0 , 0+0+0=0 , A->0 , C->0
[1,6,2,2] + [] , A=[0,9,2,8,8,6,1,1,5,4,0] , C=0 , 2+0+0=2 , A->2 , C->0
[1,6,2] + [] , A=[2,0,9,2,8,8,6,1,1,5,4,0] , C=0 , 2+0+0=2 , A->2 , C->0
[1,6] + [] , A=[2,2,0,9,2,8,8,6,1,1,5,4,0] , C=0 , 6+0+0=6 , A->6 , C->0
[1] + [] , A=[6,2,2,0,9,2,8,8,6,1,1,5,4,0] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,6,2,2,0,9,2,8,8,6,1,1,5,4,0] C=0 , END
</scratch>
162209288611540
| 162209288611540 | 9 |