input_test
stringlengths 32
45
| scratchpad
stringlengths 1.11k
1.33k
| result_final
stringlengths 14
15
| y_digits
int64 1
14
|
---|---|---|---|
Input:
99078+53570696040951
Target:
| Input:
99078+53570696040951
Target:
[9,9,0,7,8] + [5,3,5,7,0,6,9,6,0,4,0,9,5,1] , A=[] , C=0 , 8+1+0=9 , A->9 , C->0
[9,9,0,7] + [5,3,5,7,0,6,9,6,0,4,0,9,5] , A=[9] , C=0 , 7+5+0=12 , A->2 , C->1
[9,9,0] + [5,3,5,7,0,6,9,6,0,4,0,9] , A=[2,9] , C=1 , 0+9+1=10 , A->0 , C->1
[9,9] + [5,3,5,7,0,6,9,6,0,4,0] , A=[0,2,9] , C=1 , 9+0+1=10 , A->0 , C->1
[9] + [5,3,5,7,0,6,9,6,0,4] , A=[0,0,2,9] , C=1 , 9+4+1=14 , A->4 , C->1
[] + [5,3,5,7,0,6,9,6,0] , A=[4,0,0,2,9] , C=1 , 0+0+1=1 , A->1 , C->0
[] + [5,3,5,7,0,6,9,6] , A=[1,4,0,0,2,9] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [5,3,5,7,0,6,9] , A=[6,1,4,0,0,2,9] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [5,3,5,7,0,6] , A=[9,6,1,4,0,0,2,9] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [5,3,5,7,0] , A=[6,9,6,1,4,0,0,2,9] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [5,3,5,7] , A=[0,6,9,6,1,4,0,0,2,9] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [5,3,5] , A=[7,0,6,9,6,1,4,0,0,2,9] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [5,3] , A=[5,7,0,6,9,6,1,4,0,0,2,9] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [5] , A=[3,5,7,0,6,9,6,1,4,0,0,2,9] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,3,5,7,0,6,9,6,1,4,0,0,2,9] C=0 , END
</scratch>
53570696140029
| 53570696140029 | 5 |
Input:
4727963946+79556840827699
Target:
| Input:
4727963946+79556840827699
Target:
[4,7,2,7,9,6,3,9,4,6] + [7,9,5,5,6,8,4,0,8,2,7,6,9,9] , A=[] , C=0 , 6+9+0=15 , A->5 , C->1
[4,7,2,7,9,6,3,9,4] + [7,9,5,5,6,8,4,0,8,2,7,6,9] , A=[5] , C=1 , 4+9+1=14 , A->4 , C->1
[4,7,2,7,9,6,3,9] + [7,9,5,5,6,8,4,0,8,2,7,6] , A=[4,5] , C=1 , 9+6+1=16 , A->6 , C->1
[4,7,2,7,9,6,3] + [7,9,5,5,6,8,4,0,8,2,7] , A=[6,4,5] , C=1 , 3+7+1=11 , A->1 , C->1
[4,7,2,7,9,6] + [7,9,5,5,6,8,4,0,8,2] , A=[1,6,4,5] , C=1 , 6+2+1=9 , A->9 , C->0
[4,7,2,7,9] + [7,9,5,5,6,8,4,0,8] , A=[9,1,6,4,5] , C=0 , 9+8+0=17 , A->7 , C->1
[4,7,2,7] + [7,9,5,5,6,8,4,0] , A=[7,9,1,6,4,5] , C=1 , 7+0+1=8 , A->8 , C->0
[4,7,2] + [7,9,5,5,6,8,4] , A=[8,7,9,1,6,4,5] , C=0 , 2+4+0=6 , A->6 , C->0
[4,7] + [7,9,5,5,6,8] , A=[6,8,7,9,1,6,4,5] , C=0 , 7+8+0=15 , A->5 , C->1
[4] + [7,9,5,5,6] , A=[5,6,8,7,9,1,6,4,5] , C=1 , 4+6+1=11 , A->1 , C->1
[] + [7,9,5,5] , A=[1,5,6,8,7,9,1,6,4,5] , C=1 , 0+5+1=6 , A->6 , C->0
[] + [7,9,5] , A=[6,1,5,6,8,7,9,1,6,4,5] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [7,9] , A=[5,6,1,5,6,8,7,9,1,6,4,5] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [7] , A=[9,5,6,1,5,6,8,7,9,1,6,4,5] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,9,5,6,1,5,6,8,7,9,1,6,4,5] C=0 , END
</scratch>
79561568791645
| 79561568791645 | 10 |
Input:
675752444798+11335853912861
Target:
| Input:
675752444798+11335853912861
Target:
[6,7,5,7,5,2,4,4,4,7,9,8] + [1,1,3,3,5,8,5,3,9,1,2,8,6,1] , A=[] , C=0 , 8+1+0=9 , A->9 , C->0
[6,7,5,7,5,2,4,4,4,7,9] + [1,1,3,3,5,8,5,3,9,1,2,8,6] , A=[9] , C=0 , 9+6+0=15 , A->5 , C->1
[6,7,5,7,5,2,4,4,4,7] + [1,1,3,3,5,8,5,3,9,1,2,8] , A=[5,9] , C=1 , 7+8+1=16 , A->6 , C->1
[6,7,5,7,5,2,4,4,4] + [1,1,3,3,5,8,5,3,9,1,2] , A=[6,5,9] , C=1 , 4+2+1=7 , A->7 , C->0
[6,7,5,7,5,2,4,4] + [1,1,3,3,5,8,5,3,9,1] , A=[7,6,5,9] , C=0 , 4+1+0=5 , A->5 , C->0
[6,7,5,7,5,2,4] + [1,1,3,3,5,8,5,3,9] , A=[5,7,6,5,9] , C=0 , 4+9+0=13 , A->3 , C->1
[6,7,5,7,5,2] + [1,1,3,3,5,8,5,3] , A=[3,5,7,6,5,9] , C=1 , 2+3+1=6 , A->6 , C->0
[6,7,5,7,5] + [1,1,3,3,5,8,5] , A=[6,3,5,7,6,5,9] , C=0 , 5+5+0=10 , A->0 , C->1
[6,7,5,7] + [1,1,3,3,5,8] , A=[0,6,3,5,7,6,5,9] , C=1 , 7+8+1=16 , A->6 , C->1
[6,7,5] + [1,1,3,3,5] , A=[6,0,6,3,5,7,6,5,9] , C=1 , 5+5+1=11 , A->1 , C->1
[6,7] + [1,1,3,3] , A=[1,6,0,6,3,5,7,6,5,9] , C=1 , 7+3+1=11 , A->1 , C->1
[6] + [1,1,3] , A=[1,1,6,0,6,3,5,7,6,5,9] , C=1 , 6+3+1=10 , A->0 , C->1
[] + [1,1] , A=[0,1,1,6,0,6,3,5,7,6,5,9] , C=1 , 0+1+1=2 , A->2 , C->0
[] + [1] , A=[2,0,1,1,6,0,6,3,5,7,6,5,9] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,2,0,1,1,6,0,6,3,5,7,6,5,9] C=0 , END
</scratch>
12011606357659
| 12011606357659 | 12 |
Input:
6226990364+32319526567173
Target:
| Input:
6226990364+32319526567173
Target:
[6,2,2,6,9,9,0,3,6,4] + [3,2,3,1,9,5,2,6,5,6,7,1,7,3] , A=[] , C=0 , 4+3+0=7 , A->7 , C->0
[6,2,2,6,9,9,0,3,6] + [3,2,3,1,9,5,2,6,5,6,7,1,7] , A=[7] , C=0 , 6+7+0=13 , A->3 , C->1
[6,2,2,6,9,9,0,3] + [3,2,3,1,9,5,2,6,5,6,7,1] , A=[3,7] , C=1 , 3+1+1=5 , A->5 , C->0
[6,2,2,6,9,9,0] + [3,2,3,1,9,5,2,6,5,6,7] , A=[5,3,7] , C=0 , 0+7+0=7 , A->7 , C->0
[6,2,2,6,9,9] + [3,2,3,1,9,5,2,6,5,6] , A=[7,5,3,7] , C=0 , 9+6+0=15 , A->5 , C->1
[6,2,2,6,9] + [3,2,3,1,9,5,2,6,5] , A=[5,7,5,3,7] , C=1 , 9+5+1=15 , A->5 , C->1
[6,2,2,6] + [3,2,3,1,9,5,2,6] , A=[5,5,7,5,3,7] , C=1 , 6+6+1=13 , A->3 , C->1
[6,2,2] + [3,2,3,1,9,5,2] , A=[3,5,5,7,5,3,7] , C=1 , 2+2+1=5 , A->5 , C->0
[6,2] + [3,2,3,1,9,5] , A=[5,3,5,5,7,5,3,7] , C=0 , 2+5+0=7 , A->7 , C->0
[6] + [3,2,3,1,9] , A=[7,5,3,5,5,7,5,3,7] , C=0 , 6+9+0=15 , A->5 , C->1
[] + [3,2,3,1] , A=[5,7,5,3,5,5,7,5,3,7] , C=1 , 0+1+1=2 , A->2 , C->0
[] + [3,2,3] , A=[2,5,7,5,3,5,5,7,5,3,7] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [3,2] , A=[3,2,5,7,5,3,5,5,7,5,3,7] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [3] , A=[2,3,2,5,7,5,3,5,5,7,5,3,7] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [] , A=[3,2,3,2,5,7,5,3,5,5,7,5,3,7] C=0 , END
</scratch>
32325753557537
| 32325753557537 | 10 |
Input:
80504921827777+6
Target:
| Input:
80504921827777+6
Target:
[8,0,5,0,4,9,2,1,8,2,7,7,7,7] + [6] , A=[] , C=0 , 7+6+0=13 , A->3 , C->1
[8,0,5,0,4,9,2,1,8,2,7,7,7] + [] , A=[3] , C=1 , 7+0+1=8 , A->8 , C->0
[8,0,5,0,4,9,2,1,8,2,7,7] + [] , A=[8,3] , C=0 , 7+0+0=7 , A->7 , C->0
[8,0,5,0,4,9,2,1,8,2,7] + [] , A=[7,8,3] , C=0 , 7+0+0=7 , A->7 , C->0
[8,0,5,0,4,9,2,1,8,2] + [] , A=[7,7,8,3] , C=0 , 2+0+0=2 , A->2 , C->0
[8,0,5,0,4,9,2,1,8] + [] , A=[2,7,7,8,3] , C=0 , 8+0+0=8 , A->8 , C->0
[8,0,5,0,4,9,2,1] + [] , A=[8,2,7,7,8,3] , C=0 , 1+0+0=1 , A->1 , C->0
[8,0,5,0,4,9,2] + [] , A=[1,8,2,7,7,8,3] , C=0 , 2+0+0=2 , A->2 , C->0
[8,0,5,0,4,9] + [] , A=[2,1,8,2,7,7,8,3] , C=0 , 9+0+0=9 , A->9 , C->0
[8,0,5,0,4] + [] , A=[9,2,1,8,2,7,7,8,3] , C=0 , 4+0+0=4 , A->4 , C->0
[8,0,5,0] + [] , A=[4,9,2,1,8,2,7,7,8,3] , C=0 , 0+0+0=0 , A->0 , C->0
[8,0,5] + [] , A=[0,4,9,2,1,8,2,7,7,8,3] , C=0 , 5+0+0=5 , A->5 , C->0
[8,0] + [] , A=[5,0,4,9,2,1,8,2,7,7,8,3] , C=0 , 0+0+0=0 , A->0 , C->0
[8] + [] , A=[0,5,0,4,9,2,1,8,2,7,7,8,3] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,0,5,0,4,9,2,1,8,2,7,7,8,3] C=0 , END
</scratch>
80504921827783
| 80504921827783 | 1 |
Input:
92075968714487+6766
Target:
| Input:
92075968714487+6766
Target:
[9,2,0,7,5,9,6,8,7,1,4,4,8,7] + [6,7,6,6] , A=[] , C=0 , 7+6+0=13 , A->3 , C->1
[9,2,0,7,5,9,6,8,7,1,4,4,8] + [6,7,6] , A=[3] , C=1 , 8+6+1=15 , A->5 , C->1
[9,2,0,7,5,9,6,8,7,1,4,4] + [6,7] , A=[5,3] , C=1 , 4+7+1=12 , A->2 , C->1
[9,2,0,7,5,9,6,8,7,1,4] + [6] , A=[2,5,3] , C=1 , 4+6+1=11 , A->1 , C->1
[9,2,0,7,5,9,6,8,7,1] + [] , A=[1,2,5,3] , C=1 , 1+0+1=2 , A->2 , C->0
[9,2,0,7,5,9,6,8,7] + [] , A=[2,1,2,5,3] , C=0 , 7+0+0=7 , A->7 , C->0
[9,2,0,7,5,9,6,8] + [] , A=[7,2,1,2,5,3] , C=0 , 8+0+0=8 , A->8 , C->0
[9,2,0,7,5,9,6] + [] , A=[8,7,2,1,2,5,3] , C=0 , 6+0+0=6 , A->6 , C->0
[9,2,0,7,5,9] + [] , A=[6,8,7,2,1,2,5,3] , C=0 , 9+0+0=9 , A->9 , C->0
[9,2,0,7,5] + [] , A=[9,6,8,7,2,1,2,5,3] , C=0 , 5+0+0=5 , A->5 , C->0
[9,2,0,7] + [] , A=[5,9,6,8,7,2,1,2,5,3] , C=0 , 7+0+0=7 , A->7 , C->0
[9,2,0] + [] , A=[7,5,9,6,8,7,2,1,2,5,3] , C=0 , 0+0+0=0 , A->0 , C->0
[9,2] + [] , A=[0,7,5,9,6,8,7,2,1,2,5,3] , C=0 , 2+0+0=2 , A->2 , C->0
[9] + [] , A=[2,0,7,5,9,6,8,7,2,1,2,5,3] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,2,0,7,5,9,6,8,7,2,1,2,5,3] C=0 , END
</scratch>
92075968721253
| 92075968721253 | 4 |
Input:
2+54981990515019
Target:
| Input:
2+54981990515019
Target:
[2] + [5,4,9,8,1,9,9,0,5,1,5,0,1,9] , A=[] , C=0 , 2+9+0=11 , A->1 , C->1
[] + [5,4,9,8,1,9,9,0,5,1,5,0,1] , A=[1] , C=1 , 0+1+1=2 , A->2 , C->0
[] + [5,4,9,8,1,9,9,0,5,1,5,0] , A=[2,1] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [5,4,9,8,1,9,9,0,5,1,5] , A=[0,2,1] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [5,4,9,8,1,9,9,0,5,1] , A=[5,0,2,1] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [5,4,9,8,1,9,9,0,5] , A=[1,5,0,2,1] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [5,4,9,8,1,9,9,0] , A=[5,1,5,0,2,1] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [5,4,9,8,1,9,9] , A=[0,5,1,5,0,2,1] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [5,4,9,8,1,9] , A=[9,0,5,1,5,0,2,1] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [5,4,9,8,1] , A=[9,9,0,5,1,5,0,2,1] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [5,4,9,8] , A=[1,9,9,0,5,1,5,0,2,1] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [5,4,9] , A=[8,1,9,9,0,5,1,5,0,2,1] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [5,4] , A=[9,8,1,9,9,0,5,1,5,0,2,1] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [5] , A=[4,9,8,1,9,9,0,5,1,5,0,2,1] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,4,9,8,1,9,9,0,5,1,5,0,2,1] C=0 , END
</scratch>
54981990515021
| 54981990515021 | 1 |
Input:
97345755+56432557072549
Target:
| Input:
97345755+56432557072549
Target:
[9,7,3,4,5,7,5,5] + [5,6,4,3,2,5,5,7,0,7,2,5,4,9] , A=[] , C=0 , 5+9+0=14 , A->4 , C->1
[9,7,3,4,5,7,5] + [5,6,4,3,2,5,5,7,0,7,2,5,4] , A=[4] , C=1 , 5+4+1=10 , A->0 , C->1
[9,7,3,4,5,7] + [5,6,4,3,2,5,5,7,0,7,2,5] , A=[0,4] , C=1 , 7+5+1=13 , A->3 , C->1
[9,7,3,4,5] + [5,6,4,3,2,5,5,7,0,7,2] , A=[3,0,4] , C=1 , 5+2+1=8 , A->8 , C->0
[9,7,3,4] + [5,6,4,3,2,5,5,7,0,7] , A=[8,3,0,4] , C=0 , 4+7+0=11 , A->1 , C->1
[9,7,3] + [5,6,4,3,2,5,5,7,0] , A=[1,8,3,0,4] , C=1 , 3+0+1=4 , A->4 , C->0
[9,7] + [5,6,4,3,2,5,5,7] , A=[4,1,8,3,0,4] , C=0 , 7+7+0=14 , A->4 , C->1
[9] + [5,6,4,3,2,5,5] , A=[4,4,1,8,3,0,4] , C=1 , 9+5+1=15 , A->5 , C->1
[] + [5,6,4,3,2,5] , A=[5,4,4,1,8,3,0,4] , C=1 , 0+5+1=6 , A->6 , C->0
[] + [5,6,4,3,2] , A=[6,5,4,4,1,8,3,0,4] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [5,6,4,3] , A=[2,6,5,4,4,1,8,3,0,4] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [5,6,4] , A=[3,2,6,5,4,4,1,8,3,0,4] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [5,6] , A=[4,3,2,6,5,4,4,1,8,3,0,4] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [5] , A=[6,4,3,2,6,5,4,4,1,8,3,0,4] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,6,4,3,2,6,5,4,4,1,8,3,0,4] C=0 , END
</scratch>
56432654418304
| 56432654418304 | 8 |
Input:
10386811061+53091328513290
Target:
| Input:
10386811061+53091328513290
Target:
[1,0,3,8,6,8,1,1,0,6,1] + [5,3,0,9,1,3,2,8,5,1,3,2,9,0] , A=[] , C=0 , 1+0+0=1 , A->1 , C->0
[1,0,3,8,6,8,1,1,0,6] + [5,3,0,9,1,3,2,8,5,1,3,2,9] , A=[1] , C=0 , 6+9+0=15 , A->5 , C->1
[1,0,3,8,6,8,1,1,0] + [5,3,0,9,1,3,2,8,5,1,3,2] , A=[5,1] , C=1 , 0+2+1=3 , A->3 , C->0
[1,0,3,8,6,8,1,1] + [5,3,0,9,1,3,2,8,5,1,3] , A=[3,5,1] , C=0 , 1+3+0=4 , A->4 , C->0
[1,0,3,8,6,8,1] + [5,3,0,9,1,3,2,8,5,1] , A=[4,3,5,1] , C=0 , 1+1+0=2 , A->2 , C->0
[1,0,3,8,6,8] + [5,3,0,9,1,3,2,8,5] , A=[2,4,3,5,1] , C=0 , 8+5+0=13 , A->3 , C->1
[1,0,3,8,6] + [5,3,0,9,1,3,2,8] , A=[3,2,4,3,5,1] , C=1 , 6+8+1=15 , A->5 , C->1
[1,0,3,8] + [5,3,0,9,1,3,2] , A=[5,3,2,4,3,5,1] , C=1 , 8+2+1=11 , A->1 , C->1
[1,0,3] + [5,3,0,9,1,3] , A=[1,5,3,2,4,3,5,1] , C=1 , 3+3+1=7 , A->7 , C->0
[1,0] + [5,3,0,9,1] , A=[7,1,5,3,2,4,3,5,1] , C=0 , 0+1+0=1 , A->1 , C->0
[1] + [5,3,0,9] , A=[1,7,1,5,3,2,4,3,5,1] , C=0 , 1+9+0=10 , A->0 , C->1
[] + [5,3,0] , A=[0,1,7,1,5,3,2,4,3,5,1] , C=1 , 0+0+1=1 , A->1 , C->0
[] + [5,3] , A=[1,0,1,7,1,5,3,2,4,3,5,1] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [5] , A=[3,1,0,1,7,1,5,3,2,4,3,5,1] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,3,1,0,1,7,1,5,3,2,4,3,5,1] C=0 , END
</scratch>
53101715324351
| 53101715324351 | 11 |
Input:
66715866469618+5
Target:
| Input:
66715866469618+5
Target:
[6,6,7,1,5,8,6,6,4,6,9,6,1,8] + [5] , A=[] , C=0 , 8+5+0=13 , A->3 , C->1
[6,6,7,1,5,8,6,6,4,6,9,6,1] + [] , A=[3] , C=1 , 1+0+1=2 , A->2 , C->0
[6,6,7,1,5,8,6,6,4,6,9,6] + [] , A=[2,3] , C=0 , 6+0+0=6 , A->6 , C->0
[6,6,7,1,5,8,6,6,4,6,9] + [] , A=[6,2,3] , C=0 , 9+0+0=9 , A->9 , C->0
[6,6,7,1,5,8,6,6,4,6] + [] , A=[9,6,2,3] , C=0 , 6+0+0=6 , A->6 , C->0
[6,6,7,1,5,8,6,6,4] + [] , A=[6,9,6,2,3] , C=0 , 4+0+0=4 , A->4 , C->0
[6,6,7,1,5,8,6,6] + [] , A=[4,6,9,6,2,3] , C=0 , 6+0+0=6 , A->6 , C->0
[6,6,7,1,5,8,6] + [] , A=[6,4,6,9,6,2,3] , C=0 , 6+0+0=6 , A->6 , C->0
[6,6,7,1,5,8] + [] , A=[6,6,4,6,9,6,2,3] , C=0 , 8+0+0=8 , A->8 , C->0
[6,6,7,1,5] + [] , A=[8,6,6,4,6,9,6,2,3] , C=0 , 5+0+0=5 , A->5 , C->0
[6,6,7,1] + [] , A=[5,8,6,6,4,6,9,6,2,3] , C=0 , 1+0+0=1 , A->1 , C->0
[6,6,7] + [] , A=[1,5,8,6,6,4,6,9,6,2,3] , C=0 , 7+0+0=7 , A->7 , C->0
[6,6] + [] , A=[7,1,5,8,6,6,4,6,9,6,2,3] , C=0 , 6+0+0=6 , A->6 , C->0
[6] + [] , A=[6,7,1,5,8,6,6,4,6,9,6,2,3] , C=0 , 6+0+0=6 , A->6 , C->0
[] + [] , A=[6,6,7,1,5,8,6,6,4,6,9,6,2,3] C=0 , END
</scratch>
66715866469623
| 66715866469623 | 1 |
Input:
71+23898195470255
Target:
| Input:
71+23898195470255
Target:
[7,1] + [2,3,8,9,8,1,9,5,4,7,0,2,5,5] , A=[] , C=0 , 1+5+0=6 , A->6 , C->0
[7] + [2,3,8,9,8,1,9,5,4,7,0,2,5] , A=[6] , C=0 , 7+5+0=12 , A->2 , C->1
[] + [2,3,8,9,8,1,9,5,4,7,0,2] , A=[2,6] , C=1 , 0+2+1=3 , A->3 , C->0
[] + [2,3,8,9,8,1,9,5,4,7,0] , A=[3,2,6] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [2,3,8,9,8,1,9,5,4,7] , A=[0,3,2,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [2,3,8,9,8,1,9,5,4] , A=[7,0,3,2,6] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [2,3,8,9,8,1,9,5] , A=[4,7,0,3,2,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [2,3,8,9,8,1,9] , A=[5,4,7,0,3,2,6] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [2,3,8,9,8,1] , A=[9,5,4,7,0,3,2,6] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [2,3,8,9,8] , A=[1,9,5,4,7,0,3,2,6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [2,3,8,9] , A=[8,1,9,5,4,7,0,3,2,6] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [2,3,8] , A=[9,8,1,9,5,4,7,0,3,2,6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [2,3] , A=[8,9,8,1,9,5,4,7,0,3,2,6] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [2] , A=[3,8,9,8,1,9,5,4,7,0,3,2,6] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,3,8,9,8,1,9,5,4,7,0,3,2,6] C=0 , END
</scratch>
23898195470326
| 23898195470326 | 2 |
Input:
94616155725170+32
Target:
| Input:
94616155725170+32
Target:
[9,4,6,1,6,1,5,5,7,2,5,1,7,0] + [3,2] , A=[] , C=0 , 0+2+0=2 , A->2 , C->0
[9,4,6,1,6,1,5,5,7,2,5,1,7] + [3] , A=[2] , C=0 , 7+3+0=10 , A->0 , C->1
[9,4,6,1,6,1,5,5,7,2,5,1] + [] , A=[0,2] , C=1 , 1+0+1=2 , A->2 , C->0
[9,4,6,1,6,1,5,5,7,2,5] + [] , A=[2,0,2] , C=0 , 5+0+0=5 , A->5 , C->0
[9,4,6,1,6,1,5,5,7,2] + [] , A=[5,2,0,2] , C=0 , 2+0+0=2 , A->2 , C->0
[9,4,6,1,6,1,5,5,7] + [] , A=[2,5,2,0,2] , C=0 , 7+0+0=7 , A->7 , C->0
[9,4,6,1,6,1,5,5] + [] , A=[7,2,5,2,0,2] , C=0 , 5+0+0=5 , A->5 , C->0
[9,4,6,1,6,1,5] + [] , A=[5,7,2,5,2,0,2] , C=0 , 5+0+0=5 , A->5 , C->0
[9,4,6,1,6,1] + [] , A=[5,5,7,2,5,2,0,2] , C=0 , 1+0+0=1 , A->1 , C->0
[9,4,6,1,6] + [] , A=[1,5,5,7,2,5,2,0,2] , C=0 , 6+0+0=6 , A->6 , C->0
[9,4,6,1] + [] , A=[6,1,5,5,7,2,5,2,0,2] , C=0 , 1+0+0=1 , A->1 , C->0
[9,4,6] + [] , A=[1,6,1,5,5,7,2,5,2,0,2] , C=0 , 6+0+0=6 , A->6 , C->0
[9,4] + [] , A=[6,1,6,1,5,5,7,2,5,2,0,2] , C=0 , 4+0+0=4 , A->4 , C->0
[9] + [] , A=[4,6,1,6,1,5,5,7,2,5,2,0,2] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,4,6,1,6,1,5,5,7,2,5,2,0,2] C=0 , END
</scratch>
94616155725202
| 94616155725202 | 2 |
Input:
222611010846+17954048891028
Target:
| Input:
222611010846+17954048891028
Target:
[2,2,2,6,1,1,0,1,0,8,4,6] + [1,7,9,5,4,0,4,8,8,9,1,0,2,8] , A=[] , C=0 , 6+8+0=14 , A->4 , C->1
[2,2,2,6,1,1,0,1,0,8,4] + [1,7,9,5,4,0,4,8,8,9,1,0,2] , A=[4] , C=1 , 4+2+1=7 , A->7 , C->0
[2,2,2,6,1,1,0,1,0,8] + [1,7,9,5,4,0,4,8,8,9,1,0] , A=[7,4] , C=0 , 8+0+0=8 , A->8 , C->0
[2,2,2,6,1,1,0,1,0] + [1,7,9,5,4,0,4,8,8,9,1] , A=[8,7,4] , C=0 , 0+1+0=1 , A->1 , C->0
[2,2,2,6,1,1,0,1] + [1,7,9,5,4,0,4,8,8,9] , A=[1,8,7,4] , C=0 , 1+9+0=10 , A->0 , C->1
[2,2,2,6,1,1,0] + [1,7,9,5,4,0,4,8,8] , A=[0,1,8,7,4] , C=1 , 0+8+1=9 , A->9 , C->0
[2,2,2,6,1,1] + [1,7,9,5,4,0,4,8] , A=[9,0,1,8,7,4] , C=0 , 1+8+0=9 , A->9 , C->0
[2,2,2,6,1] + [1,7,9,5,4,0,4] , A=[9,9,0,1,8,7,4] , C=0 , 1+4+0=5 , A->5 , C->0
[2,2,2,6] + [1,7,9,5,4,0] , A=[5,9,9,0,1,8,7,4] , C=0 , 6+0+0=6 , A->6 , C->0
[2,2,2] + [1,7,9,5,4] , A=[6,5,9,9,0,1,8,7,4] , C=0 , 2+4+0=6 , A->6 , C->0
[2,2] + [1,7,9,5] , A=[6,6,5,9,9,0,1,8,7,4] , C=0 , 2+5+0=7 , A->7 , C->0
[2] + [1,7,9] , A=[7,6,6,5,9,9,0,1,8,7,4] , C=0 , 2+9+0=11 , A->1 , C->1
[] + [1,7] , A=[1,7,6,6,5,9,9,0,1,8,7,4] , C=1 , 0+7+1=8 , A->8 , C->0
[] + [1] , A=[8,1,7,6,6,5,9,9,0,1,8,7,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,8,1,7,6,6,5,9,9,0,1,8,7,4] C=0 , END
</scratch>
18176659901874
| 18176659901874 | 12 |
Input:
66+87140422104009
Target:
| Input:
66+87140422104009
Target:
[6,6] + [8,7,1,4,0,4,2,2,1,0,4,0,0,9] , A=[] , C=0 , 6+9+0=15 , A->5 , C->1
[6] + [8,7,1,4,0,4,2,2,1,0,4,0,0] , A=[5] , C=1 , 6+0+1=7 , A->7 , C->0
[] + [8,7,1,4,0,4,2,2,1,0,4,0] , A=[7,5] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [8,7,1,4,0,4,2,2,1,0,4] , A=[0,7,5] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [8,7,1,4,0,4,2,2,1,0] , A=[4,0,7,5] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [8,7,1,4,0,4,2,2,1] , A=[0,4,0,7,5] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [8,7,1,4,0,4,2,2] , A=[1,0,4,0,7,5] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [8,7,1,4,0,4,2] , A=[2,1,0,4,0,7,5] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [8,7,1,4,0,4] , A=[2,2,1,0,4,0,7,5] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [8,7,1,4,0] , A=[4,2,2,1,0,4,0,7,5] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [8,7,1,4] , A=[0,4,2,2,1,0,4,0,7,5] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [8,7,1] , A=[4,0,4,2,2,1,0,4,0,7,5] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [8,7] , A=[1,4,0,4,2,2,1,0,4,0,7,5] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [8] , A=[7,1,4,0,4,2,2,1,0,4,0,7,5] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [] , A=[8,7,1,4,0,4,2,2,1,0,4,0,7,5] C=0 , END
</scratch>
87140422104075
| 87140422104075 | 2 |
Input:
15490455285681+9547
Target:
| Input:
15490455285681+9547
Target:
[1,5,4,9,0,4,5,5,2,8,5,6,8,1] + [9,5,4,7] , A=[] , C=0 , 1+7+0=8 , A->8 , C->0
[1,5,4,9,0,4,5,5,2,8,5,6,8] + [9,5,4] , A=[8] , C=0 , 8+4+0=12 , A->2 , C->1
[1,5,4,9,0,4,5,5,2,8,5,6] + [9,5] , A=[2,8] , C=1 , 6+5+1=12 , A->2 , C->1
[1,5,4,9,0,4,5,5,2,8,5] + [9] , A=[2,2,8] , C=1 , 5+9+1=15 , A->5 , C->1
[1,5,4,9,0,4,5,5,2,8] + [] , A=[5,2,2,8] , C=1 , 8+0+1=9 , A->9 , C->0
[1,5,4,9,0,4,5,5,2] + [] , A=[9,5,2,2,8] , C=0 , 2+0+0=2 , A->2 , C->0
[1,5,4,9,0,4,5,5] + [] , A=[2,9,5,2,2,8] , C=0 , 5+0+0=5 , A->5 , C->0
[1,5,4,9,0,4,5] + [] , A=[5,2,9,5,2,2,8] , C=0 , 5+0+0=5 , A->5 , C->0
[1,5,4,9,0,4] + [] , A=[5,5,2,9,5,2,2,8] , C=0 , 4+0+0=4 , A->4 , C->0
[1,5,4,9,0] + [] , A=[4,5,5,2,9,5,2,2,8] , C=0 , 0+0+0=0 , A->0 , C->0
[1,5,4,9] + [] , A=[0,4,5,5,2,9,5,2,2,8] , C=0 , 9+0+0=9 , A->9 , C->0
[1,5,4] + [] , A=[9,0,4,5,5,2,9,5,2,2,8] , C=0 , 4+0+0=4 , A->4 , C->0
[1,5] + [] , A=[4,9,0,4,5,5,2,9,5,2,2,8] , C=0 , 5+0+0=5 , A->5 , C->0
[1] + [] , A=[5,4,9,0,4,5,5,2,9,5,2,2,8] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,5,4,9,0,4,5,5,2,9,5,2,2,8] C=0 , END
</scratch>
15490455295228
| 15490455295228 | 4 |
Input:
71301437872338+82594677249
Target:
| Input:
71301437872338+82594677249
Target:
[7,1,3,0,1,4,3,7,8,7,2,3,3,8] + [8,2,5,9,4,6,7,7,2,4,9] , A=[] , C=0 , 8+9+0=17 , A->7 , C->1
[7,1,3,0,1,4,3,7,8,7,2,3,3] + [8,2,5,9,4,6,7,7,2,4] , A=[7] , C=1 , 3+4+1=8 , A->8 , C->0
[7,1,3,0,1,4,3,7,8,7,2,3] + [8,2,5,9,4,6,7,7,2] , A=[8,7] , C=0 , 3+2+0=5 , A->5 , C->0
[7,1,3,0,1,4,3,7,8,7,2] + [8,2,5,9,4,6,7,7] , A=[5,8,7] , C=0 , 2+7+0=9 , A->9 , C->0
[7,1,3,0,1,4,3,7,8,7] + [8,2,5,9,4,6,7] , A=[9,5,8,7] , C=0 , 7+7+0=14 , A->4 , C->1
[7,1,3,0,1,4,3,7,8] + [8,2,5,9,4,6] , A=[4,9,5,8,7] , C=1 , 8+6+1=15 , A->5 , C->1
[7,1,3,0,1,4,3,7] + [8,2,5,9,4] , A=[5,4,9,5,8,7] , C=1 , 7+4+1=12 , A->2 , C->1
[7,1,3,0,1,4,3] + [8,2,5,9] , A=[2,5,4,9,5,8,7] , C=1 , 3+9+1=13 , A->3 , C->1
[7,1,3,0,1,4] + [8,2,5] , A=[3,2,5,4,9,5,8,7] , C=1 , 4+5+1=10 , A->0 , C->1
[7,1,3,0,1] + [8,2] , A=[0,3,2,5,4,9,5,8,7] , C=1 , 1+2+1=4 , A->4 , C->0
[7,1,3,0] + [8] , A=[4,0,3,2,5,4,9,5,8,7] , C=0 , 0+8+0=8 , A->8 , C->0
[7,1,3] + [] , A=[8,4,0,3,2,5,4,9,5,8,7] , C=0 , 3+0+0=3 , A->3 , C->0
[7,1] + [] , A=[3,8,4,0,3,2,5,4,9,5,8,7] , C=0 , 1+0+0=1 , A->1 , C->0
[7] + [] , A=[1,3,8,4,0,3,2,5,4,9,5,8,7] , C=0 , 7+0+0=7 , A->7 , C->0
[] + [] , A=[7,1,3,8,4,0,3,2,5,4,9,5,8,7] C=0 , END
</scratch>
71384032549587
| 71384032549587 | 11 |
Input:
806936502+33312965776419
Target:
| Input:
806936502+33312965776419
Target:
[8,0,6,9,3,6,5,0,2] + [3,3,3,1,2,9,6,5,7,7,6,4,1,9] , A=[] , C=0 , 2+9+0=11 , A->1 , C->1
[8,0,6,9,3,6,5,0] + [3,3,3,1,2,9,6,5,7,7,6,4,1] , A=[1] , C=1 , 0+1+1=2 , A->2 , C->0
[8,0,6,9,3,6,5] + [3,3,3,1,2,9,6,5,7,7,6,4] , A=[2,1] , C=0 , 5+4+0=9 , A->9 , C->0
[8,0,6,9,3,6] + [3,3,3,1,2,9,6,5,7,7,6] , A=[9,2,1] , C=0 , 6+6+0=12 , A->2 , C->1
[8,0,6,9,3] + [3,3,3,1,2,9,6,5,7,7] , A=[2,9,2,1] , C=1 , 3+7+1=11 , A->1 , C->1
[8,0,6,9] + [3,3,3,1,2,9,6,5,7] , A=[1,2,9,2,1] , C=1 , 9+7+1=17 , A->7 , C->1
[8,0,6] + [3,3,3,1,2,9,6,5] , A=[7,1,2,9,2,1] , C=1 , 6+5+1=12 , A->2 , C->1
[8,0] + [3,3,3,1,2,9,6] , A=[2,7,1,2,9,2,1] , C=1 , 0+6+1=7 , A->7 , C->0
[8] + [3,3,3,1,2,9] , A=[7,2,7,1,2,9,2,1] , C=0 , 8+9+0=17 , A->7 , C->1
[] + [3,3,3,1,2] , A=[7,7,2,7,1,2,9,2,1] , C=1 , 0+2+1=3 , A->3 , C->0
[] + [3,3,3,1] , A=[3,7,7,2,7,1,2,9,2,1] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [3,3,3] , A=[1,3,7,7,2,7,1,2,9,2,1] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [3,3] , A=[3,1,3,7,7,2,7,1,2,9,2,1] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [3] , A=[3,3,1,3,7,7,2,7,1,2,9,2,1] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [] , A=[3,3,3,1,3,7,7,2,7,1,2,9,2,1] C=0 , END
</scratch>
33313772712921
| 33313772712921 | 9 |
Input:
28899662348417+7947455713
Target:
| Input:
28899662348417+7947455713
Target:
[2,8,8,9,9,6,6,2,3,4,8,4,1,7] + [7,9,4,7,4,5,5,7,1,3] , A=[] , C=0 , 7+3+0=10 , A->0 , C->1
[2,8,8,9,9,6,6,2,3,4,8,4,1] + [7,9,4,7,4,5,5,7,1] , A=[0] , C=1 , 1+1+1=3 , A->3 , C->0
[2,8,8,9,9,6,6,2,3,4,8,4] + [7,9,4,7,4,5,5,7] , A=[3,0] , C=0 , 4+7+0=11 , A->1 , C->1
[2,8,8,9,9,6,6,2,3,4,8] + [7,9,4,7,4,5,5] , A=[1,3,0] , C=1 , 8+5+1=14 , A->4 , C->1
[2,8,8,9,9,6,6,2,3,4] + [7,9,4,7,4,5] , A=[4,1,3,0] , C=1 , 4+5+1=10 , A->0 , C->1
[2,8,8,9,9,6,6,2,3] + [7,9,4,7,4] , A=[0,4,1,3,0] , C=1 , 3+4+1=8 , A->8 , C->0
[2,8,8,9,9,6,6,2] + [7,9,4,7] , A=[8,0,4,1,3,0] , C=0 , 2+7+0=9 , A->9 , C->0
[2,8,8,9,9,6,6] + [7,9,4] , A=[9,8,0,4,1,3,0] , C=0 , 6+4+0=10 , A->0 , C->1
[2,8,8,9,9,6] + [7,9] , A=[0,9,8,0,4,1,3,0] , C=1 , 6+9+1=16 , A->6 , C->1
[2,8,8,9,9] + [7] , A=[6,0,9,8,0,4,1,3,0] , C=1 , 9+7+1=17 , A->7 , C->1
[2,8,8,9] + [] , A=[7,6,0,9,8,0,4,1,3,0] , C=1 , 9+0+1=10 , A->0 , C->1
[2,8,8] + [] , A=[0,7,6,0,9,8,0,4,1,3,0] , C=1 , 8+0+1=9 , A->9 , C->0
[2,8] + [] , A=[9,0,7,6,0,9,8,0,4,1,3,0] , C=0 , 8+0+0=8 , A->8 , C->0
[2] + [] , A=[8,9,0,7,6,0,9,8,0,4,1,3,0] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [] , A=[2,8,9,0,7,6,0,9,8,0,4,1,3,0] C=0 , END
</scratch>
28907609804130
| 28907609804130 | 10 |
Input:
97586458402232+4010
Target:
| Input:
97586458402232+4010
Target:
[9,7,5,8,6,4,5,8,4,0,2,2,3,2] + [4,0,1,0] , A=[] , C=0 , 2+0+0=2 , A->2 , C->0
[9,7,5,8,6,4,5,8,4,0,2,2,3] + [4,0,1] , A=[2] , C=0 , 3+1+0=4 , A->4 , C->0
[9,7,5,8,6,4,5,8,4,0,2,2] + [4,0] , A=[4,2] , C=0 , 2+0+0=2 , A->2 , C->0
[9,7,5,8,6,4,5,8,4,0,2] + [4] , A=[2,4,2] , C=0 , 2+4+0=6 , A->6 , C->0
[9,7,5,8,6,4,5,8,4,0] + [] , A=[6,2,4,2] , C=0 , 0+0+0=0 , A->0 , C->0
[9,7,5,8,6,4,5,8,4] + [] , A=[0,6,2,4,2] , C=0 , 4+0+0=4 , A->4 , C->0
[9,7,5,8,6,4,5,8] + [] , A=[4,0,6,2,4,2] , C=0 , 8+0+0=8 , A->8 , C->0
[9,7,5,8,6,4,5] + [] , A=[8,4,0,6,2,4,2] , C=0 , 5+0+0=5 , A->5 , C->0
[9,7,5,8,6,4] + [] , A=[5,8,4,0,6,2,4,2] , C=0 , 4+0+0=4 , A->4 , C->0
[9,7,5,8,6] + [] , A=[4,5,8,4,0,6,2,4,2] , C=0 , 6+0+0=6 , A->6 , C->0
[9,7,5,8] + [] , A=[6,4,5,8,4,0,6,2,4,2] , C=0 , 8+0+0=8 , A->8 , C->0
[9,7,5] + [] , A=[8,6,4,5,8,4,0,6,2,4,2] , C=0 , 5+0+0=5 , A->5 , C->0
[9,7] + [] , A=[5,8,6,4,5,8,4,0,6,2,4,2] , C=0 , 7+0+0=7 , A->7 , C->0
[9] + [] , A=[7,5,8,6,4,5,8,4,0,6,2,4,2] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,7,5,8,6,4,5,8,4,0,6,2,4,2] C=0 , END
</scratch>
97586458406242
| 97586458406242 | 4 |
Input:
7145537988878+99796013627856
Target:
| Input:
7145537988878+99796013627856
Target:
[7,1,4,5,5,3,7,9,8,8,8,7,8] + [9,9,7,9,6,0,1,3,6,2,7,8,5,6] , A=[] , C=0 , 8+6+0=14 , A->4 , C->1
[7,1,4,5,5,3,7,9,8,8,8,7] + [9,9,7,9,6,0,1,3,6,2,7,8,5] , A=[4] , C=1 , 7+5+1=13 , A->3 , C->1
[7,1,4,5,5,3,7,9,8,8,8] + [9,9,7,9,6,0,1,3,6,2,7,8] , A=[3,4] , C=1 , 8+8+1=17 , A->7 , C->1
[7,1,4,5,5,3,7,9,8,8] + [9,9,7,9,6,0,1,3,6,2,7] , A=[7,3,4] , C=1 , 8+7+1=16 , A->6 , C->1
[7,1,4,5,5,3,7,9,8] + [9,9,7,9,6,0,1,3,6,2] , A=[6,7,3,4] , C=1 , 8+2+1=11 , A->1 , C->1
[7,1,4,5,5,3,7,9] + [9,9,7,9,6,0,1,3,6] , A=[1,6,7,3,4] , C=1 , 9+6+1=16 , A->6 , C->1
[7,1,4,5,5,3,7] + [9,9,7,9,6,0,1,3] , A=[6,1,6,7,3,4] , C=1 , 7+3+1=11 , A->1 , C->1
[7,1,4,5,5,3] + [9,9,7,9,6,0,1] , A=[1,6,1,6,7,3,4] , C=1 , 3+1+1=5 , A->5 , C->0
[7,1,4,5,5] + [9,9,7,9,6,0] , A=[5,1,6,1,6,7,3,4] , C=0 , 5+0+0=5 , A->5 , C->0
[7,1,4,5] + [9,9,7,9,6] , A=[5,5,1,6,1,6,7,3,4] , C=0 , 5+6+0=11 , A->1 , C->1
[7,1,4] + [9,9,7,9] , A=[1,5,5,1,6,1,6,7,3,4] , C=1 , 4+9+1=14 , A->4 , C->1
[7,1] + [9,9,7] , A=[4,1,5,5,1,6,1,6,7,3,4] , C=1 , 1+7+1=9 , A->9 , C->0
[7] + [9,9] , A=[9,4,1,5,5,1,6,1,6,7,3,4] , C=0 , 7+9+0=16 , A->6 , C->1
[] + [9] , A=[6,9,4,1,5,5,1,6,1,6,7,3,4] , C=1 , 0+9+1=10 , A->0 , C->1
[] + [] , A=[0,6,9,4,1,5,5,1,6,1,6,7,3,4] C=1 , END
</scratch>
106941551616734
| 106941551616734 | 13 |
Input:
54037854949439+57698805
Target:
| Input:
54037854949439+57698805
Target:
[5,4,0,3,7,8,5,4,9,4,9,4,3,9] + [5,7,6,9,8,8,0,5] , A=[] , C=0 , 9+5+0=14 , A->4 , C->1
[5,4,0,3,7,8,5,4,9,4,9,4,3] + [5,7,6,9,8,8,0] , A=[4] , C=1 , 3+0+1=4 , A->4 , C->0
[5,4,0,3,7,8,5,4,9,4,9,4] + [5,7,6,9,8,8] , A=[4,4] , C=0 , 4+8+0=12 , A->2 , C->1
[5,4,0,3,7,8,5,4,9,4,9] + [5,7,6,9,8] , A=[2,4,4] , C=1 , 9+8+1=18 , A->8 , C->1
[5,4,0,3,7,8,5,4,9,4] + [5,7,6,9] , A=[8,2,4,4] , C=1 , 4+9+1=14 , A->4 , C->1
[5,4,0,3,7,8,5,4,9] + [5,7,6] , A=[4,8,2,4,4] , C=1 , 9+6+1=16 , A->6 , C->1
[5,4,0,3,7,8,5,4] + [5,7] , A=[6,4,8,2,4,4] , C=1 , 4+7+1=12 , A->2 , C->1
[5,4,0,3,7,8,5] + [5] , A=[2,6,4,8,2,4,4] , C=1 , 5+5+1=11 , A->1 , C->1
[5,4,0,3,7,8] + [] , A=[1,2,6,4,8,2,4,4] , C=1 , 8+0+1=9 , A->9 , C->0
[5,4,0,3,7] + [] , A=[9,1,2,6,4,8,2,4,4] , C=0 , 7+0+0=7 , A->7 , C->0
[5,4,0,3] + [] , A=[7,9,1,2,6,4,8,2,4,4] , C=0 , 3+0+0=3 , A->3 , C->0
[5,4,0] + [] , A=[3,7,9,1,2,6,4,8,2,4,4] , C=0 , 0+0+0=0 , A->0 , C->0
[5,4] + [] , A=[0,3,7,9,1,2,6,4,8,2,4,4] , C=0 , 4+0+0=4 , A->4 , C->0
[5] + [] , A=[4,0,3,7,9,1,2,6,4,8,2,4,4] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,4,0,3,7,9,1,2,6,4,8,2,4,4] C=0 , END
</scratch>
54037912648244
| 54037912648244 | 8 |
Input:
255123680033+41535475059286
Target:
| Input:
255123680033+41535475059286
Target:
[2,5,5,1,2,3,6,8,0,0,3,3] + [4,1,5,3,5,4,7,5,0,5,9,2,8,6] , A=[] , C=0 , 3+6+0=9 , A->9 , C->0
[2,5,5,1,2,3,6,8,0,0,3] + [4,1,5,3,5,4,7,5,0,5,9,2,8] , A=[9] , C=0 , 3+8+0=11 , A->1 , C->1
[2,5,5,1,2,3,6,8,0,0] + [4,1,5,3,5,4,7,5,0,5,9,2] , A=[1,9] , C=1 , 0+2+1=3 , A->3 , C->0
[2,5,5,1,2,3,6,8,0] + [4,1,5,3,5,4,7,5,0,5,9] , A=[3,1,9] , C=0 , 0+9+0=9 , A->9 , C->0
[2,5,5,1,2,3,6,8] + [4,1,5,3,5,4,7,5,0,5] , A=[9,3,1,9] , C=0 , 8+5+0=13 , A->3 , C->1
[2,5,5,1,2,3,6] + [4,1,5,3,5,4,7,5,0] , A=[3,9,3,1,9] , C=1 , 6+0+1=7 , A->7 , C->0
[2,5,5,1,2,3] + [4,1,5,3,5,4,7,5] , A=[7,3,9,3,1,9] , C=0 , 3+5+0=8 , A->8 , C->0
[2,5,5,1,2] + [4,1,5,3,5,4,7] , A=[8,7,3,9,3,1,9] , C=0 , 2+7+0=9 , A->9 , C->0
[2,5,5,1] + [4,1,5,3,5,4] , A=[9,8,7,3,9,3,1,9] , C=0 , 1+4+0=5 , A->5 , C->0
[2,5,5] + [4,1,5,3,5] , A=[5,9,8,7,3,9,3,1,9] , C=0 , 5+5+0=10 , A->0 , C->1
[2,5] + [4,1,5,3] , A=[0,5,9,8,7,3,9,3,1,9] , C=1 , 5+3+1=9 , A->9 , C->0
[2] + [4,1,5] , A=[9,0,5,9,8,7,3,9,3,1,9] , C=0 , 2+5+0=7 , A->7 , C->0
[] + [4,1] , A=[7,9,0,5,9,8,7,3,9,3,1,9] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [4] , A=[1,7,9,0,5,9,8,7,3,9,3,1,9] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,1,7,9,0,5,9,8,7,3,9,3,1,9] C=0 , END
</scratch>
41790598739319
| 41790598739319 | 12 |
Input:
9+29296760717512
Target:
| Input:
9+29296760717512
Target:
[9] + [2,9,2,9,6,7,6,0,7,1,7,5,1,2] , A=[] , C=0 , 9+2+0=11 , A->1 , C->1
[] + [2,9,2,9,6,7,6,0,7,1,7,5,1] , A=[1] , C=1 , 0+1+1=2 , A->2 , C->0
[] + [2,9,2,9,6,7,6,0,7,1,7,5] , A=[2,1] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [2,9,2,9,6,7,6,0,7,1,7] , A=[5,2,1] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [2,9,2,9,6,7,6,0,7,1] , A=[7,5,2,1] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [2,9,2,9,6,7,6,0,7] , A=[1,7,5,2,1] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [2,9,2,9,6,7,6,0] , A=[7,1,7,5,2,1] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [2,9,2,9,6,7,6] , A=[0,7,1,7,5,2,1] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [2,9,2,9,6,7] , A=[6,0,7,1,7,5,2,1] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [2,9,2,9,6] , A=[7,6,0,7,1,7,5,2,1] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [2,9,2,9] , A=[6,7,6,0,7,1,7,5,2,1] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [2,9,2] , A=[9,6,7,6,0,7,1,7,5,2,1] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [2,9] , A=[2,9,6,7,6,0,7,1,7,5,2,1] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [2] , A=[9,2,9,6,7,6,0,7,1,7,5,2,1] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,9,2,9,6,7,6,0,7,1,7,5,2,1] C=0 , END
</scratch>
29296760717521
| 29296760717521 | 1 |
Input:
35671326765+26565821280882
Target:
| Input:
35671326765+26565821280882
Target:
[3,5,6,7,1,3,2,6,7,6,5] + [2,6,5,6,5,8,2,1,2,8,0,8,8,2] , A=[] , C=0 , 5+2+0=7 , A->7 , C->0
[3,5,6,7,1,3,2,6,7,6] + [2,6,5,6,5,8,2,1,2,8,0,8,8] , A=[7] , C=0 , 6+8+0=14 , A->4 , C->1
[3,5,6,7,1,3,2,6,7] + [2,6,5,6,5,8,2,1,2,8,0,8] , A=[4,7] , C=1 , 7+8+1=16 , A->6 , C->1
[3,5,6,7,1,3,2,6] + [2,6,5,6,5,8,2,1,2,8,0] , A=[6,4,7] , C=1 , 6+0+1=7 , A->7 , C->0
[3,5,6,7,1,3,2] + [2,6,5,6,5,8,2,1,2,8] , A=[7,6,4,7] , C=0 , 2+8+0=10 , A->0 , C->1
[3,5,6,7,1,3] + [2,6,5,6,5,8,2,1,2] , A=[0,7,6,4,7] , C=1 , 3+2+1=6 , A->6 , C->0
[3,5,6,7,1] + [2,6,5,6,5,8,2,1] , A=[6,0,7,6,4,7] , C=0 , 1+1+0=2 , A->2 , C->0
[3,5,6,7] + [2,6,5,6,5,8,2] , A=[2,6,0,7,6,4,7] , C=0 , 7+2+0=9 , A->9 , C->0
[3,5,6] + [2,6,5,6,5,8] , A=[9,2,6,0,7,6,4,7] , C=0 , 6+8+0=14 , A->4 , C->1
[3,5] + [2,6,5,6,5] , A=[4,9,2,6,0,7,6,4,7] , C=1 , 5+5+1=11 , A->1 , C->1
[3] + [2,6,5,6] , A=[1,4,9,2,6,0,7,6,4,7] , C=1 , 3+6+1=10 , A->0 , C->1
[] + [2,6,5] , A=[0,1,4,9,2,6,0,7,6,4,7] , C=1 , 0+5+1=6 , A->6 , C->0
[] + [2,6] , A=[6,0,1,4,9,2,6,0,7,6,4,7] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [2] , A=[6,6,0,1,4,9,2,6,0,7,6,4,7] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,6,6,0,1,4,9,2,6,0,7,6,4,7] C=0 , END
</scratch>
26601492607647
| 26601492607647 | 11 |
Input:
752+68716714445209
Target:
| Input:
752+68716714445209
Target:
[7,5,2] + [6,8,7,1,6,7,1,4,4,4,5,2,0,9] , A=[] , C=0 , 2+9+0=11 , A->1 , C->1
[7,5] + [6,8,7,1,6,7,1,4,4,4,5,2,0] , A=[1] , C=1 , 5+0+1=6 , A->6 , C->0
[7] + [6,8,7,1,6,7,1,4,4,4,5,2] , A=[6,1] , C=0 , 7+2+0=9 , A->9 , C->0
[] + [6,8,7,1,6,7,1,4,4,4,5] , A=[9,6,1] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [6,8,7,1,6,7,1,4,4,4] , A=[5,9,6,1] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [6,8,7,1,6,7,1,4,4] , A=[4,5,9,6,1] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [6,8,7,1,6,7,1,4] , A=[4,4,5,9,6,1] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [6,8,7,1,6,7,1] , A=[4,4,4,5,9,6,1] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [6,8,7,1,6,7] , A=[1,4,4,4,5,9,6,1] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6,8,7,1,6] , A=[7,1,4,4,4,5,9,6,1] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [6,8,7,1] , A=[6,7,1,4,4,4,5,9,6,1] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [6,8,7] , A=[1,6,7,1,4,4,4,5,9,6,1] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6,8] , A=[7,1,6,7,1,4,4,4,5,9,6,1] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [6] , A=[8,7,1,6,7,1,4,4,4,5,9,6,1] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,8,7,1,6,7,1,4,4,4,5,9,6,1] C=0 , END
</scratch>
68716714445961
| 68716714445961 | 3 |
Input:
16712164631340+94877825076
Target:
| Input:
16712164631340+94877825076
Target:
[1,6,7,1,2,1,6,4,6,3,1,3,4,0] + [9,4,8,7,7,8,2,5,0,7,6] , A=[] , C=0 , 0+6+0=6 , A->6 , C->0
[1,6,7,1,2,1,6,4,6,3,1,3,4] + [9,4,8,7,7,8,2,5,0,7] , A=[6] , C=0 , 4+7+0=11 , A->1 , C->1
[1,6,7,1,2,1,6,4,6,3,1,3] + [9,4,8,7,7,8,2,5,0] , A=[1,6] , C=1 , 3+0+1=4 , A->4 , C->0
[1,6,7,1,2,1,6,4,6,3,1] + [9,4,8,7,7,8,2,5] , A=[4,1,6] , C=0 , 1+5+0=6 , A->6 , C->0
[1,6,7,1,2,1,6,4,6,3] + [9,4,8,7,7,8,2] , A=[6,4,1,6] , C=0 , 3+2+0=5 , A->5 , C->0
[1,6,7,1,2,1,6,4,6] + [9,4,8,7,7,8] , A=[5,6,4,1,6] , C=0 , 6+8+0=14 , A->4 , C->1
[1,6,7,1,2,1,6,4] + [9,4,8,7,7] , A=[4,5,6,4,1,6] , C=1 , 4+7+1=12 , A->2 , C->1
[1,6,7,1,2,1,6] + [9,4,8,7] , A=[2,4,5,6,4,1,6] , C=1 , 6+7+1=14 , A->4 , C->1
[1,6,7,1,2,1] + [9,4,8] , A=[4,2,4,5,6,4,1,6] , C=1 , 1+8+1=10 , A->0 , C->1
[1,6,7,1,2] + [9,4] , A=[0,4,2,4,5,6,4,1,6] , C=1 , 2+4+1=7 , A->7 , C->0
[1,6,7,1] + [9] , A=[7,0,4,2,4,5,6,4,1,6] , C=0 , 1+9+0=10 , A->0 , C->1
[1,6,7] + [] , A=[0,7,0,4,2,4,5,6,4,1,6] , C=1 , 7+0+1=8 , A->8 , C->0
[1,6] + [] , A=[8,0,7,0,4,2,4,5,6,4,1,6] , C=0 , 6+0+0=6 , A->6 , C->0
[1] + [] , A=[6,8,0,7,0,4,2,4,5,6,4,1,6] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,6,8,0,7,0,4,2,4,5,6,4,1,6] C=0 , END
</scratch>
16807042456416
| 16807042456416 | 11 |
Input:
53352546012769+975137030595
Target:
| Input:
53352546012769+975137030595
Target:
[5,3,3,5,2,5,4,6,0,1,2,7,6,9] + [9,7,5,1,3,7,0,3,0,5,9,5] , A=[] , C=0 , 9+5+0=14 , A->4 , C->1
[5,3,3,5,2,5,4,6,0,1,2,7,6] + [9,7,5,1,3,7,0,3,0,5,9] , A=[4] , C=1 , 6+9+1=16 , A->6 , C->1
[5,3,3,5,2,5,4,6,0,1,2,7] + [9,7,5,1,3,7,0,3,0,5] , A=[6,4] , C=1 , 7+5+1=13 , A->3 , C->1
[5,3,3,5,2,5,4,6,0,1,2] + [9,7,5,1,3,7,0,3,0] , A=[3,6,4] , C=1 , 2+0+1=3 , A->3 , C->0
[5,3,3,5,2,5,4,6,0,1] + [9,7,5,1,3,7,0,3] , A=[3,3,6,4] , C=0 , 1+3+0=4 , A->4 , C->0
[5,3,3,5,2,5,4,6,0] + [9,7,5,1,3,7,0] , A=[4,3,3,6,4] , C=0 , 0+0+0=0 , A->0 , C->0
[5,3,3,5,2,5,4,6] + [9,7,5,1,3,7] , A=[0,4,3,3,6,4] , C=0 , 6+7+0=13 , A->3 , C->1
[5,3,3,5,2,5,4] + [9,7,5,1,3] , A=[3,0,4,3,3,6,4] , C=1 , 4+3+1=8 , A->8 , C->0
[5,3,3,5,2,5] + [9,7,5,1] , A=[8,3,0,4,3,3,6,4] , C=0 , 5+1+0=6 , A->6 , C->0
[5,3,3,5,2] + [9,7,5] , A=[6,8,3,0,4,3,3,6,4] , C=0 , 2+5+0=7 , A->7 , C->0
[5,3,3,5] + [9,7] , A=[7,6,8,3,0,4,3,3,6,4] , C=0 , 5+7+0=12 , A->2 , C->1
[5,3,3] + [9] , A=[2,7,6,8,3,0,4,3,3,6,4] , C=1 , 3+9+1=13 , A->3 , C->1
[5,3] + [] , A=[3,2,7,6,8,3,0,4,3,3,6,4] , C=1 , 3+0+1=4 , A->4 , C->0
[5] + [] , A=[4,3,2,7,6,8,3,0,4,3,3,6,4] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,4,3,2,7,6,8,3,0,4,3,3,6,4] C=0 , END
</scratch>
54327683043364
| 54327683043364 | 12 |
Input:
25442+42190264710366
Target:
| Input:
25442+42190264710366
Target:
[2,5,4,4,2] + [4,2,1,9,0,2,6,4,7,1,0,3,6,6] , A=[] , C=0 , 2+6+0=8 , A->8 , C->0
[2,5,4,4] + [4,2,1,9,0,2,6,4,7,1,0,3,6] , A=[8] , C=0 , 4+6+0=10 , A->0 , C->1
[2,5,4] + [4,2,1,9,0,2,6,4,7,1,0,3] , A=[0,8] , C=1 , 4+3+1=8 , A->8 , C->0
[2,5] + [4,2,1,9,0,2,6,4,7,1,0] , A=[8,0,8] , C=0 , 5+0+0=5 , A->5 , C->0
[2] + [4,2,1,9,0,2,6,4,7,1] , A=[5,8,0,8] , C=0 , 2+1+0=3 , A->3 , C->0
[] + [4,2,1,9,0,2,6,4,7] , A=[3,5,8,0,8] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [4,2,1,9,0,2,6,4] , A=[7,3,5,8,0,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [4,2,1,9,0,2,6] , A=[4,7,3,5,8,0,8] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [4,2,1,9,0,2] , A=[6,4,7,3,5,8,0,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [4,2,1,9,0] , A=[2,6,4,7,3,5,8,0,8] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [4,2,1,9] , A=[0,2,6,4,7,3,5,8,0,8] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [4,2,1] , A=[9,0,2,6,4,7,3,5,8,0,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [4,2] , A=[1,9,0,2,6,4,7,3,5,8,0,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [4] , A=[2,1,9,0,2,6,4,7,3,5,8,0,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,2,1,9,0,2,6,4,7,3,5,8,0,8] C=0 , END
</scratch>
42190264735808
| 42190264735808 | 5 |
Input:
82298723+46712482993985
Target:
| Input:
82298723+46712482993985
Target:
[8,2,2,9,8,7,2,3] + [4,6,7,1,2,4,8,2,9,9,3,9,8,5] , A=[] , C=0 , 3+5+0=8 , A->8 , C->0
[8,2,2,9,8,7,2] + [4,6,7,1,2,4,8,2,9,9,3,9,8] , A=[8] , C=0 , 2+8+0=10 , A->0 , C->1
[8,2,2,9,8,7] + [4,6,7,1,2,4,8,2,9,9,3,9] , A=[0,8] , C=1 , 7+9+1=17 , A->7 , C->1
[8,2,2,9,8] + [4,6,7,1,2,4,8,2,9,9,3] , A=[7,0,8] , C=1 , 8+3+1=12 , A->2 , C->1
[8,2,2,9] + [4,6,7,1,2,4,8,2,9,9] , A=[2,7,0,8] , C=1 , 9+9+1=19 , A->9 , C->1
[8,2,2] + [4,6,7,1,2,4,8,2,9] , A=[9,2,7,0,8] , C=1 , 2+9+1=12 , A->2 , C->1
[8,2] + [4,6,7,1,2,4,8,2] , A=[2,9,2,7,0,8] , C=1 , 2+2+1=5 , A->5 , C->0
[8] + [4,6,7,1,2,4,8] , A=[5,2,9,2,7,0,8] , C=0 , 8+8+0=16 , A->6 , C->1
[] + [4,6,7,1,2,4] , A=[6,5,2,9,2,7,0,8] , C=1 , 0+4+1=5 , A->5 , C->0
[] + [4,6,7,1,2] , A=[5,6,5,2,9,2,7,0,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [4,6,7,1] , A=[2,5,6,5,2,9,2,7,0,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [4,6,7] , A=[1,2,5,6,5,2,9,2,7,0,8] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [4,6] , A=[7,1,2,5,6,5,2,9,2,7,0,8] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [4] , A=[6,7,1,2,5,6,5,2,9,2,7,0,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,6,7,1,2,5,6,5,2,9,2,7,0,8] C=0 , END
</scratch>
46712565292708
| 46712565292708 | 8 |
Input:
59367990+21804616016128
Target:
| Input:
59367990+21804616016128
Target:
[5,9,3,6,7,9,9,0] + [2,1,8,0,4,6,1,6,0,1,6,1,2,8] , A=[] , C=0 , 0+8+0=8 , A->8 , C->0
[5,9,3,6,7,9,9] + [2,1,8,0,4,6,1,6,0,1,6,1,2] , A=[8] , C=0 , 9+2+0=11 , A->1 , C->1
[5,9,3,6,7,9] + [2,1,8,0,4,6,1,6,0,1,6,1] , A=[1,8] , C=1 , 9+1+1=11 , A->1 , C->1
[5,9,3,6,7] + [2,1,8,0,4,6,1,6,0,1,6] , A=[1,1,8] , C=1 , 7+6+1=14 , A->4 , C->1
[5,9,3,6] + [2,1,8,0,4,6,1,6,0,1] , A=[4,1,1,8] , C=1 , 6+1+1=8 , A->8 , C->0
[5,9,3] + [2,1,8,0,4,6,1,6,0] , A=[8,4,1,1,8] , C=0 , 3+0+0=3 , A->3 , C->0
[5,9] + [2,1,8,0,4,6,1,6] , A=[3,8,4,1,1,8] , C=0 , 9+6+0=15 , A->5 , C->1
[5] + [2,1,8,0,4,6,1] , A=[5,3,8,4,1,1,8] , C=1 , 5+1+1=7 , A->7 , C->0
[] + [2,1,8,0,4,6] , A=[7,5,3,8,4,1,1,8] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [2,1,8,0,4] , A=[6,7,5,3,8,4,1,1,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [2,1,8,0] , A=[4,6,7,5,3,8,4,1,1,8] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [2,1,8] , A=[0,4,6,7,5,3,8,4,1,1,8] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [2,1] , A=[8,0,4,6,7,5,3,8,4,1,1,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [2] , A=[1,8,0,4,6,7,5,3,8,4,1,1,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,1,8,0,4,6,7,5,3,8,4,1,1,8] C=0 , END
</scratch>
21804675384118
| 21804675384118 | 8 |
Input:
58465993820024+5747
Target:
| Input:
58465993820024+5747
Target:
[5,8,4,6,5,9,9,3,8,2,0,0,2,4] + [5,7,4,7] , A=[] , C=0 , 4+7+0=11 , A->1 , C->1
[5,8,4,6,5,9,9,3,8,2,0,0,2] + [5,7,4] , A=[1] , C=1 , 2+4+1=7 , A->7 , C->0
[5,8,4,6,5,9,9,3,8,2,0,0] + [5,7] , A=[7,1] , C=0 , 0+7+0=7 , A->7 , C->0
[5,8,4,6,5,9,9,3,8,2,0] + [5] , A=[7,7,1] , C=0 , 0+5+0=5 , A->5 , C->0
[5,8,4,6,5,9,9,3,8,2] + [] , A=[5,7,7,1] , C=0 , 2+0+0=2 , A->2 , C->0
[5,8,4,6,5,9,9,3,8] + [] , A=[2,5,7,7,1] , C=0 , 8+0+0=8 , A->8 , C->0
[5,8,4,6,5,9,9,3] + [] , A=[8,2,5,7,7,1] , C=0 , 3+0+0=3 , A->3 , C->0
[5,8,4,6,5,9,9] + [] , A=[3,8,2,5,7,7,1] , C=0 , 9+0+0=9 , A->9 , C->0
[5,8,4,6,5,9] + [] , A=[9,3,8,2,5,7,7,1] , C=0 , 9+0+0=9 , A->9 , C->0
[5,8,4,6,5] + [] , A=[9,9,3,8,2,5,7,7,1] , C=0 , 5+0+0=5 , A->5 , C->0
[5,8,4,6] + [] , A=[5,9,9,3,8,2,5,7,7,1] , C=0 , 6+0+0=6 , A->6 , C->0
[5,8,4] + [] , A=[6,5,9,9,3,8,2,5,7,7,1] , C=0 , 4+0+0=4 , A->4 , C->0
[5,8] + [] , A=[4,6,5,9,9,3,8,2,5,7,7,1] , C=0 , 8+0+0=8 , A->8 , C->0
[5] + [] , A=[8,4,6,5,9,9,3,8,2,5,7,7,1] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,8,4,6,5,9,9,3,8,2,5,7,7,1] C=0 , END
</scratch>
58465993825771
| 58465993825771 | 4 |
Input:
68860962927456+48874664000300
Target:
| Input:
68860962927456+48874664000300
Target:
[6,8,8,6,0,9,6,2,9,2,7,4,5,6] + [4,8,8,7,4,6,6,4,0,0,0,3,0,0] , A=[] , C=0 , 6+0+0=6 , A->6 , C->0
[6,8,8,6,0,9,6,2,9,2,7,4,5] + [4,8,8,7,4,6,6,4,0,0,0,3,0] , A=[6] , C=0 , 5+0+0=5 , A->5 , C->0
[6,8,8,6,0,9,6,2,9,2,7,4] + [4,8,8,7,4,6,6,4,0,0,0,3] , A=[5,6] , C=0 , 4+3+0=7 , A->7 , C->0
[6,8,8,6,0,9,6,2,9,2,7] + [4,8,8,7,4,6,6,4,0,0,0] , A=[7,5,6] , C=0 , 7+0+0=7 , A->7 , C->0
[6,8,8,6,0,9,6,2,9,2] + [4,8,8,7,4,6,6,4,0,0] , A=[7,7,5,6] , C=0 , 2+0+0=2 , A->2 , C->0
[6,8,8,6,0,9,6,2,9] + [4,8,8,7,4,6,6,4,0] , A=[2,7,7,5,6] , C=0 , 9+0+0=9 , A->9 , C->0
[6,8,8,6,0,9,6,2] + [4,8,8,7,4,6,6,4] , A=[9,2,7,7,5,6] , C=0 , 2+4+0=6 , A->6 , C->0
[6,8,8,6,0,9,6] + [4,8,8,7,4,6,6] , A=[6,9,2,7,7,5,6] , C=0 , 6+6+0=12 , A->2 , C->1
[6,8,8,6,0,9] + [4,8,8,7,4,6] , A=[2,6,9,2,7,7,5,6] , C=1 , 9+6+1=16 , A->6 , C->1
[6,8,8,6,0] + [4,8,8,7,4] , A=[6,2,6,9,2,7,7,5,6] , C=1 , 0+4+1=5 , A->5 , C->0
[6,8,8,6] + [4,8,8,7] , A=[5,6,2,6,9,2,7,7,5,6] , C=0 , 6+7+0=13 , A->3 , C->1
[6,8,8] + [4,8,8] , A=[3,5,6,2,6,9,2,7,7,5,6] , C=1 , 8+8+1=17 , A->7 , C->1
[6,8] + [4,8] , A=[7,3,5,6,2,6,9,2,7,7,5,6] , C=1 , 8+8+1=17 , A->7 , C->1
[6] + [4] , A=[7,7,3,5,6,2,6,9,2,7,7,5,6] , C=1 , 6+4+1=11 , A->1 , C->1
[] + [] , A=[1,7,7,3,5,6,2,6,9,2,7,7,5,6] C=1 , END
</scratch>
117735626927756
| 117735626927756 | 14 |
Input:
81137705951828+34743
Target:
| Input:
81137705951828+34743
Target:
[8,1,1,3,7,7,0,5,9,5,1,8,2,8] + [3,4,7,4,3] , A=[] , C=0 , 8+3+0=11 , A->1 , C->1
[8,1,1,3,7,7,0,5,9,5,1,8,2] + [3,4,7,4] , A=[1] , C=1 , 2+4+1=7 , A->7 , C->0
[8,1,1,3,7,7,0,5,9,5,1,8] + [3,4,7] , A=[7,1] , C=0 , 8+7+0=15 , A->5 , C->1
[8,1,1,3,7,7,0,5,9,5,1] + [3,4] , A=[5,7,1] , C=1 , 1+4+1=6 , A->6 , C->0
[8,1,1,3,7,7,0,5,9,5] + [3] , A=[6,5,7,1] , C=0 , 5+3+0=8 , A->8 , C->0
[8,1,1,3,7,7,0,5,9] + [] , A=[8,6,5,7,1] , C=0 , 9+0+0=9 , A->9 , C->0
[8,1,1,3,7,7,0,5] + [] , A=[9,8,6,5,7,1] , C=0 , 5+0+0=5 , A->5 , C->0
[8,1,1,3,7,7,0] + [] , A=[5,9,8,6,5,7,1] , C=0 , 0+0+0=0 , A->0 , C->0
[8,1,1,3,7,7] + [] , A=[0,5,9,8,6,5,7,1] , C=0 , 7+0+0=7 , A->7 , C->0
[8,1,1,3,7] + [] , A=[7,0,5,9,8,6,5,7,1] , C=0 , 7+0+0=7 , A->7 , C->0
[8,1,1,3] + [] , A=[7,7,0,5,9,8,6,5,7,1] , C=0 , 3+0+0=3 , A->3 , C->0
[8,1,1] + [] , A=[3,7,7,0,5,9,8,6,5,7,1] , C=0 , 1+0+0=1 , A->1 , C->0
[8,1] + [] , A=[1,3,7,7,0,5,9,8,6,5,7,1] , C=0 , 1+0+0=1 , A->1 , C->0
[8] + [] , A=[1,1,3,7,7,0,5,9,8,6,5,7,1] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,1,1,3,7,7,0,5,9,8,6,5,7,1] C=0 , END
</scratch>
81137705986571
| 81137705986571 | 5 |
Input:
99807076413995+37550
Target:
| Input:
99807076413995+37550
Target:
[9,9,8,0,7,0,7,6,4,1,3,9,9,5] + [3,7,5,5,0] , A=[] , C=0 , 5+0+0=5 , A->5 , C->0
[9,9,8,0,7,0,7,6,4,1,3,9,9] + [3,7,5,5] , A=[5] , C=0 , 9+5+0=14 , A->4 , C->1
[9,9,8,0,7,0,7,6,4,1,3,9] + [3,7,5] , A=[4,5] , C=1 , 9+5+1=15 , A->5 , C->1
[9,9,8,0,7,0,7,6,4,1,3] + [3,7] , A=[5,4,5] , C=1 , 3+7+1=11 , A->1 , C->1
[9,9,8,0,7,0,7,6,4,1] + [3] , A=[1,5,4,5] , C=1 , 1+3+1=5 , A->5 , C->0
[9,9,8,0,7,0,7,6,4] + [] , A=[5,1,5,4,5] , C=0 , 4+0+0=4 , A->4 , C->0
[9,9,8,0,7,0,7,6] + [] , A=[4,5,1,5,4,5] , C=0 , 6+0+0=6 , A->6 , C->0
[9,9,8,0,7,0,7] + [] , A=[6,4,5,1,5,4,5] , C=0 , 7+0+0=7 , A->7 , C->0
[9,9,8,0,7,0] + [] , A=[7,6,4,5,1,5,4,5] , C=0 , 0+0+0=0 , A->0 , C->0
[9,9,8,0,7] + [] , A=[0,7,6,4,5,1,5,4,5] , C=0 , 7+0+0=7 , A->7 , C->0
[9,9,8,0] + [] , A=[7,0,7,6,4,5,1,5,4,5] , C=0 , 0+0+0=0 , A->0 , C->0
[9,9,8] + [] , A=[0,7,0,7,6,4,5,1,5,4,5] , C=0 , 8+0+0=8 , A->8 , C->0
[9,9] + [] , A=[8,0,7,0,7,6,4,5,1,5,4,5] , C=0 , 9+0+0=9 , A->9 , C->0
[9] + [] , A=[9,8,0,7,0,7,6,4,5,1,5,4,5] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,9,8,0,7,0,7,6,4,5,1,5,4,5] C=0 , END
</scratch>
99807076451545
| 99807076451545 | 5 |
Input:
41249096544367+595652221401
Target:
| Input:
41249096544367+595652221401
Target:
[4,1,2,4,9,0,9,6,5,4,4,3,6,7] + [5,9,5,6,5,2,2,2,1,4,0,1] , A=[] , C=0 , 7+1+0=8 , A->8 , C->0
[4,1,2,4,9,0,9,6,5,4,4,3,6] + [5,9,5,6,5,2,2,2,1,4,0] , A=[8] , C=0 , 6+0+0=6 , A->6 , C->0
[4,1,2,4,9,0,9,6,5,4,4,3] + [5,9,5,6,5,2,2,2,1,4] , A=[6,8] , C=0 , 3+4+0=7 , A->7 , C->0
[4,1,2,4,9,0,9,6,5,4,4] + [5,9,5,6,5,2,2,2,1] , A=[7,6,8] , C=0 , 4+1+0=5 , A->5 , C->0
[4,1,2,4,9,0,9,6,5,4] + [5,9,5,6,5,2,2,2] , A=[5,7,6,8] , C=0 , 4+2+0=6 , A->6 , C->0
[4,1,2,4,9,0,9,6,5] + [5,9,5,6,5,2,2] , A=[6,5,7,6,8] , C=0 , 5+2+0=7 , A->7 , C->0
[4,1,2,4,9,0,9,6] + [5,9,5,6,5,2] , A=[7,6,5,7,6,8] , C=0 , 6+2+0=8 , A->8 , C->0
[4,1,2,4,9,0,9] + [5,9,5,6,5] , A=[8,7,6,5,7,6,8] , C=0 , 9+5+0=14 , A->4 , C->1
[4,1,2,4,9,0] + [5,9,5,6] , A=[4,8,7,6,5,7,6,8] , C=1 , 0+6+1=7 , A->7 , C->0
[4,1,2,4,9] + [5,9,5] , A=[7,4,8,7,6,5,7,6,8] , C=0 , 9+5+0=14 , A->4 , C->1
[4,1,2,4] + [5,9] , A=[4,7,4,8,7,6,5,7,6,8] , C=1 , 4+9+1=14 , A->4 , C->1
[4,1,2] + [5] , A=[4,4,7,4,8,7,6,5,7,6,8] , C=1 , 2+5+1=8 , A->8 , C->0
[4,1] + [] , A=[8,4,4,7,4,8,7,6,5,7,6,8] , C=0 , 1+0+0=1 , A->1 , C->0
[4] + [] , A=[1,8,4,4,7,4,8,7,6,5,7,6,8] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,1,8,4,4,7,4,8,7,6,5,7,6,8] C=0 , END
</scratch>
41844748765768
| 41844748765768 | 12 |
Input:
65337413746853+49105819589
Target:
| Input:
65337413746853+49105819589
Target:
[6,5,3,3,7,4,1,3,7,4,6,8,5,3] + [4,9,1,0,5,8,1,9,5,8,9] , A=[] , C=0 , 3+9+0=12 , A->2 , C->1
[6,5,3,3,7,4,1,3,7,4,6,8,5] + [4,9,1,0,5,8,1,9,5,8] , A=[2] , C=1 , 5+8+1=14 , A->4 , C->1
[6,5,3,3,7,4,1,3,7,4,6,8] + [4,9,1,0,5,8,1,9,5] , A=[4,2] , C=1 , 8+5+1=14 , A->4 , C->1
[6,5,3,3,7,4,1,3,7,4,6] + [4,9,1,0,5,8,1,9] , A=[4,4,2] , C=1 , 6+9+1=16 , A->6 , C->1
[6,5,3,3,7,4,1,3,7,4] + [4,9,1,0,5,8,1] , A=[6,4,4,2] , C=1 , 4+1+1=6 , A->6 , C->0
[6,5,3,3,7,4,1,3,7] + [4,9,1,0,5,8] , A=[6,6,4,4,2] , C=0 , 7+8+0=15 , A->5 , C->1
[6,5,3,3,7,4,1,3] + [4,9,1,0,5] , A=[5,6,6,4,4,2] , C=1 , 3+5+1=9 , A->9 , C->0
[6,5,3,3,7,4,1] + [4,9,1,0] , A=[9,5,6,6,4,4,2] , C=0 , 1+0+0=1 , A->1 , C->0
[6,5,3,3,7,4] + [4,9,1] , A=[1,9,5,6,6,4,4,2] , C=0 , 4+1+0=5 , A->5 , C->0
[6,5,3,3,7] + [4,9] , A=[5,1,9,5,6,6,4,4,2] , C=0 , 7+9+0=16 , A->6 , C->1
[6,5,3,3] + [4] , A=[6,5,1,9,5,6,6,4,4,2] , C=1 , 3+4+1=8 , A->8 , C->0
[6,5,3] + [] , A=[8,6,5,1,9,5,6,6,4,4,2] , C=0 , 3+0+0=3 , A->3 , C->0
[6,5] + [] , A=[3,8,6,5,1,9,5,6,6,4,4,2] , C=0 , 5+0+0=5 , A->5 , C->0
[6] + [] , A=[5,3,8,6,5,1,9,5,6,6,4,4,2] , C=0 , 6+0+0=6 , A->6 , C->0
[] + [] , A=[6,5,3,8,6,5,1,9,5,6,6,4,4,2] C=0 , END
</scratch>
65386519566442
| 65386519566442 | 11 |
Input:
22368515861+73783978185242
Target:
| Input:
22368515861+73783978185242
Target:
[2,2,3,6,8,5,1,5,8,6,1] + [7,3,7,8,3,9,7,8,1,8,5,2,4,2] , A=[] , C=0 , 1+2+0=3 , A->3 , C->0
[2,2,3,6,8,5,1,5,8,6] + [7,3,7,8,3,9,7,8,1,8,5,2,4] , A=[3] , C=0 , 6+4+0=10 , A->0 , C->1
[2,2,3,6,8,5,1,5,8] + [7,3,7,8,3,9,7,8,1,8,5,2] , A=[0,3] , C=1 , 8+2+1=11 , A->1 , C->1
[2,2,3,6,8,5,1,5] + [7,3,7,8,3,9,7,8,1,8,5] , A=[1,0,3] , C=1 , 5+5+1=11 , A->1 , C->1
[2,2,3,6,8,5,1] + [7,3,7,8,3,9,7,8,1,8] , A=[1,1,0,3] , C=1 , 1+8+1=10 , A->0 , C->1
[2,2,3,6,8,5] + [7,3,7,8,3,9,7,8,1] , A=[0,1,1,0,3] , C=1 , 5+1+1=7 , A->7 , C->0
[2,2,3,6,8] + [7,3,7,8,3,9,7,8] , A=[7,0,1,1,0,3] , C=0 , 8+8+0=16 , A->6 , C->1
[2,2,3,6] + [7,3,7,8,3,9,7] , A=[6,7,0,1,1,0,3] , C=1 , 6+7+1=14 , A->4 , C->1
[2,2,3] + [7,3,7,8,3,9] , A=[4,6,7,0,1,1,0,3] , C=1 , 3+9+1=13 , A->3 , C->1
[2,2] + [7,3,7,8,3] , A=[3,4,6,7,0,1,1,0,3] , C=1 , 2+3+1=6 , A->6 , C->0
[2] + [7,3,7,8] , A=[6,3,4,6,7,0,1,1,0,3] , C=0 , 2+8+0=10 , A->0 , C->1
[] + [7,3,7] , A=[0,6,3,4,6,7,0,1,1,0,3] , C=1 , 0+7+1=8 , A->8 , C->0
[] + [7,3] , A=[8,0,6,3,4,6,7,0,1,1,0,3] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [7] , A=[3,8,0,6,3,4,6,7,0,1,1,0,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,3,8,0,6,3,4,6,7,0,1,1,0,3] C=0 , END
</scratch>
73806346701103
| 73806346701103 | 11 |
Input:
59861112464665+20813145646
Target:
| Input:
59861112464665+20813145646
Target:
[5,9,8,6,1,1,1,2,4,6,4,6,6,5] + [2,0,8,1,3,1,4,5,6,4,6] , A=[] , C=0 , 5+6+0=11 , A->1 , C->1
[5,9,8,6,1,1,1,2,4,6,4,6,6] + [2,0,8,1,3,1,4,5,6,4] , A=[1] , C=1 , 6+4+1=11 , A->1 , C->1
[5,9,8,6,1,1,1,2,4,6,4,6] + [2,0,8,1,3,1,4,5,6] , A=[1,1] , C=1 , 6+6+1=13 , A->3 , C->1
[5,9,8,6,1,1,1,2,4,6,4] + [2,0,8,1,3,1,4,5] , A=[3,1,1] , C=1 , 4+5+1=10 , A->0 , C->1
[5,9,8,6,1,1,1,2,4,6] + [2,0,8,1,3,1,4] , A=[0,3,1,1] , C=1 , 6+4+1=11 , A->1 , C->1
[5,9,8,6,1,1,1,2,4] + [2,0,8,1,3,1] , A=[1,0,3,1,1] , C=1 , 4+1+1=6 , A->6 , C->0
[5,9,8,6,1,1,1,2] + [2,0,8,1,3] , A=[6,1,0,3,1,1] , C=0 , 2+3+0=5 , A->5 , C->0
[5,9,8,6,1,1,1] + [2,0,8,1] , A=[5,6,1,0,3,1,1] , C=0 , 1+1+0=2 , A->2 , C->0
[5,9,8,6,1,1] + [2,0,8] , A=[2,5,6,1,0,3,1,1] , C=0 , 1+8+0=9 , A->9 , C->0
[5,9,8,6,1] + [2,0] , A=[9,2,5,6,1,0,3,1,1] , C=0 , 1+0+0=1 , A->1 , C->0
[5,9,8,6] + [2] , A=[1,9,2,5,6,1,0,3,1,1] , C=0 , 6+2+0=8 , A->8 , C->0
[5,9,8] + [] , A=[8,1,9,2,5,6,1,0,3,1,1] , C=0 , 8+0+0=8 , A->8 , C->0
[5,9] + [] , A=[8,8,1,9,2,5,6,1,0,3,1,1] , C=0 , 9+0+0=9 , A->9 , C->0
[5] + [] , A=[9,8,8,1,9,2,5,6,1,0,3,1,1] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,9,8,8,1,9,2,5,6,1,0,3,1,1] C=0 , END
</scratch>
59881925610311
| 59881925610311 | 11 |
Input:
46808727620352+25639260822195
Target:
| Input:
46808727620352+25639260822195
Target:
[4,6,8,0,8,7,2,7,6,2,0,3,5,2] + [2,5,6,3,9,2,6,0,8,2,2,1,9,5] , A=[] , C=0 , 2+5+0=7 , A->7 , C->0
[4,6,8,0,8,7,2,7,6,2,0,3,5] + [2,5,6,3,9,2,6,0,8,2,2,1,9] , A=[7] , C=0 , 5+9+0=14 , A->4 , C->1
[4,6,8,0,8,7,2,7,6,2,0,3] + [2,5,6,3,9,2,6,0,8,2,2,1] , A=[4,7] , C=1 , 3+1+1=5 , A->5 , C->0
[4,6,8,0,8,7,2,7,6,2,0] + [2,5,6,3,9,2,6,0,8,2,2] , A=[5,4,7] , C=0 , 0+2+0=2 , A->2 , C->0
[4,6,8,0,8,7,2,7,6,2] + [2,5,6,3,9,2,6,0,8,2] , A=[2,5,4,7] , C=0 , 2+2+0=4 , A->4 , C->0
[4,6,8,0,8,7,2,7,6] + [2,5,6,3,9,2,6,0,8] , A=[4,2,5,4,7] , C=0 , 6+8+0=14 , A->4 , C->1
[4,6,8,0,8,7,2,7] + [2,5,6,3,9,2,6,0] , A=[4,4,2,5,4,7] , C=1 , 7+0+1=8 , A->8 , C->0
[4,6,8,0,8,7,2] + [2,5,6,3,9,2,6] , A=[8,4,4,2,5,4,7] , C=0 , 2+6+0=8 , A->8 , C->0
[4,6,8,0,8,7] + [2,5,6,3,9,2] , A=[8,8,4,4,2,5,4,7] , C=0 , 7+2+0=9 , A->9 , C->0
[4,6,8,0,8] + [2,5,6,3,9] , A=[9,8,8,4,4,2,5,4,7] , C=0 , 8+9+0=17 , A->7 , C->1
[4,6,8,0] + [2,5,6,3] , A=[7,9,8,8,4,4,2,5,4,7] , C=1 , 0+3+1=4 , A->4 , C->0
[4,6,8] + [2,5,6] , A=[4,7,9,8,8,4,4,2,5,4,7] , C=0 , 8+6+0=14 , A->4 , C->1
[4,6] + [2,5] , A=[4,4,7,9,8,8,4,4,2,5,4,7] , C=1 , 6+5+1=12 , A->2 , C->1
[4] + [2] , A=[2,4,4,7,9,8,8,4,4,2,5,4,7] , C=1 , 4+2+1=7 , A->7 , C->0
[] + [] , A=[7,2,4,4,7,9,8,8,4,4,2,5,4,7] C=0 , END
</scratch>
72447988442547
| 72447988442547 | 14 |
Input:
94722229455833+8044052616
Target:
| Input:
94722229455833+8044052616
Target:
[9,4,7,2,2,2,2,9,4,5,5,8,3,3] + [8,0,4,4,0,5,2,6,1,6] , A=[] , C=0 , 3+6+0=9 , A->9 , C->0
[9,4,7,2,2,2,2,9,4,5,5,8,3] + [8,0,4,4,0,5,2,6,1] , A=[9] , C=0 , 3+1+0=4 , A->4 , C->0
[9,4,7,2,2,2,2,9,4,5,5,8] + [8,0,4,4,0,5,2,6] , A=[4,9] , C=0 , 8+6+0=14 , A->4 , C->1
[9,4,7,2,2,2,2,9,4,5,5] + [8,0,4,4,0,5,2] , A=[4,4,9] , C=1 , 5+2+1=8 , A->8 , C->0
[9,4,7,2,2,2,2,9,4,5] + [8,0,4,4,0,5] , A=[8,4,4,9] , C=0 , 5+5+0=10 , A->0 , C->1
[9,4,7,2,2,2,2,9,4] + [8,0,4,4,0] , A=[0,8,4,4,9] , C=1 , 4+0+1=5 , A->5 , C->0
[9,4,7,2,2,2,2,9] + [8,0,4,4] , A=[5,0,8,4,4,9] , C=0 , 9+4+0=13 , A->3 , C->1
[9,4,7,2,2,2,2] + [8,0,4] , A=[3,5,0,8,4,4,9] , C=1 , 2+4+1=7 , A->7 , C->0
[9,4,7,2,2,2] + [8,0] , A=[7,3,5,0,8,4,4,9] , C=0 , 2+0+0=2 , A->2 , C->0
[9,4,7,2,2] + [8] , A=[2,7,3,5,0,8,4,4,9] , C=0 , 2+8+0=10 , A->0 , C->1
[9,4,7,2] + [] , A=[0,2,7,3,5,0,8,4,4,9] , C=1 , 2+0+1=3 , A->3 , C->0
[9,4,7] + [] , A=[3,0,2,7,3,5,0,8,4,4,9] , C=0 , 7+0+0=7 , A->7 , C->0
[9,4] + [] , A=[7,3,0,2,7,3,5,0,8,4,4,9] , C=0 , 4+0+0=4 , A->4 , C->0
[9] + [] , A=[4,7,3,0,2,7,3,5,0,8,4,4,9] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,4,7,3,0,2,7,3,5,0,8,4,4,9] C=0 , END
</scratch>
94730273508449
| 94730273508449 | 10 |
Input:
43637503209156+6761
Target:
| Input:
43637503209156+6761
Target:
[4,3,6,3,7,5,0,3,2,0,9,1,5,6] + [6,7,6,1] , A=[] , C=0 , 6+1+0=7 , A->7 , C->0
[4,3,6,3,7,5,0,3,2,0,9,1,5] + [6,7,6] , A=[7] , C=0 , 5+6+0=11 , A->1 , C->1
[4,3,6,3,7,5,0,3,2,0,9,1] + [6,7] , A=[1,7] , C=1 , 1+7+1=9 , A->9 , C->0
[4,3,6,3,7,5,0,3,2,0,9] + [6] , A=[9,1,7] , C=0 , 9+6+0=15 , A->5 , C->1
[4,3,6,3,7,5,0,3,2,0] + [] , A=[5,9,1,7] , C=1 , 0+0+1=1 , A->1 , C->0
[4,3,6,3,7,5,0,3,2] + [] , A=[1,5,9,1,7] , C=0 , 2+0+0=2 , A->2 , C->0
[4,3,6,3,7,5,0,3] + [] , A=[2,1,5,9,1,7] , C=0 , 3+0+0=3 , A->3 , C->0
[4,3,6,3,7,5,0] + [] , A=[3,2,1,5,9,1,7] , C=0 , 0+0+0=0 , A->0 , C->0
[4,3,6,3,7,5] + [] , A=[0,3,2,1,5,9,1,7] , C=0 , 5+0+0=5 , A->5 , C->0
[4,3,6,3,7] + [] , A=[5,0,3,2,1,5,9,1,7] , C=0 , 7+0+0=7 , A->7 , C->0
[4,3,6,3] + [] , A=[7,5,0,3,2,1,5,9,1,7] , C=0 , 3+0+0=3 , A->3 , C->0
[4,3,6] + [] , A=[3,7,5,0,3,2,1,5,9,1,7] , C=0 , 6+0+0=6 , A->6 , C->0
[4,3] + [] , A=[6,3,7,5,0,3,2,1,5,9,1,7] , C=0 , 3+0+0=3 , A->3 , C->0
[4] + [] , A=[3,6,3,7,5,0,3,2,1,5,9,1,7] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,3,6,3,7,5,0,3,2,1,5,9,1,7] C=0 , END
</scratch>
43637503215917
| 43637503215917 | 4 |
Input:
40535609105991+32232186952130
Target:
| Input:
40535609105991+32232186952130
Target:
[4,0,5,3,5,6,0,9,1,0,5,9,9,1] + [3,2,2,3,2,1,8,6,9,5,2,1,3,0] , A=[] , C=0 , 1+0+0=1 , A->1 , C->0
[4,0,5,3,5,6,0,9,1,0,5,9,9] + [3,2,2,3,2,1,8,6,9,5,2,1,3] , A=[1] , C=0 , 9+3+0=12 , A->2 , C->1
[4,0,5,3,5,6,0,9,1,0,5,9] + [3,2,2,3,2,1,8,6,9,5,2,1] , A=[2,1] , C=1 , 9+1+1=11 , A->1 , C->1
[4,0,5,3,5,6,0,9,1,0,5] + [3,2,2,3,2,1,8,6,9,5,2] , A=[1,2,1] , C=1 , 5+2+1=8 , A->8 , C->0
[4,0,5,3,5,6,0,9,1,0] + [3,2,2,3,2,1,8,6,9,5] , A=[8,1,2,1] , C=0 , 0+5+0=5 , A->5 , C->0
[4,0,5,3,5,6,0,9,1] + [3,2,2,3,2,1,8,6,9] , A=[5,8,1,2,1] , C=0 , 1+9+0=10 , A->0 , C->1
[4,0,5,3,5,6,0,9] + [3,2,2,3,2,1,8,6] , A=[0,5,8,1,2,1] , C=1 , 9+6+1=16 , A->6 , C->1
[4,0,5,3,5,6,0] + [3,2,2,3,2,1,8] , A=[6,0,5,8,1,2,1] , C=1 , 0+8+1=9 , A->9 , C->0
[4,0,5,3,5,6] + [3,2,2,3,2,1] , A=[9,6,0,5,8,1,2,1] , C=0 , 6+1+0=7 , A->7 , C->0
[4,0,5,3,5] + [3,2,2,3,2] , A=[7,9,6,0,5,8,1,2,1] , C=0 , 5+2+0=7 , A->7 , C->0
[4,0,5,3] + [3,2,2,3] , A=[7,7,9,6,0,5,8,1,2,1] , C=0 , 3+3+0=6 , A->6 , C->0
[4,0,5] + [3,2,2] , A=[6,7,7,9,6,0,5,8,1,2,1] , C=0 , 5+2+0=7 , A->7 , C->0
[4,0] + [3,2] , A=[7,6,7,7,9,6,0,5,8,1,2,1] , C=0 , 0+2+0=2 , A->2 , C->0
[4] + [3] , A=[2,7,6,7,7,9,6,0,5,8,1,2,1] , C=0 , 4+3+0=7 , A->7 , C->0
[] + [] , A=[7,2,7,6,7,7,9,6,0,5,8,1,2,1] C=0 , END
</scratch>
72767796058121
| 72767796058121 | 14 |
Input:
43384645491916+20434493
Target:
| Input:
43384645491916+20434493
Target:
[4,3,3,8,4,6,4,5,4,9,1,9,1,6] + [2,0,4,3,4,4,9,3] , A=[] , C=0 , 6+3+0=9 , A->9 , C->0
[4,3,3,8,4,6,4,5,4,9,1,9,1] + [2,0,4,3,4,4,9] , A=[9] , C=0 , 1+9+0=10 , A->0 , C->1
[4,3,3,8,4,6,4,5,4,9,1,9] + [2,0,4,3,4,4] , A=[0,9] , C=1 , 9+4+1=14 , A->4 , C->1
[4,3,3,8,4,6,4,5,4,9,1] + [2,0,4,3,4] , A=[4,0,9] , C=1 , 1+4+1=6 , A->6 , C->0
[4,3,3,8,4,6,4,5,4,9] + [2,0,4,3] , A=[6,4,0,9] , C=0 , 9+3+0=12 , A->2 , C->1
[4,3,3,8,4,6,4,5,4] + [2,0,4] , A=[2,6,4,0,9] , C=1 , 4+4+1=9 , A->9 , C->0
[4,3,3,8,4,6,4,5] + [2,0] , A=[9,2,6,4,0,9] , C=0 , 5+0+0=5 , A->5 , C->0
[4,3,3,8,4,6,4] + [2] , A=[5,9,2,6,4,0,9] , C=0 , 4+2+0=6 , A->6 , C->0
[4,3,3,8,4,6] + [] , A=[6,5,9,2,6,4,0,9] , C=0 , 6+0+0=6 , A->6 , C->0
[4,3,3,8,4] + [] , A=[6,6,5,9,2,6,4,0,9] , C=0 , 4+0+0=4 , A->4 , C->0
[4,3,3,8] + [] , A=[4,6,6,5,9,2,6,4,0,9] , C=0 , 8+0+0=8 , A->8 , C->0
[4,3,3] + [] , A=[8,4,6,6,5,9,2,6,4,0,9] , C=0 , 3+0+0=3 , A->3 , C->0
[4,3] + [] , A=[3,8,4,6,6,5,9,2,6,4,0,9] , C=0 , 3+0+0=3 , A->3 , C->0
[4] + [] , A=[3,3,8,4,6,6,5,9,2,6,4,0,9] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,3,3,8,4,6,6,5,9,2,6,4,0,9] C=0 , END
</scratch>
43384665926409
| 43384665926409 | 8 |
Input:
56390271152286+70571209412545
Target:
| Input:
56390271152286+70571209412545
Target:
[5,6,3,9,0,2,7,1,1,5,2,2,8,6] + [7,0,5,7,1,2,0,9,4,1,2,5,4,5] , A=[] , C=0 , 6+5+0=11 , A->1 , C->1
[5,6,3,9,0,2,7,1,1,5,2,2,8] + [7,0,5,7,1,2,0,9,4,1,2,5,4] , A=[1] , C=1 , 8+4+1=13 , A->3 , C->1
[5,6,3,9,0,2,7,1,1,5,2,2] + [7,0,5,7,1,2,0,9,4,1,2,5] , A=[3,1] , C=1 , 2+5+1=8 , A->8 , C->0
[5,6,3,9,0,2,7,1,1,5,2] + [7,0,5,7,1,2,0,9,4,1,2] , A=[8,3,1] , C=0 , 2+2+0=4 , A->4 , C->0
[5,6,3,9,0,2,7,1,1,5] + [7,0,5,7,1,2,0,9,4,1] , A=[4,8,3,1] , C=0 , 5+1+0=6 , A->6 , C->0
[5,6,3,9,0,2,7,1,1] + [7,0,5,7,1,2,0,9,4] , A=[6,4,8,3,1] , C=0 , 1+4+0=5 , A->5 , C->0
[5,6,3,9,0,2,7,1] + [7,0,5,7,1,2,0,9] , A=[5,6,4,8,3,1] , C=0 , 1+9+0=10 , A->0 , C->1
[5,6,3,9,0,2,7] + [7,0,5,7,1,2,0] , A=[0,5,6,4,8,3,1] , C=1 , 7+0+1=8 , A->8 , C->0
[5,6,3,9,0,2] + [7,0,5,7,1,2] , A=[8,0,5,6,4,8,3,1] , C=0 , 2+2+0=4 , A->4 , C->0
[5,6,3,9,0] + [7,0,5,7,1] , A=[4,8,0,5,6,4,8,3,1] , C=0 , 0+1+0=1 , A->1 , C->0
[5,6,3,9] + [7,0,5,7] , A=[1,4,8,0,5,6,4,8,3,1] , C=0 , 9+7+0=16 , A->6 , C->1
[5,6,3] + [7,0,5] , A=[6,1,4,8,0,5,6,4,8,3,1] , C=1 , 3+5+1=9 , A->9 , C->0
[5,6] + [7,0] , A=[9,6,1,4,8,0,5,6,4,8,3,1] , C=0 , 6+0+0=6 , A->6 , C->0
[5] + [7] , A=[6,9,6,1,4,8,0,5,6,4,8,3,1] , C=0 , 5+7+0=12 , A->2 , C->1
[] + [] , A=[2,6,9,6,1,4,8,0,5,6,4,8,3,1] C=1 , END
</scratch>
126961480564831
| 126961480564831 | 14 |
Input:
94183603768634+18511
Target:
| Input:
94183603768634+18511
Target:
[9,4,1,8,3,6,0,3,7,6,8,6,3,4] + [1,8,5,1,1] , A=[] , C=0 , 4+1+0=5 , A->5 , C->0
[9,4,1,8,3,6,0,3,7,6,8,6,3] + [1,8,5,1] , A=[5] , C=0 , 3+1+0=4 , A->4 , C->0
[9,4,1,8,3,6,0,3,7,6,8,6] + [1,8,5] , A=[4,5] , C=0 , 6+5+0=11 , A->1 , C->1
[9,4,1,8,3,6,0,3,7,6,8] + [1,8] , A=[1,4,5] , C=1 , 8+8+1=17 , A->7 , C->1
[9,4,1,8,3,6,0,3,7,6] + [1] , A=[7,1,4,5] , C=1 , 6+1+1=8 , A->8 , C->0
[9,4,1,8,3,6,0,3,7] + [] , A=[8,7,1,4,5] , C=0 , 7+0+0=7 , A->7 , C->0
[9,4,1,8,3,6,0,3] + [] , A=[7,8,7,1,4,5] , C=0 , 3+0+0=3 , A->3 , C->0
[9,4,1,8,3,6,0] + [] , A=[3,7,8,7,1,4,5] , C=0 , 0+0+0=0 , A->0 , C->0
[9,4,1,8,3,6] + [] , A=[0,3,7,8,7,1,4,5] , C=0 , 6+0+0=6 , A->6 , C->0
[9,4,1,8,3] + [] , A=[6,0,3,7,8,7,1,4,5] , C=0 , 3+0+0=3 , A->3 , C->0
[9,4,1,8] + [] , A=[3,6,0,3,7,8,7,1,4,5] , C=0 , 8+0+0=8 , A->8 , C->0
[9,4,1] + [] , A=[8,3,6,0,3,7,8,7,1,4,5] , C=0 , 1+0+0=1 , A->1 , C->0
[9,4] + [] , A=[1,8,3,6,0,3,7,8,7,1,4,5] , C=0 , 4+0+0=4 , A->4 , C->0
[9] + [] , A=[4,1,8,3,6,0,3,7,8,7,1,4,5] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,4,1,8,3,6,0,3,7,8,7,1,4,5] C=0 , END
</scratch>
94183603787145
| 94183603787145 | 5 |
Input:
49896868652037+135
Target:
| Input:
49896868652037+135
Target:
[4,9,8,9,6,8,6,8,6,5,2,0,3,7] + [1,3,5] , A=[] , C=0 , 7+5+0=12 , A->2 , C->1
[4,9,8,9,6,8,6,8,6,5,2,0,3] + [1,3] , A=[2] , C=1 , 3+3+1=7 , A->7 , C->0
[4,9,8,9,6,8,6,8,6,5,2,0] + [1] , A=[7,2] , C=0 , 0+1+0=1 , A->1 , C->0
[4,9,8,9,6,8,6,8,6,5,2] + [] , A=[1,7,2] , C=0 , 2+0+0=2 , A->2 , C->0
[4,9,8,9,6,8,6,8,6,5] + [] , A=[2,1,7,2] , C=0 , 5+0+0=5 , A->5 , C->0
[4,9,8,9,6,8,6,8,6] + [] , A=[5,2,1,7,2] , C=0 , 6+0+0=6 , A->6 , C->0
[4,9,8,9,6,8,6,8] + [] , A=[6,5,2,1,7,2] , C=0 , 8+0+0=8 , A->8 , C->0
[4,9,8,9,6,8,6] + [] , A=[8,6,5,2,1,7,2] , C=0 , 6+0+0=6 , A->6 , C->0
[4,9,8,9,6,8] + [] , A=[6,8,6,5,2,1,7,2] , C=0 , 8+0+0=8 , A->8 , C->0
[4,9,8,9,6] + [] , A=[8,6,8,6,5,2,1,7,2] , C=0 , 6+0+0=6 , A->6 , C->0
[4,9,8,9] + [] , A=[6,8,6,8,6,5,2,1,7,2] , C=0 , 9+0+0=9 , A->9 , C->0
[4,9,8] + [] , A=[9,6,8,6,8,6,5,2,1,7,2] , C=0 , 8+0+0=8 , A->8 , C->0
[4,9] + [] , A=[8,9,6,8,6,8,6,5,2,1,7,2] , C=0 , 9+0+0=9 , A->9 , C->0
[4] + [] , A=[9,8,9,6,8,6,8,6,5,2,1,7,2] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,9,8,9,6,8,6,8,6,5,2,1,7,2] C=0 , END
</scratch>
49896868652172
| 49896868652172 | 3 |
Input:
697985551+56194811590817
Target:
| Input:
697985551+56194811590817
Target:
[6,9,7,9,8,5,5,5,1] + [5,6,1,9,4,8,1,1,5,9,0,8,1,7] , A=[] , C=0 , 1+7+0=8 , A->8 , C->0
[6,9,7,9,8,5,5,5] + [5,6,1,9,4,8,1,1,5,9,0,8,1] , A=[8] , C=0 , 5+1+0=6 , A->6 , C->0
[6,9,7,9,8,5,5] + [5,6,1,9,4,8,1,1,5,9,0,8] , A=[6,8] , C=0 , 5+8+0=13 , A->3 , C->1
[6,9,7,9,8,5] + [5,6,1,9,4,8,1,1,5,9,0] , A=[3,6,8] , C=1 , 5+0+1=6 , A->6 , C->0
[6,9,7,9,8] + [5,6,1,9,4,8,1,1,5,9] , A=[6,3,6,8] , C=0 , 8+9+0=17 , A->7 , C->1
[6,9,7,9] + [5,6,1,9,4,8,1,1,5] , A=[7,6,3,6,8] , C=1 , 9+5+1=15 , A->5 , C->1
[6,9,7] + [5,6,1,9,4,8,1,1] , A=[5,7,6,3,6,8] , C=1 , 7+1+1=9 , A->9 , C->0
[6,9] + [5,6,1,9,4,8,1] , A=[9,5,7,6,3,6,8] , C=0 , 9+1+0=10 , A->0 , C->1
[6] + [5,6,1,9,4,8] , A=[0,9,5,7,6,3,6,8] , C=1 , 6+8+1=15 , A->5 , C->1
[] + [5,6,1,9,4] , A=[5,0,9,5,7,6,3,6,8] , C=1 , 0+4+1=5 , A->5 , C->0
[] + [5,6,1,9] , A=[5,5,0,9,5,7,6,3,6,8] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [5,6,1] , A=[9,5,5,0,9,5,7,6,3,6,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [5,6] , A=[1,9,5,5,0,9,5,7,6,3,6,8] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [5] , A=[6,1,9,5,5,0,9,5,7,6,3,6,8] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,6,1,9,5,5,0,9,5,7,6,3,6,8] C=0 , END
</scratch>
56195509576368
| 56195509576368 | 9 |
Input:
5220250+90457505262274
Target:
| Input:
5220250+90457505262274
Target:
[5,2,2,0,2,5,0] + [9,0,4,5,7,5,0,5,2,6,2,2,7,4] , A=[] , C=0 , 0+4+0=4 , A->4 , C->0
[5,2,2,0,2,5] + [9,0,4,5,7,5,0,5,2,6,2,2,7] , A=[4] , C=0 , 5+7+0=12 , A->2 , C->1
[5,2,2,0,2] + [9,0,4,5,7,5,0,5,2,6,2,2] , A=[2,4] , C=1 , 2+2+1=5 , A->5 , C->0
[5,2,2,0] + [9,0,4,5,7,5,0,5,2,6,2] , A=[5,2,4] , C=0 , 0+2+0=2 , A->2 , C->0
[5,2,2] + [9,0,4,5,7,5,0,5,2,6] , A=[2,5,2,4] , C=0 , 2+6+0=8 , A->8 , C->0
[5,2] + [9,0,4,5,7,5,0,5,2] , A=[8,2,5,2,4] , C=0 , 2+2+0=4 , A->4 , C->0
[5] + [9,0,4,5,7,5,0,5] , A=[4,8,2,5,2,4] , C=0 , 5+5+0=10 , A->0 , C->1
[] + [9,0,4,5,7,5,0] , A=[0,4,8,2,5,2,4] , C=1 , 0+0+1=1 , A->1 , C->0
[] + [9,0,4,5,7,5] , A=[1,0,4,8,2,5,2,4] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,0,4,5,7] , A=[5,1,0,4,8,2,5,2,4] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [9,0,4,5] , A=[7,5,1,0,4,8,2,5,2,4] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,0,4] , A=[5,7,5,1,0,4,8,2,5,2,4] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [9,0] , A=[4,5,7,5,1,0,4,8,2,5,2,4] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [9] , A=[0,4,5,7,5,1,0,4,8,2,5,2,4] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,0,4,5,7,5,1,0,4,8,2,5,2,4] C=0 , END
</scratch>
90457510482524
| 90457510482524 | 7 |
Input:
28832+74061113844016
Target:
| Input:
28832+74061113844016
Target:
[2,8,8,3,2] + [7,4,0,6,1,1,1,3,8,4,4,0,1,6] , A=[] , C=0 , 2+6+0=8 , A->8 , C->0
[2,8,8,3] + [7,4,0,6,1,1,1,3,8,4,4,0,1] , A=[8] , C=0 , 3+1+0=4 , A->4 , C->0
[2,8,8] + [7,4,0,6,1,1,1,3,8,4,4,0] , A=[4,8] , C=0 , 8+0+0=8 , A->8 , C->0
[2,8] + [7,4,0,6,1,1,1,3,8,4,4] , A=[8,4,8] , C=0 , 8+4+0=12 , A->2 , C->1
[2] + [7,4,0,6,1,1,1,3,8,4] , A=[2,8,4,8] , C=1 , 2+4+1=7 , A->7 , C->0
[] + [7,4,0,6,1,1,1,3,8] , A=[7,2,8,4,8] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [7,4,0,6,1,1,1,3] , A=[8,7,2,8,4,8] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [7,4,0,6,1,1,1] , A=[3,8,7,2,8,4,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [7,4,0,6,1,1] , A=[1,3,8,7,2,8,4,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [7,4,0,6,1] , A=[1,1,3,8,7,2,8,4,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [7,4,0,6] , A=[1,1,1,3,8,7,2,8,4,8] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [7,4,0] , A=[6,1,1,1,3,8,7,2,8,4,8] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [7,4] , A=[0,6,1,1,1,3,8,7,2,8,4,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [7] , A=[4,0,6,1,1,1,3,8,7,2,8,4,8] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,4,0,6,1,1,1,3,8,7,2,8,4,8] C=0 , END
</scratch>
74061113872848
| 74061113872848 | 5 |
Input:
74033442907219+1
Target:
| Input:
74033442907219+1
Target:
[7,4,0,3,3,4,4,2,9,0,7,2,1,9] + [1] , A=[] , C=0 , 9+1+0=10 , A->0 , C->1
[7,4,0,3,3,4,4,2,9,0,7,2,1] + [] , A=[0] , C=1 , 1+0+1=2 , A->2 , C->0
[7,4,0,3,3,4,4,2,9,0,7,2] + [] , A=[2,0] , C=0 , 2+0+0=2 , A->2 , C->0
[7,4,0,3,3,4,4,2,9,0,7] + [] , A=[2,2,0] , C=0 , 7+0+0=7 , A->7 , C->0
[7,4,0,3,3,4,4,2,9,0] + [] , A=[7,2,2,0] , C=0 , 0+0+0=0 , A->0 , C->0
[7,4,0,3,3,4,4,2,9] + [] , A=[0,7,2,2,0] , C=0 , 9+0+0=9 , A->9 , C->0
[7,4,0,3,3,4,4,2] + [] , A=[9,0,7,2,2,0] , C=0 , 2+0+0=2 , A->2 , C->0
[7,4,0,3,3,4,4] + [] , A=[2,9,0,7,2,2,0] , C=0 , 4+0+0=4 , A->4 , C->0
[7,4,0,3,3,4] + [] , A=[4,2,9,0,7,2,2,0] , C=0 , 4+0+0=4 , A->4 , C->0
[7,4,0,3,3] + [] , A=[4,4,2,9,0,7,2,2,0] , C=0 , 3+0+0=3 , A->3 , C->0
[7,4,0,3] + [] , A=[3,4,4,2,9,0,7,2,2,0] , C=0 , 3+0+0=3 , A->3 , C->0
[7,4,0] + [] , A=[3,3,4,4,2,9,0,7,2,2,0] , C=0 , 0+0+0=0 , A->0 , C->0
[7,4] + [] , A=[0,3,3,4,4,2,9,0,7,2,2,0] , C=0 , 4+0+0=4 , A->4 , C->0
[7] + [] , A=[4,0,3,3,4,4,2,9,0,7,2,2,0] , C=0 , 7+0+0=7 , A->7 , C->0
[] + [] , A=[7,4,0,3,3,4,4,2,9,0,7,2,2,0] C=0 , END
</scratch>
74033442907220
| 74033442907220 | 1 |
Input:
13441088860722+29272162683003
Target:
| Input:
13441088860722+29272162683003
Target:
[1,3,4,4,1,0,8,8,8,6,0,7,2,2] + [2,9,2,7,2,1,6,2,6,8,3,0,0,3] , A=[] , C=0 , 2+3+0=5 , A->5 , C->0
[1,3,4,4,1,0,8,8,8,6,0,7,2] + [2,9,2,7,2,1,6,2,6,8,3,0,0] , A=[5] , C=0 , 2+0+0=2 , A->2 , C->0
[1,3,4,4,1,0,8,8,8,6,0,7] + [2,9,2,7,2,1,6,2,6,8,3,0] , A=[2,5] , C=0 , 7+0+0=7 , A->7 , C->0
[1,3,4,4,1,0,8,8,8,6,0] + [2,9,2,7,2,1,6,2,6,8,3] , A=[7,2,5] , C=0 , 0+3+0=3 , A->3 , C->0
[1,3,4,4,1,0,8,8,8,6] + [2,9,2,7,2,1,6,2,6,8] , A=[3,7,2,5] , C=0 , 6+8+0=14 , A->4 , C->1
[1,3,4,4,1,0,8,8,8] + [2,9,2,7,2,1,6,2,6] , A=[4,3,7,2,5] , C=1 , 8+6+1=15 , A->5 , C->1
[1,3,4,4,1,0,8,8] + [2,9,2,7,2,1,6,2] , A=[5,4,3,7,2,5] , C=1 , 8+2+1=11 , A->1 , C->1
[1,3,4,4,1,0,8] + [2,9,2,7,2,1,6] , A=[1,5,4,3,7,2,5] , C=1 , 8+6+1=15 , A->5 , C->1
[1,3,4,4,1,0] + [2,9,2,7,2,1] , A=[5,1,5,4,3,7,2,5] , C=1 , 0+1+1=2 , A->2 , C->0
[1,3,4,4,1] + [2,9,2,7,2] , A=[2,5,1,5,4,3,7,2,5] , C=0 , 1+2+0=3 , A->3 , C->0
[1,3,4,4] + [2,9,2,7] , A=[3,2,5,1,5,4,3,7,2,5] , C=0 , 4+7+0=11 , A->1 , C->1
[1,3,4] + [2,9,2] , A=[1,3,2,5,1,5,4,3,7,2,5] , C=1 , 4+2+1=7 , A->7 , C->0
[1,3] + [2,9] , A=[7,1,3,2,5,1,5,4,3,7,2,5] , C=0 , 3+9+0=12 , A->2 , C->1
[1] + [2] , A=[2,7,1,3,2,5,1,5,4,3,7,2,5] , C=1 , 1+2+1=4 , A->4 , C->0
[] + [] , A=[4,2,7,1,3,2,5,1,5,4,3,7,2,5] C=0 , END
</scratch>
42713251543725
| 42713251543725 | 14 |
Input:
462370+97693753251149
Target:
| Input:
462370+97693753251149
Target:
[4,6,2,3,7,0] + [9,7,6,9,3,7,5,3,2,5,1,1,4,9] , A=[] , C=0 , 0+9+0=9 , A->9 , C->0
[4,6,2,3,7] + [9,7,6,9,3,7,5,3,2,5,1,1,4] , A=[9] , C=0 , 7+4+0=11 , A->1 , C->1
[4,6,2,3] + [9,7,6,9,3,7,5,3,2,5,1,1] , A=[1,9] , C=1 , 3+1+1=5 , A->5 , C->0
[4,6,2] + [9,7,6,9,3,7,5,3,2,5,1] , A=[5,1,9] , C=0 , 2+1+0=3 , A->3 , C->0
[4,6] + [9,7,6,9,3,7,5,3,2,5] , A=[3,5,1,9] , C=0 , 6+5+0=11 , A->1 , C->1
[4] + [9,7,6,9,3,7,5,3,2] , A=[1,3,5,1,9] , C=1 , 4+2+1=7 , A->7 , C->0
[] + [9,7,6,9,3,7,5,3] , A=[7,1,3,5,1,9] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [9,7,6,9,3,7,5] , A=[3,7,1,3,5,1,9] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,7,6,9,3,7] , A=[5,3,7,1,3,5,1,9] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [9,7,6,9,3] , A=[7,5,3,7,1,3,5,1,9] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [9,7,6,9] , A=[3,7,5,3,7,1,3,5,1,9] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [9,7,6] , A=[9,3,7,5,3,7,1,3,5,1,9] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [9,7] , A=[6,9,3,7,5,3,7,1,3,5,1,9] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [9] , A=[7,6,9,3,7,5,3,7,1,3,5,1,9] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,7,6,9,3,7,5,3,7,1,3,5,1,9] C=0 , END
</scratch>
97693753713519
| 97693753713519 | 6 |
Input:
99065508856229+38
Target:
| Input:
99065508856229+38
Target:
[9,9,0,6,5,5,0,8,8,5,6,2,2,9] + [3,8] , A=[] , C=0 , 9+8+0=17 , A->7 , C->1
[9,9,0,6,5,5,0,8,8,5,6,2,2] + [3] , A=[7] , C=1 , 2+3+1=6 , A->6 , C->0
[9,9,0,6,5,5,0,8,8,5,6,2] + [] , A=[6,7] , C=0 , 2+0+0=2 , A->2 , C->0
[9,9,0,6,5,5,0,8,8,5,6] + [] , A=[2,6,7] , C=0 , 6+0+0=6 , A->6 , C->0
[9,9,0,6,5,5,0,8,8,5] + [] , A=[6,2,6,7] , C=0 , 5+0+0=5 , A->5 , C->0
[9,9,0,6,5,5,0,8,8] + [] , A=[5,6,2,6,7] , C=0 , 8+0+0=8 , A->8 , C->0
[9,9,0,6,5,5,0,8] + [] , A=[8,5,6,2,6,7] , C=0 , 8+0+0=8 , A->8 , C->0
[9,9,0,6,5,5,0] + [] , A=[8,8,5,6,2,6,7] , C=0 , 0+0+0=0 , A->0 , C->0
[9,9,0,6,5,5] + [] , A=[0,8,8,5,6,2,6,7] , C=0 , 5+0+0=5 , A->5 , C->0
[9,9,0,6,5] + [] , A=[5,0,8,8,5,6,2,6,7] , C=0 , 5+0+0=5 , A->5 , C->0
[9,9,0,6] + [] , A=[5,5,0,8,8,5,6,2,6,7] , C=0 , 6+0+0=6 , A->6 , C->0
[9,9,0] + [] , A=[6,5,5,0,8,8,5,6,2,6,7] , C=0 , 0+0+0=0 , A->0 , C->0
[9,9] + [] , A=[0,6,5,5,0,8,8,5,6,2,6,7] , C=0 , 9+0+0=9 , A->9 , C->0
[9] + [] , A=[9,0,6,5,5,0,8,8,5,6,2,6,7] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,9,0,6,5,5,0,8,8,5,6,2,6,7] C=0 , END
</scratch>
99065508856267
| 99065508856267 | 2 |
Input:
34548774593+12999850148879
Target:
| Input:
34548774593+12999850148879
Target:
[3,4,5,4,8,7,7,4,5,9,3] + [1,2,9,9,9,8,5,0,1,4,8,8,7,9] , A=[] , C=0 , 3+9+0=12 , A->2 , C->1
[3,4,5,4,8,7,7,4,5,9] + [1,2,9,9,9,8,5,0,1,4,8,8,7] , A=[2] , C=1 , 9+7+1=17 , A->7 , C->1
[3,4,5,4,8,7,7,4,5] + [1,2,9,9,9,8,5,0,1,4,8,8] , A=[7,2] , C=1 , 5+8+1=14 , A->4 , C->1
[3,4,5,4,8,7,7,4] + [1,2,9,9,9,8,5,0,1,4,8] , A=[4,7,2] , C=1 , 4+8+1=13 , A->3 , C->1
[3,4,5,4,8,7,7] + [1,2,9,9,9,8,5,0,1,4] , A=[3,4,7,2] , C=1 , 7+4+1=12 , A->2 , C->1
[3,4,5,4,8,7] + [1,2,9,9,9,8,5,0,1] , A=[2,3,4,7,2] , C=1 , 7+1+1=9 , A->9 , C->0
[3,4,5,4,8] + [1,2,9,9,9,8,5,0] , A=[9,2,3,4,7,2] , C=0 , 8+0+0=8 , A->8 , C->0
[3,4,5,4] + [1,2,9,9,9,8,5] , A=[8,9,2,3,4,7,2] , C=0 , 4+5+0=9 , A->9 , C->0
[3,4,5] + [1,2,9,9,9,8] , A=[9,8,9,2,3,4,7,2] , C=0 , 5+8+0=13 , A->3 , C->1
[3,4] + [1,2,9,9,9] , A=[3,9,8,9,2,3,4,7,2] , C=1 , 4+9+1=14 , A->4 , C->1
[3] + [1,2,9,9] , A=[4,3,9,8,9,2,3,4,7,2] , C=1 , 3+9+1=13 , A->3 , C->1
[] + [1,2,9] , A=[3,4,3,9,8,9,2,3,4,7,2] , C=1 , 0+9+1=10 , A->0 , C->1
[] + [1,2] , A=[0,3,4,3,9,8,9,2,3,4,7,2] , C=1 , 0+2+1=3 , A->3 , C->0
[] + [1] , A=[3,0,3,4,3,9,8,9,2,3,4,7,2] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,3,0,3,4,3,9,8,9,2,3,4,7,2] C=0 , END
</scratch>
13034398923472
| 13034398923472 | 11 |
Input:
48211872647392+305315
Target:
| Input:
48211872647392+305315
Target:
[4,8,2,1,1,8,7,2,6,4,7,3,9,2] + [3,0,5,3,1,5] , A=[] , C=0 , 2+5+0=7 , A->7 , C->0
[4,8,2,1,1,8,7,2,6,4,7,3,9] + [3,0,5,3,1] , A=[7] , C=0 , 9+1+0=10 , A->0 , C->1
[4,8,2,1,1,8,7,2,6,4,7,3] + [3,0,5,3] , A=[0,7] , C=1 , 3+3+1=7 , A->7 , C->0
[4,8,2,1,1,8,7,2,6,4,7] + [3,0,5] , A=[7,0,7] , C=0 , 7+5+0=12 , A->2 , C->1
[4,8,2,1,1,8,7,2,6,4] + [3,0] , A=[2,7,0,7] , C=1 , 4+0+1=5 , A->5 , C->0
[4,8,2,1,1,8,7,2,6] + [3] , A=[5,2,7,0,7] , C=0 , 6+3+0=9 , A->9 , C->0
[4,8,2,1,1,8,7,2] + [] , A=[9,5,2,7,0,7] , C=0 , 2+0+0=2 , A->2 , C->0
[4,8,2,1,1,8,7] + [] , A=[2,9,5,2,7,0,7] , C=0 , 7+0+0=7 , A->7 , C->0
[4,8,2,1,1,8] + [] , A=[7,2,9,5,2,7,0,7] , C=0 , 8+0+0=8 , A->8 , C->0
[4,8,2,1,1] + [] , A=[8,7,2,9,5,2,7,0,7] , C=0 , 1+0+0=1 , A->1 , C->0
[4,8,2,1] + [] , A=[1,8,7,2,9,5,2,7,0,7] , C=0 , 1+0+0=1 , A->1 , C->0
[4,8,2] + [] , A=[1,1,8,7,2,9,5,2,7,0,7] , C=0 , 2+0+0=2 , A->2 , C->0
[4,8] + [] , A=[2,1,1,8,7,2,9,5,2,7,0,7] , C=0 , 8+0+0=8 , A->8 , C->0
[4] + [] , A=[8,2,1,1,8,7,2,9,5,2,7,0,7] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,8,2,1,1,8,7,2,9,5,2,7,0,7] C=0 , END
</scratch>
48211872952707
| 48211872952707 | 6 |
Input:
5049611+99451302961888
Target:
| Input:
5049611+99451302961888
Target:
[5,0,4,9,6,1,1] + [9,9,4,5,1,3,0,2,9,6,1,8,8,8] , A=[] , C=0 , 1+8+0=9 , A->9 , C->0
[5,0,4,9,6,1] + [9,9,4,5,1,3,0,2,9,6,1,8,8] , A=[9] , C=0 , 1+8+0=9 , A->9 , C->0
[5,0,4,9,6] + [9,9,4,5,1,3,0,2,9,6,1,8] , A=[9,9] , C=0 , 6+8+0=14 , A->4 , C->1
[5,0,4,9] + [9,9,4,5,1,3,0,2,9,6,1] , A=[4,9,9] , C=1 , 9+1+1=11 , A->1 , C->1
[5,0,4] + [9,9,4,5,1,3,0,2,9,6] , A=[1,4,9,9] , C=1 , 4+6+1=11 , A->1 , C->1
[5,0] + [9,9,4,5,1,3,0,2,9] , A=[1,1,4,9,9] , C=1 , 0+9+1=10 , A->0 , C->1
[5] + [9,9,4,5,1,3,0,2] , A=[0,1,1,4,9,9] , C=1 , 5+2+1=8 , A->8 , C->0
[] + [9,9,4,5,1,3,0] , A=[8,0,1,1,4,9,9] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [9,9,4,5,1,3] , A=[0,8,0,1,1,4,9,9] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [9,9,4,5,1] , A=[3,0,8,0,1,1,4,9,9] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [9,9,4,5] , A=[1,3,0,8,0,1,1,4,9,9] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,9,4] , A=[5,1,3,0,8,0,1,1,4,9,9] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [9,9] , A=[4,5,1,3,0,8,0,1,1,4,9,9] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [9] , A=[9,4,5,1,3,0,8,0,1,1,4,9,9] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,9,4,5,1,3,0,8,0,1,1,4,9,9] C=0 , END
</scratch>
99451308011499
| 99451308011499 | 7 |
Input:
807233303483+35162000111522
Target:
| Input:
807233303483+35162000111522
Target:
[8,0,7,2,3,3,3,0,3,4,8,3] + [3,5,1,6,2,0,0,0,1,1,1,5,2,2] , A=[] , C=0 , 3+2+0=5 , A->5 , C->0
[8,0,7,2,3,3,3,0,3,4,8] + [3,5,1,6,2,0,0,0,1,1,1,5,2] , A=[5] , C=0 , 8+2+0=10 , A->0 , C->1
[8,0,7,2,3,3,3,0,3,4] + [3,5,1,6,2,0,0,0,1,1,1,5] , A=[0,5] , C=1 , 4+5+1=10 , A->0 , C->1
[8,0,7,2,3,3,3,0,3] + [3,5,1,6,2,0,0,0,1,1,1] , A=[0,0,5] , C=1 , 3+1+1=5 , A->5 , C->0
[8,0,7,2,3,3,3,0] + [3,5,1,6,2,0,0,0,1,1] , A=[5,0,0,5] , C=0 , 0+1+0=1 , A->1 , C->0
[8,0,7,2,3,3,3] + [3,5,1,6,2,0,0,0,1] , A=[1,5,0,0,5] , C=0 , 3+1+0=4 , A->4 , C->0
[8,0,7,2,3,3] + [3,5,1,6,2,0,0,0] , A=[4,1,5,0,0,5] , C=0 , 3+0+0=3 , A->3 , C->0
[8,0,7,2,3] + [3,5,1,6,2,0,0] , A=[3,4,1,5,0,0,5] , C=0 , 3+0+0=3 , A->3 , C->0
[8,0,7,2] + [3,5,1,6,2,0] , A=[3,3,4,1,5,0,0,5] , C=0 , 2+0+0=2 , A->2 , C->0
[8,0,7] + [3,5,1,6,2] , A=[2,3,3,4,1,5,0,0,5] , C=0 , 7+2+0=9 , A->9 , C->0
[8,0] + [3,5,1,6] , A=[9,2,3,3,4,1,5,0,0,5] , C=0 , 0+6+0=6 , A->6 , C->0
[8] + [3,5,1] , A=[6,9,2,3,3,4,1,5,0,0,5] , C=0 , 8+1+0=9 , A->9 , C->0
[] + [3,5] , A=[9,6,9,2,3,3,4,1,5,0,0,5] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [3] , A=[5,9,6,9,2,3,3,4,1,5,0,0,5] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [] , A=[3,5,9,6,9,2,3,3,4,1,5,0,0,5] C=0 , END
</scratch>
35969233415005
| 35969233415005 | 12 |
Input:
33909005253408+28939970895026
Target:
| Input:
33909005253408+28939970895026
Target:
[3,3,9,0,9,0,0,5,2,5,3,4,0,8] + [2,8,9,3,9,9,7,0,8,9,5,0,2,6] , A=[] , C=0 , 8+6+0=14 , A->4 , C->1
[3,3,9,0,9,0,0,5,2,5,3,4,0] + [2,8,9,3,9,9,7,0,8,9,5,0,2] , A=[4] , C=1 , 0+2+1=3 , A->3 , C->0
[3,3,9,0,9,0,0,5,2,5,3,4] + [2,8,9,3,9,9,7,0,8,9,5,0] , A=[3,4] , C=0 , 4+0+0=4 , A->4 , C->0
[3,3,9,0,9,0,0,5,2,5,3] + [2,8,9,3,9,9,7,0,8,9,5] , A=[4,3,4] , C=0 , 3+5+0=8 , A->8 , C->0
[3,3,9,0,9,0,0,5,2,5] + [2,8,9,3,9,9,7,0,8,9] , A=[8,4,3,4] , C=0 , 5+9+0=14 , A->4 , C->1
[3,3,9,0,9,0,0,5,2] + [2,8,9,3,9,9,7,0,8] , A=[4,8,4,3,4] , C=1 , 2+8+1=11 , A->1 , C->1
[3,3,9,0,9,0,0,5] + [2,8,9,3,9,9,7,0] , A=[1,4,8,4,3,4] , C=1 , 5+0+1=6 , A->6 , C->0
[3,3,9,0,9,0,0] + [2,8,9,3,9,9,7] , A=[6,1,4,8,4,3,4] , C=0 , 0+7+0=7 , A->7 , C->0
[3,3,9,0,9,0] + [2,8,9,3,9,9] , A=[7,6,1,4,8,4,3,4] , C=0 , 0+9+0=9 , A->9 , C->0
[3,3,9,0,9] + [2,8,9,3,9] , A=[9,7,6,1,4,8,4,3,4] , C=0 , 9+9+0=18 , A->8 , C->1
[3,3,9,0] + [2,8,9,3] , A=[8,9,7,6,1,4,8,4,3,4] , C=1 , 0+3+1=4 , A->4 , C->0
[3,3,9] + [2,8,9] , A=[4,8,9,7,6,1,4,8,4,3,4] , C=0 , 9+9+0=18 , A->8 , C->1
[3,3] + [2,8] , A=[8,4,8,9,7,6,1,4,8,4,3,4] , C=1 , 3+8+1=12 , A->2 , C->1
[3] + [2] , A=[2,8,4,8,9,7,6,1,4,8,4,3,4] , C=1 , 3+2+1=6 , A->6 , C->0
[] + [] , A=[6,2,8,4,8,9,7,6,1,4,8,4,3,4] C=0 , END
</scratch>
62848976148434
| 62848976148434 | 14 |
Input:
37610373843179+182294104
Target:
| Input:
37610373843179+182294104
Target:
[3,7,6,1,0,3,7,3,8,4,3,1,7,9] + [1,8,2,2,9,4,1,0,4] , A=[] , C=0 , 9+4+0=13 , A->3 , C->1
[3,7,6,1,0,3,7,3,8,4,3,1,7] + [1,8,2,2,9,4,1,0] , A=[3] , C=1 , 7+0+1=8 , A->8 , C->0
[3,7,6,1,0,3,7,3,8,4,3,1] + [1,8,2,2,9,4,1] , A=[8,3] , C=0 , 1+1+0=2 , A->2 , C->0
[3,7,6,1,0,3,7,3,8,4,3] + [1,8,2,2,9,4] , A=[2,8,3] , C=0 , 3+4+0=7 , A->7 , C->0
[3,7,6,1,0,3,7,3,8,4] + [1,8,2,2,9] , A=[7,2,8,3] , C=0 , 4+9+0=13 , A->3 , C->1
[3,7,6,1,0,3,7,3,8] + [1,8,2,2] , A=[3,7,2,8,3] , C=1 , 8+2+1=11 , A->1 , C->1
[3,7,6,1,0,3,7,3] + [1,8,2] , A=[1,3,7,2,8,3] , C=1 , 3+2+1=6 , A->6 , C->0
[3,7,6,1,0,3,7] + [1,8] , A=[6,1,3,7,2,8,3] , C=0 , 7+8+0=15 , A->5 , C->1
[3,7,6,1,0,3] + [1] , A=[5,6,1,3,7,2,8,3] , C=1 , 3+1+1=5 , A->5 , C->0
[3,7,6,1,0] + [] , A=[5,5,6,1,3,7,2,8,3] , C=0 , 0+0+0=0 , A->0 , C->0
[3,7,6,1] + [] , A=[0,5,5,6,1,3,7,2,8,3] , C=0 , 1+0+0=1 , A->1 , C->0
[3,7,6] + [] , A=[1,0,5,5,6,1,3,7,2,8,3] , C=0 , 6+0+0=6 , A->6 , C->0
[3,7] + [] , A=[6,1,0,5,5,6,1,3,7,2,8,3] , C=0 , 7+0+0=7 , A->7 , C->0
[3] + [] , A=[7,6,1,0,5,5,6,1,3,7,2,8,3] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,7,6,1,0,5,5,6,1,3,7,2,8,3] C=0 , END
</scratch>
37610556137283
| 37610556137283 | 9 |
Input:
76166338194+88874273049192
Target:
| Input:
76166338194+88874273049192
Target:
[7,6,1,6,6,3,3,8,1,9,4] + [8,8,8,7,4,2,7,3,0,4,9,1,9,2] , A=[] , C=0 , 4+2+0=6 , A->6 , C->0
[7,6,1,6,6,3,3,8,1,9] + [8,8,8,7,4,2,7,3,0,4,9,1,9] , A=[6] , C=0 , 9+9+0=18 , A->8 , C->1
[7,6,1,6,6,3,3,8,1] + [8,8,8,7,4,2,7,3,0,4,9,1] , A=[8,6] , C=1 , 1+1+1=3 , A->3 , C->0
[7,6,1,6,6,3,3,8] + [8,8,8,7,4,2,7,3,0,4,9] , A=[3,8,6] , C=0 , 8+9+0=17 , A->7 , C->1
[7,6,1,6,6,3,3] + [8,8,8,7,4,2,7,3,0,4] , A=[7,3,8,6] , C=1 , 3+4+1=8 , A->8 , C->0
[7,6,1,6,6,3] + [8,8,8,7,4,2,7,3,0] , A=[8,7,3,8,6] , C=0 , 3+0+0=3 , A->3 , C->0
[7,6,1,6,6] + [8,8,8,7,4,2,7,3] , A=[3,8,7,3,8,6] , C=0 , 6+3+0=9 , A->9 , C->0
[7,6,1,6] + [8,8,8,7,4,2,7] , A=[9,3,8,7,3,8,6] , C=0 , 6+7+0=13 , A->3 , C->1
[7,6,1] + [8,8,8,7,4,2] , A=[3,9,3,8,7,3,8,6] , C=1 , 1+2+1=4 , A->4 , C->0
[7,6] + [8,8,8,7,4] , A=[4,3,9,3,8,7,3,8,6] , C=0 , 6+4+0=10 , A->0 , C->1
[7] + [8,8,8,7] , A=[0,4,3,9,3,8,7,3,8,6] , C=1 , 7+7+1=15 , A->5 , C->1
[] + [8,8,8] , A=[5,0,4,3,9,3,8,7,3,8,6] , C=1 , 0+8+1=9 , A->9 , C->0
[] + [8,8] , A=[9,5,0,4,3,9,3,8,7,3,8,6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [8] , A=[8,9,5,0,4,3,9,3,8,7,3,8,6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [] , A=[8,8,9,5,0,4,3,9,3,8,7,3,8,6] C=0 , END
</scratch>
88950439387386
| 88950439387386 | 11 |
Input:
918333508+94444415770210
Target:
| Input:
918333508+94444415770210
Target:
[9,1,8,3,3,3,5,0,8] + [9,4,4,4,4,4,1,5,7,7,0,2,1,0] , A=[] , C=0 , 8+0+0=8 , A->8 , C->0
[9,1,8,3,3,3,5,0] + [9,4,4,4,4,4,1,5,7,7,0,2,1] , A=[8] , C=0 , 0+1+0=1 , A->1 , C->0
[9,1,8,3,3,3,5] + [9,4,4,4,4,4,1,5,7,7,0,2] , A=[1,8] , C=0 , 5+2+0=7 , A->7 , C->0
[9,1,8,3,3,3] + [9,4,4,4,4,4,1,5,7,7,0] , A=[7,1,8] , C=0 , 3+0+0=3 , A->3 , C->0
[9,1,8,3,3] + [9,4,4,4,4,4,1,5,7,7] , A=[3,7,1,8] , C=0 , 3+7+0=10 , A->0 , C->1
[9,1,8,3] + [9,4,4,4,4,4,1,5,7] , A=[0,3,7,1,8] , C=1 , 3+7+1=11 , A->1 , C->1
[9,1,8] + [9,4,4,4,4,4,1,5] , A=[1,0,3,7,1,8] , C=1 , 8+5+1=14 , A->4 , C->1
[9,1] + [9,4,4,4,4,4,1] , A=[4,1,0,3,7,1,8] , C=1 , 1+1+1=3 , A->3 , C->0
[9] + [9,4,4,4,4,4] , A=[3,4,1,0,3,7,1,8] , C=0 , 9+4+0=13 , A->3 , C->1
[] + [9,4,4,4,4] , A=[3,3,4,1,0,3,7,1,8] , C=1 , 0+4+1=5 , A->5 , C->0
[] + [9,4,4,4] , A=[5,3,3,4,1,0,3,7,1,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [9,4,4] , A=[4,5,3,3,4,1,0,3,7,1,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [9,4] , A=[4,4,5,3,3,4,1,0,3,7,1,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [9] , A=[4,4,4,5,3,3,4,1,0,3,7,1,8] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,4,4,4,5,3,3,4,1,0,3,7,1,8] C=0 , END
</scratch>
94445334103718
| 94445334103718 | 9 |
Input:
83693541185737+3654773255
Target:
| Input:
83693541185737+3654773255
Target:
[8,3,6,9,3,5,4,1,1,8,5,7,3,7] + [3,6,5,4,7,7,3,2,5,5] , A=[] , C=0 , 7+5+0=12 , A->2 , C->1
[8,3,6,9,3,5,4,1,1,8,5,7,3] + [3,6,5,4,7,7,3,2,5] , A=[2] , C=1 , 3+5+1=9 , A->9 , C->0
[8,3,6,9,3,5,4,1,1,8,5,7] + [3,6,5,4,7,7,3,2] , A=[9,2] , C=0 , 7+2+0=9 , A->9 , C->0
[8,3,6,9,3,5,4,1,1,8,5] + [3,6,5,4,7,7,3] , A=[9,9,2] , C=0 , 5+3+0=8 , A->8 , C->0
[8,3,6,9,3,5,4,1,1,8] + [3,6,5,4,7,7] , A=[8,9,9,2] , C=0 , 8+7+0=15 , A->5 , C->1
[8,3,6,9,3,5,4,1,1] + [3,6,5,4,7] , A=[5,8,9,9,2] , C=1 , 1+7+1=9 , A->9 , C->0
[8,3,6,9,3,5,4,1] + [3,6,5,4] , A=[9,5,8,9,9,2] , C=0 , 1+4+0=5 , A->5 , C->0
[8,3,6,9,3,5,4] + [3,6,5] , A=[5,9,5,8,9,9,2] , C=0 , 4+5+0=9 , A->9 , C->0
[8,3,6,9,3,5] + [3,6] , A=[9,5,9,5,8,9,9,2] , C=0 , 5+6+0=11 , A->1 , C->1
[8,3,6,9,3] + [3] , A=[1,9,5,9,5,8,9,9,2] , C=1 , 3+3+1=7 , A->7 , C->0
[8,3,6,9] + [] , A=[7,1,9,5,9,5,8,9,9,2] , C=0 , 9+0+0=9 , A->9 , C->0
[8,3,6] + [] , A=[9,7,1,9,5,9,5,8,9,9,2] , C=0 , 6+0+0=6 , A->6 , C->0
[8,3] + [] , A=[6,9,7,1,9,5,9,5,8,9,9,2] , C=0 , 3+0+0=3 , A->3 , C->0
[8] + [] , A=[3,6,9,7,1,9,5,9,5,8,9,9,2] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,3,6,9,7,1,9,5,9,5,8,9,9,2] C=0 , END
</scratch>
83697195958992
| 83697195958992 | 10 |
Input:
59633581296944+571118031894
Target:
| Input:
59633581296944+571118031894
Target:
[5,9,6,3,3,5,8,1,2,9,6,9,4,4] + [5,7,1,1,1,8,0,3,1,8,9,4] , A=[] , C=0 , 4+4+0=8 , A->8 , C->0
[5,9,6,3,3,5,8,1,2,9,6,9,4] + [5,7,1,1,1,8,0,3,1,8,9] , A=[8] , C=0 , 4+9+0=13 , A->3 , C->1
[5,9,6,3,3,5,8,1,2,9,6,9] + [5,7,1,1,1,8,0,3,1,8] , A=[3,8] , C=1 , 9+8+1=18 , A->8 , C->1
[5,9,6,3,3,5,8,1,2,9,6] + [5,7,1,1,1,8,0,3,1] , A=[8,3,8] , C=1 , 6+1+1=8 , A->8 , C->0
[5,9,6,3,3,5,8,1,2,9] + [5,7,1,1,1,8,0,3] , A=[8,8,3,8] , C=0 , 9+3+0=12 , A->2 , C->1
[5,9,6,3,3,5,8,1,2] + [5,7,1,1,1,8,0] , A=[2,8,8,3,8] , C=1 , 2+0+1=3 , A->3 , C->0
[5,9,6,3,3,5,8,1] + [5,7,1,1,1,8] , A=[3,2,8,8,3,8] , C=0 , 1+8+0=9 , A->9 , C->0
[5,9,6,3,3,5,8] + [5,7,1,1,1] , A=[9,3,2,8,8,3,8] , C=0 , 8+1+0=9 , A->9 , C->0
[5,9,6,3,3,5] + [5,7,1,1] , A=[9,9,3,2,8,8,3,8] , C=0 , 5+1+0=6 , A->6 , C->0
[5,9,6,3,3] + [5,7,1] , A=[6,9,9,3,2,8,8,3,8] , C=0 , 3+1+0=4 , A->4 , C->0
[5,9,6,3] + [5,7] , A=[4,6,9,9,3,2,8,8,3,8] , C=0 , 3+7+0=10 , A->0 , C->1
[5,9,6] + [5] , A=[0,4,6,9,9,3,2,8,8,3,8] , C=1 , 6+5+1=12 , A->2 , C->1
[5,9] + [] , A=[2,0,4,6,9,9,3,2,8,8,3,8] , C=1 , 9+0+1=10 , A->0 , C->1
[5] + [] , A=[0,2,0,4,6,9,9,3,2,8,8,3,8] , C=1 , 5+0+1=6 , A->6 , C->0
[] + [] , A=[6,0,2,0,4,6,9,9,3,2,8,8,3,8] C=0 , END
</scratch>
60204699328838
| 60204699328838 | 12 |
Input:
97248014925254+40220619923811
Target:
| Input:
97248014925254+40220619923811
Target:
[9,7,2,4,8,0,1,4,9,2,5,2,5,4] + [4,0,2,2,0,6,1,9,9,2,3,8,1,1] , A=[] , C=0 , 4+1+0=5 , A->5 , C->0
[9,7,2,4,8,0,1,4,9,2,5,2,5] + [4,0,2,2,0,6,1,9,9,2,3,8,1] , A=[5] , C=0 , 5+1+0=6 , A->6 , C->0
[9,7,2,4,8,0,1,4,9,2,5,2] + [4,0,2,2,0,6,1,9,9,2,3,8] , A=[6,5] , C=0 , 2+8+0=10 , A->0 , C->1
[9,7,2,4,8,0,1,4,9,2,5] + [4,0,2,2,0,6,1,9,9,2,3] , A=[0,6,5] , C=1 , 5+3+1=9 , A->9 , C->0
[9,7,2,4,8,0,1,4,9,2] + [4,0,2,2,0,6,1,9,9,2] , A=[9,0,6,5] , C=0 , 2+2+0=4 , A->4 , C->0
[9,7,2,4,8,0,1,4,9] + [4,0,2,2,0,6,1,9,9] , A=[4,9,0,6,5] , C=0 , 9+9+0=18 , A->8 , C->1
[9,7,2,4,8,0,1,4] + [4,0,2,2,0,6,1,9] , A=[8,4,9,0,6,5] , C=1 , 4+9+1=14 , A->4 , C->1
[9,7,2,4,8,0,1] + [4,0,2,2,0,6,1] , A=[4,8,4,9,0,6,5] , C=1 , 1+1+1=3 , A->3 , C->0
[9,7,2,4,8,0] + [4,0,2,2,0,6] , A=[3,4,8,4,9,0,6,5] , C=0 , 0+6+0=6 , A->6 , C->0
[9,7,2,4,8] + [4,0,2,2,0] , A=[6,3,4,8,4,9,0,6,5] , C=0 , 8+0+0=8 , A->8 , C->0
[9,7,2,4] + [4,0,2,2] , A=[8,6,3,4,8,4,9,0,6,5] , C=0 , 4+2+0=6 , A->6 , C->0
[9,7,2] + [4,0,2] , A=[6,8,6,3,4,8,4,9,0,6,5] , C=0 , 2+2+0=4 , A->4 , C->0
[9,7] + [4,0] , A=[4,6,8,6,3,4,8,4,9,0,6,5] , C=0 , 7+0+0=7 , A->7 , C->0
[9] + [4] , A=[7,4,6,8,6,3,4,8,4,9,0,6,5] , C=0 , 9+4+0=13 , A->3 , C->1
[] + [] , A=[3,7,4,6,8,6,3,4,8,4,9,0,6,5] C=1 , END
</scratch>
137468634849065
| 137468634849065 | 14 |
Input:
661+73751929216199
Target:
| Input:
661+73751929216199
Target:
[6,6,1] + [7,3,7,5,1,9,2,9,2,1,6,1,9,9] , A=[] , C=0 , 1+9+0=10 , A->0 , C->1
[6,6] + [7,3,7,5,1,9,2,9,2,1,6,1,9] , A=[0] , C=1 , 6+9+1=16 , A->6 , C->1
[6] + [7,3,7,5,1,9,2,9,2,1,6,1] , A=[6,0] , C=1 , 6+1+1=8 , A->8 , C->0
[] + [7,3,7,5,1,9,2,9,2,1,6] , A=[8,6,0] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [7,3,7,5,1,9,2,9,2,1] , A=[6,8,6,0] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [7,3,7,5,1,9,2,9,2] , A=[1,6,8,6,0] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [7,3,7,5,1,9,2,9] , A=[2,1,6,8,6,0] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [7,3,7,5,1,9,2] , A=[9,2,1,6,8,6,0] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [7,3,7,5,1,9] , A=[2,9,2,1,6,8,6,0] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [7,3,7,5,1] , A=[9,2,9,2,1,6,8,6,0] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [7,3,7,5] , A=[1,9,2,9,2,1,6,8,6,0] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [7,3,7] , A=[5,1,9,2,9,2,1,6,8,6,0] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [7,3] , A=[7,5,1,9,2,9,2,1,6,8,6,0] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [7] , A=[3,7,5,1,9,2,9,2,1,6,8,6,0] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,3,7,5,1,9,2,9,2,1,6,8,6,0] C=0 , END
</scratch>
73751929216860
| 73751929216860 | 3 |
Input:
88222870273279+837121722
Target:
| Input:
88222870273279+837121722
Target:
[8,8,2,2,2,8,7,0,2,7,3,2,7,9] + [8,3,7,1,2,1,7,2,2] , A=[] , C=0 , 9+2+0=11 , A->1 , C->1
[8,8,2,2,2,8,7,0,2,7,3,2,7] + [8,3,7,1,2,1,7,2] , A=[1] , C=1 , 7+2+1=10 , A->0 , C->1
[8,8,2,2,2,8,7,0,2,7,3,2] + [8,3,7,1,2,1,7] , A=[0,1] , C=1 , 2+7+1=10 , A->0 , C->1
[8,8,2,2,2,8,7,0,2,7,3] + [8,3,7,1,2,1] , A=[0,0,1] , C=1 , 3+1+1=5 , A->5 , C->0
[8,8,2,2,2,8,7,0,2,7] + [8,3,7,1,2] , A=[5,0,0,1] , C=0 , 7+2+0=9 , A->9 , C->0
[8,8,2,2,2,8,7,0,2] + [8,3,7,1] , A=[9,5,0,0,1] , C=0 , 2+1+0=3 , A->3 , C->0
[8,8,2,2,2,8,7,0] + [8,3,7] , A=[3,9,5,0,0,1] , C=0 , 0+7+0=7 , A->7 , C->0
[8,8,2,2,2,8,7] + [8,3] , A=[7,3,9,5,0,0,1] , C=0 , 7+3+0=10 , A->0 , C->1
[8,8,2,2,2,8] + [8] , A=[0,7,3,9,5,0,0,1] , C=1 , 8+8+1=17 , A->7 , C->1
[8,8,2,2,2] + [] , A=[7,0,7,3,9,5,0,0,1] , C=1 , 2+0+1=3 , A->3 , C->0
[8,8,2,2] + [] , A=[3,7,0,7,3,9,5,0,0,1] , C=0 , 2+0+0=2 , A->2 , C->0
[8,8,2] + [] , A=[2,3,7,0,7,3,9,5,0,0,1] , C=0 , 2+0+0=2 , A->2 , C->0
[8,8] + [] , A=[2,2,3,7,0,7,3,9,5,0,0,1] , C=0 , 8+0+0=8 , A->8 , C->0
[8] + [] , A=[8,2,2,3,7,0,7,3,9,5,0,0,1] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,8,2,2,3,7,0,7,3,9,5,0,0,1] C=0 , END
</scratch>
88223707395001
| 88223707395001 | 9 |
Input:
14427950956231+21765634
Target:
| Input:
14427950956231+21765634
Target:
[1,4,4,2,7,9,5,0,9,5,6,2,3,1] + [2,1,7,6,5,6,3,4] , A=[] , C=0 , 1+4+0=5 , A->5 , C->0
[1,4,4,2,7,9,5,0,9,5,6,2,3] + [2,1,7,6,5,6,3] , A=[5] , C=0 , 3+3+0=6 , A->6 , C->0
[1,4,4,2,7,9,5,0,9,5,6,2] + [2,1,7,6,5,6] , A=[6,5] , C=0 , 2+6+0=8 , A->8 , C->0
[1,4,4,2,7,9,5,0,9,5,6] + [2,1,7,6,5] , A=[8,6,5] , C=0 , 6+5+0=11 , A->1 , C->1
[1,4,4,2,7,9,5,0,9,5] + [2,1,7,6] , A=[1,8,6,5] , C=1 , 5+6+1=12 , A->2 , C->1
[1,4,4,2,7,9,5,0,9] + [2,1,7] , A=[2,1,8,6,5] , C=1 , 9+7+1=17 , A->7 , C->1
[1,4,4,2,7,9,5,0] + [2,1] , A=[7,2,1,8,6,5] , C=1 , 0+1+1=2 , A->2 , C->0
[1,4,4,2,7,9,5] + [2] , A=[2,7,2,1,8,6,5] , C=0 , 5+2+0=7 , A->7 , C->0
[1,4,4,2,7,9] + [] , A=[7,2,7,2,1,8,6,5] , C=0 , 9+0+0=9 , A->9 , C->0
[1,4,4,2,7] + [] , A=[9,7,2,7,2,1,8,6,5] , C=0 , 7+0+0=7 , A->7 , C->0
[1,4,4,2] + [] , A=[7,9,7,2,7,2,1,8,6,5] , C=0 , 2+0+0=2 , A->2 , C->0
[1,4,4] + [] , A=[2,7,9,7,2,7,2,1,8,6,5] , C=0 , 4+0+0=4 , A->4 , C->0
[1,4] + [] , A=[4,2,7,9,7,2,7,2,1,8,6,5] , C=0 , 4+0+0=4 , A->4 , C->0
[1] + [] , A=[4,4,2,7,9,7,2,7,2,1,8,6,5] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,4,4,2,7,9,7,2,7,2,1,8,6,5] C=0 , END
</scratch>
14427972721865
| 14427972721865 | 8 |
Input:
76+90255426195115
Target:
| Input:
76+90255426195115
Target:
[7,6] + [9,0,2,5,5,4,2,6,1,9,5,1,1,5] , A=[] , C=0 , 6+5+0=11 , A->1 , C->1
[7] + [9,0,2,5,5,4,2,6,1,9,5,1,1] , A=[1] , C=1 , 7+1+1=9 , A->9 , C->0
[] + [9,0,2,5,5,4,2,6,1,9,5,1] , A=[9,1] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [9,0,2,5,5,4,2,6,1,9,5] , A=[1,9,1] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,0,2,5,5,4,2,6,1,9] , A=[5,1,9,1] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [9,0,2,5,5,4,2,6,1] , A=[9,5,1,9,1] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [9,0,2,5,5,4,2,6] , A=[1,9,5,1,9,1] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [9,0,2,5,5,4,2] , A=[6,1,9,5,1,9,1] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9,0,2,5,5,4] , A=[2,6,1,9,5,1,9,1] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [9,0,2,5,5] , A=[4,2,6,1,9,5,1,9,1] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,0,2,5] , A=[5,4,2,6,1,9,5,1,9,1] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,0,2] , A=[5,5,4,2,6,1,9,5,1,9,1] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9,0] , A=[2,5,5,4,2,6,1,9,5,1,9,1] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [9] , A=[0,2,5,5,4,2,6,1,9,5,1,9,1] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,0,2,5,5,4,2,6,1,9,5,1,9,1] C=0 , END
</scratch>
90255426195191
| 90255426195191 | 2 |
Input:
1647+20719103713516
Target:
| Input:
1647+20719103713516
Target:
[1,6,4,7] + [2,0,7,1,9,1,0,3,7,1,3,5,1,6] , A=[] , C=0 , 7+6+0=13 , A->3 , C->1
[1,6,4] + [2,0,7,1,9,1,0,3,7,1,3,5,1] , A=[3] , C=1 , 4+1+1=6 , A->6 , C->0
[1,6] + [2,0,7,1,9,1,0,3,7,1,3,5] , A=[6,3] , C=0 , 6+5+0=11 , A->1 , C->1
[1] + [2,0,7,1,9,1,0,3,7,1,3] , A=[1,6,3] , C=1 , 1+3+1=5 , A->5 , C->0
[] + [2,0,7,1,9,1,0,3,7,1] , A=[5,1,6,3] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [2,0,7,1,9,1,0,3,7] , A=[1,5,1,6,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [2,0,7,1,9,1,0,3] , A=[7,1,5,1,6,3] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [2,0,7,1,9,1,0] , A=[3,7,1,5,1,6,3] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [2,0,7,1,9,1] , A=[0,3,7,1,5,1,6,3] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [2,0,7,1,9] , A=[1,0,3,7,1,5,1,6,3] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [2,0,7,1] , A=[9,1,0,3,7,1,5,1,6,3] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [2,0,7] , A=[1,9,1,0,3,7,1,5,1,6,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [2,0] , A=[7,1,9,1,0,3,7,1,5,1,6,3] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [2] , A=[0,7,1,9,1,0,3,7,1,5,1,6,3] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,0,7,1,9,1,0,3,7,1,5,1,6,3] C=0 , END
</scratch>
20719103715163
| 20719103715163 | 4 |
Input:
30856140726351+97431767
Target:
| Input:
30856140726351+97431767
Target:
[3,0,8,5,6,1,4,0,7,2,6,3,5,1] + [9,7,4,3,1,7,6,7] , A=[] , C=0 , 1+7+0=8 , A->8 , C->0
[3,0,8,5,6,1,4,0,7,2,6,3,5] + [9,7,4,3,1,7,6] , A=[8] , C=0 , 5+6+0=11 , A->1 , C->1
[3,0,8,5,6,1,4,0,7,2,6,3] + [9,7,4,3,1,7] , A=[1,8] , C=1 , 3+7+1=11 , A->1 , C->1
[3,0,8,5,6,1,4,0,7,2,6] + [9,7,4,3,1] , A=[1,1,8] , C=1 , 6+1+1=8 , A->8 , C->0
[3,0,8,5,6,1,4,0,7,2] + [9,7,4,3] , A=[8,1,1,8] , C=0 , 2+3+0=5 , A->5 , C->0
[3,0,8,5,6,1,4,0,7] + [9,7,4] , A=[5,8,1,1,8] , C=0 , 7+4+0=11 , A->1 , C->1
[3,0,8,5,6,1,4,0] + [9,7] , A=[1,5,8,1,1,8] , C=1 , 0+7+1=8 , A->8 , C->0
[3,0,8,5,6,1,4] + [9] , A=[8,1,5,8,1,1,8] , C=0 , 4+9+0=13 , A->3 , C->1
[3,0,8,5,6,1] + [] , A=[3,8,1,5,8,1,1,8] , C=1 , 1+0+1=2 , A->2 , C->0
[3,0,8,5,6] + [] , A=[2,3,8,1,5,8,1,1,8] , C=0 , 6+0+0=6 , A->6 , C->0
[3,0,8,5] + [] , A=[6,2,3,8,1,5,8,1,1,8] , C=0 , 5+0+0=5 , A->5 , C->0
[3,0,8] + [] , A=[5,6,2,3,8,1,5,8,1,1,8] , C=0 , 8+0+0=8 , A->8 , C->0
[3,0] + [] , A=[8,5,6,2,3,8,1,5,8,1,1,8] , C=0 , 0+0+0=0 , A->0 , C->0
[3] + [] , A=[0,8,5,6,2,3,8,1,5,8,1,1,8] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,0,8,5,6,2,3,8,1,5,8,1,1,8] C=0 , END
</scratch>
30856238158118
| 30856238158118 | 8 |
Input:
4+18418063449937
Target:
| Input:
4+18418063449937
Target:
[4] + [1,8,4,1,8,0,6,3,4,4,9,9,3,7] , A=[] , C=0 , 4+7+0=11 , A->1 , C->1
[] + [1,8,4,1,8,0,6,3,4,4,9,9,3] , A=[1] , C=1 , 0+3+1=4 , A->4 , C->0
[] + [1,8,4,1,8,0,6,3,4,4,9,9] , A=[4,1] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [1,8,4,1,8,0,6,3,4,4,9] , A=[9,4,1] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [1,8,4,1,8,0,6,3,4,4] , A=[9,9,4,1] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [1,8,4,1,8,0,6,3,4] , A=[4,9,9,4,1] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [1,8,4,1,8,0,6,3] , A=[4,4,9,9,4,1] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [1,8,4,1,8,0,6] , A=[3,4,4,9,9,4,1] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [1,8,4,1,8,0] , A=[6,3,4,4,9,9,4,1] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [1,8,4,1,8] , A=[0,6,3,4,4,9,9,4,1] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [1,8,4,1] , A=[8,0,6,3,4,4,9,9,4,1] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [1,8,4] , A=[1,8,0,6,3,4,4,9,9,4,1] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [1,8] , A=[4,1,8,0,6,3,4,4,9,9,4,1] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [1] , A=[8,4,1,8,0,6,3,4,4,9,9,4,1] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,8,4,1,8,0,6,3,4,4,9,9,4,1] C=0 , END
</scratch>
18418063449941
| 18418063449941 | 1 |
Input:
8275+90117492816080
Target:
| Input:
8275+90117492816080
Target:
[8,2,7,5] + [9,0,1,1,7,4,9,2,8,1,6,0,8,0] , A=[] , C=0 , 5+0+0=5 , A->5 , C->0
[8,2,7] + [9,0,1,1,7,4,9,2,8,1,6,0,8] , A=[5] , C=0 , 7+8+0=15 , A->5 , C->1
[8,2] + [9,0,1,1,7,4,9,2,8,1,6,0] , A=[5,5] , C=1 , 2+0+1=3 , A->3 , C->0
[8] + [9,0,1,1,7,4,9,2,8,1,6] , A=[3,5,5] , C=0 , 8+6+0=14 , A->4 , C->1
[] + [9,0,1,1,7,4,9,2,8,1] , A=[4,3,5,5] , C=1 , 0+1+1=2 , A->2 , C->0
[] + [9,0,1,1,7,4,9,2,8] , A=[2,4,3,5,5] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [9,0,1,1,7,4,9,2] , A=[8,2,4,3,5,5] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9,0,1,1,7,4,9] , A=[2,8,2,4,3,5,5] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [9,0,1,1,7,4] , A=[9,2,8,2,4,3,5,5] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [9,0,1,1,7] , A=[4,9,2,8,2,4,3,5,5] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [9,0,1,1] , A=[7,4,9,2,8,2,4,3,5,5] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [9,0,1] , A=[1,7,4,9,2,8,2,4,3,5,5] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [9,0] , A=[1,1,7,4,9,2,8,2,4,3,5,5] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [9] , A=[0,1,1,7,4,9,2,8,2,4,3,5,5] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,0,1,1,7,4,9,2,8,2,4,3,5,5] C=0 , END
</scratch>
90117492824355
| 90117492824355 | 4 |
Input:
777770669608+29004774937490
Target:
| Input:
777770669608+29004774937490
Target:
[7,7,7,7,7,0,6,6,9,6,0,8] + [2,9,0,0,4,7,7,4,9,3,7,4,9,0] , A=[] , C=0 , 8+0+0=8 , A->8 , C->0
[7,7,7,7,7,0,6,6,9,6,0] + [2,9,0,0,4,7,7,4,9,3,7,4,9] , A=[8] , C=0 , 0+9+0=9 , A->9 , C->0
[7,7,7,7,7,0,6,6,9,6] + [2,9,0,0,4,7,7,4,9,3,7,4] , A=[9,8] , C=0 , 6+4+0=10 , A->0 , C->1
[7,7,7,7,7,0,6,6,9] + [2,9,0,0,4,7,7,4,9,3,7] , A=[0,9,8] , C=1 , 9+7+1=17 , A->7 , C->1
[7,7,7,7,7,0,6,6] + [2,9,0,0,4,7,7,4,9,3] , A=[7,0,9,8] , C=1 , 6+3+1=10 , A->0 , C->1
[7,7,7,7,7,0,6] + [2,9,0,0,4,7,7,4,9] , A=[0,7,0,9,8] , C=1 , 6+9+1=16 , A->6 , C->1
[7,7,7,7,7,0] + [2,9,0,0,4,7,7,4] , A=[6,0,7,0,9,8] , C=1 , 0+4+1=5 , A->5 , C->0
[7,7,7,7,7] + [2,9,0,0,4,7,7] , A=[5,6,0,7,0,9,8] , C=0 , 7+7+0=14 , A->4 , C->1
[7,7,7,7] + [2,9,0,0,4,7] , A=[4,5,6,0,7,0,9,8] , C=1 , 7+7+1=15 , A->5 , C->1
[7,7,7] + [2,9,0,0,4] , A=[5,4,5,6,0,7,0,9,8] , C=1 , 7+4+1=12 , A->2 , C->1
[7,7] + [2,9,0,0] , A=[2,5,4,5,6,0,7,0,9,8] , C=1 , 7+0+1=8 , A->8 , C->0
[7] + [2,9,0] , A=[8,2,5,4,5,6,0,7,0,9,8] , C=0 , 7+0+0=7 , A->7 , C->0
[] + [2,9] , A=[7,8,2,5,4,5,6,0,7,0,9,8] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [2] , A=[9,7,8,2,5,4,5,6,0,7,0,9,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,9,7,8,2,5,4,5,6,0,7,0,9,8] C=0 , END
</scratch>
29782545607098
| 29782545607098 | 12 |
Input:
38549+52350400888801
Target:
| Input:
38549+52350400888801
Target:
[3,8,5,4,9] + [5,2,3,5,0,4,0,0,8,8,8,8,0,1] , A=[] , C=0 , 9+1+0=10 , A->0 , C->1
[3,8,5,4] + [5,2,3,5,0,4,0,0,8,8,8,8,0] , A=[0] , C=1 , 4+0+1=5 , A->5 , C->0
[3,8,5] + [5,2,3,5,0,4,0,0,8,8,8,8] , A=[5,0] , C=0 , 5+8+0=13 , A->3 , C->1
[3,8] + [5,2,3,5,0,4,0,0,8,8,8] , A=[3,5,0] , C=1 , 8+8+1=17 , A->7 , C->1
[3] + [5,2,3,5,0,4,0,0,8,8] , A=[7,3,5,0] , C=1 , 3+8+1=12 , A->2 , C->1
[] + [5,2,3,5,0,4,0,0,8] , A=[2,7,3,5,0] , C=1 , 0+8+1=9 , A->9 , C->0
[] + [5,2,3,5,0,4,0,0] , A=[9,2,7,3,5,0] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [5,2,3,5,0,4,0] , A=[0,9,2,7,3,5,0] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [5,2,3,5,0,4] , A=[0,0,9,2,7,3,5,0] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [5,2,3,5,0] , A=[4,0,0,9,2,7,3,5,0] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [5,2,3,5] , A=[0,4,0,0,9,2,7,3,5,0] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [5,2,3] , A=[5,0,4,0,0,9,2,7,3,5,0] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [5,2] , A=[3,5,0,4,0,0,9,2,7,3,5,0] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [5] , A=[2,3,5,0,4,0,0,9,2,7,3,5,0] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,2,3,5,0,4,0,0,9,2,7,3,5,0] C=0 , END
</scratch>
52350400927350
| 52350400927350 | 5 |
Input:
44+93968535863962
Target:
| Input:
44+93968535863962
Target:
[4,4] + [9,3,9,6,8,5,3,5,8,6,3,9,6,2] , A=[] , C=0 , 4+2+0=6 , A->6 , C->0
[4] + [9,3,9,6,8,5,3,5,8,6,3,9,6] , A=[6] , C=0 , 4+6+0=10 , A->0 , C->1
[] + [9,3,9,6,8,5,3,5,8,6,3,9] , A=[0,6] , C=1 , 0+9+1=10 , A->0 , C->1
[] + [9,3,9,6,8,5,3,5,8,6,3] , A=[0,0,6] , C=1 , 0+3+1=4 , A->4 , C->0
[] + [9,3,9,6,8,5,3,5,8,6] , A=[4,0,0,6] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [9,3,9,6,8,5,3,5,8] , A=[6,4,0,0,6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [9,3,9,6,8,5,3,5] , A=[8,6,4,0,0,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,3,9,6,8,5,3] , A=[5,8,6,4,0,0,6] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [9,3,9,6,8,5] , A=[3,5,8,6,4,0,0,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,3,9,6,8] , A=[5,3,5,8,6,4,0,0,6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [9,3,9,6] , A=[8,5,3,5,8,6,4,0,0,6] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [9,3,9] , A=[6,8,5,3,5,8,6,4,0,0,6] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [9,3] , A=[9,6,8,5,3,5,8,6,4,0,0,6] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [9] , A=[3,9,6,8,5,3,5,8,6,4,0,0,6] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,3,9,6,8,5,3,5,8,6,4,0,0,6] C=0 , END
</scratch>
93968535864006
| 93968535864006 | 2 |
Input:
8+18871649485147
Target:
| Input:
8+18871649485147
Target:
[8] + [1,8,8,7,1,6,4,9,4,8,5,1,4,7] , A=[] , C=0 , 8+7+0=15 , A->5 , C->1
[] + [1,8,8,7,1,6,4,9,4,8,5,1,4] , A=[5] , C=1 , 0+4+1=5 , A->5 , C->0
[] + [1,8,8,7,1,6,4,9,4,8,5,1] , A=[5,5] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [1,8,8,7,1,6,4,9,4,8,5] , A=[1,5,5] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1,8,8,7,1,6,4,9,4,8] , A=[5,1,5,5] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [1,8,8,7,1,6,4,9,4] , A=[8,5,1,5,5] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [1,8,8,7,1,6,4,9] , A=[4,8,5,1,5,5] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [1,8,8,7,1,6,4] , A=[9,4,8,5,1,5,5] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [1,8,8,7,1,6] , A=[4,9,4,8,5,1,5,5] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [1,8,8,7,1] , A=[6,4,9,4,8,5,1,5,5] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [1,8,8,7] , A=[1,6,4,9,4,8,5,1,5,5] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [1,8,8] , A=[7,1,6,4,9,4,8,5,1,5,5] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [1,8] , A=[8,7,1,6,4,9,4,8,5,1,5,5] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [1] , A=[8,8,7,1,6,4,9,4,8,5,1,5,5] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,8,8,7,1,6,4,9,4,8,5,1,5,5] C=0 , END
</scratch>
18871649485155
| 18871649485155 | 1 |
Input:
54+99830861288258
Target:
| Input:
54+99830861288258
Target:
[5,4] + [9,9,8,3,0,8,6,1,2,8,8,2,5,8] , A=[] , C=0 , 4+8+0=12 , A->2 , C->1
[5] + [9,9,8,3,0,8,6,1,2,8,8,2,5] , A=[2] , C=1 , 5+5+1=11 , A->1 , C->1
[] + [9,9,8,3,0,8,6,1,2,8,8,2] , A=[1,2] , C=1 , 0+2+1=3 , A->3 , C->0
[] + [9,9,8,3,0,8,6,1,2,8,8] , A=[3,1,2] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [9,9,8,3,0,8,6,1,2,8] , A=[8,3,1,2] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [9,9,8,3,0,8,6,1,2] , A=[8,8,3,1,2] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9,9,8,3,0,8,6,1] , A=[2,8,8,3,1,2] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [9,9,8,3,0,8,6] , A=[1,2,8,8,3,1,2] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [9,9,8,3,0,8] , A=[6,1,2,8,8,3,1,2] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [9,9,8,3,0] , A=[8,6,1,2,8,8,3,1,2] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [9,9,8,3] , A=[0,8,6,1,2,8,8,3,1,2] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [9,9,8] , A=[3,0,8,6,1,2,8,8,3,1,2] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [9,9] , A=[8,3,0,8,6,1,2,8,8,3,1,2] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [9] , A=[9,8,3,0,8,6,1,2,8,8,3,1,2] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,9,8,3,0,8,6,1,2,8,8,3,1,2] C=0 , END
</scratch>
99830861288312
| 99830861288312 | 2 |
Input:
7122+85671417656951
Target:
| Input:
7122+85671417656951
Target:
[7,1,2,2] + [8,5,6,7,1,4,1,7,6,5,6,9,5,1] , A=[] , C=0 , 2+1+0=3 , A->3 , C->0
[7,1,2] + [8,5,6,7,1,4,1,7,6,5,6,9,5] , A=[3] , C=0 , 2+5+0=7 , A->7 , C->0
[7,1] + [8,5,6,7,1,4,1,7,6,5,6,9] , A=[7,3] , C=0 , 1+9+0=10 , A->0 , C->1
[7] + [8,5,6,7,1,4,1,7,6,5,6] , A=[0,7,3] , C=1 , 7+6+1=14 , A->4 , C->1
[] + [8,5,6,7,1,4,1,7,6,5] , A=[4,0,7,3] , C=1 , 0+5+1=6 , A->6 , C->0
[] + [8,5,6,7,1,4,1,7,6] , A=[6,4,0,7,3] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [8,5,6,7,1,4,1,7] , A=[6,6,4,0,7,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [8,5,6,7,1,4,1] , A=[7,6,6,4,0,7,3] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [8,5,6,7,1,4] , A=[1,7,6,6,4,0,7,3] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [8,5,6,7,1] , A=[4,1,7,6,6,4,0,7,3] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [8,5,6,7] , A=[1,4,1,7,6,6,4,0,7,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [8,5,6] , A=[7,1,4,1,7,6,6,4,0,7,3] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [8,5] , A=[6,7,1,4,1,7,6,6,4,0,7,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [8] , A=[5,6,7,1,4,1,7,6,6,4,0,7,3] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [] , A=[8,5,6,7,1,4,1,7,6,6,4,0,7,3] C=0 , END
</scratch>
85671417664073
| 85671417664073 | 4 |
Input:
9353871802727+60384146213921
Target:
| Input:
9353871802727+60384146213921
Target:
[9,3,5,3,8,7,1,8,0,2,7,2,7] + [6,0,3,8,4,1,4,6,2,1,3,9,2,1] , A=[] , C=0 , 7+1+0=8 , A->8 , C->0
[9,3,5,3,8,7,1,8,0,2,7,2] + [6,0,3,8,4,1,4,6,2,1,3,9,2] , A=[8] , C=0 , 2+2+0=4 , A->4 , C->0
[9,3,5,3,8,7,1,8,0,2,7] + [6,0,3,8,4,1,4,6,2,1,3,9] , A=[4,8] , C=0 , 7+9+0=16 , A->6 , C->1
[9,3,5,3,8,7,1,8,0,2] + [6,0,3,8,4,1,4,6,2,1,3] , A=[6,4,8] , C=1 , 2+3+1=6 , A->6 , C->0
[9,3,5,3,8,7,1,8,0] + [6,0,3,8,4,1,4,6,2,1] , A=[6,6,4,8] , C=0 , 0+1+0=1 , A->1 , C->0
[9,3,5,3,8,7,1,8] + [6,0,3,8,4,1,4,6,2] , A=[1,6,6,4,8] , C=0 , 8+2+0=10 , A->0 , C->1
[9,3,5,3,8,7,1] + [6,0,3,8,4,1,4,6] , A=[0,1,6,6,4,8] , C=1 , 1+6+1=8 , A->8 , C->0
[9,3,5,3,8,7] + [6,0,3,8,4,1,4] , A=[8,0,1,6,6,4,8] , C=0 , 7+4+0=11 , A->1 , C->1
[9,3,5,3,8] + [6,0,3,8,4,1] , A=[1,8,0,1,6,6,4,8] , C=1 , 8+1+1=10 , A->0 , C->1
[9,3,5,3] + [6,0,3,8,4] , A=[0,1,8,0,1,6,6,4,8] , C=1 , 3+4+1=8 , A->8 , C->0
[9,3,5] + [6,0,3,8] , A=[8,0,1,8,0,1,6,6,4,8] , C=0 , 5+8+0=13 , A->3 , C->1
[9,3] + [6,0,3] , A=[3,8,0,1,8,0,1,6,6,4,8] , C=1 , 3+3+1=7 , A->7 , C->0
[9] + [6,0] , A=[7,3,8,0,1,8,0,1,6,6,4,8] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [6] , A=[9,7,3,8,0,1,8,0,1,6,6,4,8] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,9,7,3,8,0,1,8,0,1,6,6,4,8] C=0 , END
</scratch>
69738018016648
| 69738018016648 | 13 |
Input:
61135086973+40787367422940
Target:
| Input:
61135086973+40787367422940
Target:
[6,1,1,3,5,0,8,6,9,7,3] + [4,0,7,8,7,3,6,7,4,2,2,9,4,0] , A=[] , C=0 , 3+0+0=3 , A->3 , C->0
[6,1,1,3,5,0,8,6,9,7] + [4,0,7,8,7,3,6,7,4,2,2,9,4] , A=[3] , C=0 , 7+4+0=11 , A->1 , C->1
[6,1,1,3,5,0,8,6,9] + [4,0,7,8,7,3,6,7,4,2,2,9] , A=[1,3] , C=1 , 9+9+1=19 , A->9 , C->1
[6,1,1,3,5,0,8,6] + [4,0,7,8,7,3,6,7,4,2,2] , A=[9,1,3] , C=1 , 6+2+1=9 , A->9 , C->0
[6,1,1,3,5,0,8] + [4,0,7,8,7,3,6,7,4,2] , A=[9,9,1,3] , C=0 , 8+2+0=10 , A->0 , C->1
[6,1,1,3,5,0] + [4,0,7,8,7,3,6,7,4] , A=[0,9,9,1,3] , C=1 , 0+4+1=5 , A->5 , C->0
[6,1,1,3,5] + [4,0,7,8,7,3,6,7] , A=[5,0,9,9,1,3] , C=0 , 5+7+0=12 , A->2 , C->1
[6,1,1,3] + [4,0,7,8,7,3,6] , A=[2,5,0,9,9,1,3] , C=1 , 3+6+1=10 , A->0 , C->1
[6,1,1] + [4,0,7,8,7,3] , A=[0,2,5,0,9,9,1,3] , C=1 , 1+3+1=5 , A->5 , C->0
[6,1] + [4,0,7,8,7] , A=[5,0,2,5,0,9,9,1,3] , C=0 , 1+7+0=8 , A->8 , C->0
[6] + [4,0,7,8] , A=[8,5,0,2,5,0,9,9,1,3] , C=0 , 6+8+0=14 , A->4 , C->1
[] + [4,0,7] , A=[4,8,5,0,2,5,0,9,9,1,3] , C=1 , 0+7+1=8 , A->8 , C->0
[] + [4,0] , A=[8,4,8,5,0,2,5,0,9,9,1,3] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [4] , A=[0,8,4,8,5,0,2,5,0,9,9,1,3] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,0,8,4,8,5,0,2,5,0,9,9,1,3] C=0 , END
</scratch>
40848502509913
| 40848502509913 | 11 |
Input:
1681672790340+22052184910324
Target:
| Input:
1681672790340+22052184910324
Target:
[1,6,8,1,6,7,2,7,9,0,3,4,0] + [2,2,0,5,2,1,8,4,9,1,0,3,2,4] , A=[] , C=0 , 0+4+0=4 , A->4 , C->0
[1,6,8,1,6,7,2,7,9,0,3,4] + [2,2,0,5,2,1,8,4,9,1,0,3,2] , A=[4] , C=0 , 4+2+0=6 , A->6 , C->0
[1,6,8,1,6,7,2,7,9,0,3] + [2,2,0,5,2,1,8,4,9,1,0,3] , A=[6,4] , C=0 , 3+3+0=6 , A->6 , C->0
[1,6,8,1,6,7,2,7,9,0] + [2,2,0,5,2,1,8,4,9,1,0] , A=[6,6,4] , C=0 , 0+0+0=0 , A->0 , C->0
[1,6,8,1,6,7,2,7,9] + [2,2,0,5,2,1,8,4,9,1] , A=[0,6,6,4] , C=0 , 9+1+0=10 , A->0 , C->1
[1,6,8,1,6,7,2,7] + [2,2,0,5,2,1,8,4,9] , A=[0,0,6,6,4] , C=1 , 7+9+1=17 , A->7 , C->1
[1,6,8,1,6,7,2] + [2,2,0,5,2,1,8,4] , A=[7,0,0,6,6,4] , C=1 , 2+4+1=7 , A->7 , C->0
[1,6,8,1,6,7] + [2,2,0,5,2,1,8] , A=[7,7,0,0,6,6,4] , C=0 , 7+8+0=15 , A->5 , C->1
[1,6,8,1,6] + [2,2,0,5,2,1] , A=[5,7,7,0,0,6,6,4] , C=1 , 6+1+1=8 , A->8 , C->0
[1,6,8,1] + [2,2,0,5,2] , A=[8,5,7,7,0,0,6,6,4] , C=0 , 1+2+0=3 , A->3 , C->0
[1,6,8] + [2,2,0,5] , A=[3,8,5,7,7,0,0,6,6,4] , C=0 , 8+5+0=13 , A->3 , C->1
[1,6] + [2,2,0] , A=[3,3,8,5,7,7,0,0,6,6,4] , C=1 , 6+0+1=7 , A->7 , C->0
[1] + [2,2] , A=[7,3,3,8,5,7,7,0,0,6,6,4] , C=0 , 1+2+0=3 , A->3 , C->0
[] + [2] , A=[3,7,3,3,8,5,7,7,0,0,6,6,4] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,3,7,3,3,8,5,7,7,0,0,6,6,4] C=0 , END
</scratch>
23733857700664
| 23733857700664 | 13 |
Input:
38825319433184+70881
Target:
| Input:
38825319433184+70881
Target:
[3,8,8,2,5,3,1,9,4,3,3,1,8,4] + [7,0,8,8,1] , A=[] , C=0 , 4+1+0=5 , A->5 , C->0
[3,8,8,2,5,3,1,9,4,3,3,1,8] + [7,0,8,8] , A=[5] , C=0 , 8+8+0=16 , A->6 , C->1
[3,8,8,2,5,3,1,9,4,3,3,1] + [7,0,8] , A=[6,5] , C=1 , 1+8+1=10 , A->0 , C->1
[3,8,8,2,5,3,1,9,4,3,3] + [7,0] , A=[0,6,5] , C=1 , 3+0+1=4 , A->4 , C->0
[3,8,8,2,5,3,1,9,4,3] + [7] , A=[4,0,6,5] , C=0 , 3+7+0=10 , A->0 , C->1
[3,8,8,2,5,3,1,9,4] + [] , A=[0,4,0,6,5] , C=1 , 4+0+1=5 , A->5 , C->0
[3,8,8,2,5,3,1,9] + [] , A=[5,0,4,0,6,5] , C=0 , 9+0+0=9 , A->9 , C->0
[3,8,8,2,5,3,1] + [] , A=[9,5,0,4,0,6,5] , C=0 , 1+0+0=1 , A->1 , C->0
[3,8,8,2,5,3] + [] , A=[1,9,5,0,4,0,6,5] , C=0 , 3+0+0=3 , A->3 , C->0
[3,8,8,2,5] + [] , A=[3,1,9,5,0,4,0,6,5] , C=0 , 5+0+0=5 , A->5 , C->0
[3,8,8,2] + [] , A=[5,3,1,9,5,0,4,0,6,5] , C=0 , 2+0+0=2 , A->2 , C->0
[3,8,8] + [] , A=[2,5,3,1,9,5,0,4,0,6,5] , C=0 , 8+0+0=8 , A->8 , C->0
[3,8] + [] , A=[8,2,5,3,1,9,5,0,4,0,6,5] , C=0 , 8+0+0=8 , A->8 , C->0
[3] + [] , A=[8,8,2,5,3,1,9,5,0,4,0,6,5] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,8,8,2,5,3,1,9,5,0,4,0,6,5] C=0 , END
</scratch>
38825319504065
| 38825319504065 | 5 |
Input:
9981553322+99844673030222
Target:
| Input:
9981553322+99844673030222
Target:
[9,9,8,1,5,5,3,3,2,2] + [9,9,8,4,4,6,7,3,0,3,0,2,2,2] , A=[] , C=0 , 2+2+0=4 , A->4 , C->0
[9,9,8,1,5,5,3,3,2] + [9,9,8,4,4,6,7,3,0,3,0,2,2] , A=[4] , C=0 , 2+2+0=4 , A->4 , C->0
[9,9,8,1,5,5,3,3] + [9,9,8,4,4,6,7,3,0,3,0,2] , A=[4,4] , C=0 , 3+2+0=5 , A->5 , C->0
[9,9,8,1,5,5,3] + [9,9,8,4,4,6,7,3,0,3,0] , A=[5,4,4] , C=0 , 3+0+0=3 , A->3 , C->0
[9,9,8,1,5,5] + [9,9,8,4,4,6,7,3,0,3] , A=[3,5,4,4] , C=0 , 5+3+0=8 , A->8 , C->0
[9,9,8,1,5] + [9,9,8,4,4,6,7,3,0] , A=[8,3,5,4,4] , C=0 , 5+0+0=5 , A->5 , C->0
[9,9,8,1] + [9,9,8,4,4,6,7,3] , A=[5,8,3,5,4,4] , C=0 , 1+3+0=4 , A->4 , C->0
[9,9,8] + [9,9,8,4,4,6,7] , A=[4,5,8,3,5,4,4] , C=0 , 8+7+0=15 , A->5 , C->1
[9,9] + [9,9,8,4,4,6] , A=[5,4,5,8,3,5,4,4] , C=1 , 9+6+1=16 , A->6 , C->1
[9] + [9,9,8,4,4] , A=[6,5,4,5,8,3,5,4,4] , C=1 , 9+4+1=14 , A->4 , C->1
[] + [9,9,8,4] , A=[4,6,5,4,5,8,3,5,4,4] , C=1 , 0+4+1=5 , A->5 , C->0
[] + [9,9,8] , A=[5,4,6,5,4,5,8,3,5,4,4] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [9,9] , A=[8,5,4,6,5,4,5,8,3,5,4,4] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [9] , A=[9,8,5,4,6,5,4,5,8,3,5,4,4] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,9,8,5,4,6,5,4,5,8,3,5,4,4] C=0 , END
</scratch>
99854654583544
| 99854654583544 | 10 |
Input:
57087303465927+97756975354512
Target:
| Input:
57087303465927+97756975354512
Target:
[5,7,0,8,7,3,0,3,4,6,5,9,2,7] + [9,7,7,5,6,9,7,5,3,5,4,5,1,2] , A=[] , C=0 , 7+2+0=9 , A->9 , C->0
[5,7,0,8,7,3,0,3,4,6,5,9,2] + [9,7,7,5,6,9,7,5,3,5,4,5,1] , A=[9] , C=0 , 2+1+0=3 , A->3 , C->0
[5,7,0,8,7,3,0,3,4,6,5,9] + [9,7,7,5,6,9,7,5,3,5,4,5] , A=[3,9] , C=0 , 9+5+0=14 , A->4 , C->1
[5,7,0,8,7,3,0,3,4,6,5] + [9,7,7,5,6,9,7,5,3,5,4] , A=[4,3,9] , C=1 , 5+4+1=10 , A->0 , C->1
[5,7,0,8,7,3,0,3,4,6] + [9,7,7,5,6,9,7,5,3,5] , A=[0,4,3,9] , C=1 , 6+5+1=12 , A->2 , C->1
[5,7,0,8,7,3,0,3,4] + [9,7,7,5,6,9,7,5,3] , A=[2,0,4,3,9] , C=1 , 4+3+1=8 , A->8 , C->0
[5,7,0,8,7,3,0,3] + [9,7,7,5,6,9,7,5] , A=[8,2,0,4,3,9] , C=0 , 3+5+0=8 , A->8 , C->0
[5,7,0,8,7,3,0] + [9,7,7,5,6,9,7] , A=[8,8,2,0,4,3,9] , C=0 , 0+7+0=7 , A->7 , C->0
[5,7,0,8,7,3] + [9,7,7,5,6,9] , A=[7,8,8,2,0,4,3,9] , C=0 , 3+9+0=12 , A->2 , C->1
[5,7,0,8,7] + [9,7,7,5,6] , A=[2,7,8,8,2,0,4,3,9] , C=1 , 7+6+1=14 , A->4 , C->1
[5,7,0,8] + [9,7,7,5] , A=[4,2,7,8,8,2,0,4,3,9] , C=1 , 8+5+1=14 , A->4 , C->1
[5,7,0] + [9,7,7] , A=[4,4,2,7,8,8,2,0,4,3,9] , C=1 , 0+7+1=8 , A->8 , C->0
[5,7] + [9,7] , A=[8,4,4,2,7,8,8,2,0,4,3,9] , C=0 , 7+7+0=14 , A->4 , C->1
[5] + [9] , A=[4,8,4,4,2,7,8,8,2,0,4,3,9] , C=1 , 5+9+1=15 , A->5 , C->1
[] + [] , A=[5,4,8,4,4,2,7,8,8,2,0,4,3,9] C=1 , END
</scratch>
154844278820439
| 154844278820439 | 14 |
Input:
2423907345+19897674997557
Target:
| Input:
2423907345+19897674997557
Target:
[2,4,2,3,9,0,7,3,4,5] + [1,9,8,9,7,6,7,4,9,9,7,5,5,7] , A=[] , C=0 , 5+7+0=12 , A->2 , C->1
[2,4,2,3,9,0,7,3,4] + [1,9,8,9,7,6,7,4,9,9,7,5,5] , A=[2] , C=1 , 4+5+1=10 , A->0 , C->1
[2,4,2,3,9,0,7,3] + [1,9,8,9,7,6,7,4,9,9,7,5] , A=[0,2] , C=1 , 3+5+1=9 , A->9 , C->0
[2,4,2,3,9,0,7] + [1,9,8,9,7,6,7,4,9,9,7] , A=[9,0,2] , C=0 , 7+7+0=14 , A->4 , C->1
[2,4,2,3,9,0] + [1,9,8,9,7,6,7,4,9,9] , A=[4,9,0,2] , C=1 , 0+9+1=10 , A->0 , C->1
[2,4,2,3,9] + [1,9,8,9,7,6,7,4,9] , A=[0,4,9,0,2] , C=1 , 9+9+1=19 , A->9 , C->1
[2,4,2,3] + [1,9,8,9,7,6,7,4] , A=[9,0,4,9,0,2] , C=1 , 3+4+1=8 , A->8 , C->0
[2,4,2] + [1,9,8,9,7,6,7] , A=[8,9,0,4,9,0,2] , C=0 , 2+7+0=9 , A->9 , C->0
[2,4] + [1,9,8,9,7,6] , A=[9,8,9,0,4,9,0,2] , C=0 , 4+6+0=10 , A->0 , C->1
[2] + [1,9,8,9,7] , A=[0,9,8,9,0,4,9,0,2] , C=1 , 2+7+1=10 , A->0 , C->1
[] + [1,9,8,9] , A=[0,0,9,8,9,0,4,9,0,2] , C=1 , 0+9+1=10 , A->0 , C->1
[] + [1,9,8] , A=[0,0,0,9,8,9,0,4,9,0,2] , C=1 , 0+8+1=9 , A->9 , C->0
[] + [1,9] , A=[9,0,0,0,9,8,9,0,4,9,0,2] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [1] , A=[9,9,0,0,0,9,8,9,0,4,9,0,2] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,9,9,0,0,0,9,8,9,0,4,9,0,2] C=0 , END
</scratch>
19900098904902
| 19900098904902 | 10 |
Input:
47835894857323+73901094
Target:
| Input:
47835894857323+73901094
Target:
[4,7,8,3,5,8,9,4,8,5,7,3,2,3] + [7,3,9,0,1,0,9,4] , A=[] , C=0 , 3+4+0=7 , A->7 , C->0
[4,7,8,3,5,8,9,4,8,5,7,3,2] + [7,3,9,0,1,0,9] , A=[7] , C=0 , 2+9+0=11 , A->1 , C->1
[4,7,8,3,5,8,9,4,8,5,7,3] + [7,3,9,0,1,0] , A=[1,7] , C=1 , 3+0+1=4 , A->4 , C->0
[4,7,8,3,5,8,9,4,8,5,7] + [7,3,9,0,1] , A=[4,1,7] , C=0 , 7+1+0=8 , A->8 , C->0
[4,7,8,3,5,8,9,4,8,5] + [7,3,9,0] , A=[8,4,1,7] , C=0 , 5+0+0=5 , A->5 , C->0
[4,7,8,3,5,8,9,4,8] + [7,3,9] , A=[5,8,4,1,7] , C=0 , 8+9+0=17 , A->7 , C->1
[4,7,8,3,5,8,9,4] + [7,3] , A=[7,5,8,4,1,7] , C=1 , 4+3+1=8 , A->8 , C->0
[4,7,8,3,5,8,9] + [7] , A=[8,7,5,8,4,1,7] , C=0 , 9+7+0=16 , A->6 , C->1
[4,7,8,3,5,8] + [] , A=[6,8,7,5,8,4,1,7] , C=1 , 8+0+1=9 , A->9 , C->0
[4,7,8,3,5] + [] , A=[9,6,8,7,5,8,4,1,7] , C=0 , 5+0+0=5 , A->5 , C->0
[4,7,8,3] + [] , A=[5,9,6,8,7,5,8,4,1,7] , C=0 , 3+0+0=3 , A->3 , C->0
[4,7,8] + [] , A=[3,5,9,6,8,7,5,8,4,1,7] , C=0 , 8+0+0=8 , A->8 , C->0
[4,7] + [] , A=[8,3,5,9,6,8,7,5,8,4,1,7] , C=0 , 7+0+0=7 , A->7 , C->0
[4] + [] , A=[7,8,3,5,9,6,8,7,5,8,4,1,7] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,7,8,3,5,9,6,8,7,5,8,4,1,7] C=0 , END
</scratch>
47835968758417
| 47835968758417 | 8 |
Input:
5041508754874+38435352432375
Target:
| Input:
5041508754874+38435352432375
Target:
[5,0,4,1,5,0,8,7,5,4,8,7,4] + [3,8,4,3,5,3,5,2,4,3,2,3,7,5] , A=[] , C=0 , 4+5+0=9 , A->9 , C->0
[5,0,4,1,5,0,8,7,5,4,8,7] + [3,8,4,3,5,3,5,2,4,3,2,3,7] , A=[9] , C=0 , 7+7+0=14 , A->4 , C->1
[5,0,4,1,5,0,8,7,5,4,8] + [3,8,4,3,5,3,5,2,4,3,2,3] , A=[4,9] , C=1 , 8+3+1=12 , A->2 , C->1
[5,0,4,1,5,0,8,7,5,4] + [3,8,4,3,5,3,5,2,4,3,2] , A=[2,4,9] , C=1 , 4+2+1=7 , A->7 , C->0
[5,0,4,1,5,0,8,7,5] + [3,8,4,3,5,3,5,2,4,3] , A=[7,2,4,9] , C=0 , 5+3+0=8 , A->8 , C->0
[5,0,4,1,5,0,8,7] + [3,8,4,3,5,3,5,2,4] , A=[8,7,2,4,9] , C=0 , 7+4+0=11 , A->1 , C->1
[5,0,4,1,5,0,8] + [3,8,4,3,5,3,5,2] , A=[1,8,7,2,4,9] , C=1 , 8+2+1=11 , A->1 , C->1
[5,0,4,1,5,0] + [3,8,4,3,5,3,5] , A=[1,1,8,7,2,4,9] , C=1 , 0+5+1=6 , A->6 , C->0
[5,0,4,1,5] + [3,8,4,3,5,3] , A=[6,1,1,8,7,2,4,9] , C=0 , 5+3+0=8 , A->8 , C->0
[5,0,4,1] + [3,8,4,3,5] , A=[8,6,1,1,8,7,2,4,9] , C=0 , 1+5+0=6 , A->6 , C->0
[5,0,4] + [3,8,4,3] , A=[6,8,6,1,1,8,7,2,4,9] , C=0 , 4+3+0=7 , A->7 , C->0
[5,0] + [3,8,4] , A=[7,6,8,6,1,1,8,7,2,4,9] , C=0 , 0+4+0=4 , A->4 , C->0
[5] + [3,8] , A=[4,7,6,8,6,1,1,8,7,2,4,9] , C=0 , 5+8+0=13 , A->3 , C->1
[] + [3] , A=[3,4,7,6,8,6,1,1,8,7,2,4,9] , C=1 , 0+3+1=4 , A->4 , C->0
[] + [] , A=[4,3,4,7,6,8,6,1,1,8,7,2,4,9] C=0 , END
</scratch>
43476861187249
| 43476861187249 | 13 |
Input:
75058663963105+575638
Target:
| Input:
75058663963105+575638
Target:
[7,5,0,5,8,6,6,3,9,6,3,1,0,5] + [5,7,5,6,3,8] , A=[] , C=0 , 5+8+0=13 , A->3 , C->1
[7,5,0,5,8,6,6,3,9,6,3,1,0] + [5,7,5,6,3] , A=[3] , C=1 , 0+3+1=4 , A->4 , C->0
[7,5,0,5,8,6,6,3,9,6,3,1] + [5,7,5,6] , A=[4,3] , C=0 , 1+6+0=7 , A->7 , C->0
[7,5,0,5,8,6,6,3,9,6,3] + [5,7,5] , A=[7,4,3] , C=0 , 3+5+0=8 , A->8 , C->0
[7,5,0,5,8,6,6,3,9,6] + [5,7] , A=[8,7,4,3] , C=0 , 6+7+0=13 , A->3 , C->1
[7,5,0,5,8,6,6,3,9] + [5] , A=[3,8,7,4,3] , C=1 , 9+5+1=15 , A->5 , C->1
[7,5,0,5,8,6,6,3] + [] , A=[5,3,8,7,4,3] , C=1 , 3+0+1=4 , A->4 , C->0
[7,5,0,5,8,6,6] + [] , A=[4,5,3,8,7,4,3] , C=0 , 6+0+0=6 , A->6 , C->0
[7,5,0,5,8,6] + [] , A=[6,4,5,3,8,7,4,3] , C=0 , 6+0+0=6 , A->6 , C->0
[7,5,0,5,8] + [] , A=[6,6,4,5,3,8,7,4,3] , C=0 , 8+0+0=8 , A->8 , C->0
[7,5,0,5] + [] , A=[8,6,6,4,5,3,8,7,4,3] , C=0 , 5+0+0=5 , A->5 , C->0
[7,5,0] + [] , A=[5,8,6,6,4,5,3,8,7,4,3] , C=0 , 0+0+0=0 , A->0 , C->0
[7,5] + [] , A=[0,5,8,6,6,4,5,3,8,7,4,3] , C=0 , 5+0+0=5 , A->5 , C->0
[7] + [] , A=[5,0,5,8,6,6,4,5,3,8,7,4,3] , C=0 , 7+0+0=7 , A->7 , C->0
[] + [] , A=[7,5,0,5,8,6,6,4,5,3,8,7,4,3] C=0 , END
</scratch>
75058664538743
| 75058664538743 | 6 |
Input:
11086644556474+8
Target:
| Input:
11086644556474+8
Target:
[1,1,0,8,6,6,4,4,5,5,6,4,7,4] + [8] , A=[] , C=0 , 4+8+0=12 , A->2 , C->1
[1,1,0,8,6,6,4,4,5,5,6,4,7] + [] , A=[2] , C=1 , 7+0+1=8 , A->8 , C->0
[1,1,0,8,6,6,4,4,5,5,6,4] + [] , A=[8,2] , C=0 , 4+0+0=4 , A->4 , C->0
[1,1,0,8,6,6,4,4,5,5,6] + [] , A=[4,8,2] , C=0 , 6+0+0=6 , A->6 , C->0
[1,1,0,8,6,6,4,4,5,5] + [] , A=[6,4,8,2] , C=0 , 5+0+0=5 , A->5 , C->0
[1,1,0,8,6,6,4,4,5] + [] , A=[5,6,4,8,2] , C=0 , 5+0+0=5 , A->5 , C->0
[1,1,0,8,6,6,4,4] + [] , A=[5,5,6,4,8,2] , C=0 , 4+0+0=4 , A->4 , C->0
[1,1,0,8,6,6,4] + [] , A=[4,5,5,6,4,8,2] , C=0 , 4+0+0=4 , A->4 , C->0
[1,1,0,8,6,6] + [] , A=[4,4,5,5,6,4,8,2] , C=0 , 6+0+0=6 , A->6 , C->0
[1,1,0,8,6] + [] , A=[6,4,4,5,5,6,4,8,2] , C=0 , 6+0+0=6 , A->6 , C->0
[1,1,0,8] + [] , A=[6,6,4,4,5,5,6,4,8,2] , C=0 , 8+0+0=8 , A->8 , C->0
[1,1,0] + [] , A=[8,6,6,4,4,5,5,6,4,8,2] , C=0 , 0+0+0=0 , A->0 , C->0
[1,1] + [] , A=[0,8,6,6,4,4,5,5,6,4,8,2] , C=0 , 1+0+0=1 , A->1 , C->0
[1] + [] , A=[1,0,8,6,6,4,4,5,5,6,4,8,2] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,1,0,8,6,6,4,4,5,5,6,4,8,2] C=0 , END
</scratch>
11086644556482
| 11086644556482 | 1 |
Input:
82726642661379+3054450891
Target:
| Input:
82726642661379+3054450891
Target:
[8,2,7,2,6,6,4,2,6,6,1,3,7,9] + [3,0,5,4,4,5,0,8,9,1] , A=[] , C=0 , 9+1+0=10 , A->0 , C->1
[8,2,7,2,6,6,4,2,6,6,1,3,7] + [3,0,5,4,4,5,0,8,9] , A=[0] , C=1 , 7+9+1=17 , A->7 , C->1
[8,2,7,2,6,6,4,2,6,6,1,3] + [3,0,5,4,4,5,0,8] , A=[7,0] , C=1 , 3+8+1=12 , A->2 , C->1
[8,2,7,2,6,6,4,2,6,6,1] + [3,0,5,4,4,5,0] , A=[2,7,0] , C=1 , 1+0+1=2 , A->2 , C->0
[8,2,7,2,6,6,4,2,6,6] + [3,0,5,4,4,5] , A=[2,2,7,0] , C=0 , 6+5+0=11 , A->1 , C->1
[8,2,7,2,6,6,4,2,6] + [3,0,5,4,4] , A=[1,2,2,7,0] , C=1 , 6+4+1=11 , A->1 , C->1
[8,2,7,2,6,6,4,2] + [3,0,5,4] , A=[1,1,2,2,7,0] , C=1 , 2+4+1=7 , A->7 , C->0
[8,2,7,2,6,6,4] + [3,0,5] , A=[7,1,1,2,2,7,0] , C=0 , 4+5+0=9 , A->9 , C->0
[8,2,7,2,6,6] + [3,0] , A=[9,7,1,1,2,2,7,0] , C=0 , 6+0+0=6 , A->6 , C->0
[8,2,7,2,6] + [3] , A=[6,9,7,1,1,2,2,7,0] , C=0 , 6+3+0=9 , A->9 , C->0
[8,2,7,2] + [] , A=[9,6,9,7,1,1,2,2,7,0] , C=0 , 2+0+0=2 , A->2 , C->0
[8,2,7] + [] , A=[2,9,6,9,7,1,1,2,2,7,0] , C=0 , 7+0+0=7 , A->7 , C->0
[8,2] + [] , A=[7,2,9,6,9,7,1,1,2,2,7,0] , C=0 , 2+0+0=2 , A->2 , C->0
[8] + [] , A=[2,7,2,9,6,9,7,1,1,2,2,7,0] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,2,7,2,9,6,9,7,1,1,2,2,7,0] C=0 , END
</scratch>
82729697112270
| 82729697112270 | 10 |
Input:
15374043728037+5678
Target:
| Input:
15374043728037+5678
Target:
[1,5,3,7,4,0,4,3,7,2,8,0,3,7] + [5,6,7,8] , A=[] , C=0 , 7+8+0=15 , A->5 , C->1
[1,5,3,7,4,0,4,3,7,2,8,0,3] + [5,6,7] , A=[5] , C=1 , 3+7+1=11 , A->1 , C->1
[1,5,3,7,4,0,4,3,7,2,8,0] + [5,6] , A=[1,5] , C=1 , 0+6+1=7 , A->7 , C->0
[1,5,3,7,4,0,4,3,7,2,8] + [5] , A=[7,1,5] , C=0 , 8+5+0=13 , A->3 , C->1
[1,5,3,7,4,0,4,3,7,2] + [] , A=[3,7,1,5] , C=1 , 2+0+1=3 , A->3 , C->0
[1,5,3,7,4,0,4,3,7] + [] , A=[3,3,7,1,5] , C=0 , 7+0+0=7 , A->7 , C->0
[1,5,3,7,4,0,4,3] + [] , A=[7,3,3,7,1,5] , C=0 , 3+0+0=3 , A->3 , C->0
[1,5,3,7,4,0,4] + [] , A=[3,7,3,3,7,1,5] , C=0 , 4+0+0=4 , A->4 , C->0
[1,5,3,7,4,0] + [] , A=[4,3,7,3,3,7,1,5] , C=0 , 0+0+0=0 , A->0 , C->0
[1,5,3,7,4] + [] , A=[0,4,3,7,3,3,7,1,5] , C=0 , 4+0+0=4 , A->4 , C->0
[1,5,3,7] + [] , A=[4,0,4,3,7,3,3,7,1,5] , C=0 , 7+0+0=7 , A->7 , C->0
[1,5,3] + [] , A=[7,4,0,4,3,7,3,3,7,1,5] , C=0 , 3+0+0=3 , A->3 , C->0
[1,5] + [] , A=[3,7,4,0,4,3,7,3,3,7,1,5] , C=0 , 5+0+0=5 , A->5 , C->0
[1] + [] , A=[5,3,7,4,0,4,3,7,3,3,7,1,5] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,5,3,7,4,0,4,3,7,3,3,7,1,5] C=0 , END
</scratch>
15374043733715
| 15374043733715 | 4 |
Input:
26520205560934+2769
Target:
| Input:
26520205560934+2769
Target:
[2,6,5,2,0,2,0,5,5,6,0,9,3,4] + [2,7,6,9] , A=[] , C=0 , 4+9+0=13 , A->3 , C->1
[2,6,5,2,0,2,0,5,5,6,0,9,3] + [2,7,6] , A=[3] , C=1 , 3+6+1=10 , A->0 , C->1
[2,6,5,2,0,2,0,5,5,6,0,9] + [2,7] , A=[0,3] , C=1 , 9+7+1=17 , A->7 , C->1
[2,6,5,2,0,2,0,5,5,6,0] + [2] , A=[7,0,3] , C=1 , 0+2+1=3 , A->3 , C->0
[2,6,5,2,0,2,0,5,5,6] + [] , A=[3,7,0,3] , C=0 , 6+0+0=6 , A->6 , C->0
[2,6,5,2,0,2,0,5,5] + [] , A=[6,3,7,0,3] , C=0 , 5+0+0=5 , A->5 , C->0
[2,6,5,2,0,2,0,5] + [] , A=[5,6,3,7,0,3] , C=0 , 5+0+0=5 , A->5 , C->0
[2,6,5,2,0,2,0] + [] , A=[5,5,6,3,7,0,3] , C=0 , 0+0+0=0 , A->0 , C->0
[2,6,5,2,0,2] + [] , A=[0,5,5,6,3,7,0,3] , C=0 , 2+0+0=2 , A->2 , C->0
[2,6,5,2,0] + [] , A=[2,0,5,5,6,3,7,0,3] , C=0 , 0+0+0=0 , A->0 , C->0
[2,6,5,2] + [] , A=[0,2,0,5,5,6,3,7,0,3] , C=0 , 2+0+0=2 , A->2 , C->0
[2,6,5] + [] , A=[2,0,2,0,5,5,6,3,7,0,3] , C=0 , 5+0+0=5 , A->5 , C->0
[2,6] + [] , A=[5,2,0,2,0,5,5,6,3,7,0,3] , C=0 , 6+0+0=6 , A->6 , C->0
[2] + [] , A=[6,5,2,0,2,0,5,5,6,3,7,0,3] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [] , A=[2,6,5,2,0,2,0,5,5,6,3,7,0,3] C=0 , END
</scratch>
26520205563703
| 26520205563703 | 4 |
Input:
98857651260472+11935
Target:
| Input:
98857651260472+11935
Target:
[9,8,8,5,7,6,5,1,2,6,0,4,7,2] + [1,1,9,3,5] , A=[] , C=0 , 2+5+0=7 , A->7 , C->0
[9,8,8,5,7,6,5,1,2,6,0,4,7] + [1,1,9,3] , A=[7] , C=0 , 7+3+0=10 , A->0 , C->1
[9,8,8,5,7,6,5,1,2,6,0,4] + [1,1,9] , A=[0,7] , C=1 , 4+9+1=14 , A->4 , C->1
[9,8,8,5,7,6,5,1,2,6,0] + [1,1] , A=[4,0,7] , C=1 , 0+1+1=2 , A->2 , C->0
[9,8,8,5,7,6,5,1,2,6] + [1] , A=[2,4,0,7] , C=0 , 6+1+0=7 , A->7 , C->0
[9,8,8,5,7,6,5,1,2] + [] , A=[7,2,4,0,7] , C=0 , 2+0+0=2 , A->2 , C->0
[9,8,8,5,7,6,5,1] + [] , A=[2,7,2,4,0,7] , C=0 , 1+0+0=1 , A->1 , C->0
[9,8,8,5,7,6,5] + [] , A=[1,2,7,2,4,0,7] , C=0 , 5+0+0=5 , A->5 , C->0
[9,8,8,5,7,6] + [] , A=[5,1,2,7,2,4,0,7] , C=0 , 6+0+0=6 , A->6 , C->0
[9,8,8,5,7] + [] , A=[6,5,1,2,7,2,4,0,7] , C=0 , 7+0+0=7 , A->7 , C->0
[9,8,8,5] + [] , A=[7,6,5,1,2,7,2,4,0,7] , C=0 , 5+0+0=5 , A->5 , C->0
[9,8,8] + [] , A=[5,7,6,5,1,2,7,2,4,0,7] , C=0 , 8+0+0=8 , A->8 , C->0
[9,8] + [] , A=[8,5,7,6,5,1,2,7,2,4,0,7] , C=0 , 8+0+0=8 , A->8 , C->0
[9] + [] , A=[8,8,5,7,6,5,1,2,7,2,4,0,7] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,8,8,5,7,6,5,1,2,7,2,4,0,7] C=0 , END
</scratch>
98857651272407
| 98857651272407 | 5 |
Input:
35830+12550531420829
Target:
| Input:
35830+12550531420829
Target:
[3,5,8,3,0] + [1,2,5,5,0,5,3,1,4,2,0,8,2,9] , A=[] , C=0 , 0+9+0=9 , A->9 , C->0
[3,5,8,3] + [1,2,5,5,0,5,3,1,4,2,0,8,2] , A=[9] , C=0 , 3+2+0=5 , A->5 , C->0
[3,5,8] + [1,2,5,5,0,5,3,1,4,2,0,8] , A=[5,9] , C=0 , 8+8+0=16 , A->6 , C->1
[3,5] + [1,2,5,5,0,5,3,1,4,2,0] , A=[6,5,9] , C=1 , 5+0+1=6 , A->6 , C->0
[3] + [1,2,5,5,0,5,3,1,4,2] , A=[6,6,5,9] , C=0 , 3+2+0=5 , A->5 , C->0
[] + [1,2,5,5,0,5,3,1,4] , A=[5,6,6,5,9] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [1,2,5,5,0,5,3,1] , A=[4,5,6,6,5,9] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [1,2,5,5,0,5,3] , A=[1,4,5,6,6,5,9] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [1,2,5,5,0,5] , A=[3,1,4,5,6,6,5,9] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1,2,5,5,0] , A=[5,3,1,4,5,6,6,5,9] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [1,2,5,5] , A=[0,5,3,1,4,5,6,6,5,9] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1,2,5] , A=[5,0,5,3,1,4,5,6,6,5,9] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1,2] , A=[5,5,0,5,3,1,4,5,6,6,5,9] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [1] , A=[2,5,5,0,5,3,1,4,5,6,6,5,9] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,2,5,5,0,5,3,1,4,5,6,6,5,9] C=0 , END
</scratch>
12550531456659
| 12550531456659 | 5 |
Input:
8879829163728+11780714415901
Target:
| Input:
8879829163728+11780714415901
Target:
[8,8,7,9,8,2,9,1,6,3,7,2,8] + [1,1,7,8,0,7,1,4,4,1,5,9,0,1] , A=[] , C=0 , 8+1+0=9 , A->9 , C->0
[8,8,7,9,8,2,9,1,6,3,7,2] + [1,1,7,8,0,7,1,4,4,1,5,9,0] , A=[9] , C=0 , 2+0+0=2 , A->2 , C->0
[8,8,7,9,8,2,9,1,6,3,7] + [1,1,7,8,0,7,1,4,4,1,5,9] , A=[2,9] , C=0 , 7+9+0=16 , A->6 , C->1
[8,8,7,9,8,2,9,1,6,3] + [1,1,7,8,0,7,1,4,4,1,5] , A=[6,2,9] , C=1 , 3+5+1=9 , A->9 , C->0
[8,8,7,9,8,2,9,1,6] + [1,1,7,8,0,7,1,4,4,1] , A=[9,6,2,9] , C=0 , 6+1+0=7 , A->7 , C->0
[8,8,7,9,8,2,9,1] + [1,1,7,8,0,7,1,4,4] , A=[7,9,6,2,9] , C=0 , 1+4+0=5 , A->5 , C->0
[8,8,7,9,8,2,9] + [1,1,7,8,0,7,1,4] , A=[5,7,9,6,2,9] , C=0 , 9+4+0=13 , A->3 , C->1
[8,8,7,9,8,2] + [1,1,7,8,0,7,1] , A=[3,5,7,9,6,2,9] , C=1 , 2+1+1=4 , A->4 , C->0
[8,8,7,9,8] + [1,1,7,8,0,7] , A=[4,3,5,7,9,6,2,9] , C=0 , 8+7+0=15 , A->5 , C->1
[8,8,7,9] + [1,1,7,8,0] , A=[5,4,3,5,7,9,6,2,9] , C=1 , 9+0+1=10 , A->0 , C->1
[8,8,7] + [1,1,7,8] , A=[0,5,4,3,5,7,9,6,2,9] , C=1 , 7+8+1=16 , A->6 , C->1
[8,8] + [1,1,7] , A=[6,0,5,4,3,5,7,9,6,2,9] , C=1 , 8+7+1=16 , A->6 , C->1
[8] + [1,1] , A=[6,6,0,5,4,3,5,7,9,6,2,9] , C=1 , 8+1+1=10 , A->0 , C->1
[] + [1] , A=[0,6,6,0,5,4,3,5,7,9,6,2,9] , C=1 , 0+1+1=2 , A->2 , C->0
[] + [] , A=[2,0,6,6,0,5,4,3,5,7,9,6,2,9] C=0 , END
</scratch>
20660543579629
| 20660543579629 | 13 |
Input:
95328780583280+258926153
Target:
| Input:
95328780583280+258926153
Target:
[9,5,3,2,8,7,8,0,5,8,3,2,8,0] + [2,5,8,9,2,6,1,5,3] , A=[] , C=0 , 0+3+0=3 , A->3 , C->0
[9,5,3,2,8,7,8,0,5,8,3,2,8] + [2,5,8,9,2,6,1,5] , A=[3] , C=0 , 8+5+0=13 , A->3 , C->1
[9,5,3,2,8,7,8,0,5,8,3,2] + [2,5,8,9,2,6,1] , A=[3,3] , C=1 , 2+1+1=4 , A->4 , C->0
[9,5,3,2,8,7,8,0,5,8,3] + [2,5,8,9,2,6] , A=[4,3,3] , C=0 , 3+6+0=9 , A->9 , C->0
[9,5,3,2,8,7,8,0,5,8] + [2,5,8,9,2] , A=[9,4,3,3] , C=0 , 8+2+0=10 , A->0 , C->1
[9,5,3,2,8,7,8,0,5] + [2,5,8,9] , A=[0,9,4,3,3] , C=1 , 5+9+1=15 , A->5 , C->1
[9,5,3,2,8,7,8,0] + [2,5,8] , A=[5,0,9,4,3,3] , C=1 , 0+8+1=9 , A->9 , C->0
[9,5,3,2,8,7,8] + [2,5] , A=[9,5,0,9,4,3,3] , C=0 , 8+5+0=13 , A->3 , C->1
[9,5,3,2,8,7] + [2] , A=[3,9,5,0,9,4,3,3] , C=1 , 7+2+1=10 , A->0 , C->1
[9,5,3,2,8] + [] , A=[0,3,9,5,0,9,4,3,3] , C=1 , 8+0+1=9 , A->9 , C->0
[9,5,3,2] + [] , A=[9,0,3,9,5,0,9,4,3,3] , C=0 , 2+0+0=2 , A->2 , C->0
[9,5,3] + [] , A=[2,9,0,3,9,5,0,9,4,3,3] , C=0 , 3+0+0=3 , A->3 , C->0
[9,5] + [] , A=[3,2,9,0,3,9,5,0,9,4,3,3] , C=0 , 5+0+0=5 , A->5 , C->0
[9] + [] , A=[5,3,2,9,0,3,9,5,0,9,4,3,3] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,5,3,2,9,0,3,9,5,0,9,4,3,3] C=0 , END
</scratch>
95329039509433
| 95329039509433 | 9 |
Input:
51180096985345+950822624
Target:
| Input:
51180096985345+950822624
Target:
[5,1,1,8,0,0,9,6,9,8,5,3,4,5] + [9,5,0,8,2,2,6,2,4] , A=[] , C=0 , 5+4+0=9 , A->9 , C->0
[5,1,1,8,0,0,9,6,9,8,5,3,4] + [9,5,0,8,2,2,6,2] , A=[9] , C=0 , 4+2+0=6 , A->6 , C->0
[5,1,1,8,0,0,9,6,9,8,5,3] + [9,5,0,8,2,2,6] , A=[6,9] , C=0 , 3+6+0=9 , A->9 , C->0
[5,1,1,8,0,0,9,6,9,8,5] + [9,5,0,8,2,2] , A=[9,6,9] , C=0 , 5+2+0=7 , A->7 , C->0
[5,1,1,8,0,0,9,6,9,8] + [9,5,0,8,2] , A=[7,9,6,9] , C=0 , 8+2+0=10 , A->0 , C->1
[5,1,1,8,0,0,9,6,9] + [9,5,0,8] , A=[0,7,9,6,9] , C=1 , 9+8+1=18 , A->8 , C->1
[5,1,1,8,0,0,9,6] + [9,5,0] , A=[8,0,7,9,6,9] , C=1 , 6+0+1=7 , A->7 , C->0
[5,1,1,8,0,0,9] + [9,5] , A=[7,8,0,7,9,6,9] , C=0 , 9+5+0=14 , A->4 , C->1
[5,1,1,8,0,0] + [9] , A=[4,7,8,0,7,9,6,9] , C=1 , 0+9+1=10 , A->0 , C->1
[5,1,1,8,0] + [] , A=[0,4,7,8,0,7,9,6,9] , C=1 , 0+0+1=1 , A->1 , C->0
[5,1,1,8] + [] , A=[1,0,4,7,8,0,7,9,6,9] , C=0 , 8+0+0=8 , A->8 , C->0
[5,1,1] + [] , A=[8,1,0,4,7,8,0,7,9,6,9] , C=0 , 1+0+0=1 , A->1 , C->0
[5,1] + [] , A=[1,8,1,0,4,7,8,0,7,9,6,9] , C=0 , 1+0+0=1 , A->1 , C->0
[5] + [] , A=[1,1,8,1,0,4,7,8,0,7,9,6,9] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,1,1,8,1,0,4,7,8,0,7,9,6,9] C=0 , END
</scratch>
51181047807969
| 51181047807969 | 9 |
Input:
767588681728+48294434490831
Target:
| Input:
767588681728+48294434490831
Target:
[7,6,7,5,8,8,6,8,1,7,2,8] + [4,8,2,9,4,4,3,4,4,9,0,8,3,1] , A=[] , C=0 , 8+1+0=9 , A->9 , C->0
[7,6,7,5,8,8,6,8,1,7,2] + [4,8,2,9,4,4,3,4,4,9,0,8,3] , A=[9] , C=0 , 2+3+0=5 , A->5 , C->0
[7,6,7,5,8,8,6,8,1,7] + [4,8,2,9,4,4,3,4,4,9,0,8] , A=[5,9] , C=0 , 7+8+0=15 , A->5 , C->1
[7,6,7,5,8,8,6,8,1] + [4,8,2,9,4,4,3,4,4,9,0] , A=[5,5,9] , C=1 , 1+0+1=2 , A->2 , C->0
[7,6,7,5,8,8,6,8] + [4,8,2,9,4,4,3,4,4,9] , A=[2,5,5,9] , C=0 , 8+9+0=17 , A->7 , C->1
[7,6,7,5,8,8,6] + [4,8,2,9,4,4,3,4,4] , A=[7,2,5,5,9] , C=1 , 6+4+1=11 , A->1 , C->1
[7,6,7,5,8,8] + [4,8,2,9,4,4,3,4] , A=[1,7,2,5,5,9] , C=1 , 8+4+1=13 , A->3 , C->1
[7,6,7,5,8] + [4,8,2,9,4,4,3] , A=[3,1,7,2,5,5,9] , C=1 , 8+3+1=12 , A->2 , C->1
[7,6,7,5] + [4,8,2,9,4,4] , A=[2,3,1,7,2,5,5,9] , C=1 , 5+4+1=10 , A->0 , C->1
[7,6,7] + [4,8,2,9,4] , A=[0,2,3,1,7,2,5,5,9] , C=1 , 7+4+1=12 , A->2 , C->1
[7,6] + [4,8,2,9] , A=[2,0,2,3,1,7,2,5,5,9] , C=1 , 6+9+1=16 , A->6 , C->1
[7] + [4,8,2] , A=[6,2,0,2,3,1,7,2,5,5,9] , C=1 , 7+2+1=10 , A->0 , C->1
[] + [4,8] , A=[0,6,2,0,2,3,1,7,2,5,5,9] , C=1 , 0+8+1=9 , A->9 , C->0
[] + [4] , A=[9,0,6,2,0,2,3,1,7,2,5,5,9] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,9,0,6,2,0,2,3,1,7,2,5,5,9] C=0 , END
</scratch>
49062023172559
| 49062023172559 | 12 |
Input:
7479702338102+48963332312914
Target:
| Input:
7479702338102+48963332312914
Target:
[7,4,7,9,7,0,2,3,3,8,1,0,2] + [4,8,9,6,3,3,3,2,3,1,2,9,1,4] , A=[] , C=0 , 2+4+0=6 , A->6 , C->0
[7,4,7,9,7,0,2,3,3,8,1,0] + [4,8,9,6,3,3,3,2,3,1,2,9,1] , A=[6] , C=0 , 0+1+0=1 , A->1 , C->0
[7,4,7,9,7,0,2,3,3,8,1] + [4,8,9,6,3,3,3,2,3,1,2,9] , A=[1,6] , C=0 , 1+9+0=10 , A->0 , C->1
[7,4,7,9,7,0,2,3,3,8] + [4,8,9,6,3,3,3,2,3,1,2] , A=[0,1,6] , C=1 , 8+2+1=11 , A->1 , C->1
[7,4,7,9,7,0,2,3,3] + [4,8,9,6,3,3,3,2,3,1] , A=[1,0,1,6] , C=1 , 3+1+1=5 , A->5 , C->0
[7,4,7,9,7,0,2,3] + [4,8,9,6,3,3,3,2,3] , A=[5,1,0,1,6] , C=0 , 3+3+0=6 , A->6 , C->0
[7,4,7,9,7,0,2] + [4,8,9,6,3,3,3,2] , A=[6,5,1,0,1,6] , C=0 , 2+2+0=4 , A->4 , C->0
[7,4,7,9,7,0] + [4,8,9,6,3,3,3] , A=[4,6,5,1,0,1,6] , C=0 , 0+3+0=3 , A->3 , C->0
[7,4,7,9,7] + [4,8,9,6,3,3] , A=[3,4,6,5,1,0,1,6] , C=0 , 7+3+0=10 , A->0 , C->1
[7,4,7,9] + [4,8,9,6,3] , A=[0,3,4,6,5,1,0,1,6] , C=1 , 9+3+1=13 , A->3 , C->1
[7,4,7] + [4,8,9,6] , A=[3,0,3,4,6,5,1,0,1,6] , C=1 , 7+6+1=14 , A->4 , C->1
[7,4] + [4,8,9] , A=[4,3,0,3,4,6,5,1,0,1,6] , C=1 , 4+9+1=14 , A->4 , C->1
[7] + [4,8] , A=[4,4,3,0,3,4,6,5,1,0,1,6] , C=1 , 7+8+1=16 , A->6 , C->1
[] + [4] , A=[6,4,4,3,0,3,4,6,5,1,0,1,6] , C=1 , 0+4+1=5 , A->5 , C->0
[] + [] , A=[5,6,4,4,3,0,3,4,6,5,1,0,1,6] C=0 , END
</scratch>
56443034651016
| 56443034651016 | 13 |
Input:
66515089434052+5994547
Target:
| Input:
66515089434052+5994547
Target:
[6,6,5,1,5,0,8,9,4,3,4,0,5,2] + [5,9,9,4,5,4,7] , A=[] , C=0 , 2+7+0=9 , A->9 , C->0
[6,6,5,1,5,0,8,9,4,3,4,0,5] + [5,9,9,4,5,4] , A=[9] , C=0 , 5+4+0=9 , A->9 , C->0
[6,6,5,1,5,0,8,9,4,3,4,0] + [5,9,9,4,5] , A=[9,9] , C=0 , 0+5+0=5 , A->5 , C->0
[6,6,5,1,5,0,8,9,4,3,4] + [5,9,9,4] , A=[5,9,9] , C=0 , 4+4+0=8 , A->8 , C->0
[6,6,5,1,5,0,8,9,4,3] + [5,9,9] , A=[8,5,9,9] , C=0 , 3+9+0=12 , A->2 , C->1
[6,6,5,1,5,0,8,9,4] + [5,9] , A=[2,8,5,9,9] , C=1 , 4+9+1=14 , A->4 , C->1
[6,6,5,1,5,0,8,9] + [5] , A=[4,2,8,5,9,9] , C=1 , 9+5+1=15 , A->5 , C->1
[6,6,5,1,5,0,8] + [] , A=[5,4,2,8,5,9,9] , C=1 , 8+0+1=9 , A->9 , C->0
[6,6,5,1,5,0] + [] , A=[9,5,4,2,8,5,9,9] , C=0 , 0+0+0=0 , A->0 , C->0
[6,6,5,1,5] + [] , A=[0,9,5,4,2,8,5,9,9] , C=0 , 5+0+0=5 , A->5 , C->0
[6,6,5,1] + [] , A=[5,0,9,5,4,2,8,5,9,9] , C=0 , 1+0+0=1 , A->1 , C->0
[6,6,5] + [] , A=[1,5,0,9,5,4,2,8,5,9,9] , C=0 , 5+0+0=5 , A->5 , C->0
[6,6] + [] , A=[5,1,5,0,9,5,4,2,8,5,9,9] , C=0 , 6+0+0=6 , A->6 , C->0
[6] + [] , A=[6,5,1,5,0,9,5,4,2,8,5,9,9] , C=0 , 6+0+0=6 , A->6 , C->0
[] + [] , A=[6,6,5,1,5,0,9,5,4,2,8,5,9,9] C=0 , END
</scratch>
66515095428599
| 66515095428599 | 7 |
End of preview. Expand
in Dataset Viewer.
README.md exists but content is empty.
- Downloads last month
- 29