input_test
stringlengths 31
43
| scratchpad
stringlengths 1.01k
1.2k
| result_final
stringlengths 13
14
| y_digits
int64 1
13
|
---|---|---|---|
Input:
1+5643522859891
Target:
| Input:
1+5643522859891
Target:
[1] + [5,6,4,3,5,2,2,8,5,9,8,9,1] , A=[] , C=0 , 1+1+0=2 , A->2 , C->0
[] + [5,6,4,3,5,2,2,8,5,9,8,9] , A=[2] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [5,6,4,3,5,2,2,8,5,9,8] , A=[9,2] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [5,6,4,3,5,2,2,8,5,9] , A=[8,9,2] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [5,6,4,3,5,2,2,8,5] , A=[9,8,9,2] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [5,6,4,3,5,2,2,8] , A=[5,9,8,9,2] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [5,6,4,3,5,2,2] , A=[8,5,9,8,9,2] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [5,6,4,3,5,2] , A=[2,8,5,9,8,9,2] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [5,6,4,3,5] , A=[2,2,8,5,9,8,9,2] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [5,6,4,3] , A=[5,2,2,8,5,9,8,9,2] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [5,6,4] , A=[3,5,2,2,8,5,9,8,9,2] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [5,6] , A=[4,3,5,2,2,8,5,9,8,9,2] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [5] , A=[6,4,3,5,2,2,8,5,9,8,9,2] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,6,4,3,5,2,2,8,5,9,8,9,2] C=0 , END
</scratch>
5643522859892
| 5643522859892 | 1 |
Input:
7512899251+7717610646058
Target:
| Input:
7512899251+7717610646058
Target:
[7,5,1,2,8,9,9,2,5,1] + [7,7,1,7,6,1,0,6,4,6,0,5,8] , A=[] , C=0 , 1+8+0=9 , A->9 , C->0
[7,5,1,2,8,9,9,2,5] + [7,7,1,7,6,1,0,6,4,6,0,5] , A=[9] , C=0 , 5+5+0=10 , A->0 , C->1
[7,5,1,2,8,9,9,2] + [7,7,1,7,6,1,0,6,4,6,0] , A=[0,9] , C=1 , 2+0+1=3 , A->3 , C->0
[7,5,1,2,8,9,9] + [7,7,1,7,6,1,0,6,4,6] , A=[3,0,9] , C=0 , 9+6+0=15 , A->5 , C->1
[7,5,1,2,8,9] + [7,7,1,7,6,1,0,6,4] , A=[5,3,0,9] , C=1 , 9+4+1=14 , A->4 , C->1
[7,5,1,2,8] + [7,7,1,7,6,1,0,6] , A=[4,5,3,0,9] , C=1 , 8+6+1=15 , A->5 , C->1
[7,5,1,2] + [7,7,1,7,6,1,0] , A=[5,4,5,3,0,9] , C=1 , 2+0+1=3 , A->3 , C->0
[7,5,1] + [7,7,1,7,6,1] , A=[3,5,4,5,3,0,9] , C=0 , 1+1+0=2 , A->2 , C->0
[7,5] + [7,7,1,7,6] , A=[2,3,5,4,5,3,0,9] , C=0 , 5+6+0=11 , A->1 , C->1
[7] + [7,7,1,7] , A=[1,2,3,5,4,5,3,0,9] , C=1 , 7+7+1=15 , A->5 , C->1
[] + [7,7,1] , A=[5,1,2,3,5,4,5,3,0,9] , C=1 , 0+1+1=2 , A->2 , C->0
[] + [7,7] , A=[2,5,1,2,3,5,4,5,3,0,9] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [7] , A=[7,2,5,1,2,3,5,4,5,3,0,9] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,7,2,5,1,2,3,5,4,5,3,0,9] C=0 , END
</scratch>
7725123545309
| 7725123545309 | 10 |
Input:
704819+5058381072044
Target:
| Input:
704819+5058381072044
Target:
[7,0,4,8,1,9] + [5,0,5,8,3,8,1,0,7,2,0,4,4] , A=[] , C=0 , 9+4+0=13 , A->3 , C->1
[7,0,4,8,1] + [5,0,5,8,3,8,1,0,7,2,0,4] , A=[3] , C=1 , 1+4+1=6 , A->6 , C->0
[7,0,4,8] + [5,0,5,8,3,8,1,0,7,2,0] , A=[6,3] , C=0 , 8+0+0=8 , A->8 , C->0
[7,0,4] + [5,0,5,8,3,8,1,0,7,2] , A=[8,6,3] , C=0 , 4+2+0=6 , A->6 , C->0
[7,0] + [5,0,5,8,3,8,1,0,7] , A=[6,8,6,3] , C=0 , 0+7+0=7 , A->7 , C->0
[7] + [5,0,5,8,3,8,1,0] , A=[7,6,8,6,3] , C=0 , 7+0+0=7 , A->7 , C->0
[] + [5,0,5,8,3,8,1] , A=[7,7,6,8,6,3] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [5,0,5,8,3,8] , A=[1,7,7,6,8,6,3] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [5,0,5,8,3] , A=[8,1,7,7,6,8,6,3] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [5,0,5,8] , A=[3,8,1,7,7,6,8,6,3] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [5,0,5] , A=[8,3,8,1,7,7,6,8,6,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [5,0] , A=[5,8,3,8,1,7,7,6,8,6,3] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [5] , A=[0,5,8,3,8,1,7,7,6,8,6,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,0,5,8,3,8,1,7,7,6,8,6,3] C=0 , END
</scratch>
5058381776863
| 5058381776863 | 6 |
Input:
8332305205252+305
Target:
| Input:
8332305205252+305
Target:
[8,3,3,2,3,0,5,2,0,5,2,5,2] + [3,0,5] , A=[] , C=0 , 2+5+0=7 , A->7 , C->0
[8,3,3,2,3,0,5,2,0,5,2,5] + [3,0] , A=[7] , C=0 , 5+0+0=5 , A->5 , C->0
[8,3,3,2,3,0,5,2,0,5,2] + [3] , A=[5,7] , C=0 , 2+3+0=5 , A->5 , C->0
[8,3,3,2,3,0,5,2,0,5] + [] , A=[5,5,7] , C=0 , 5+0+0=5 , A->5 , C->0
[8,3,3,2,3,0,5,2,0] + [] , A=[5,5,5,7] , C=0 , 0+0+0=0 , A->0 , C->0
[8,3,3,2,3,0,5,2] + [] , A=[0,5,5,5,7] , C=0 , 2+0+0=2 , A->2 , C->0
[8,3,3,2,3,0,5] + [] , A=[2,0,5,5,5,7] , C=0 , 5+0+0=5 , A->5 , C->0
[8,3,3,2,3,0] + [] , A=[5,2,0,5,5,5,7] , C=0 , 0+0+0=0 , A->0 , C->0
[8,3,3,2,3] + [] , A=[0,5,2,0,5,5,5,7] , C=0 , 3+0+0=3 , A->3 , C->0
[8,3,3,2] + [] , A=[3,0,5,2,0,5,5,5,7] , C=0 , 2+0+0=2 , A->2 , C->0
[8,3,3] + [] , A=[2,3,0,5,2,0,5,5,5,7] , C=0 , 3+0+0=3 , A->3 , C->0
[8,3] + [] , A=[3,2,3,0,5,2,0,5,5,5,7] , C=0 , 3+0+0=3 , A->3 , C->0
[8] + [] , A=[3,3,2,3,0,5,2,0,5,5,5,7] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,3,3,2,3,0,5,2,0,5,5,5,7] C=0 , END
</scratch>
8332305205557
| 8332305205557 | 3 |
Input:
6507693635130+44827
Target:
| Input:
6507693635130+44827
Target:
[6,5,0,7,6,9,3,6,3,5,1,3,0] + [4,4,8,2,7] , A=[] , C=0 , 0+7+0=7 , A->7 , C->0
[6,5,0,7,6,9,3,6,3,5,1,3] + [4,4,8,2] , A=[7] , C=0 , 3+2+0=5 , A->5 , C->0
[6,5,0,7,6,9,3,6,3,5,1] + [4,4,8] , A=[5,7] , C=0 , 1+8+0=9 , A->9 , C->0
[6,5,0,7,6,9,3,6,3,5] + [4,4] , A=[9,5,7] , C=0 , 5+4+0=9 , A->9 , C->0
[6,5,0,7,6,9,3,6,3] + [4] , A=[9,9,5,7] , C=0 , 3+4+0=7 , A->7 , C->0
[6,5,0,7,6,9,3,6] + [] , A=[7,9,9,5,7] , C=0 , 6+0+0=6 , A->6 , C->0
[6,5,0,7,6,9,3] + [] , A=[6,7,9,9,5,7] , C=0 , 3+0+0=3 , A->3 , C->0
[6,5,0,7,6,9] + [] , A=[3,6,7,9,9,5,7] , C=0 , 9+0+0=9 , A->9 , C->0
[6,5,0,7,6] + [] , A=[9,3,6,7,9,9,5,7] , C=0 , 6+0+0=6 , A->6 , C->0
[6,5,0,7] + [] , A=[6,9,3,6,7,9,9,5,7] , C=0 , 7+0+0=7 , A->7 , C->0
[6,5,0] + [] , A=[7,6,9,3,6,7,9,9,5,7] , C=0 , 0+0+0=0 , A->0 , C->0
[6,5] + [] , A=[0,7,6,9,3,6,7,9,9,5,7] , C=0 , 5+0+0=5 , A->5 , C->0
[6] + [] , A=[5,0,7,6,9,3,6,7,9,9,5,7] , C=0 , 6+0+0=6 , A->6 , C->0
[] + [] , A=[6,5,0,7,6,9,3,6,7,9,9,5,7] C=0 , END
</scratch>
6507693679957
| 6507693679957 | 5 |
Input:
4850521579298+17785554286
Target:
| Input:
4850521579298+17785554286
Target:
[4,8,5,0,5,2,1,5,7,9,2,9,8] + [1,7,7,8,5,5,5,4,2,8,6] , A=[] , C=0 , 8+6+0=14 , A->4 , C->1
[4,8,5,0,5,2,1,5,7,9,2,9] + [1,7,7,8,5,5,5,4,2,8] , A=[4] , C=1 , 9+8+1=18 , A->8 , C->1
[4,8,5,0,5,2,1,5,7,9,2] + [1,7,7,8,5,5,5,4,2] , A=[8,4] , C=1 , 2+2+1=5 , A->5 , C->0
[4,8,5,0,5,2,1,5,7,9] + [1,7,7,8,5,5,5,4] , A=[5,8,4] , C=0 , 9+4+0=13 , A->3 , C->1
[4,8,5,0,5,2,1,5,7] + [1,7,7,8,5,5,5] , A=[3,5,8,4] , C=1 , 7+5+1=13 , A->3 , C->1
[4,8,5,0,5,2,1,5] + [1,7,7,8,5,5] , A=[3,3,5,8,4] , C=1 , 5+5+1=11 , A->1 , C->1
[4,8,5,0,5,2,1] + [1,7,7,8,5] , A=[1,3,3,5,8,4] , C=1 , 1+5+1=7 , A->7 , C->0
[4,8,5,0,5,2] + [1,7,7,8] , A=[7,1,3,3,5,8,4] , C=0 , 2+8+0=10 , A->0 , C->1
[4,8,5,0,5] + [1,7,7] , A=[0,7,1,3,3,5,8,4] , C=1 , 5+7+1=13 , A->3 , C->1
[4,8,5,0] + [1,7] , A=[3,0,7,1,3,3,5,8,4] , C=1 , 0+7+1=8 , A->8 , C->0
[4,8,5] + [1] , A=[8,3,0,7,1,3,3,5,8,4] , C=0 , 5+1+0=6 , A->6 , C->0
[4,8] + [] , A=[6,8,3,0,7,1,3,3,5,8,4] , C=0 , 8+0+0=8 , A->8 , C->0
[4] + [] , A=[8,6,8,3,0,7,1,3,3,5,8,4] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,8,6,8,3,0,7,1,3,3,5,8,4] C=0 , END
</scratch>
4868307133584
| 4868307133584 | 11 |
Input:
82+1575435515005
Target:
| Input:
82+1575435515005
Target:
[8,2] + [1,5,7,5,4,3,5,5,1,5,0,0,5] , A=[] , C=0 , 2+5+0=7 , A->7 , C->0
[8] + [1,5,7,5,4,3,5,5,1,5,0,0] , A=[7] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [1,5,7,5,4,3,5,5,1,5,0] , A=[8,7] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [1,5,7,5,4,3,5,5,1,5] , A=[0,8,7] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1,5,7,5,4,3,5,5,1] , A=[5,0,8,7] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [1,5,7,5,4,3,5,5] , A=[1,5,0,8,7] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1,5,7,5,4,3,5] , A=[5,1,5,0,8,7] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1,5,7,5,4,3] , A=[5,5,1,5,0,8,7] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [1,5,7,5,4] , A=[3,5,5,1,5,0,8,7] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [1,5,7,5] , A=[4,3,5,5,1,5,0,8,7] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1,5,7] , A=[5,4,3,5,5,1,5,0,8,7] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [1,5] , A=[7,5,4,3,5,5,1,5,0,8,7] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1] , A=[5,7,5,4,3,5,5,1,5,0,8,7] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,5,7,5,4,3,5,5,1,5,0,8,7] C=0 , END
</scratch>
1575435515087
| 1575435515087 | 2 |
Input:
2317094284+7657223132078
Target:
| Input:
2317094284+7657223132078
Target:
[2,3,1,7,0,9,4,2,8,4] + [7,6,5,7,2,2,3,1,3,2,0,7,8] , A=[] , C=0 , 4+8+0=12 , A->2 , C->1
[2,3,1,7,0,9,4,2,8] + [7,6,5,7,2,2,3,1,3,2,0,7] , A=[2] , C=1 , 8+7+1=16 , A->6 , C->1
[2,3,1,7,0,9,4,2] + [7,6,5,7,2,2,3,1,3,2,0] , A=[6,2] , C=1 , 2+0+1=3 , A->3 , C->0
[2,3,1,7,0,9,4] + [7,6,5,7,2,2,3,1,3,2] , A=[3,6,2] , C=0 , 4+2+0=6 , A->6 , C->0
[2,3,1,7,0,9] + [7,6,5,7,2,2,3,1,3] , A=[6,3,6,2] , C=0 , 9+3+0=12 , A->2 , C->1
[2,3,1,7,0] + [7,6,5,7,2,2,3,1] , A=[2,6,3,6,2] , C=1 , 0+1+1=2 , A->2 , C->0
[2,3,1,7] + [7,6,5,7,2,2,3] , A=[2,2,6,3,6,2] , C=0 , 7+3+0=10 , A->0 , C->1
[2,3,1] + [7,6,5,7,2,2] , A=[0,2,2,6,3,6,2] , C=1 , 1+2+1=4 , A->4 , C->0
[2,3] + [7,6,5,7,2] , A=[4,0,2,2,6,3,6,2] , C=0 , 3+2+0=5 , A->5 , C->0
[2] + [7,6,5,7] , A=[5,4,0,2,2,6,3,6,2] , C=0 , 2+7+0=9 , A->9 , C->0
[] + [7,6,5] , A=[9,5,4,0,2,2,6,3,6,2] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [7,6] , A=[5,9,5,4,0,2,2,6,3,6,2] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [7] , A=[6,5,9,5,4,0,2,2,6,3,6,2] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,6,5,9,5,4,0,2,2,6,3,6,2] C=0 , END
</scratch>
7659540226362
| 7659540226362 | 10 |
Input:
4578+6482939264559
Target:
| Input:
4578+6482939264559
Target:
[4,5,7,8] + [6,4,8,2,9,3,9,2,6,4,5,5,9] , A=[] , C=0 , 8+9+0=17 , A->7 , C->1
[4,5,7] + [6,4,8,2,9,3,9,2,6,4,5,5] , A=[7] , C=1 , 7+5+1=13 , A->3 , C->1
[4,5] + [6,4,8,2,9,3,9,2,6,4,5] , A=[3,7] , C=1 , 5+5+1=11 , A->1 , C->1
[4] + [6,4,8,2,9,3,9,2,6,4] , A=[1,3,7] , C=1 , 4+4+1=9 , A->9 , C->0
[] + [6,4,8,2,9,3,9,2,6] , A=[9,1,3,7] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [6,4,8,2,9,3,9,2] , A=[6,9,1,3,7] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [6,4,8,2,9,3,9] , A=[2,6,9,1,3,7] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [6,4,8,2,9,3] , A=[9,2,6,9,1,3,7] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [6,4,8,2,9] , A=[3,9,2,6,9,1,3,7] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [6,4,8,2] , A=[9,3,9,2,6,9,1,3,7] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [6,4,8] , A=[2,9,3,9,2,6,9,1,3,7] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [6,4] , A=[8,2,9,3,9,2,6,9,1,3,7] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [6] , A=[4,8,2,9,3,9,2,6,9,1,3,7] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,4,8,2,9,3,9,2,6,9,1,3,7] C=0 , END
</scratch>
6482939269137
| 6482939269137 | 4 |
Input:
5784442538876+571124
Target:
| Input:
5784442538876+571124
Target:
[5,7,8,4,4,4,2,5,3,8,8,7,6] + [5,7,1,1,2,4] , A=[] , C=0 , 6+4+0=10 , A->0 , C->1
[5,7,8,4,4,4,2,5,3,8,8,7] + [5,7,1,1,2] , A=[0] , C=1 , 7+2+1=10 , A->0 , C->1
[5,7,8,4,4,4,2,5,3,8,8] + [5,7,1,1] , A=[0,0] , C=1 , 8+1+1=10 , A->0 , C->1
[5,7,8,4,4,4,2,5,3,8] + [5,7,1] , A=[0,0,0] , C=1 , 8+1+1=10 , A->0 , C->1
[5,7,8,4,4,4,2,5,3] + [5,7] , A=[0,0,0,0] , C=1 , 3+7+1=11 , A->1 , C->1
[5,7,8,4,4,4,2,5] + [5] , A=[1,0,0,0,0] , C=1 , 5+5+1=11 , A->1 , C->1
[5,7,8,4,4,4,2] + [] , A=[1,1,0,0,0,0] , C=1 , 2+0+1=3 , A->3 , C->0
[5,7,8,4,4,4] + [] , A=[3,1,1,0,0,0,0] , C=0 , 4+0+0=4 , A->4 , C->0
[5,7,8,4,4] + [] , A=[4,3,1,1,0,0,0,0] , C=0 , 4+0+0=4 , A->4 , C->0
[5,7,8,4] + [] , A=[4,4,3,1,1,0,0,0,0] , C=0 , 4+0+0=4 , A->4 , C->0
[5,7,8] + [] , A=[4,4,4,3,1,1,0,0,0,0] , C=0 , 8+0+0=8 , A->8 , C->0
[5,7] + [] , A=[8,4,4,4,3,1,1,0,0,0,0] , C=0 , 7+0+0=7 , A->7 , C->0
[5] + [] , A=[7,8,4,4,4,3,1,1,0,0,0,0] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,7,8,4,4,4,3,1,1,0,0,0,0] C=0 , END
</scratch>
5784443110000
| 5784443110000 | 6 |
Input:
4758387730188+9942931528086
Target:
| Input:
4758387730188+9942931528086
Target:
[4,7,5,8,3,8,7,7,3,0,1,8,8] + [9,9,4,2,9,3,1,5,2,8,0,8,6] , A=[] , C=0 , 8+6+0=14 , A->4 , C->1
[4,7,5,8,3,8,7,7,3,0,1,8] + [9,9,4,2,9,3,1,5,2,8,0,8] , A=[4] , C=1 , 8+8+1=17 , A->7 , C->1
[4,7,5,8,3,8,7,7,3,0,1] + [9,9,4,2,9,3,1,5,2,8,0] , A=[7,4] , C=1 , 1+0+1=2 , A->2 , C->0
[4,7,5,8,3,8,7,7,3,0] + [9,9,4,2,9,3,1,5,2,8] , A=[2,7,4] , C=0 , 0+8+0=8 , A->8 , C->0
[4,7,5,8,3,8,7,7,3] + [9,9,4,2,9,3,1,5,2] , A=[8,2,7,4] , C=0 , 3+2+0=5 , A->5 , C->0
[4,7,5,8,3,8,7,7] + [9,9,4,2,9,3,1,5] , A=[5,8,2,7,4] , C=0 , 7+5+0=12 , A->2 , C->1
[4,7,5,8,3,8,7] + [9,9,4,2,9,3,1] , A=[2,5,8,2,7,4] , C=1 , 7+1+1=9 , A->9 , C->0
[4,7,5,8,3,8] + [9,9,4,2,9,3] , A=[9,2,5,8,2,7,4] , C=0 , 8+3+0=11 , A->1 , C->1
[4,7,5,8,3] + [9,9,4,2,9] , A=[1,9,2,5,8,2,7,4] , C=1 , 3+9+1=13 , A->3 , C->1
[4,7,5,8] + [9,9,4,2] , A=[3,1,9,2,5,8,2,7,4] , C=1 , 8+2+1=11 , A->1 , C->1
[4,7,5] + [9,9,4] , A=[1,3,1,9,2,5,8,2,7,4] , C=1 , 5+4+1=10 , A->0 , C->1
[4,7] + [9,9] , A=[0,1,3,1,9,2,5,8,2,7,4] , C=1 , 7+9+1=17 , A->7 , C->1
[4] + [9] , A=[7,0,1,3,1,9,2,5,8,2,7,4] , C=1 , 4+9+1=14 , A->4 , C->1
[] + [] , A=[4,7,0,1,3,1,9,2,5,8,2,7,4] C=1 , END
</scratch>
14701319258274
| 14701319258274 | 13 |
Input:
233755204+6800509985998
Target:
| Input:
233755204+6800509985998
Target:
[2,3,3,7,5,5,2,0,4] + [6,8,0,0,5,0,9,9,8,5,9,9,8] , A=[] , C=0 , 4+8+0=12 , A->2 , C->1
[2,3,3,7,5,5,2,0] + [6,8,0,0,5,0,9,9,8,5,9,9] , A=[2] , C=1 , 0+9+1=10 , A->0 , C->1
[2,3,3,7,5,5,2] + [6,8,0,0,5,0,9,9,8,5,9] , A=[0,2] , C=1 , 2+9+1=12 , A->2 , C->1
[2,3,3,7,5,5] + [6,8,0,0,5,0,9,9,8,5] , A=[2,0,2] , C=1 , 5+5+1=11 , A->1 , C->1
[2,3,3,7,5] + [6,8,0,0,5,0,9,9,8] , A=[1,2,0,2] , C=1 , 5+8+1=14 , A->4 , C->1
[2,3,3,7] + [6,8,0,0,5,0,9,9] , A=[4,1,2,0,2] , C=1 , 7+9+1=17 , A->7 , C->1
[2,3,3] + [6,8,0,0,5,0,9] , A=[7,4,1,2,0,2] , C=1 , 3+9+1=13 , A->3 , C->1
[2,3] + [6,8,0,0,5,0] , A=[3,7,4,1,2,0,2] , C=1 , 3+0+1=4 , A->4 , C->0
[2] + [6,8,0,0,5] , A=[4,3,7,4,1,2,0,2] , C=0 , 2+5+0=7 , A->7 , C->0
[] + [6,8,0,0] , A=[7,4,3,7,4,1,2,0,2] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [6,8,0] , A=[0,7,4,3,7,4,1,2,0,2] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [6,8] , A=[0,0,7,4,3,7,4,1,2,0,2] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [6] , A=[8,0,0,7,4,3,7,4,1,2,0,2] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,8,0,0,7,4,3,7,4,1,2,0,2] C=0 , END
</scratch>
6800743741202
| 6800743741202 | 9 |
Input:
8519438630526+41496
Target:
| Input:
8519438630526+41496
Target:
[8,5,1,9,4,3,8,6,3,0,5,2,6] + [4,1,4,9,6] , A=[] , C=0 , 6+6+0=12 , A->2 , C->1
[8,5,1,9,4,3,8,6,3,0,5,2] + [4,1,4,9] , A=[2] , C=1 , 2+9+1=12 , A->2 , C->1
[8,5,1,9,4,3,8,6,3,0,5] + [4,1,4] , A=[2,2] , C=1 , 5+4+1=10 , A->0 , C->1
[8,5,1,9,4,3,8,6,3,0] + [4,1] , A=[0,2,2] , C=1 , 0+1+1=2 , A->2 , C->0
[8,5,1,9,4,3,8,6,3] + [4] , A=[2,0,2,2] , C=0 , 3+4+0=7 , A->7 , C->0
[8,5,1,9,4,3,8,6] + [] , A=[7,2,0,2,2] , C=0 , 6+0+0=6 , A->6 , C->0
[8,5,1,9,4,3,8] + [] , A=[6,7,2,0,2,2] , C=0 , 8+0+0=8 , A->8 , C->0
[8,5,1,9,4,3] + [] , A=[8,6,7,2,0,2,2] , C=0 , 3+0+0=3 , A->3 , C->0
[8,5,1,9,4] + [] , A=[3,8,6,7,2,0,2,2] , C=0 , 4+0+0=4 , A->4 , C->0
[8,5,1,9] + [] , A=[4,3,8,6,7,2,0,2,2] , C=0 , 9+0+0=9 , A->9 , C->0
[8,5,1] + [] , A=[9,4,3,8,6,7,2,0,2,2] , C=0 , 1+0+0=1 , A->1 , C->0
[8,5] + [] , A=[1,9,4,3,8,6,7,2,0,2,2] , C=0 , 5+0+0=5 , A->5 , C->0
[8] + [] , A=[5,1,9,4,3,8,6,7,2,0,2,2] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,5,1,9,4,3,8,6,7,2,0,2,2] C=0 , END
</scratch>
8519438672022
| 8519438672022 | 5 |
Input:
5452943602381+274224853
Target:
| Input:
5452943602381+274224853
Target:
[5,4,5,2,9,4,3,6,0,2,3,8,1] + [2,7,4,2,2,4,8,5,3] , A=[] , C=0 , 1+3+0=4 , A->4 , C->0
[5,4,5,2,9,4,3,6,0,2,3,8] + [2,7,4,2,2,4,8,5] , A=[4] , C=0 , 8+5+0=13 , A->3 , C->1
[5,4,5,2,9,4,3,6,0,2,3] + [2,7,4,2,2,4,8] , A=[3,4] , C=1 , 3+8+1=12 , A->2 , C->1
[5,4,5,2,9,4,3,6,0,2] + [2,7,4,2,2,4] , A=[2,3,4] , C=1 , 2+4+1=7 , A->7 , C->0
[5,4,5,2,9,4,3,6,0] + [2,7,4,2,2] , A=[7,2,3,4] , C=0 , 0+2+0=2 , A->2 , C->0
[5,4,5,2,9,4,3,6] + [2,7,4,2] , A=[2,7,2,3,4] , C=0 , 6+2+0=8 , A->8 , C->0
[5,4,5,2,9,4,3] + [2,7,4] , A=[8,2,7,2,3,4] , C=0 , 3+4+0=7 , A->7 , C->0
[5,4,5,2,9,4] + [2,7] , A=[7,8,2,7,2,3,4] , C=0 , 4+7+0=11 , A->1 , C->1
[5,4,5,2,9] + [2] , A=[1,7,8,2,7,2,3,4] , C=1 , 9+2+1=12 , A->2 , C->1
[5,4,5,2] + [] , A=[2,1,7,8,2,7,2,3,4] , C=1 , 2+0+1=3 , A->3 , C->0
[5,4,5] + [] , A=[3,2,1,7,8,2,7,2,3,4] , C=0 , 5+0+0=5 , A->5 , C->0
[5,4] + [] , A=[5,3,2,1,7,8,2,7,2,3,4] , C=0 , 4+0+0=4 , A->4 , C->0
[5] + [] , A=[4,5,3,2,1,7,8,2,7,2,3,4] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,4,5,3,2,1,7,8,2,7,2,3,4] C=0 , END
</scratch>
5453217827234
| 5453217827234 | 9 |
Input:
354134884476+5199886520440
Target:
| Input:
354134884476+5199886520440
Target:
[3,5,4,1,3,4,8,8,4,4,7,6] + [5,1,9,9,8,8,6,5,2,0,4,4,0] , A=[] , C=0 , 6+0+0=6 , A->6 , C->0
[3,5,4,1,3,4,8,8,4,4,7] + [5,1,9,9,8,8,6,5,2,0,4,4] , A=[6] , C=0 , 7+4+0=11 , A->1 , C->1
[3,5,4,1,3,4,8,8,4,4] + [5,1,9,9,8,8,6,5,2,0,4] , A=[1,6] , C=1 , 4+4+1=9 , A->9 , C->0
[3,5,4,1,3,4,8,8,4] + [5,1,9,9,8,8,6,5,2,0] , A=[9,1,6] , C=0 , 4+0+0=4 , A->4 , C->0
[3,5,4,1,3,4,8,8] + [5,1,9,9,8,8,6,5,2] , A=[4,9,1,6] , C=0 , 8+2+0=10 , A->0 , C->1
[3,5,4,1,3,4,8] + [5,1,9,9,8,8,6,5] , A=[0,4,9,1,6] , C=1 , 8+5+1=14 , A->4 , C->1
[3,5,4,1,3,4] + [5,1,9,9,8,8,6] , A=[4,0,4,9,1,6] , C=1 , 4+6+1=11 , A->1 , C->1
[3,5,4,1,3] + [5,1,9,9,8,8] , A=[1,4,0,4,9,1,6] , C=1 , 3+8+1=12 , A->2 , C->1
[3,5,4,1] + [5,1,9,9,8] , A=[2,1,4,0,4,9,1,6] , C=1 , 1+8+1=10 , A->0 , C->1
[3,5,4] + [5,1,9,9] , A=[0,2,1,4,0,4,9,1,6] , C=1 , 4+9+1=14 , A->4 , C->1
[3,5] + [5,1,9] , A=[4,0,2,1,4,0,4,9,1,6] , C=1 , 5+9+1=15 , A->5 , C->1
[3] + [5,1] , A=[5,4,0,2,1,4,0,4,9,1,6] , C=1 , 3+1+1=5 , A->5 , C->0
[] + [5] , A=[5,5,4,0,2,1,4,0,4,9,1,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,5,5,4,0,2,1,4,0,4,9,1,6] C=0 , END
</scratch>
5554021404916
| 5554021404916 | 12 |
Input:
7527575189229+810889656740
Target:
| Input:
7527575189229+810889656740
Target:
[7,5,2,7,5,7,5,1,8,9,2,2,9] + [8,1,0,8,8,9,6,5,6,7,4,0] , A=[] , C=0 , 9+0+0=9 , A->9 , C->0
[7,5,2,7,5,7,5,1,8,9,2,2] + [8,1,0,8,8,9,6,5,6,7,4] , A=[9] , C=0 , 2+4+0=6 , A->6 , C->0
[7,5,2,7,5,7,5,1,8,9,2] + [8,1,0,8,8,9,6,5,6,7] , A=[6,9] , C=0 , 2+7+0=9 , A->9 , C->0
[7,5,2,7,5,7,5,1,8,9] + [8,1,0,8,8,9,6,5,6] , A=[9,6,9] , C=0 , 9+6+0=15 , A->5 , C->1
[7,5,2,7,5,7,5,1,8] + [8,1,0,8,8,9,6,5] , A=[5,9,6,9] , C=1 , 8+5+1=14 , A->4 , C->1
[7,5,2,7,5,7,5,1] + [8,1,0,8,8,9,6] , A=[4,5,9,6,9] , C=1 , 1+6+1=8 , A->8 , C->0
[7,5,2,7,5,7,5] + [8,1,0,8,8,9] , A=[8,4,5,9,6,9] , C=0 , 5+9+0=14 , A->4 , C->1
[7,5,2,7,5,7] + [8,1,0,8,8] , A=[4,8,4,5,9,6,9] , C=1 , 7+8+1=16 , A->6 , C->1
[7,5,2,7,5] + [8,1,0,8] , A=[6,4,8,4,5,9,6,9] , C=1 , 5+8+1=14 , A->4 , C->1
[7,5,2,7] + [8,1,0] , A=[4,6,4,8,4,5,9,6,9] , C=1 , 7+0+1=8 , A->8 , C->0
[7,5,2] + [8,1] , A=[8,4,6,4,8,4,5,9,6,9] , C=0 , 2+1+0=3 , A->3 , C->0
[7,5] + [8] , A=[3,8,4,6,4,8,4,5,9,6,9] , C=0 , 5+8+0=13 , A->3 , C->1
[7] + [] , A=[3,3,8,4,6,4,8,4,5,9,6,9] , C=1 , 7+0+1=8 , A->8 , C->0
[] + [] , A=[8,3,3,8,4,6,4,8,4,5,9,6,9] C=0 , END
</scratch>
8338464845969
| 8338464845969 | 12 |
Input:
39686211676+3823823985096
Target:
| Input:
39686211676+3823823985096
Target:
[3,9,6,8,6,2,1,1,6,7,6] + [3,8,2,3,8,2,3,9,8,5,0,9,6] , A=[] , C=0 , 6+6+0=12 , A->2 , C->1
[3,9,6,8,6,2,1,1,6,7] + [3,8,2,3,8,2,3,9,8,5,0,9] , A=[2] , C=1 , 7+9+1=17 , A->7 , C->1
[3,9,6,8,6,2,1,1,6] + [3,8,2,3,8,2,3,9,8,5,0] , A=[7,2] , C=1 , 6+0+1=7 , A->7 , C->0
[3,9,6,8,6,2,1,1] + [3,8,2,3,8,2,3,9,8,5] , A=[7,7,2] , C=0 , 1+5+0=6 , A->6 , C->0
[3,9,6,8,6,2,1] + [3,8,2,3,8,2,3,9,8] , A=[6,7,7,2] , C=0 , 1+8+0=9 , A->9 , C->0
[3,9,6,8,6,2] + [3,8,2,3,8,2,3,9] , A=[9,6,7,7,2] , C=0 , 2+9+0=11 , A->1 , C->1
[3,9,6,8,6] + [3,8,2,3,8,2,3] , A=[1,9,6,7,7,2] , C=1 , 6+3+1=10 , A->0 , C->1
[3,9,6,8] + [3,8,2,3,8,2] , A=[0,1,9,6,7,7,2] , C=1 , 8+2+1=11 , A->1 , C->1
[3,9,6] + [3,8,2,3,8] , A=[1,0,1,9,6,7,7,2] , C=1 , 6+8+1=15 , A->5 , C->1
[3,9] + [3,8,2,3] , A=[5,1,0,1,9,6,7,7,2] , C=1 , 9+3+1=13 , A->3 , C->1
[3] + [3,8,2] , A=[3,5,1,0,1,9,6,7,7,2] , C=1 , 3+2+1=6 , A->6 , C->0
[] + [3,8] , A=[6,3,5,1,0,1,9,6,7,7,2] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [3] , A=[8,6,3,5,1,0,1,9,6,7,7,2] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [] , A=[3,8,6,3,5,1,0,1,9,6,7,7,2] C=0 , END
</scratch>
3863510196772
| 3863510196772 | 11 |
Input:
1898216905591+5
Target:
| Input:
1898216905591+5
Target:
[1,8,9,8,2,1,6,9,0,5,5,9,1] + [5] , A=[] , C=0 , 1+5+0=6 , A->6 , C->0
[1,8,9,8,2,1,6,9,0,5,5,9] + [] , A=[6] , C=0 , 9+0+0=9 , A->9 , C->0
[1,8,9,8,2,1,6,9,0,5,5] + [] , A=[9,6] , C=0 , 5+0+0=5 , A->5 , C->0
[1,8,9,8,2,1,6,9,0,5] + [] , A=[5,9,6] , C=0 , 5+0+0=5 , A->5 , C->0
[1,8,9,8,2,1,6,9,0] + [] , A=[5,5,9,6] , C=0 , 0+0+0=0 , A->0 , C->0
[1,8,9,8,2,1,6,9] + [] , A=[0,5,5,9,6] , C=0 , 9+0+0=9 , A->9 , C->0
[1,8,9,8,2,1,6] + [] , A=[9,0,5,5,9,6] , C=0 , 6+0+0=6 , A->6 , C->0
[1,8,9,8,2,1] + [] , A=[6,9,0,5,5,9,6] , C=0 , 1+0+0=1 , A->1 , C->0
[1,8,9,8,2] + [] , A=[1,6,9,0,5,5,9,6] , C=0 , 2+0+0=2 , A->2 , C->0
[1,8,9,8] + [] , A=[2,1,6,9,0,5,5,9,6] , C=0 , 8+0+0=8 , A->8 , C->0
[1,8,9] + [] , A=[8,2,1,6,9,0,5,5,9,6] , C=0 , 9+0+0=9 , A->9 , C->0
[1,8] + [] , A=[9,8,2,1,6,9,0,5,5,9,6] , C=0 , 8+0+0=8 , A->8 , C->0
[1] + [] , A=[8,9,8,2,1,6,9,0,5,5,9,6] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,8,9,8,2,1,6,9,0,5,5,9,6] C=0 , END
</scratch>
1898216905596
| 1898216905596 | 1 |
Input:
21+7645159985563
Target:
| Input:
21+7645159985563
Target:
[2,1] + [7,6,4,5,1,5,9,9,8,5,5,6,3] , A=[] , C=0 , 1+3+0=4 , A->4 , C->0
[2] + [7,6,4,5,1,5,9,9,8,5,5,6] , A=[4] , C=0 , 2+6+0=8 , A->8 , C->0
[] + [7,6,4,5,1,5,9,9,8,5,5] , A=[8,4] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [7,6,4,5,1,5,9,9,8,5] , A=[5,8,4] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [7,6,4,5,1,5,9,9,8] , A=[5,5,8,4] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [7,6,4,5,1,5,9,9] , A=[8,5,5,8,4] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [7,6,4,5,1,5,9] , A=[9,8,5,5,8,4] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [7,6,4,5,1,5] , A=[9,9,8,5,5,8,4] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [7,6,4,5,1] , A=[5,9,9,8,5,5,8,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [7,6,4,5] , A=[1,5,9,9,8,5,5,8,4] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [7,6,4] , A=[5,1,5,9,9,8,5,5,8,4] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [7,6] , A=[4,5,1,5,9,9,8,5,5,8,4] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [7] , A=[6,4,5,1,5,9,9,8,5,5,8,4] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,6,4,5,1,5,9,9,8,5,5,8,4] C=0 , END
</scratch>
7645159985584
| 7645159985584 | 2 |
Input:
99798206712+9648115078969
Target:
| Input:
99798206712+9648115078969
Target:
[9,9,7,9,8,2,0,6,7,1,2] + [9,6,4,8,1,1,5,0,7,8,9,6,9] , A=[] , C=0 , 2+9+0=11 , A->1 , C->1
[9,9,7,9,8,2,0,6,7,1] + [9,6,4,8,1,1,5,0,7,8,9,6] , A=[1] , C=1 , 1+6+1=8 , A->8 , C->0
[9,9,7,9,8,2,0,6,7] + [9,6,4,8,1,1,5,0,7,8,9] , A=[8,1] , C=0 , 7+9+0=16 , A->6 , C->1
[9,9,7,9,8,2,0,6] + [9,6,4,8,1,1,5,0,7,8] , A=[6,8,1] , C=1 , 6+8+1=15 , A->5 , C->1
[9,9,7,9,8,2,0] + [9,6,4,8,1,1,5,0,7] , A=[5,6,8,1] , C=1 , 0+7+1=8 , A->8 , C->0
[9,9,7,9,8,2] + [9,6,4,8,1,1,5,0] , A=[8,5,6,8,1] , C=0 , 2+0+0=2 , A->2 , C->0
[9,9,7,9,8] + [9,6,4,8,1,1,5] , A=[2,8,5,6,8,1] , C=0 , 8+5+0=13 , A->3 , C->1
[9,9,7,9] + [9,6,4,8,1,1] , A=[3,2,8,5,6,8,1] , C=1 , 9+1+1=11 , A->1 , C->1
[9,9,7] + [9,6,4,8,1] , A=[1,3,2,8,5,6,8,1] , C=1 , 7+1+1=9 , A->9 , C->0
[9,9] + [9,6,4,8] , A=[9,1,3,2,8,5,6,8,1] , C=0 , 9+8+0=17 , A->7 , C->1
[9] + [9,6,4] , A=[7,9,1,3,2,8,5,6,8,1] , C=1 , 9+4+1=14 , A->4 , C->1
[] + [9,6] , A=[4,7,9,1,3,2,8,5,6,8,1] , C=1 , 0+6+1=7 , A->7 , C->0
[] + [9] , A=[7,4,7,9,1,3,2,8,5,6,8,1] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,7,4,7,9,1,3,2,8,5,6,8,1] C=0 , END
</scratch>
9747913285681
| 9747913285681 | 11 |
Input:
5849234131596+41
Target:
| Input:
5849234131596+41
Target:
[5,8,4,9,2,3,4,1,3,1,5,9,6] + [4,1] , A=[] , C=0 , 6+1+0=7 , A->7 , C->0
[5,8,4,9,2,3,4,1,3,1,5,9] + [4] , A=[7] , C=0 , 9+4+0=13 , A->3 , C->1
[5,8,4,9,2,3,4,1,3,1,5] + [] , A=[3,7] , C=1 , 5+0+1=6 , A->6 , C->0
[5,8,4,9,2,3,4,1,3,1] + [] , A=[6,3,7] , C=0 , 1+0+0=1 , A->1 , C->0
[5,8,4,9,2,3,4,1,3] + [] , A=[1,6,3,7] , C=0 , 3+0+0=3 , A->3 , C->0
[5,8,4,9,2,3,4,1] + [] , A=[3,1,6,3,7] , C=0 , 1+0+0=1 , A->1 , C->0
[5,8,4,9,2,3,4] + [] , A=[1,3,1,6,3,7] , C=0 , 4+0+0=4 , A->4 , C->0
[5,8,4,9,2,3] + [] , A=[4,1,3,1,6,3,7] , C=0 , 3+0+0=3 , A->3 , C->0
[5,8,4,9,2] + [] , A=[3,4,1,3,1,6,3,7] , C=0 , 2+0+0=2 , A->2 , C->0
[5,8,4,9] + [] , A=[2,3,4,1,3,1,6,3,7] , C=0 , 9+0+0=9 , A->9 , C->0
[5,8,4] + [] , A=[9,2,3,4,1,3,1,6,3,7] , C=0 , 4+0+0=4 , A->4 , C->0
[5,8] + [] , A=[4,9,2,3,4,1,3,1,6,3,7] , C=0 , 8+0+0=8 , A->8 , C->0
[5] + [] , A=[8,4,9,2,3,4,1,3,1,6,3,7] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,8,4,9,2,3,4,1,3,1,6,3,7] C=0 , END
</scratch>
5849234131637
| 5849234131637 | 2 |
Input:
48300198911+5176548363583
Target:
| Input:
48300198911+5176548363583
Target:
[4,8,3,0,0,1,9,8,9,1,1] + [5,1,7,6,5,4,8,3,6,3,5,8,3] , A=[] , C=0 , 1+3+0=4 , A->4 , C->0
[4,8,3,0,0,1,9,8,9,1] + [5,1,7,6,5,4,8,3,6,3,5,8] , A=[4] , C=0 , 1+8+0=9 , A->9 , C->0
[4,8,3,0,0,1,9,8,9] + [5,1,7,6,5,4,8,3,6,3,5] , A=[9,4] , C=0 , 9+5+0=14 , A->4 , C->1
[4,8,3,0,0,1,9,8] + [5,1,7,6,5,4,8,3,6,3] , A=[4,9,4] , C=1 , 8+3+1=12 , A->2 , C->1
[4,8,3,0,0,1,9] + [5,1,7,6,5,4,8,3,6] , A=[2,4,9,4] , C=1 , 9+6+1=16 , A->6 , C->1
[4,8,3,0,0,1] + [5,1,7,6,5,4,8,3] , A=[6,2,4,9,4] , C=1 , 1+3+1=5 , A->5 , C->0
[4,8,3,0,0] + [5,1,7,6,5,4,8] , A=[5,6,2,4,9,4] , C=0 , 0+8+0=8 , A->8 , C->0
[4,8,3,0] + [5,1,7,6,5,4] , A=[8,5,6,2,4,9,4] , C=0 , 0+4+0=4 , A->4 , C->0
[4,8,3] + [5,1,7,6,5] , A=[4,8,5,6,2,4,9,4] , C=0 , 3+5+0=8 , A->8 , C->0
[4,8] + [5,1,7,6] , A=[8,4,8,5,6,2,4,9,4] , C=0 , 8+6+0=14 , A->4 , C->1
[4] + [5,1,7] , A=[4,8,4,8,5,6,2,4,9,4] , C=1 , 4+7+1=12 , A->2 , C->1
[] + [5,1] , A=[2,4,8,4,8,5,6,2,4,9,4] , C=1 , 0+1+1=2 , A->2 , C->0
[] + [5] , A=[2,2,4,8,4,8,5,6,2,4,9,4] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,2,2,4,8,4,8,5,6,2,4,9,4] C=0 , END
</scratch>
5224848562494
| 5224848562494 | 11 |
Input:
3007186512233+2353387682
Target:
| Input:
3007186512233+2353387682
Target:
[3,0,0,7,1,8,6,5,1,2,2,3,3] + [2,3,5,3,3,8,7,6,8,2] , A=[] , C=0 , 3+2+0=5 , A->5 , C->0
[3,0,0,7,1,8,6,5,1,2,2,3] + [2,3,5,3,3,8,7,6,8] , A=[5] , C=0 , 3+8+0=11 , A->1 , C->1
[3,0,0,7,1,8,6,5,1,2,2] + [2,3,5,3,3,8,7,6] , A=[1,5] , C=1 , 2+6+1=9 , A->9 , C->0
[3,0,0,7,1,8,6,5,1,2] + [2,3,5,3,3,8,7] , A=[9,1,5] , C=0 , 2+7+0=9 , A->9 , C->0
[3,0,0,7,1,8,6,5,1] + [2,3,5,3,3,8] , A=[9,9,1,5] , C=0 , 1+8+0=9 , A->9 , C->0
[3,0,0,7,1,8,6,5] + [2,3,5,3,3] , A=[9,9,9,1,5] , C=0 , 5+3+0=8 , A->8 , C->0
[3,0,0,7,1,8,6] + [2,3,5,3] , A=[8,9,9,9,1,5] , C=0 , 6+3+0=9 , A->9 , C->0
[3,0,0,7,1,8] + [2,3,5] , A=[9,8,9,9,9,1,5] , C=0 , 8+5+0=13 , A->3 , C->1
[3,0,0,7,1] + [2,3] , A=[3,9,8,9,9,9,1,5] , C=1 , 1+3+1=5 , A->5 , C->0
[3,0,0,7] + [2] , A=[5,3,9,8,9,9,9,1,5] , C=0 , 7+2+0=9 , A->9 , C->0
[3,0,0] + [] , A=[9,5,3,9,8,9,9,9,1,5] , C=0 , 0+0+0=0 , A->0 , C->0
[3,0] + [] , A=[0,9,5,3,9,8,9,9,9,1,5] , C=0 , 0+0+0=0 , A->0 , C->0
[3] + [] , A=[0,0,9,5,3,9,8,9,9,9,1,5] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,0,0,9,5,3,9,8,9,9,9,1,5] C=0 , END
</scratch>
3009539899915
| 3009539899915 | 10 |
Input:
539151135+5743866757732
Target:
| Input:
539151135+5743866757732
Target:
[5,3,9,1,5,1,1,3,5] + [5,7,4,3,8,6,6,7,5,7,7,3,2] , A=[] , C=0 , 5+2+0=7 , A->7 , C->0
[5,3,9,1,5,1,1,3] + [5,7,4,3,8,6,6,7,5,7,7,3] , A=[7] , C=0 , 3+3+0=6 , A->6 , C->0
[5,3,9,1,5,1,1] + [5,7,4,3,8,6,6,7,5,7,7] , A=[6,7] , C=0 , 1+7+0=8 , A->8 , C->0
[5,3,9,1,5,1] + [5,7,4,3,8,6,6,7,5,7] , A=[8,6,7] , C=0 , 1+7+0=8 , A->8 , C->0
[5,3,9,1,5] + [5,7,4,3,8,6,6,7,5] , A=[8,8,6,7] , C=0 , 5+5+0=10 , A->0 , C->1
[5,3,9,1] + [5,7,4,3,8,6,6,7] , A=[0,8,8,6,7] , C=1 , 1+7+1=9 , A->9 , C->0
[5,3,9] + [5,7,4,3,8,6,6] , A=[9,0,8,8,6,7] , C=0 , 9+6+0=15 , A->5 , C->1
[5,3] + [5,7,4,3,8,6] , A=[5,9,0,8,8,6,7] , C=1 , 3+6+1=10 , A->0 , C->1
[5] + [5,7,4,3,8] , A=[0,5,9,0,8,8,6,7] , C=1 , 5+8+1=14 , A->4 , C->1
[] + [5,7,4,3] , A=[4,0,5,9,0,8,8,6,7] , C=1 , 0+3+1=4 , A->4 , C->0
[] + [5,7,4] , A=[4,4,0,5,9,0,8,8,6,7] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [5,7] , A=[4,4,4,0,5,9,0,8,8,6,7] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [5] , A=[7,4,4,4,0,5,9,0,8,8,6,7] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,7,4,4,4,0,5,9,0,8,8,6,7] C=0 , END
</scratch>
5744405908867
| 5744405908867 | 9 |
Input:
3558107417665+89137
Target:
| Input:
3558107417665+89137
Target:
[3,5,5,8,1,0,7,4,1,7,6,6,5] + [8,9,1,3,7] , A=[] , C=0 , 5+7+0=12 , A->2 , C->1
[3,5,5,8,1,0,7,4,1,7,6,6] + [8,9,1,3] , A=[2] , C=1 , 6+3+1=10 , A->0 , C->1
[3,5,5,8,1,0,7,4,1,7,6] + [8,9,1] , A=[0,2] , C=1 , 6+1+1=8 , A->8 , C->0
[3,5,5,8,1,0,7,4,1,7] + [8,9] , A=[8,0,2] , C=0 , 7+9+0=16 , A->6 , C->1
[3,5,5,8,1,0,7,4,1] + [8] , A=[6,8,0,2] , C=1 , 1+8+1=10 , A->0 , C->1
[3,5,5,8,1,0,7,4] + [] , A=[0,6,8,0,2] , C=1 , 4+0+1=5 , A->5 , C->0
[3,5,5,8,1,0,7] + [] , A=[5,0,6,8,0,2] , C=0 , 7+0+0=7 , A->7 , C->0
[3,5,5,8,1,0] + [] , A=[7,5,0,6,8,0,2] , C=0 , 0+0+0=0 , A->0 , C->0
[3,5,5,8,1] + [] , A=[0,7,5,0,6,8,0,2] , C=0 , 1+0+0=1 , A->1 , C->0
[3,5,5,8] + [] , A=[1,0,7,5,0,6,8,0,2] , C=0 , 8+0+0=8 , A->8 , C->0
[3,5,5] + [] , A=[8,1,0,7,5,0,6,8,0,2] , C=0 , 5+0+0=5 , A->5 , C->0
[3,5] + [] , A=[5,8,1,0,7,5,0,6,8,0,2] , C=0 , 5+0+0=5 , A->5 , C->0
[3] + [] , A=[5,5,8,1,0,7,5,0,6,8,0,2] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,5,5,8,1,0,7,5,0,6,8,0,2] C=0 , END
</scratch>
3558107506802
| 3558107506802 | 5 |
Input:
9274355863593+6
Target:
| Input:
9274355863593+6
Target:
[9,2,7,4,3,5,5,8,6,3,5,9,3] + [6] , A=[] , C=0 , 3+6+0=9 , A->9 , C->0
[9,2,7,4,3,5,5,8,6,3,5,9] + [] , A=[9] , C=0 , 9+0+0=9 , A->9 , C->0
[9,2,7,4,3,5,5,8,6,3,5] + [] , A=[9,9] , C=0 , 5+0+0=5 , A->5 , C->0
[9,2,7,4,3,5,5,8,6,3] + [] , A=[5,9,9] , C=0 , 3+0+0=3 , A->3 , C->0
[9,2,7,4,3,5,5,8,6] + [] , A=[3,5,9,9] , C=0 , 6+0+0=6 , A->6 , C->0
[9,2,7,4,3,5,5,8] + [] , A=[6,3,5,9,9] , C=0 , 8+0+0=8 , A->8 , C->0
[9,2,7,4,3,5,5] + [] , A=[8,6,3,5,9,9] , C=0 , 5+0+0=5 , A->5 , C->0
[9,2,7,4,3,5] + [] , A=[5,8,6,3,5,9,9] , C=0 , 5+0+0=5 , A->5 , C->0
[9,2,7,4,3] + [] , A=[5,5,8,6,3,5,9,9] , C=0 , 3+0+0=3 , A->3 , C->0
[9,2,7,4] + [] , A=[3,5,5,8,6,3,5,9,9] , C=0 , 4+0+0=4 , A->4 , C->0
[9,2,7] + [] , A=[4,3,5,5,8,6,3,5,9,9] , C=0 , 7+0+0=7 , A->7 , C->0
[9,2] + [] , A=[7,4,3,5,5,8,6,3,5,9,9] , C=0 , 2+0+0=2 , A->2 , C->0
[9] + [] , A=[2,7,4,3,5,5,8,6,3,5,9,9] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,2,7,4,3,5,5,8,6,3,5,9,9] C=0 , END
</scratch>
9274355863599
| 9274355863599 | 1 |
Input:
8349901936167+456553686792
Target:
| Input:
8349901936167+456553686792
Target:
[8,3,4,9,9,0,1,9,3,6,1,6,7] + [4,5,6,5,5,3,6,8,6,7,9,2] , A=[] , C=0 , 7+2+0=9 , A->9 , C->0
[8,3,4,9,9,0,1,9,3,6,1,6] + [4,5,6,5,5,3,6,8,6,7,9] , A=[9] , C=0 , 6+9+0=15 , A->5 , C->1
[8,3,4,9,9,0,1,9,3,6,1] + [4,5,6,5,5,3,6,8,6,7] , A=[5,9] , C=1 , 1+7+1=9 , A->9 , C->0
[8,3,4,9,9,0,1,9,3,6] + [4,5,6,5,5,3,6,8,6] , A=[9,5,9] , C=0 , 6+6+0=12 , A->2 , C->1
[8,3,4,9,9,0,1,9,3] + [4,5,6,5,5,3,6,8] , A=[2,9,5,9] , C=1 , 3+8+1=12 , A->2 , C->1
[8,3,4,9,9,0,1,9] + [4,5,6,5,5,3,6] , A=[2,2,9,5,9] , C=1 , 9+6+1=16 , A->6 , C->1
[8,3,4,9,9,0,1] + [4,5,6,5,5,3] , A=[6,2,2,9,5,9] , C=1 , 1+3+1=5 , A->5 , C->0
[8,3,4,9,9,0] + [4,5,6,5,5] , A=[5,6,2,2,9,5,9] , C=0 , 0+5+0=5 , A->5 , C->0
[8,3,4,9,9] + [4,5,6,5] , A=[5,5,6,2,2,9,5,9] , C=0 , 9+5+0=14 , A->4 , C->1
[8,3,4,9] + [4,5,6] , A=[4,5,5,6,2,2,9,5,9] , C=1 , 9+6+1=16 , A->6 , C->1
[8,3,4] + [4,5] , A=[6,4,5,5,6,2,2,9,5,9] , C=1 , 4+5+1=10 , A->0 , C->1
[8,3] + [4] , A=[0,6,4,5,5,6,2,2,9,5,9] , C=1 , 3+4+1=8 , A->8 , C->0
[8] + [] , A=[8,0,6,4,5,5,6,2,2,9,5,9] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,8,0,6,4,5,5,6,2,2,9,5,9] C=0 , END
</scratch>
8806455622959
| 8806455622959 | 12 |
Input:
5377591454+2124383013734
Target:
| Input:
5377591454+2124383013734
Target:
[5,3,7,7,5,9,1,4,5,4] + [2,1,2,4,3,8,3,0,1,3,7,3,4] , A=[] , C=0 , 4+4+0=8 , A->8 , C->0
[5,3,7,7,5,9,1,4,5] + [2,1,2,4,3,8,3,0,1,3,7,3] , A=[8] , C=0 , 5+3+0=8 , A->8 , C->0
[5,3,7,7,5,9,1,4] + [2,1,2,4,3,8,3,0,1,3,7] , A=[8,8] , C=0 , 4+7+0=11 , A->1 , C->1
[5,3,7,7,5,9,1] + [2,1,2,4,3,8,3,0,1,3] , A=[1,8,8] , C=1 , 1+3+1=5 , A->5 , C->0
[5,3,7,7,5,9] + [2,1,2,4,3,8,3,0,1] , A=[5,1,8,8] , C=0 , 9+1+0=10 , A->0 , C->1
[5,3,7,7,5] + [2,1,2,4,3,8,3,0] , A=[0,5,1,8,8] , C=1 , 5+0+1=6 , A->6 , C->0
[5,3,7,7] + [2,1,2,4,3,8,3] , A=[6,0,5,1,8,8] , C=0 , 7+3+0=10 , A->0 , C->1
[5,3,7] + [2,1,2,4,3,8] , A=[0,6,0,5,1,8,8] , C=1 , 7+8+1=16 , A->6 , C->1
[5,3] + [2,1,2,4,3] , A=[6,0,6,0,5,1,8,8] , C=1 , 3+3+1=7 , A->7 , C->0
[5] + [2,1,2,4] , A=[7,6,0,6,0,5,1,8,8] , C=0 , 5+4+0=9 , A->9 , C->0
[] + [2,1,2] , A=[9,7,6,0,6,0,5,1,8,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [2,1] , A=[2,9,7,6,0,6,0,5,1,8,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [2] , A=[1,2,9,7,6,0,6,0,5,1,8,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,1,2,9,7,6,0,6,0,5,1,8,8] C=0 , END
</scratch>
2129760605188
| 2129760605188 | 10 |
Input:
9136+9274441606678
Target:
| Input:
9136+9274441606678
Target:
[9,1,3,6] + [9,2,7,4,4,4,1,6,0,6,6,7,8] , A=[] , C=0 , 6+8+0=14 , A->4 , C->1
[9,1,3] + [9,2,7,4,4,4,1,6,0,6,6,7] , A=[4] , C=1 , 3+7+1=11 , A->1 , C->1
[9,1] + [9,2,7,4,4,4,1,6,0,6,6] , A=[1,4] , C=1 , 1+6+1=8 , A->8 , C->0
[9] + [9,2,7,4,4,4,1,6,0,6] , A=[8,1,4] , C=0 , 9+6+0=15 , A->5 , C->1
[] + [9,2,7,4,4,4,1,6,0] , A=[5,8,1,4] , C=1 , 0+0+1=1 , A->1 , C->0
[] + [9,2,7,4,4,4,1,6] , A=[1,5,8,1,4] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [9,2,7,4,4,4,1] , A=[6,1,5,8,1,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [9,2,7,4,4,4] , A=[1,6,1,5,8,1,4] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [9,2,7,4,4] , A=[4,1,6,1,5,8,1,4] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [9,2,7,4] , A=[4,4,1,6,1,5,8,1,4] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [9,2,7] , A=[4,4,4,1,6,1,5,8,1,4] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [9,2] , A=[7,4,4,4,1,6,1,5,8,1,4] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9] , A=[2,7,4,4,4,1,6,1,5,8,1,4] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,2,7,4,4,4,1,6,1,5,8,1,4] C=0 , END
</scratch>
9274441615814
| 9274441615814 | 4 |
Input:
4125335127453+130097
Target:
| Input:
4125335127453+130097
Target:
[4,1,2,5,3,3,5,1,2,7,4,5,3] + [1,3,0,0,9,7] , A=[] , C=0 , 3+7+0=10 , A->0 , C->1
[4,1,2,5,3,3,5,1,2,7,4,5] + [1,3,0,0,9] , A=[0] , C=1 , 5+9+1=15 , A->5 , C->1
[4,1,2,5,3,3,5,1,2,7,4] + [1,3,0,0] , A=[5,0] , C=1 , 4+0+1=5 , A->5 , C->0
[4,1,2,5,3,3,5,1,2,7] + [1,3,0] , A=[5,5,0] , C=0 , 7+0+0=7 , A->7 , C->0
[4,1,2,5,3,3,5,1,2] + [1,3] , A=[7,5,5,0] , C=0 , 2+3+0=5 , A->5 , C->0
[4,1,2,5,3,3,5,1] + [1] , A=[5,7,5,5,0] , C=0 , 1+1+0=2 , A->2 , C->0
[4,1,2,5,3,3,5] + [] , A=[2,5,7,5,5,0] , C=0 , 5+0+0=5 , A->5 , C->0
[4,1,2,5,3,3] + [] , A=[5,2,5,7,5,5,0] , C=0 , 3+0+0=3 , A->3 , C->0
[4,1,2,5,3] + [] , A=[3,5,2,5,7,5,5,0] , C=0 , 3+0+0=3 , A->3 , C->0
[4,1,2,5] + [] , A=[3,3,5,2,5,7,5,5,0] , C=0 , 5+0+0=5 , A->5 , C->0
[4,1,2] + [] , A=[5,3,3,5,2,5,7,5,5,0] , C=0 , 2+0+0=2 , A->2 , C->0
[4,1] + [] , A=[2,5,3,3,5,2,5,7,5,5,0] , C=0 , 1+0+0=1 , A->1 , C->0
[4] + [] , A=[1,2,5,3,3,5,2,5,7,5,5,0] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,1,2,5,3,3,5,2,5,7,5,5,0] C=0 , END
</scratch>
4125335257550
| 4125335257550 | 6 |
Input:
1908146910022+70
Target:
| Input:
1908146910022+70
Target:
[1,9,0,8,1,4,6,9,1,0,0,2,2] + [7,0] , A=[] , C=0 , 2+0+0=2 , A->2 , C->0
[1,9,0,8,1,4,6,9,1,0,0,2] + [7] , A=[2] , C=0 , 2+7+0=9 , A->9 , C->0
[1,9,0,8,1,4,6,9,1,0,0] + [] , A=[9,2] , C=0 , 0+0+0=0 , A->0 , C->0
[1,9,0,8,1,4,6,9,1,0] + [] , A=[0,9,2] , C=0 , 0+0+0=0 , A->0 , C->0
[1,9,0,8,1,4,6,9,1] + [] , A=[0,0,9,2] , C=0 , 1+0+0=1 , A->1 , C->0
[1,9,0,8,1,4,6,9] + [] , A=[1,0,0,9,2] , C=0 , 9+0+0=9 , A->9 , C->0
[1,9,0,8,1,4,6] + [] , A=[9,1,0,0,9,2] , C=0 , 6+0+0=6 , A->6 , C->0
[1,9,0,8,1,4] + [] , A=[6,9,1,0,0,9,2] , C=0 , 4+0+0=4 , A->4 , C->0
[1,9,0,8,1] + [] , A=[4,6,9,1,0,0,9,2] , C=0 , 1+0+0=1 , A->1 , C->0
[1,9,0,8] + [] , A=[1,4,6,9,1,0,0,9,2] , C=0 , 8+0+0=8 , A->8 , C->0
[1,9,0] + [] , A=[8,1,4,6,9,1,0,0,9,2] , C=0 , 0+0+0=0 , A->0 , C->0
[1,9] + [] , A=[0,8,1,4,6,9,1,0,0,9,2] , C=0 , 9+0+0=9 , A->9 , C->0
[1] + [] , A=[9,0,8,1,4,6,9,1,0,0,9,2] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,9,0,8,1,4,6,9,1,0,0,9,2] C=0 , END
</scratch>
1908146910092
| 1908146910092 | 2 |
Input:
33301+3238711016616
Target:
| Input:
33301+3238711016616
Target:
[3,3,3,0,1] + [3,2,3,8,7,1,1,0,1,6,6,1,6] , A=[] , C=0 , 1+6+0=7 , A->7 , C->0
[3,3,3,0] + [3,2,3,8,7,1,1,0,1,6,6,1] , A=[7] , C=0 , 0+1+0=1 , A->1 , C->0
[3,3,3] + [3,2,3,8,7,1,1,0,1,6,6] , A=[1,7] , C=0 , 3+6+0=9 , A->9 , C->0
[3,3] + [3,2,3,8,7,1,1,0,1,6] , A=[9,1,7] , C=0 , 3+6+0=9 , A->9 , C->0
[3] + [3,2,3,8,7,1,1,0,1] , A=[9,9,1,7] , C=0 , 3+1+0=4 , A->4 , C->0
[] + [3,2,3,8,7,1,1,0] , A=[4,9,9,1,7] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [3,2,3,8,7,1,1] , A=[0,4,9,9,1,7] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [3,2,3,8,7,1] , A=[1,0,4,9,9,1,7] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [3,2,3,8,7] , A=[1,1,0,4,9,9,1,7] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [3,2,3,8] , A=[7,1,1,0,4,9,9,1,7] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [3,2,3] , A=[8,7,1,1,0,4,9,9,1,7] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [3,2] , A=[3,8,7,1,1,0,4,9,9,1,7] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [3] , A=[2,3,8,7,1,1,0,4,9,9,1,7] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [] , A=[3,2,3,8,7,1,1,0,4,9,9,1,7] C=0 , END
</scratch>
3238711049917
| 3238711049917 | 5 |
Input:
310030052+1316412969362
Target:
| Input:
310030052+1316412969362
Target:
[3,1,0,0,3,0,0,5,2] + [1,3,1,6,4,1,2,9,6,9,3,6,2] , A=[] , C=0 , 2+2+0=4 , A->4 , C->0
[3,1,0,0,3,0,0,5] + [1,3,1,6,4,1,2,9,6,9,3,6] , A=[4] , C=0 , 5+6+0=11 , A->1 , C->1
[3,1,0,0,3,0,0] + [1,3,1,6,4,1,2,9,6,9,3] , A=[1,4] , C=1 , 0+3+1=4 , A->4 , C->0
[3,1,0,0,3,0] + [1,3,1,6,4,1,2,9,6,9] , A=[4,1,4] , C=0 , 0+9+0=9 , A->9 , C->0
[3,1,0,0,3] + [1,3,1,6,4,1,2,9,6] , A=[9,4,1,4] , C=0 , 3+6+0=9 , A->9 , C->0
[3,1,0,0] + [1,3,1,6,4,1,2,9] , A=[9,9,4,1,4] , C=0 , 0+9+0=9 , A->9 , C->0
[3,1,0] + [1,3,1,6,4,1,2] , A=[9,9,9,4,1,4] , C=0 , 0+2+0=2 , A->2 , C->0
[3,1] + [1,3,1,6,4,1] , A=[2,9,9,9,4,1,4] , C=0 , 1+1+0=2 , A->2 , C->0
[3] + [1,3,1,6,4] , A=[2,2,9,9,9,4,1,4] , C=0 , 3+4+0=7 , A->7 , C->0
[] + [1,3,1,6] , A=[7,2,2,9,9,9,4,1,4] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [1,3,1] , A=[6,7,2,2,9,9,9,4,1,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [1,3] , A=[1,6,7,2,2,9,9,9,4,1,4] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [1] , A=[3,1,6,7,2,2,9,9,9,4,1,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,3,1,6,7,2,2,9,9,9,4,1,4] C=0 , END
</scratch>
1316722999414
| 1316722999414 | 9 |
Input:
9106418933473+9898298560583
Target:
| Input:
9106418933473+9898298560583
Target:
[9,1,0,6,4,1,8,9,3,3,4,7,3] + [9,8,9,8,2,9,8,5,6,0,5,8,3] , A=[] , C=0 , 3+3+0=6 , A->6 , C->0
[9,1,0,6,4,1,8,9,3,3,4,7] + [9,8,9,8,2,9,8,5,6,0,5,8] , A=[6] , C=0 , 7+8+0=15 , A->5 , C->1
[9,1,0,6,4,1,8,9,3,3,4] + [9,8,9,8,2,9,8,5,6,0,5] , A=[5,6] , C=1 , 4+5+1=10 , A->0 , C->1
[9,1,0,6,4,1,8,9,3,3] + [9,8,9,8,2,9,8,5,6,0] , A=[0,5,6] , C=1 , 3+0+1=4 , A->4 , C->0
[9,1,0,6,4,1,8,9,3] + [9,8,9,8,2,9,8,5,6] , A=[4,0,5,6] , C=0 , 3+6+0=9 , A->9 , C->0
[9,1,0,6,4,1,8,9] + [9,8,9,8,2,9,8,5] , A=[9,4,0,5,6] , C=0 , 9+5+0=14 , A->4 , C->1
[9,1,0,6,4,1,8] + [9,8,9,8,2,9,8] , A=[4,9,4,0,5,6] , C=1 , 8+8+1=17 , A->7 , C->1
[9,1,0,6,4,1] + [9,8,9,8,2,9] , A=[7,4,9,4,0,5,6] , C=1 , 1+9+1=11 , A->1 , C->1
[9,1,0,6,4] + [9,8,9,8,2] , A=[1,7,4,9,4,0,5,6] , C=1 , 4+2+1=7 , A->7 , C->0
[9,1,0,6] + [9,8,9,8] , A=[7,1,7,4,9,4,0,5,6] , C=0 , 6+8+0=14 , A->4 , C->1
[9,1,0] + [9,8,9] , A=[4,7,1,7,4,9,4,0,5,6] , C=1 , 0+9+1=10 , A->0 , C->1
[9,1] + [9,8] , A=[0,4,7,1,7,4,9,4,0,5,6] , C=1 , 1+8+1=10 , A->0 , C->1
[9] + [9] , A=[0,0,4,7,1,7,4,9,4,0,5,6] , C=1 , 9+9+1=19 , A->9 , C->1
[] + [] , A=[9,0,0,4,7,1,7,4,9,4,0,5,6] C=1 , END
</scratch>
19004717494056
| 19004717494056 | 13 |
Input:
8320051212567+45
Target:
| Input:
8320051212567+45
Target:
[8,3,2,0,0,5,1,2,1,2,5,6,7] + [4,5] , A=[] , C=0 , 7+5+0=12 , A->2 , C->1
[8,3,2,0,0,5,1,2,1,2,5,6] + [4] , A=[2] , C=1 , 6+4+1=11 , A->1 , C->1
[8,3,2,0,0,5,1,2,1,2,5] + [] , A=[1,2] , C=1 , 5+0+1=6 , A->6 , C->0
[8,3,2,0,0,5,1,2,1,2] + [] , A=[6,1,2] , C=0 , 2+0+0=2 , A->2 , C->0
[8,3,2,0,0,5,1,2,1] + [] , A=[2,6,1,2] , C=0 , 1+0+0=1 , A->1 , C->0
[8,3,2,0,0,5,1,2] + [] , A=[1,2,6,1,2] , C=0 , 2+0+0=2 , A->2 , C->0
[8,3,2,0,0,5,1] + [] , A=[2,1,2,6,1,2] , C=0 , 1+0+0=1 , A->1 , C->0
[8,3,2,0,0,5] + [] , A=[1,2,1,2,6,1,2] , C=0 , 5+0+0=5 , A->5 , C->0
[8,3,2,0,0] + [] , A=[5,1,2,1,2,6,1,2] , C=0 , 0+0+0=0 , A->0 , C->0
[8,3,2,0] + [] , A=[0,5,1,2,1,2,6,1,2] , C=0 , 0+0+0=0 , A->0 , C->0
[8,3,2] + [] , A=[0,0,5,1,2,1,2,6,1,2] , C=0 , 2+0+0=2 , A->2 , C->0
[8,3] + [] , A=[2,0,0,5,1,2,1,2,6,1,2] , C=0 , 3+0+0=3 , A->3 , C->0
[8] + [] , A=[3,2,0,0,5,1,2,1,2,6,1,2] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,3,2,0,0,5,1,2,1,2,6,1,2] C=0 , END
</scratch>
8320051212612
| 8320051212612 | 2 |
Input:
4856416424276+704829033
Target:
| Input:
4856416424276+704829033
Target:
[4,8,5,6,4,1,6,4,2,4,2,7,6] + [7,0,4,8,2,9,0,3,3] , A=[] , C=0 , 6+3+0=9 , A->9 , C->0
[4,8,5,6,4,1,6,4,2,4,2,7] + [7,0,4,8,2,9,0,3] , A=[9] , C=0 , 7+3+0=10 , A->0 , C->1
[4,8,5,6,4,1,6,4,2,4,2] + [7,0,4,8,2,9,0] , A=[0,9] , C=1 , 2+0+1=3 , A->3 , C->0
[4,8,5,6,4,1,6,4,2,4] + [7,0,4,8,2,9] , A=[3,0,9] , C=0 , 4+9+0=13 , A->3 , C->1
[4,8,5,6,4,1,6,4,2] + [7,0,4,8,2] , A=[3,3,0,9] , C=1 , 2+2+1=5 , A->5 , C->0
[4,8,5,6,4,1,6,4] + [7,0,4,8] , A=[5,3,3,0,9] , C=0 , 4+8+0=12 , A->2 , C->1
[4,8,5,6,4,1,6] + [7,0,4] , A=[2,5,3,3,0,9] , C=1 , 6+4+1=11 , A->1 , C->1
[4,8,5,6,4,1] + [7,0] , A=[1,2,5,3,3,0,9] , C=1 , 1+0+1=2 , A->2 , C->0
[4,8,5,6,4] + [7] , A=[2,1,2,5,3,3,0,9] , C=0 , 4+7+0=11 , A->1 , C->1
[4,8,5,6] + [] , A=[1,2,1,2,5,3,3,0,9] , C=1 , 6+0+1=7 , A->7 , C->0
[4,8,5] + [] , A=[7,1,2,1,2,5,3,3,0,9] , C=0 , 5+0+0=5 , A->5 , C->0
[4,8] + [] , A=[5,7,1,2,1,2,5,3,3,0,9] , C=0 , 8+0+0=8 , A->8 , C->0
[4] + [] , A=[8,5,7,1,2,1,2,5,3,3,0,9] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,8,5,7,1,2,1,2,5,3,3,0,9] C=0 , END
</scratch>
4857121253309
| 4857121253309 | 9 |
Input:
41994297+4081548908265
Target:
| Input:
41994297+4081548908265
Target:
[4,1,9,9,4,2,9,7] + [4,0,8,1,5,4,8,9,0,8,2,6,5] , A=[] , C=0 , 7+5+0=12 , A->2 , C->1
[4,1,9,9,4,2,9] + [4,0,8,1,5,4,8,9,0,8,2,6] , A=[2] , C=1 , 9+6+1=16 , A->6 , C->1
[4,1,9,9,4,2] + [4,0,8,1,5,4,8,9,0,8,2] , A=[6,2] , C=1 , 2+2+1=5 , A->5 , C->0
[4,1,9,9,4] + [4,0,8,1,5,4,8,9,0,8] , A=[5,6,2] , C=0 , 4+8+0=12 , A->2 , C->1
[4,1,9,9] + [4,0,8,1,5,4,8,9,0] , A=[2,5,6,2] , C=1 , 9+0+1=10 , A->0 , C->1
[4,1,9] + [4,0,8,1,5,4,8,9] , A=[0,2,5,6,2] , C=1 , 9+9+1=19 , A->9 , C->1
[4,1] + [4,0,8,1,5,4,8] , A=[9,0,2,5,6,2] , C=1 , 1+8+1=10 , A->0 , C->1
[4] + [4,0,8,1,5,4] , A=[0,9,0,2,5,6,2] , C=1 , 4+4+1=9 , A->9 , C->0
[] + [4,0,8,1,5] , A=[9,0,9,0,2,5,6,2] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [4,0,8,1] , A=[5,9,0,9,0,2,5,6,2] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [4,0,8] , A=[1,5,9,0,9,0,2,5,6,2] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [4,0] , A=[8,1,5,9,0,9,0,2,5,6,2] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [4] , A=[0,8,1,5,9,0,9,0,2,5,6,2] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,0,8,1,5,9,0,9,0,2,5,6,2] C=0 , END
</scratch>
4081590902562
| 4081590902562 | 8 |
Input:
44150667755+8663654705629
Target:
| Input:
44150667755+8663654705629
Target:
[4,4,1,5,0,6,6,7,7,5,5] + [8,6,6,3,6,5,4,7,0,5,6,2,9] , A=[] , C=0 , 5+9+0=14 , A->4 , C->1
[4,4,1,5,0,6,6,7,7,5] + [8,6,6,3,6,5,4,7,0,5,6,2] , A=[4] , C=1 , 5+2+1=8 , A->8 , C->0
[4,4,1,5,0,6,6,7,7] + [8,6,6,3,6,5,4,7,0,5,6] , A=[8,4] , C=0 , 7+6+0=13 , A->3 , C->1
[4,4,1,5,0,6,6,7] + [8,6,6,3,6,5,4,7,0,5] , A=[3,8,4] , C=1 , 7+5+1=13 , A->3 , C->1
[4,4,1,5,0,6,6] + [8,6,6,3,6,5,4,7,0] , A=[3,3,8,4] , C=1 , 6+0+1=7 , A->7 , C->0
[4,4,1,5,0,6] + [8,6,6,3,6,5,4,7] , A=[7,3,3,8,4] , C=0 , 6+7+0=13 , A->3 , C->1
[4,4,1,5,0] + [8,6,6,3,6,5,4] , A=[3,7,3,3,8,4] , C=1 , 0+4+1=5 , A->5 , C->0
[4,4,1,5] + [8,6,6,3,6,5] , A=[5,3,7,3,3,8,4] , C=0 , 5+5+0=10 , A->0 , C->1
[4,4,1] + [8,6,6,3,6] , A=[0,5,3,7,3,3,8,4] , C=1 , 1+6+1=8 , A->8 , C->0
[4,4] + [8,6,6,3] , A=[8,0,5,3,7,3,3,8,4] , C=0 , 4+3+0=7 , A->7 , C->0
[4] + [8,6,6] , A=[7,8,0,5,3,7,3,3,8,4] , C=0 , 4+6+0=10 , A->0 , C->1
[] + [8,6] , A=[0,7,8,0,5,3,7,3,3,8,4] , C=1 , 0+6+1=7 , A->7 , C->0
[] + [8] , A=[7,0,7,8,0,5,3,7,3,3,8,4] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [] , A=[8,7,0,7,8,0,5,3,7,3,3,8,4] C=0 , END
</scratch>
8707805373384
| 8707805373384 | 11 |
Input:
9918298875828+65227
Target:
| Input:
9918298875828+65227
Target:
[9,9,1,8,2,9,8,8,7,5,8,2,8] + [6,5,2,2,7] , A=[] , C=0 , 8+7+0=15 , A->5 , C->1
[9,9,1,8,2,9,8,8,7,5,8,2] + [6,5,2,2] , A=[5] , C=1 , 2+2+1=5 , A->5 , C->0
[9,9,1,8,2,9,8,8,7,5,8] + [6,5,2] , A=[5,5] , C=0 , 8+2+0=10 , A->0 , C->1
[9,9,1,8,2,9,8,8,7,5] + [6,5] , A=[0,5,5] , C=1 , 5+5+1=11 , A->1 , C->1
[9,9,1,8,2,9,8,8,7] + [6] , A=[1,0,5,5] , C=1 , 7+6+1=14 , A->4 , C->1
[9,9,1,8,2,9,8,8] + [] , A=[4,1,0,5,5] , C=1 , 8+0+1=9 , A->9 , C->0
[9,9,1,8,2,9,8] + [] , A=[9,4,1,0,5,5] , C=0 , 8+0+0=8 , A->8 , C->0
[9,9,1,8,2,9] + [] , A=[8,9,4,1,0,5,5] , C=0 , 9+0+0=9 , A->9 , C->0
[9,9,1,8,2] + [] , A=[9,8,9,4,1,0,5,5] , C=0 , 2+0+0=2 , A->2 , C->0
[9,9,1,8] + [] , A=[2,9,8,9,4,1,0,5,5] , C=0 , 8+0+0=8 , A->8 , C->0
[9,9,1] + [] , A=[8,2,9,8,9,4,1,0,5,5] , C=0 , 1+0+0=1 , A->1 , C->0
[9,9] + [] , A=[1,8,2,9,8,9,4,1,0,5,5] , C=0 , 9+0+0=9 , A->9 , C->0
[9] + [] , A=[9,1,8,2,9,8,9,4,1,0,5,5] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,9,1,8,2,9,8,9,4,1,0,5,5] C=0 , END
</scratch>
9918298941055
| 9918298941055 | 5 |
Input:
1517+4083617666623
Target:
| Input:
1517+4083617666623
Target:
[1,5,1,7] + [4,0,8,3,6,1,7,6,6,6,6,2,3] , A=[] , C=0 , 7+3+0=10 , A->0 , C->1
[1,5,1] + [4,0,8,3,6,1,7,6,6,6,6,2] , A=[0] , C=1 , 1+2+1=4 , A->4 , C->0
[1,5] + [4,0,8,3,6,1,7,6,6,6,6] , A=[4,0] , C=0 , 5+6+0=11 , A->1 , C->1
[1] + [4,0,8,3,6,1,7,6,6,6] , A=[1,4,0] , C=1 , 1+6+1=8 , A->8 , C->0
[] + [4,0,8,3,6,1,7,6,6] , A=[8,1,4,0] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [4,0,8,3,6,1,7,6] , A=[6,8,1,4,0] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [4,0,8,3,6,1,7] , A=[6,6,8,1,4,0] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [4,0,8,3,6,1] , A=[7,6,6,8,1,4,0] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [4,0,8,3,6] , A=[1,7,6,6,8,1,4,0] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [4,0,8,3] , A=[6,1,7,6,6,8,1,4,0] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [4,0,8] , A=[3,6,1,7,6,6,8,1,4,0] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [4,0] , A=[8,3,6,1,7,6,6,8,1,4,0] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [4] , A=[0,8,3,6,1,7,6,6,8,1,4,0] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,0,8,3,6,1,7,6,6,8,1,4,0] C=0 , END
</scratch>
4083617668140
| 4083617668140 | 4 |
Input:
1890004395339+3570901262606
Target:
| Input:
1890004395339+3570901262606
Target:
[1,8,9,0,0,0,4,3,9,5,3,3,9] + [3,5,7,0,9,0,1,2,6,2,6,0,6] , A=[] , C=0 , 9+6+0=15 , A->5 , C->1
[1,8,9,0,0,0,4,3,9,5,3,3] + [3,5,7,0,9,0,1,2,6,2,6,0] , A=[5] , C=1 , 3+0+1=4 , A->4 , C->0
[1,8,9,0,0,0,4,3,9,5,3] + [3,5,7,0,9,0,1,2,6,2,6] , A=[4,5] , C=0 , 3+6+0=9 , A->9 , C->0
[1,8,9,0,0,0,4,3,9,5] + [3,5,7,0,9,0,1,2,6,2] , A=[9,4,5] , C=0 , 5+2+0=7 , A->7 , C->0
[1,8,9,0,0,0,4,3,9] + [3,5,7,0,9,0,1,2,6] , A=[7,9,4,5] , C=0 , 9+6+0=15 , A->5 , C->1
[1,8,9,0,0,0,4,3] + [3,5,7,0,9,0,1,2] , A=[5,7,9,4,5] , C=1 , 3+2+1=6 , A->6 , C->0
[1,8,9,0,0,0,4] + [3,5,7,0,9,0,1] , A=[6,5,7,9,4,5] , C=0 , 4+1+0=5 , A->5 , C->0
[1,8,9,0,0,0] + [3,5,7,0,9,0] , A=[5,6,5,7,9,4,5] , C=0 , 0+0+0=0 , A->0 , C->0
[1,8,9,0,0] + [3,5,7,0,9] , A=[0,5,6,5,7,9,4,5] , C=0 , 0+9+0=9 , A->9 , C->0
[1,8,9,0] + [3,5,7,0] , A=[9,0,5,6,5,7,9,4,5] , C=0 , 0+0+0=0 , A->0 , C->0
[1,8,9] + [3,5,7] , A=[0,9,0,5,6,5,7,9,4,5] , C=0 , 9+7+0=16 , A->6 , C->1
[1,8] + [3,5] , A=[6,0,9,0,5,6,5,7,9,4,5] , C=1 , 8+5+1=14 , A->4 , C->1
[1] + [3] , A=[4,6,0,9,0,5,6,5,7,9,4,5] , C=1 , 1+3+1=5 , A->5 , C->0
[] + [] , A=[5,4,6,0,9,0,5,6,5,7,9,4,5] C=0 , END
</scratch>
5460905657945
| 5460905657945 | 13 |
Input:
1882799399897+716096
Target:
| Input:
1882799399897+716096
Target:
[1,8,8,2,7,9,9,3,9,9,8,9,7] + [7,1,6,0,9,6] , A=[] , C=0 , 7+6+0=13 , A->3 , C->1
[1,8,8,2,7,9,9,3,9,9,8,9] + [7,1,6,0,9] , A=[3] , C=1 , 9+9+1=19 , A->9 , C->1
[1,8,8,2,7,9,9,3,9,9,8] + [7,1,6,0] , A=[9,3] , C=1 , 8+0+1=9 , A->9 , C->0
[1,8,8,2,7,9,9,3,9,9] + [7,1,6] , A=[9,9,3] , C=0 , 9+6+0=15 , A->5 , C->1
[1,8,8,2,7,9,9,3,9] + [7,1] , A=[5,9,9,3] , C=1 , 9+1+1=11 , A->1 , C->1
[1,8,8,2,7,9,9,3] + [7] , A=[1,5,9,9,3] , C=1 , 3+7+1=11 , A->1 , C->1
[1,8,8,2,7,9,9] + [] , A=[1,1,5,9,9,3] , C=1 , 9+0+1=10 , A->0 , C->1
[1,8,8,2,7,9] + [] , A=[0,1,1,5,9,9,3] , C=1 , 9+0+1=10 , A->0 , C->1
[1,8,8,2,7] + [] , A=[0,0,1,1,5,9,9,3] , C=1 , 7+0+1=8 , A->8 , C->0
[1,8,8,2] + [] , A=[8,0,0,1,1,5,9,9,3] , C=0 , 2+0+0=2 , A->2 , C->0
[1,8,8] + [] , A=[2,8,0,0,1,1,5,9,9,3] , C=0 , 8+0+0=8 , A->8 , C->0
[1,8] + [] , A=[8,2,8,0,0,1,1,5,9,9,3] , C=0 , 8+0+0=8 , A->8 , C->0
[1] + [] , A=[8,8,2,8,0,0,1,1,5,9,9,3] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,8,8,2,8,0,0,1,1,5,9,9,3] C=0 , END
</scratch>
1882800115993
| 1882800115993 | 6 |
Input:
3976624358549+30532
Target:
| Input:
3976624358549+30532
Target:
[3,9,7,6,6,2,4,3,5,8,5,4,9] + [3,0,5,3,2] , A=[] , C=0 , 9+2+0=11 , A->1 , C->1
[3,9,7,6,6,2,4,3,5,8,5,4] + [3,0,5,3] , A=[1] , C=1 , 4+3+1=8 , A->8 , C->0
[3,9,7,6,6,2,4,3,5,8,5] + [3,0,5] , A=[8,1] , C=0 , 5+5+0=10 , A->0 , C->1
[3,9,7,6,6,2,4,3,5,8] + [3,0] , A=[0,8,1] , C=1 , 8+0+1=9 , A->9 , C->0
[3,9,7,6,6,2,4,3,5] + [3] , A=[9,0,8,1] , C=0 , 5+3+0=8 , A->8 , C->0
[3,9,7,6,6,2,4,3] + [] , A=[8,9,0,8,1] , C=0 , 3+0+0=3 , A->3 , C->0
[3,9,7,6,6,2,4] + [] , A=[3,8,9,0,8,1] , C=0 , 4+0+0=4 , A->4 , C->0
[3,9,7,6,6,2] + [] , A=[4,3,8,9,0,8,1] , C=0 , 2+0+0=2 , A->2 , C->0
[3,9,7,6,6] + [] , A=[2,4,3,8,9,0,8,1] , C=0 , 6+0+0=6 , A->6 , C->0
[3,9,7,6] + [] , A=[6,2,4,3,8,9,0,8,1] , C=0 , 6+0+0=6 , A->6 , C->0
[3,9,7] + [] , A=[6,6,2,4,3,8,9,0,8,1] , C=0 , 7+0+0=7 , A->7 , C->0
[3,9] + [] , A=[7,6,6,2,4,3,8,9,0,8,1] , C=0 , 9+0+0=9 , A->9 , C->0
[3] + [] , A=[9,7,6,6,2,4,3,8,9,0,8,1] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,9,7,6,6,2,4,3,8,9,0,8,1] C=0 , END
</scratch>
3976624389081
| 3976624389081 | 5 |
Input:
41+6981831341795
Target:
| Input:
41+6981831341795
Target:
[4,1] + [6,9,8,1,8,3,1,3,4,1,7,9,5] , A=[] , C=0 , 1+5+0=6 , A->6 , C->0
[4] + [6,9,8,1,8,3,1,3,4,1,7,9] , A=[6] , C=0 , 4+9+0=13 , A->3 , C->1
[] + [6,9,8,1,8,3,1,3,4,1,7] , A=[3,6] , C=1 , 0+7+1=8 , A->8 , C->0
[] + [6,9,8,1,8,3,1,3,4,1] , A=[8,3,6] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [6,9,8,1,8,3,1,3,4] , A=[1,8,3,6] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [6,9,8,1,8,3,1,3] , A=[4,1,8,3,6] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [6,9,8,1,8,3,1] , A=[3,4,1,8,3,6] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [6,9,8,1,8,3] , A=[1,3,4,1,8,3,6] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [6,9,8,1,8] , A=[3,1,3,4,1,8,3,6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [6,9,8,1] , A=[8,3,1,3,4,1,8,3,6] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [6,9,8] , A=[1,8,3,1,3,4,1,8,3,6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [6,9] , A=[8,1,8,3,1,3,4,1,8,3,6] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [6] , A=[9,8,1,8,3,1,3,4,1,8,3,6] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,9,8,1,8,3,1,3,4,1,8,3,6] C=0 , END
</scratch>
6981831341836
| 6981831341836 | 2 |
Input:
8087546063570+4055726592903
Target:
| Input:
8087546063570+4055726592903
Target:
[8,0,8,7,5,4,6,0,6,3,5,7,0] + [4,0,5,5,7,2,6,5,9,2,9,0,3] , A=[] , C=0 , 0+3+0=3 , A->3 , C->0
[8,0,8,7,5,4,6,0,6,3,5,7] + [4,0,5,5,7,2,6,5,9,2,9,0] , A=[3] , C=0 , 7+0+0=7 , A->7 , C->0
[8,0,8,7,5,4,6,0,6,3,5] + [4,0,5,5,7,2,6,5,9,2,9] , A=[7,3] , C=0 , 5+9+0=14 , A->4 , C->1
[8,0,8,7,5,4,6,0,6,3] + [4,0,5,5,7,2,6,5,9,2] , A=[4,7,3] , C=1 , 3+2+1=6 , A->6 , C->0
[8,0,8,7,5,4,6,0,6] + [4,0,5,5,7,2,6,5,9] , A=[6,4,7,3] , C=0 , 6+9+0=15 , A->5 , C->1
[8,0,8,7,5,4,6,0] + [4,0,5,5,7,2,6,5] , A=[5,6,4,7,3] , C=1 , 0+5+1=6 , A->6 , C->0
[8,0,8,7,5,4,6] + [4,0,5,5,7,2,6] , A=[6,5,6,4,7,3] , C=0 , 6+6+0=12 , A->2 , C->1
[8,0,8,7,5,4] + [4,0,5,5,7,2] , A=[2,6,5,6,4,7,3] , C=1 , 4+2+1=7 , A->7 , C->0
[8,0,8,7,5] + [4,0,5,5,7] , A=[7,2,6,5,6,4,7,3] , C=0 , 5+7+0=12 , A->2 , C->1
[8,0,8,7] + [4,0,5,5] , A=[2,7,2,6,5,6,4,7,3] , C=1 , 7+5+1=13 , A->3 , C->1
[8,0,8] + [4,0,5] , A=[3,2,7,2,6,5,6,4,7,3] , C=1 , 8+5+1=14 , A->4 , C->1
[8,0] + [4,0] , A=[4,3,2,7,2,6,5,6,4,7,3] , C=1 , 0+0+1=1 , A->1 , C->0
[8] + [4] , A=[1,4,3,2,7,2,6,5,6,4,7,3] , C=0 , 8+4+0=12 , A->2 , C->1
[] + [] , A=[2,1,4,3,2,7,2,6,5,6,4,7,3] C=1 , END
</scratch>
12143272656473
| 12143272656473 | 13 |
Input:
404354813969+8982939086455
Target:
| Input:
404354813969+8982939086455
Target:
[4,0,4,3,5,4,8,1,3,9,6,9] + [8,9,8,2,9,3,9,0,8,6,4,5,5] , A=[] , C=0 , 9+5+0=14 , A->4 , C->1
[4,0,4,3,5,4,8,1,3,9,6] + [8,9,8,2,9,3,9,0,8,6,4,5] , A=[4] , C=1 , 6+5+1=12 , A->2 , C->1
[4,0,4,3,5,4,8,1,3,9] + [8,9,8,2,9,3,9,0,8,6,4] , A=[2,4] , C=1 , 9+4+1=14 , A->4 , C->1
[4,0,4,3,5,4,8,1,3] + [8,9,8,2,9,3,9,0,8,6] , A=[4,2,4] , C=1 , 3+6+1=10 , A->0 , C->1
[4,0,4,3,5,4,8,1] + [8,9,8,2,9,3,9,0,8] , A=[0,4,2,4] , C=1 , 1+8+1=10 , A->0 , C->1
[4,0,4,3,5,4,8] + [8,9,8,2,9,3,9,0] , A=[0,0,4,2,4] , C=1 , 8+0+1=9 , A->9 , C->0
[4,0,4,3,5,4] + [8,9,8,2,9,3,9] , A=[9,0,0,4,2,4] , C=0 , 4+9+0=13 , A->3 , C->1
[4,0,4,3,5] + [8,9,8,2,9,3] , A=[3,9,0,0,4,2,4] , C=1 , 5+3+1=9 , A->9 , C->0
[4,0,4,3] + [8,9,8,2,9] , A=[9,3,9,0,0,4,2,4] , C=0 , 3+9+0=12 , A->2 , C->1
[4,0,4] + [8,9,8,2] , A=[2,9,3,9,0,0,4,2,4] , C=1 , 4+2+1=7 , A->7 , C->0
[4,0] + [8,9,8] , A=[7,2,9,3,9,0,0,4,2,4] , C=0 , 0+8+0=8 , A->8 , C->0
[4] + [8,9] , A=[8,7,2,9,3,9,0,0,4,2,4] , C=0 , 4+9+0=13 , A->3 , C->1
[] + [8] , A=[3,8,7,2,9,3,9,0,0,4,2,4] , C=1 , 0+8+1=9 , A->9 , C->0
[] + [] , A=[9,3,8,7,2,9,3,9,0,0,4,2,4] C=0 , END
</scratch>
9387293900424
| 9387293900424 | 12 |
Input:
5048284899608+66964
Target:
| Input:
5048284899608+66964
Target:
[5,0,4,8,2,8,4,8,9,9,6,0,8] + [6,6,9,6,4] , A=[] , C=0 , 8+4+0=12 , A->2 , C->1
[5,0,4,8,2,8,4,8,9,9,6,0] + [6,6,9,6] , A=[2] , C=1 , 0+6+1=7 , A->7 , C->0
[5,0,4,8,2,8,4,8,9,9,6] + [6,6,9] , A=[7,2] , C=0 , 6+9+0=15 , A->5 , C->1
[5,0,4,8,2,8,4,8,9,9] + [6,6] , A=[5,7,2] , C=1 , 9+6+1=16 , A->6 , C->1
[5,0,4,8,2,8,4,8,9] + [6] , A=[6,5,7,2] , C=1 , 9+6+1=16 , A->6 , C->1
[5,0,4,8,2,8,4,8] + [] , A=[6,6,5,7,2] , C=1 , 8+0+1=9 , A->9 , C->0
[5,0,4,8,2,8,4] + [] , A=[9,6,6,5,7,2] , C=0 , 4+0+0=4 , A->4 , C->0
[5,0,4,8,2,8] + [] , A=[4,9,6,6,5,7,2] , C=0 , 8+0+0=8 , A->8 , C->0
[5,0,4,8,2] + [] , A=[8,4,9,6,6,5,7,2] , C=0 , 2+0+0=2 , A->2 , C->0
[5,0,4,8] + [] , A=[2,8,4,9,6,6,5,7,2] , C=0 , 8+0+0=8 , A->8 , C->0
[5,0,4] + [] , A=[8,2,8,4,9,6,6,5,7,2] , C=0 , 4+0+0=4 , A->4 , C->0
[5,0] + [] , A=[4,8,2,8,4,9,6,6,5,7,2] , C=0 , 0+0+0=0 , A->0 , C->0
[5] + [] , A=[0,4,8,2,8,4,9,6,6,5,7,2] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,0,4,8,2,8,4,9,6,6,5,7,2] C=0 , END
</scratch>
5048284966572
| 5048284966572 | 5 |
Input:
5008419939913+268810
Target:
| Input:
5008419939913+268810
Target:
[5,0,0,8,4,1,9,9,3,9,9,1,3] + [2,6,8,8,1,0] , A=[] , C=0 , 3+0+0=3 , A->3 , C->0
[5,0,0,8,4,1,9,9,3,9,9,1] + [2,6,8,8,1] , A=[3] , C=0 , 1+1+0=2 , A->2 , C->0
[5,0,0,8,4,1,9,9,3,9,9] + [2,6,8,8] , A=[2,3] , C=0 , 9+8+0=17 , A->7 , C->1
[5,0,0,8,4,1,9,9,3,9] + [2,6,8] , A=[7,2,3] , C=1 , 9+8+1=18 , A->8 , C->1
[5,0,0,8,4,1,9,9,3] + [2,6] , A=[8,7,2,3] , C=1 , 3+6+1=10 , A->0 , C->1
[5,0,0,8,4,1,9,9] + [2] , A=[0,8,7,2,3] , C=1 , 9+2+1=12 , A->2 , C->1
[5,0,0,8,4,1,9] + [] , A=[2,0,8,7,2,3] , C=1 , 9+0+1=10 , A->0 , C->1
[5,0,0,8,4,1] + [] , A=[0,2,0,8,7,2,3] , C=1 , 1+0+1=2 , A->2 , C->0
[5,0,0,8,4] + [] , A=[2,0,2,0,8,7,2,3] , C=0 , 4+0+0=4 , A->4 , C->0
[5,0,0,8] + [] , A=[4,2,0,2,0,8,7,2,3] , C=0 , 8+0+0=8 , A->8 , C->0
[5,0,0] + [] , A=[8,4,2,0,2,0,8,7,2,3] , C=0 , 0+0+0=0 , A->0 , C->0
[5,0] + [] , A=[0,8,4,2,0,2,0,8,7,2,3] , C=0 , 0+0+0=0 , A->0 , C->0
[5] + [] , A=[0,0,8,4,2,0,2,0,8,7,2,3] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,0,0,8,4,2,0,2,0,8,7,2,3] C=0 , END
</scratch>
5008420208723
| 5008420208723 | 6 |
Input:
2094279374928+5596773661244
Target:
| Input:
2094279374928+5596773661244
Target:
[2,0,9,4,2,7,9,3,7,4,9,2,8] + [5,5,9,6,7,7,3,6,6,1,2,4,4] , A=[] , C=0 , 8+4+0=12 , A->2 , C->1
[2,0,9,4,2,7,9,3,7,4,9,2] + [5,5,9,6,7,7,3,6,6,1,2,4] , A=[2] , C=1 , 2+4+1=7 , A->7 , C->0
[2,0,9,4,2,7,9,3,7,4,9] + [5,5,9,6,7,7,3,6,6,1,2] , A=[7,2] , C=0 , 9+2+0=11 , A->1 , C->1
[2,0,9,4,2,7,9,3,7,4] + [5,5,9,6,7,7,3,6,6,1] , A=[1,7,2] , C=1 , 4+1+1=6 , A->6 , C->0
[2,0,9,4,2,7,9,3,7] + [5,5,9,6,7,7,3,6,6] , A=[6,1,7,2] , C=0 , 7+6+0=13 , A->3 , C->1
[2,0,9,4,2,7,9,3] + [5,5,9,6,7,7,3,6] , A=[3,6,1,7,2] , C=1 , 3+6+1=10 , A->0 , C->1
[2,0,9,4,2,7,9] + [5,5,9,6,7,7,3] , A=[0,3,6,1,7,2] , C=1 , 9+3+1=13 , A->3 , C->1
[2,0,9,4,2,7] + [5,5,9,6,7,7] , A=[3,0,3,6,1,7,2] , C=1 , 7+7+1=15 , A->5 , C->1
[2,0,9,4,2] + [5,5,9,6,7] , A=[5,3,0,3,6,1,7,2] , C=1 , 2+7+1=10 , A->0 , C->1
[2,0,9,4] + [5,5,9,6] , A=[0,5,3,0,3,6,1,7,2] , C=1 , 4+6+1=11 , A->1 , C->1
[2,0,9] + [5,5,9] , A=[1,0,5,3,0,3,6,1,7,2] , C=1 , 9+9+1=19 , A->9 , C->1
[2,0] + [5,5] , A=[9,1,0,5,3,0,3,6,1,7,2] , C=1 , 0+5+1=6 , A->6 , C->0
[2] + [5] , A=[6,9,1,0,5,3,0,3,6,1,7,2] , C=0 , 2+5+0=7 , A->7 , C->0
[] + [] , A=[7,6,9,1,0,5,3,0,3,6,1,7,2] C=0 , END
</scratch>
7691053036172
| 7691053036172 | 13 |
Input:
14270949671+6459883728027
Target:
| Input:
14270949671+6459883728027
Target:
[1,4,2,7,0,9,4,9,6,7,1] + [6,4,5,9,8,8,3,7,2,8,0,2,7] , A=[] , C=0 , 1+7+0=8 , A->8 , C->0
[1,4,2,7,0,9,4,9,6,7] + [6,4,5,9,8,8,3,7,2,8,0,2] , A=[8] , C=0 , 7+2+0=9 , A->9 , C->0
[1,4,2,7,0,9,4,9,6] + [6,4,5,9,8,8,3,7,2,8,0] , A=[9,8] , C=0 , 6+0+0=6 , A->6 , C->0
[1,4,2,7,0,9,4,9] + [6,4,5,9,8,8,3,7,2,8] , A=[6,9,8] , C=0 , 9+8+0=17 , A->7 , C->1
[1,4,2,7,0,9,4] + [6,4,5,9,8,8,3,7,2] , A=[7,6,9,8] , C=1 , 4+2+1=7 , A->7 , C->0
[1,4,2,7,0,9] + [6,4,5,9,8,8,3,7] , A=[7,7,6,9,8] , C=0 , 9+7+0=16 , A->6 , C->1
[1,4,2,7,0] + [6,4,5,9,8,8,3] , A=[6,7,7,6,9,8] , C=1 , 0+3+1=4 , A->4 , C->0
[1,4,2,7] + [6,4,5,9,8,8] , A=[4,6,7,7,6,9,8] , C=0 , 7+8+0=15 , A->5 , C->1
[1,4,2] + [6,4,5,9,8] , A=[5,4,6,7,7,6,9,8] , C=1 , 2+8+1=11 , A->1 , C->1
[1,4] + [6,4,5,9] , A=[1,5,4,6,7,7,6,9,8] , C=1 , 4+9+1=14 , A->4 , C->1
[1] + [6,4,5] , A=[4,1,5,4,6,7,7,6,9,8] , C=1 , 1+5+1=7 , A->7 , C->0
[] + [6,4] , A=[7,4,1,5,4,6,7,7,6,9,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [6] , A=[4,7,4,1,5,4,6,7,7,6,9,8] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,4,7,4,1,5,4,6,7,7,6,9,8] C=0 , END
</scratch>
6474154677698
| 6474154677698 | 11 |
Input:
9707104472380+27775861
Target:
| Input:
9707104472380+27775861
Target:
[9,7,0,7,1,0,4,4,7,2,3,8,0] + [2,7,7,7,5,8,6,1] , A=[] , C=0 , 0+1+0=1 , A->1 , C->0
[9,7,0,7,1,0,4,4,7,2,3,8] + [2,7,7,7,5,8,6] , A=[1] , C=0 , 8+6+0=14 , A->4 , C->1
[9,7,0,7,1,0,4,4,7,2,3] + [2,7,7,7,5,8] , A=[4,1] , C=1 , 3+8+1=12 , A->2 , C->1
[9,7,0,7,1,0,4,4,7,2] + [2,7,7,7,5] , A=[2,4,1] , C=1 , 2+5+1=8 , A->8 , C->0
[9,7,0,7,1,0,4,4,7] + [2,7,7,7] , A=[8,2,4,1] , C=0 , 7+7+0=14 , A->4 , C->1
[9,7,0,7,1,0,4,4] + [2,7,7] , A=[4,8,2,4,1] , C=1 , 4+7+1=12 , A->2 , C->1
[9,7,0,7,1,0,4] + [2,7] , A=[2,4,8,2,4,1] , C=1 , 4+7+1=12 , A->2 , C->1
[9,7,0,7,1,0] + [2] , A=[2,2,4,8,2,4,1] , C=1 , 0+2+1=3 , A->3 , C->0
[9,7,0,7,1] + [] , A=[3,2,2,4,8,2,4,1] , C=0 , 1+0+0=1 , A->1 , C->0
[9,7,0,7] + [] , A=[1,3,2,2,4,8,2,4,1] , C=0 , 7+0+0=7 , A->7 , C->0
[9,7,0] + [] , A=[7,1,3,2,2,4,8,2,4,1] , C=0 , 0+0+0=0 , A->0 , C->0
[9,7] + [] , A=[0,7,1,3,2,2,4,8,2,4,1] , C=0 , 7+0+0=7 , A->7 , C->0
[9] + [] , A=[7,0,7,1,3,2,2,4,8,2,4,1] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,7,0,7,1,3,2,2,4,8,2,4,1] C=0 , END
</scratch>
9707132248241
| 9707132248241 | 8 |
Input:
6457737145829+565943346714
Target:
| Input:
6457737145829+565943346714
Target:
[6,4,5,7,7,3,7,1,4,5,8,2,9] + [5,6,5,9,4,3,3,4,6,7,1,4] , A=[] , C=0 , 9+4+0=13 , A->3 , C->1
[6,4,5,7,7,3,7,1,4,5,8,2] + [5,6,5,9,4,3,3,4,6,7,1] , A=[3] , C=1 , 2+1+1=4 , A->4 , C->0
[6,4,5,7,7,3,7,1,4,5,8] + [5,6,5,9,4,3,3,4,6,7] , A=[4,3] , C=0 , 8+7+0=15 , A->5 , C->1
[6,4,5,7,7,3,7,1,4,5] + [5,6,5,9,4,3,3,4,6] , A=[5,4,3] , C=1 , 5+6+1=12 , A->2 , C->1
[6,4,5,7,7,3,7,1,4] + [5,6,5,9,4,3,3,4] , A=[2,5,4,3] , C=1 , 4+4+1=9 , A->9 , C->0
[6,4,5,7,7,3,7,1] + [5,6,5,9,4,3,3] , A=[9,2,5,4,3] , C=0 , 1+3+0=4 , A->4 , C->0
[6,4,5,7,7,3,7] + [5,6,5,9,4,3] , A=[4,9,2,5,4,3] , C=0 , 7+3+0=10 , A->0 , C->1
[6,4,5,7,7,3] + [5,6,5,9,4] , A=[0,4,9,2,5,4,3] , C=1 , 3+4+1=8 , A->8 , C->0
[6,4,5,7,7] + [5,6,5,9] , A=[8,0,4,9,2,5,4,3] , C=0 , 7+9+0=16 , A->6 , C->1
[6,4,5,7] + [5,6,5] , A=[6,8,0,4,9,2,5,4,3] , C=1 , 7+5+1=13 , A->3 , C->1
[6,4,5] + [5,6] , A=[3,6,8,0,4,9,2,5,4,3] , C=1 , 5+6+1=12 , A->2 , C->1
[6,4] + [5] , A=[2,3,6,8,0,4,9,2,5,4,3] , C=1 , 4+5+1=10 , A->0 , C->1
[6] + [] , A=[0,2,3,6,8,0,4,9,2,5,4,3] , C=1 , 6+0+1=7 , A->7 , C->0
[] + [] , A=[7,0,2,3,6,8,0,4,9,2,5,4,3] C=0 , END
</scratch>
7023680492543
| 7023680492543 | 12 |
Input:
4233269138609+7174062784023
Target:
| Input:
4233269138609+7174062784023
Target:
[4,2,3,3,2,6,9,1,3,8,6,0,9] + [7,1,7,4,0,6,2,7,8,4,0,2,3] , A=[] , C=0 , 9+3+0=12 , A->2 , C->1
[4,2,3,3,2,6,9,1,3,8,6,0] + [7,1,7,4,0,6,2,7,8,4,0,2] , A=[2] , C=1 , 0+2+1=3 , A->3 , C->0
[4,2,3,3,2,6,9,1,3,8,6] + [7,1,7,4,0,6,2,7,8,4,0] , A=[3,2] , C=0 , 6+0+0=6 , A->6 , C->0
[4,2,3,3,2,6,9,1,3,8] + [7,1,7,4,0,6,2,7,8,4] , A=[6,3,2] , C=0 , 8+4+0=12 , A->2 , C->1
[4,2,3,3,2,6,9,1,3] + [7,1,7,4,0,6,2,7,8] , A=[2,6,3,2] , C=1 , 3+8+1=12 , A->2 , C->1
[4,2,3,3,2,6,9,1] + [7,1,7,4,0,6,2,7] , A=[2,2,6,3,2] , C=1 , 1+7+1=9 , A->9 , C->0
[4,2,3,3,2,6,9] + [7,1,7,4,0,6,2] , A=[9,2,2,6,3,2] , C=0 , 9+2+0=11 , A->1 , C->1
[4,2,3,3,2,6] + [7,1,7,4,0,6] , A=[1,9,2,2,6,3,2] , C=1 , 6+6+1=13 , A->3 , C->1
[4,2,3,3,2] + [7,1,7,4,0] , A=[3,1,9,2,2,6,3,2] , C=1 , 2+0+1=3 , A->3 , C->0
[4,2,3,3] + [7,1,7,4] , A=[3,3,1,9,2,2,6,3,2] , C=0 , 3+4+0=7 , A->7 , C->0
[4,2,3] + [7,1,7] , A=[7,3,3,1,9,2,2,6,3,2] , C=0 , 3+7+0=10 , A->0 , C->1
[4,2] + [7,1] , A=[0,7,3,3,1,9,2,2,6,3,2] , C=1 , 2+1+1=4 , A->4 , C->0
[4] + [7] , A=[4,0,7,3,3,1,9,2,2,6,3,2] , C=0 , 4+7+0=11 , A->1 , C->1
[] + [] , A=[1,4,0,7,3,3,1,9,2,2,6,3,2] C=1 , END
</scratch>
11407331922632
| 11407331922632 | 13 |
Input:
4928831848338+79
Target:
| Input:
4928831848338+79
Target:
[4,9,2,8,8,3,1,8,4,8,3,3,8] + [7,9] , A=[] , C=0 , 8+9+0=17 , A->7 , C->1
[4,9,2,8,8,3,1,8,4,8,3,3] + [7] , A=[7] , C=1 , 3+7+1=11 , A->1 , C->1
[4,9,2,8,8,3,1,8,4,8,3] + [] , A=[1,7] , C=1 , 3+0+1=4 , A->4 , C->0
[4,9,2,8,8,3,1,8,4,8] + [] , A=[4,1,7] , C=0 , 8+0+0=8 , A->8 , C->0
[4,9,2,8,8,3,1,8,4] + [] , A=[8,4,1,7] , C=0 , 4+0+0=4 , A->4 , C->0
[4,9,2,8,8,3,1,8] + [] , A=[4,8,4,1,7] , C=0 , 8+0+0=8 , A->8 , C->0
[4,9,2,8,8,3,1] + [] , A=[8,4,8,4,1,7] , C=0 , 1+0+0=1 , A->1 , C->0
[4,9,2,8,8,3] + [] , A=[1,8,4,8,4,1,7] , C=0 , 3+0+0=3 , A->3 , C->0
[4,9,2,8,8] + [] , A=[3,1,8,4,8,4,1,7] , C=0 , 8+0+0=8 , A->8 , C->0
[4,9,2,8] + [] , A=[8,3,1,8,4,8,4,1,7] , C=0 , 8+0+0=8 , A->8 , C->0
[4,9,2] + [] , A=[8,8,3,1,8,4,8,4,1,7] , C=0 , 2+0+0=2 , A->2 , C->0
[4,9] + [] , A=[2,8,8,3,1,8,4,8,4,1,7] , C=0 , 9+0+0=9 , A->9 , C->0
[4] + [] , A=[9,2,8,8,3,1,8,4,8,4,1,7] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,9,2,8,8,3,1,8,4,8,4,1,7] C=0 , END
</scratch>
4928831848417
| 4928831848417 | 2 |
Input:
1977131040359+72514112233
Target:
| Input:
1977131040359+72514112233
Target:
[1,9,7,7,1,3,1,0,4,0,3,5,9] + [7,2,5,1,4,1,1,2,2,3,3] , A=[] , C=0 , 9+3+0=12 , A->2 , C->1
[1,9,7,7,1,3,1,0,4,0,3,5] + [7,2,5,1,4,1,1,2,2,3] , A=[2] , C=1 , 5+3+1=9 , A->9 , C->0
[1,9,7,7,1,3,1,0,4,0,3] + [7,2,5,1,4,1,1,2,2] , A=[9,2] , C=0 , 3+2+0=5 , A->5 , C->0
[1,9,7,7,1,3,1,0,4,0] + [7,2,5,1,4,1,1,2] , A=[5,9,2] , C=0 , 0+2+0=2 , A->2 , C->0
[1,9,7,7,1,3,1,0,4] + [7,2,5,1,4,1,1] , A=[2,5,9,2] , C=0 , 4+1+0=5 , A->5 , C->0
[1,9,7,7,1,3,1,0] + [7,2,5,1,4,1] , A=[5,2,5,9,2] , C=0 , 0+1+0=1 , A->1 , C->0
[1,9,7,7,1,3,1] + [7,2,5,1,4] , A=[1,5,2,5,9,2] , C=0 , 1+4+0=5 , A->5 , C->0
[1,9,7,7,1,3] + [7,2,5,1] , A=[5,1,5,2,5,9,2] , C=0 , 3+1+0=4 , A->4 , C->0
[1,9,7,7,1] + [7,2,5] , A=[4,5,1,5,2,5,9,2] , C=0 , 1+5+0=6 , A->6 , C->0
[1,9,7,7] + [7,2] , A=[6,4,5,1,5,2,5,9,2] , C=0 , 7+2+0=9 , A->9 , C->0
[1,9,7] + [7] , A=[9,6,4,5,1,5,2,5,9,2] , C=0 , 7+7+0=14 , A->4 , C->1
[1,9] + [] , A=[4,9,6,4,5,1,5,2,5,9,2] , C=1 , 9+0+1=10 , A->0 , C->1
[1] + [] , A=[0,4,9,6,4,5,1,5,2,5,9,2] , C=1 , 1+0+1=2 , A->2 , C->0
[] + [] , A=[2,0,4,9,6,4,5,1,5,2,5,9,2] C=0 , END
</scratch>
2049645152592
| 2049645152592 | 11 |
Input:
8419+3684655859814
Target:
| Input:
8419+3684655859814
Target:
[8,4,1,9] + [3,6,8,4,6,5,5,8,5,9,8,1,4] , A=[] , C=0 , 9+4+0=13 , A->3 , C->1
[8,4,1] + [3,6,8,4,6,5,5,8,5,9,8,1] , A=[3] , C=1 , 1+1+1=3 , A->3 , C->0
[8,4] + [3,6,8,4,6,5,5,8,5,9,8] , A=[3,3] , C=0 , 4+8+0=12 , A->2 , C->1
[8] + [3,6,8,4,6,5,5,8,5,9] , A=[2,3,3] , C=1 , 8+9+1=18 , A->8 , C->1
[] + [3,6,8,4,6,5,5,8,5] , A=[8,2,3,3] , C=1 , 0+5+1=6 , A->6 , C->0
[] + [3,6,8,4,6,5,5,8] , A=[6,8,2,3,3] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [3,6,8,4,6,5,5] , A=[8,6,8,2,3,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [3,6,8,4,6,5] , A=[5,8,6,8,2,3,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [3,6,8,4,6] , A=[5,5,8,6,8,2,3,3] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [3,6,8,4] , A=[6,5,5,8,6,8,2,3,3] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [3,6,8] , A=[4,6,5,5,8,6,8,2,3,3] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [3,6] , A=[8,4,6,5,5,8,6,8,2,3,3] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [3] , A=[6,8,4,6,5,5,8,6,8,2,3,3] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [] , A=[3,6,8,4,6,5,5,8,6,8,2,3,3] C=0 , END
</scratch>
3684655868233
| 3684655868233 | 4 |
Input:
353635575078+6325283563134
Target:
| Input:
353635575078+6325283563134
Target:
[3,5,3,6,3,5,5,7,5,0,7,8] + [6,3,2,5,2,8,3,5,6,3,1,3,4] , A=[] , C=0 , 8+4+0=12 , A->2 , C->1
[3,5,3,6,3,5,5,7,5,0,7] + [6,3,2,5,2,8,3,5,6,3,1,3] , A=[2] , C=1 , 7+3+1=11 , A->1 , C->1
[3,5,3,6,3,5,5,7,5,0] + [6,3,2,5,2,8,3,5,6,3,1] , A=[1,2] , C=1 , 0+1+1=2 , A->2 , C->0
[3,5,3,6,3,5,5,7,5] + [6,3,2,5,2,8,3,5,6,3] , A=[2,1,2] , C=0 , 5+3+0=8 , A->8 , C->0
[3,5,3,6,3,5,5,7] + [6,3,2,5,2,8,3,5,6] , A=[8,2,1,2] , C=0 , 7+6+0=13 , A->3 , C->1
[3,5,3,6,3,5,5] + [6,3,2,5,2,8,3,5] , A=[3,8,2,1,2] , C=1 , 5+5+1=11 , A->1 , C->1
[3,5,3,6,3,5] + [6,3,2,5,2,8,3] , A=[1,3,8,2,1,2] , C=1 , 5+3+1=9 , A->9 , C->0
[3,5,3,6,3] + [6,3,2,5,2,8] , A=[9,1,3,8,2,1,2] , C=0 , 3+8+0=11 , A->1 , C->1
[3,5,3,6] + [6,3,2,5,2] , A=[1,9,1,3,8,2,1,2] , C=1 , 6+2+1=9 , A->9 , C->0
[3,5,3] + [6,3,2,5] , A=[9,1,9,1,3,8,2,1,2] , C=0 , 3+5+0=8 , A->8 , C->0
[3,5] + [6,3,2] , A=[8,9,1,9,1,3,8,2,1,2] , C=0 , 5+2+0=7 , A->7 , C->0
[3] + [6,3] , A=[7,8,9,1,9,1,3,8,2,1,2] , C=0 , 3+3+0=6 , A->6 , C->0
[] + [6] , A=[6,7,8,9,1,9,1,3,8,2,1,2] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,6,7,8,9,1,9,1,3,8,2,1,2] C=0 , END
</scratch>
6678919138212
| 6678919138212 | 12 |
Input:
5914399659538+400735
Target:
| Input:
5914399659538+400735
Target:
[5,9,1,4,3,9,9,6,5,9,5,3,8] + [4,0,0,7,3,5] , A=[] , C=0 , 8+5+0=13 , A->3 , C->1
[5,9,1,4,3,9,9,6,5,9,5,3] + [4,0,0,7,3] , A=[3] , C=1 , 3+3+1=7 , A->7 , C->0
[5,9,1,4,3,9,9,6,5,9,5] + [4,0,0,7] , A=[7,3] , C=0 , 5+7+0=12 , A->2 , C->1
[5,9,1,4,3,9,9,6,5,9] + [4,0,0] , A=[2,7,3] , C=1 , 9+0+1=10 , A->0 , C->1
[5,9,1,4,3,9,9,6,5] + [4,0] , A=[0,2,7,3] , C=1 , 5+0+1=6 , A->6 , C->0
[5,9,1,4,3,9,9,6] + [4] , A=[6,0,2,7,3] , C=0 , 6+4+0=10 , A->0 , C->1
[5,9,1,4,3,9,9] + [] , A=[0,6,0,2,7,3] , C=1 , 9+0+1=10 , A->0 , C->1
[5,9,1,4,3,9] + [] , A=[0,0,6,0,2,7,3] , C=1 , 9+0+1=10 , A->0 , C->1
[5,9,1,4,3] + [] , A=[0,0,0,6,0,2,7,3] , C=1 , 3+0+1=4 , A->4 , C->0
[5,9,1,4] + [] , A=[4,0,0,0,6,0,2,7,3] , C=0 , 4+0+0=4 , A->4 , C->0
[5,9,1] + [] , A=[4,4,0,0,0,6,0,2,7,3] , C=0 , 1+0+0=1 , A->1 , C->0
[5,9] + [] , A=[1,4,4,0,0,0,6,0,2,7,3] , C=0 , 9+0+0=9 , A->9 , C->0
[5] + [] , A=[9,1,4,4,0,0,0,6,0,2,7,3] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,9,1,4,4,0,0,0,6,0,2,7,3] C=0 , END
</scratch>
5914400060273
| 5914400060273 | 6 |
Input:
929+4391839483352
Target:
| Input:
929+4391839483352
Target:
[9,2,9] + [4,3,9,1,8,3,9,4,8,3,3,5,2] , A=[] , C=0 , 9+2+0=11 , A->1 , C->1
[9,2] + [4,3,9,1,8,3,9,4,8,3,3,5] , A=[1] , C=1 , 2+5+1=8 , A->8 , C->0
[9] + [4,3,9,1,8,3,9,4,8,3,3] , A=[8,1] , C=0 , 9+3+0=12 , A->2 , C->1
[] + [4,3,9,1,8,3,9,4,8,3] , A=[2,8,1] , C=1 , 0+3+1=4 , A->4 , C->0
[] + [4,3,9,1,8,3,9,4,8] , A=[4,2,8,1] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [4,3,9,1,8,3,9,4] , A=[8,4,2,8,1] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [4,3,9,1,8,3,9] , A=[4,8,4,2,8,1] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [4,3,9,1,8,3] , A=[9,4,8,4,2,8,1] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [4,3,9,1,8] , A=[3,9,4,8,4,2,8,1] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [4,3,9,1] , A=[8,3,9,4,8,4,2,8,1] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [4,3,9] , A=[1,8,3,9,4,8,4,2,8,1] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [4,3] , A=[9,1,8,3,9,4,8,4,2,8,1] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [4] , A=[3,9,1,8,3,9,4,8,4,2,8,1] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,3,9,1,8,3,9,4,8,4,2,8,1] C=0 , END
</scratch>
4391839484281
| 4391839484281 | 3 |
Input:
8379009+8073479789463
Target:
| Input:
8379009+8073479789463
Target:
[8,3,7,9,0,0,9] + [8,0,7,3,4,7,9,7,8,9,4,6,3] , A=[] , C=0 , 9+3+0=12 , A->2 , C->1
[8,3,7,9,0,0] + [8,0,7,3,4,7,9,7,8,9,4,6] , A=[2] , C=1 , 0+6+1=7 , A->7 , C->0
[8,3,7,9,0] + [8,0,7,3,4,7,9,7,8,9,4] , A=[7,2] , C=0 , 0+4+0=4 , A->4 , C->0
[8,3,7,9] + [8,0,7,3,4,7,9,7,8,9] , A=[4,7,2] , C=0 , 9+9+0=18 , A->8 , C->1
[8,3,7] + [8,0,7,3,4,7,9,7,8] , A=[8,4,7,2] , C=1 , 7+8+1=16 , A->6 , C->1
[8,3] + [8,0,7,3,4,7,9,7] , A=[6,8,4,7,2] , C=1 , 3+7+1=11 , A->1 , C->1
[8] + [8,0,7,3,4,7,9] , A=[1,6,8,4,7,2] , C=1 , 8+9+1=18 , A->8 , C->1
[] + [8,0,7,3,4,7] , A=[8,1,6,8,4,7,2] , C=1 , 0+7+1=8 , A->8 , C->0
[] + [8,0,7,3,4] , A=[8,8,1,6,8,4,7,2] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [8,0,7,3] , A=[4,8,8,1,6,8,4,7,2] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [8,0,7] , A=[3,4,8,8,1,6,8,4,7,2] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [8,0] , A=[7,3,4,8,8,1,6,8,4,7,2] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [8] , A=[0,7,3,4,8,8,1,6,8,4,7,2] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [] , A=[8,0,7,3,4,8,8,1,6,8,4,7,2] C=0 , END
</scratch>
8073488168472
| 8073488168472 | 7 |
Input:
1202283063774+9904199362649
Target:
| Input:
1202283063774+9904199362649
Target:
[1,2,0,2,2,8,3,0,6,3,7,7,4] + [9,9,0,4,1,9,9,3,6,2,6,4,9] , A=[] , C=0 , 4+9+0=13 , A->3 , C->1
[1,2,0,2,2,8,3,0,6,3,7,7] + [9,9,0,4,1,9,9,3,6,2,6,4] , A=[3] , C=1 , 7+4+1=12 , A->2 , C->1
[1,2,0,2,2,8,3,0,6,3,7] + [9,9,0,4,1,9,9,3,6,2,6] , A=[2,3] , C=1 , 7+6+1=14 , A->4 , C->1
[1,2,0,2,2,8,3,0,6,3] + [9,9,0,4,1,9,9,3,6,2] , A=[4,2,3] , C=1 , 3+2+1=6 , A->6 , C->0
[1,2,0,2,2,8,3,0,6] + [9,9,0,4,1,9,9,3,6] , A=[6,4,2,3] , C=0 , 6+6+0=12 , A->2 , C->1
[1,2,0,2,2,8,3,0] + [9,9,0,4,1,9,9,3] , A=[2,6,4,2,3] , C=1 , 0+3+1=4 , A->4 , C->0
[1,2,0,2,2,8,3] + [9,9,0,4,1,9,9] , A=[4,2,6,4,2,3] , C=0 , 3+9+0=12 , A->2 , C->1
[1,2,0,2,2,8] + [9,9,0,4,1,9] , A=[2,4,2,6,4,2,3] , C=1 , 8+9+1=18 , A->8 , C->1
[1,2,0,2,2] + [9,9,0,4,1] , A=[8,2,4,2,6,4,2,3] , C=1 , 2+1+1=4 , A->4 , C->0
[1,2,0,2] + [9,9,0,4] , A=[4,8,2,4,2,6,4,2,3] , C=0 , 2+4+0=6 , A->6 , C->0
[1,2,0] + [9,9,0] , A=[6,4,8,2,4,2,6,4,2,3] , C=0 , 0+0+0=0 , A->0 , C->0
[1,2] + [9,9] , A=[0,6,4,8,2,4,2,6,4,2,3] , C=0 , 2+9+0=11 , A->1 , C->1
[1] + [9] , A=[1,0,6,4,8,2,4,2,6,4,2,3] , C=1 , 1+9+1=11 , A->1 , C->1
[] + [] , A=[1,1,0,6,4,8,2,4,2,6,4,2,3] C=1 , END
</scratch>
11106482426423
| 11106482426423 | 13 |
Input:
62+2766186124075
Target:
| Input:
62+2766186124075
Target:
[6,2] + [2,7,6,6,1,8,6,1,2,4,0,7,5] , A=[] , C=0 , 2+5+0=7 , A->7 , C->0
[6] + [2,7,6,6,1,8,6,1,2,4,0,7] , A=[7] , C=0 , 6+7+0=13 , A->3 , C->1
[] + [2,7,6,6,1,8,6,1,2,4,0] , A=[3,7] , C=1 , 0+0+1=1 , A->1 , C->0
[] + [2,7,6,6,1,8,6,1,2,4] , A=[1,3,7] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [2,7,6,6,1,8,6,1,2] , A=[4,1,3,7] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [2,7,6,6,1,8,6,1] , A=[2,4,1,3,7] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [2,7,6,6,1,8,6] , A=[1,2,4,1,3,7] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [2,7,6,6,1,8] , A=[6,1,2,4,1,3,7] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [2,7,6,6,1] , A=[8,6,1,2,4,1,3,7] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [2,7,6,6] , A=[1,8,6,1,2,4,1,3,7] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [2,7,6] , A=[6,1,8,6,1,2,4,1,3,7] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [2,7] , A=[6,6,1,8,6,1,2,4,1,3,7] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [2] , A=[7,6,6,1,8,6,1,2,4,1,3,7] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,7,6,6,1,8,6,1,2,4,1,3,7] C=0 , END
</scratch>
2766186124137
| 2766186124137 | 2 |
Input:
19+1569086275935
Target:
| Input:
19+1569086275935
Target:
[1,9] + [1,5,6,9,0,8,6,2,7,5,9,3,5] , A=[] , C=0 , 9+5+0=14 , A->4 , C->1
[1] + [1,5,6,9,0,8,6,2,7,5,9,3] , A=[4] , C=1 , 1+3+1=5 , A->5 , C->0
[] + [1,5,6,9,0,8,6,2,7,5,9] , A=[5,4] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [1,5,6,9,0,8,6,2,7,5] , A=[9,5,4] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1,5,6,9,0,8,6,2,7] , A=[5,9,5,4] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [1,5,6,9,0,8,6,2] , A=[7,5,9,5,4] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [1,5,6,9,0,8,6] , A=[2,7,5,9,5,4] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [1,5,6,9,0,8] , A=[6,2,7,5,9,5,4] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [1,5,6,9,0] , A=[8,6,2,7,5,9,5,4] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [1,5,6,9] , A=[0,8,6,2,7,5,9,5,4] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [1,5,6] , A=[9,0,8,6,2,7,5,9,5,4] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [1,5] , A=[6,9,0,8,6,2,7,5,9,5,4] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1] , A=[5,6,9,0,8,6,2,7,5,9,5,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,5,6,9,0,8,6,2,7,5,9,5,4] C=0 , END
</scratch>
1569086275954
| 1569086275954 | 2 |
Input:
5905294340060+408
Target:
| Input:
5905294340060+408
Target:
[5,9,0,5,2,9,4,3,4,0,0,6,0] + [4,0,8] , A=[] , C=0 , 0+8+0=8 , A->8 , C->0
[5,9,0,5,2,9,4,3,4,0,0,6] + [4,0] , A=[8] , C=0 , 6+0+0=6 , A->6 , C->0
[5,9,0,5,2,9,4,3,4,0,0] + [4] , A=[6,8] , C=0 , 0+4+0=4 , A->4 , C->0
[5,9,0,5,2,9,4,3,4,0] + [] , A=[4,6,8] , C=0 , 0+0+0=0 , A->0 , C->0
[5,9,0,5,2,9,4,3,4] + [] , A=[0,4,6,8] , C=0 , 4+0+0=4 , A->4 , C->0
[5,9,0,5,2,9,4,3] + [] , A=[4,0,4,6,8] , C=0 , 3+0+0=3 , A->3 , C->0
[5,9,0,5,2,9,4] + [] , A=[3,4,0,4,6,8] , C=0 , 4+0+0=4 , A->4 , C->0
[5,9,0,5,2,9] + [] , A=[4,3,4,0,4,6,8] , C=0 , 9+0+0=9 , A->9 , C->0
[5,9,0,5,2] + [] , A=[9,4,3,4,0,4,6,8] , C=0 , 2+0+0=2 , A->2 , C->0
[5,9,0,5] + [] , A=[2,9,4,3,4,0,4,6,8] , C=0 , 5+0+0=5 , A->5 , C->0
[5,9,0] + [] , A=[5,2,9,4,3,4,0,4,6,8] , C=0 , 0+0+0=0 , A->0 , C->0
[5,9] + [] , A=[0,5,2,9,4,3,4,0,4,6,8] , C=0 , 9+0+0=9 , A->9 , C->0
[5] + [] , A=[9,0,5,2,9,4,3,4,0,4,6,8] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,9,0,5,2,9,4,3,4,0,4,6,8] C=0 , END
</scratch>
5905294340468
| 5905294340468 | 3 |
Input:
7529212003876+97729516
Target:
| Input:
7529212003876+97729516
Target:
[7,5,2,9,2,1,2,0,0,3,8,7,6] + [9,7,7,2,9,5,1,6] , A=[] , C=0 , 6+6+0=12 , A->2 , C->1
[7,5,2,9,2,1,2,0,0,3,8,7] + [9,7,7,2,9,5,1] , A=[2] , C=1 , 7+1+1=9 , A->9 , C->0
[7,5,2,9,2,1,2,0,0,3,8] + [9,7,7,2,9,5] , A=[9,2] , C=0 , 8+5+0=13 , A->3 , C->1
[7,5,2,9,2,1,2,0,0,3] + [9,7,7,2,9] , A=[3,9,2] , C=1 , 3+9+1=13 , A->3 , C->1
[7,5,2,9,2,1,2,0,0] + [9,7,7,2] , A=[3,3,9,2] , C=1 , 0+2+1=3 , A->3 , C->0
[7,5,2,9,2,1,2,0] + [9,7,7] , A=[3,3,3,9,2] , C=0 , 0+7+0=7 , A->7 , C->0
[7,5,2,9,2,1,2] + [9,7] , A=[7,3,3,3,9,2] , C=0 , 2+7+0=9 , A->9 , C->0
[7,5,2,9,2,1] + [9] , A=[9,7,3,3,3,9,2] , C=0 , 1+9+0=10 , A->0 , C->1
[7,5,2,9,2] + [] , A=[0,9,7,3,3,3,9,2] , C=1 , 2+0+1=3 , A->3 , C->0
[7,5,2,9] + [] , A=[3,0,9,7,3,3,3,9,2] , C=0 , 9+0+0=9 , A->9 , C->0
[7,5,2] + [] , A=[9,3,0,9,7,3,3,3,9,2] , C=0 , 2+0+0=2 , A->2 , C->0
[7,5] + [] , A=[2,9,3,0,9,7,3,3,3,9,2] , C=0 , 5+0+0=5 , A->5 , C->0
[7] + [] , A=[5,2,9,3,0,9,7,3,3,3,9,2] , C=0 , 7+0+0=7 , A->7 , C->0
[] + [] , A=[7,5,2,9,3,0,9,7,3,3,3,9,2] C=0 , END
</scratch>
7529309733392
| 7529309733392 | 8 |
Input:
5116962270226+56
Target:
| Input:
5116962270226+56
Target:
[5,1,1,6,9,6,2,2,7,0,2,2,6] + [5,6] , A=[] , C=0 , 6+6+0=12 , A->2 , C->1
[5,1,1,6,9,6,2,2,7,0,2,2] + [5] , A=[2] , C=1 , 2+5+1=8 , A->8 , C->0
[5,1,1,6,9,6,2,2,7,0,2] + [] , A=[8,2] , C=0 , 2+0+0=2 , A->2 , C->0
[5,1,1,6,9,6,2,2,7,0] + [] , A=[2,8,2] , C=0 , 0+0+0=0 , A->0 , C->0
[5,1,1,6,9,6,2,2,7] + [] , A=[0,2,8,2] , C=0 , 7+0+0=7 , A->7 , C->0
[5,1,1,6,9,6,2,2] + [] , A=[7,0,2,8,2] , C=0 , 2+0+0=2 , A->2 , C->0
[5,1,1,6,9,6,2] + [] , A=[2,7,0,2,8,2] , C=0 , 2+0+0=2 , A->2 , C->0
[5,1,1,6,9,6] + [] , A=[2,2,7,0,2,8,2] , C=0 , 6+0+0=6 , A->6 , C->0
[5,1,1,6,9] + [] , A=[6,2,2,7,0,2,8,2] , C=0 , 9+0+0=9 , A->9 , C->0
[5,1,1,6] + [] , A=[9,6,2,2,7,0,2,8,2] , C=0 , 6+0+0=6 , A->6 , C->0
[5,1,1] + [] , A=[6,9,6,2,2,7,0,2,8,2] , C=0 , 1+0+0=1 , A->1 , C->0
[5,1] + [] , A=[1,6,9,6,2,2,7,0,2,8,2] , C=0 , 1+0+0=1 , A->1 , C->0
[5] + [] , A=[1,1,6,9,6,2,2,7,0,2,8,2] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,1,1,6,9,6,2,2,7,0,2,8,2] C=0 , END
</scratch>
5116962270282
| 5116962270282 | 2 |
Input:
4103715250398+247284572
Target:
| Input:
4103715250398+247284572
Target:
[4,1,0,3,7,1,5,2,5,0,3,9,8] + [2,4,7,2,8,4,5,7,2] , A=[] , C=0 , 8+2+0=10 , A->0 , C->1
[4,1,0,3,7,1,5,2,5,0,3,9] + [2,4,7,2,8,4,5,7] , A=[0] , C=1 , 9+7+1=17 , A->7 , C->1
[4,1,0,3,7,1,5,2,5,0,3] + [2,4,7,2,8,4,5] , A=[7,0] , C=1 , 3+5+1=9 , A->9 , C->0
[4,1,0,3,7,1,5,2,5,0] + [2,4,7,2,8,4] , A=[9,7,0] , C=0 , 0+4+0=4 , A->4 , C->0
[4,1,0,3,7,1,5,2,5] + [2,4,7,2,8] , A=[4,9,7,0] , C=0 , 5+8+0=13 , A->3 , C->1
[4,1,0,3,7,1,5,2] + [2,4,7,2] , A=[3,4,9,7,0] , C=1 , 2+2+1=5 , A->5 , C->0
[4,1,0,3,7,1,5] + [2,4,7] , A=[5,3,4,9,7,0] , C=0 , 5+7+0=12 , A->2 , C->1
[4,1,0,3,7,1] + [2,4] , A=[2,5,3,4,9,7,0] , C=1 , 1+4+1=6 , A->6 , C->0
[4,1,0,3,7] + [2] , A=[6,2,5,3,4,9,7,0] , C=0 , 7+2+0=9 , A->9 , C->0
[4,1,0,3] + [] , A=[9,6,2,5,3,4,9,7,0] , C=0 , 3+0+0=3 , A->3 , C->0
[4,1,0] + [] , A=[3,9,6,2,5,3,4,9,7,0] , C=0 , 0+0+0=0 , A->0 , C->0
[4,1] + [] , A=[0,3,9,6,2,5,3,4,9,7,0] , C=0 , 1+0+0=1 , A->1 , C->0
[4] + [] , A=[1,0,3,9,6,2,5,3,4,9,7,0] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,1,0,3,9,6,2,5,3,4,9,7,0] C=0 , END
</scratch>
4103962534970
| 4103962534970 | 9 |
Input:
8061204849134+586
Target:
| Input:
8061204849134+586
Target:
[8,0,6,1,2,0,4,8,4,9,1,3,4] + [5,8,6] , A=[] , C=0 , 4+6+0=10 , A->0 , C->1
[8,0,6,1,2,0,4,8,4,9,1,3] + [5,8] , A=[0] , C=1 , 3+8+1=12 , A->2 , C->1
[8,0,6,1,2,0,4,8,4,9,1] + [5] , A=[2,0] , C=1 , 1+5+1=7 , A->7 , C->0
[8,0,6,1,2,0,4,8,4,9] + [] , A=[7,2,0] , C=0 , 9+0+0=9 , A->9 , C->0
[8,0,6,1,2,0,4,8,4] + [] , A=[9,7,2,0] , C=0 , 4+0+0=4 , A->4 , C->0
[8,0,6,1,2,0,4,8] + [] , A=[4,9,7,2,0] , C=0 , 8+0+0=8 , A->8 , C->0
[8,0,6,1,2,0,4] + [] , A=[8,4,9,7,2,0] , C=0 , 4+0+0=4 , A->4 , C->0
[8,0,6,1,2,0] + [] , A=[4,8,4,9,7,2,0] , C=0 , 0+0+0=0 , A->0 , C->0
[8,0,6,1,2] + [] , A=[0,4,8,4,9,7,2,0] , C=0 , 2+0+0=2 , A->2 , C->0
[8,0,6,1] + [] , A=[2,0,4,8,4,9,7,2,0] , C=0 , 1+0+0=1 , A->1 , C->0
[8,0,6] + [] , A=[1,2,0,4,8,4,9,7,2,0] , C=0 , 6+0+0=6 , A->6 , C->0
[8,0] + [] , A=[6,1,2,0,4,8,4,9,7,2,0] , C=0 , 0+0+0=0 , A->0 , C->0
[8] + [] , A=[0,6,1,2,0,4,8,4,9,7,2,0] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,0,6,1,2,0,4,8,4,9,7,2,0] C=0 , END
</scratch>
8061204849720
| 8061204849720 | 3 |
Input:
66423029610+8491834875447
Target:
| Input:
66423029610+8491834875447
Target:
[6,6,4,2,3,0,2,9,6,1,0] + [8,4,9,1,8,3,4,8,7,5,4,4,7] , A=[] , C=0 , 0+7+0=7 , A->7 , C->0
[6,6,4,2,3,0,2,9,6,1] + [8,4,9,1,8,3,4,8,7,5,4,4] , A=[7] , C=0 , 1+4+0=5 , A->5 , C->0
[6,6,4,2,3,0,2,9,6] + [8,4,9,1,8,3,4,8,7,5,4] , A=[5,7] , C=0 , 6+4+0=10 , A->0 , C->1
[6,6,4,2,3,0,2,9] + [8,4,9,1,8,3,4,8,7,5] , A=[0,5,7] , C=1 , 9+5+1=15 , A->5 , C->1
[6,6,4,2,3,0,2] + [8,4,9,1,8,3,4,8,7] , A=[5,0,5,7] , C=1 , 2+7+1=10 , A->0 , C->1
[6,6,4,2,3,0] + [8,4,9,1,8,3,4,8] , A=[0,5,0,5,7] , C=1 , 0+8+1=9 , A->9 , C->0
[6,6,4,2,3] + [8,4,9,1,8,3,4] , A=[9,0,5,0,5,7] , C=0 , 3+4+0=7 , A->7 , C->0
[6,6,4,2] + [8,4,9,1,8,3] , A=[7,9,0,5,0,5,7] , C=0 , 2+3+0=5 , A->5 , C->0
[6,6,4] + [8,4,9,1,8] , A=[5,7,9,0,5,0,5,7] , C=0 , 4+8+0=12 , A->2 , C->1
[6,6] + [8,4,9,1] , A=[2,5,7,9,0,5,0,5,7] , C=1 , 6+1+1=8 , A->8 , C->0
[6] + [8,4,9] , A=[8,2,5,7,9,0,5,0,5,7] , C=0 , 6+9+0=15 , A->5 , C->1
[] + [8,4] , A=[5,8,2,5,7,9,0,5,0,5,7] , C=1 , 0+4+1=5 , A->5 , C->0
[] + [8] , A=[5,5,8,2,5,7,9,0,5,0,5,7] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [] , A=[8,5,5,8,2,5,7,9,0,5,0,5,7] C=0 , END
</scratch>
8558257905057
| 8558257905057 | 11 |
Input:
972308432+9148323358970
Target:
| Input:
972308432+9148323358970
Target:
[9,7,2,3,0,8,4,3,2] + [9,1,4,8,3,2,3,3,5,8,9,7,0] , A=[] , C=0 , 2+0+0=2 , A->2 , C->0
[9,7,2,3,0,8,4,3] + [9,1,4,8,3,2,3,3,5,8,9,7] , A=[2] , C=0 , 3+7+0=10 , A->0 , C->1
[9,7,2,3,0,8,4] + [9,1,4,8,3,2,3,3,5,8,9] , A=[0,2] , C=1 , 4+9+1=14 , A->4 , C->1
[9,7,2,3,0,8] + [9,1,4,8,3,2,3,3,5,8] , A=[4,0,2] , C=1 , 8+8+1=17 , A->7 , C->1
[9,7,2,3,0] + [9,1,4,8,3,2,3,3,5] , A=[7,4,0,2] , C=1 , 0+5+1=6 , A->6 , C->0
[9,7,2,3] + [9,1,4,8,3,2,3,3] , A=[6,7,4,0,2] , C=0 , 3+3+0=6 , A->6 , C->0
[9,7,2] + [9,1,4,8,3,2,3] , A=[6,6,7,4,0,2] , C=0 , 2+3+0=5 , A->5 , C->0
[9,7] + [9,1,4,8,3,2] , A=[5,6,6,7,4,0,2] , C=0 , 7+2+0=9 , A->9 , C->0
[9] + [9,1,4,8,3] , A=[9,5,6,6,7,4,0,2] , C=0 , 9+3+0=12 , A->2 , C->1
[] + [9,1,4,8] , A=[2,9,5,6,6,7,4,0,2] , C=1 , 0+8+1=9 , A->9 , C->0
[] + [9,1,4] , A=[9,2,9,5,6,6,7,4,0,2] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [9,1] , A=[4,9,2,9,5,6,6,7,4,0,2] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [9] , A=[1,4,9,2,9,5,6,6,7,4,0,2] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,1,4,9,2,9,5,6,6,7,4,0,2] C=0 , END
</scratch>
9149295667402
| 9149295667402 | 9 |
Input:
6619636998393+96252
Target:
| Input:
6619636998393+96252
Target:
[6,6,1,9,6,3,6,9,9,8,3,9,3] + [9,6,2,5,2] , A=[] , C=0 , 3+2+0=5 , A->5 , C->0
[6,6,1,9,6,3,6,9,9,8,3,9] + [9,6,2,5] , A=[5] , C=0 , 9+5+0=14 , A->4 , C->1
[6,6,1,9,6,3,6,9,9,8,3] + [9,6,2] , A=[4,5] , C=1 , 3+2+1=6 , A->6 , C->0
[6,6,1,9,6,3,6,9,9,8] + [9,6] , A=[6,4,5] , C=0 , 8+6+0=14 , A->4 , C->1
[6,6,1,9,6,3,6,9,9] + [9] , A=[4,6,4,5] , C=1 , 9+9+1=19 , A->9 , C->1
[6,6,1,9,6,3,6,9] + [] , A=[9,4,6,4,5] , C=1 , 9+0+1=10 , A->0 , C->1
[6,6,1,9,6,3,6] + [] , A=[0,9,4,6,4,5] , C=1 , 6+0+1=7 , A->7 , C->0
[6,6,1,9,6,3] + [] , A=[7,0,9,4,6,4,5] , C=0 , 3+0+0=3 , A->3 , C->0
[6,6,1,9,6] + [] , A=[3,7,0,9,4,6,4,5] , C=0 , 6+0+0=6 , A->6 , C->0
[6,6,1,9] + [] , A=[6,3,7,0,9,4,6,4,5] , C=0 , 9+0+0=9 , A->9 , C->0
[6,6,1] + [] , A=[9,6,3,7,0,9,4,6,4,5] , C=0 , 1+0+0=1 , A->1 , C->0
[6,6] + [] , A=[1,9,6,3,7,0,9,4,6,4,5] , C=0 , 6+0+0=6 , A->6 , C->0
[6] + [] , A=[6,1,9,6,3,7,0,9,4,6,4,5] , C=0 , 6+0+0=6 , A->6 , C->0
[] + [] , A=[6,6,1,9,6,3,7,0,9,4,6,4,5] C=0 , END
</scratch>
6619637094645
| 6619637094645 | 5 |
Input:
6789790393145+79522244074
Target:
| Input:
6789790393145+79522244074
Target:
[6,7,8,9,7,9,0,3,9,3,1,4,5] + [7,9,5,2,2,2,4,4,0,7,4] , A=[] , C=0 , 5+4+0=9 , A->9 , C->0
[6,7,8,9,7,9,0,3,9,3,1,4] + [7,9,5,2,2,2,4,4,0,7] , A=[9] , C=0 , 4+7+0=11 , A->1 , C->1
[6,7,8,9,7,9,0,3,9,3,1] + [7,9,5,2,2,2,4,4,0] , A=[1,9] , C=1 , 1+0+1=2 , A->2 , C->0
[6,7,8,9,7,9,0,3,9,3] + [7,9,5,2,2,2,4,4] , A=[2,1,9] , C=0 , 3+4+0=7 , A->7 , C->0
[6,7,8,9,7,9,0,3,9] + [7,9,5,2,2,2,4] , A=[7,2,1,9] , C=0 , 9+4+0=13 , A->3 , C->1
[6,7,8,9,7,9,0,3] + [7,9,5,2,2,2] , A=[3,7,2,1,9] , C=1 , 3+2+1=6 , A->6 , C->0
[6,7,8,9,7,9,0] + [7,9,5,2,2] , A=[6,3,7,2,1,9] , C=0 , 0+2+0=2 , A->2 , C->0
[6,7,8,9,7,9] + [7,9,5,2] , A=[2,6,3,7,2,1,9] , C=0 , 9+2+0=11 , A->1 , C->1
[6,7,8,9,7] + [7,9,5] , A=[1,2,6,3,7,2,1,9] , C=1 , 7+5+1=13 , A->3 , C->1
[6,7,8,9] + [7,9] , A=[3,1,2,6,3,7,2,1,9] , C=1 , 9+9+1=19 , A->9 , C->1
[6,7,8] + [7] , A=[9,3,1,2,6,3,7,2,1,9] , C=1 , 8+7+1=16 , A->6 , C->1
[6,7] + [] , A=[6,9,3,1,2,6,3,7,2,1,9] , C=1 , 7+0+1=8 , A->8 , C->0
[6] + [] , A=[8,6,9,3,1,2,6,3,7,2,1,9] , C=0 , 6+0+0=6 , A->6 , C->0
[] + [] , A=[6,8,6,9,3,1,2,6,3,7,2,1,9] C=0 , END
</scratch>
6869312637219
| 6869312637219 | 11 |
Input:
693258+2345892397901
Target:
| Input:
693258+2345892397901
Target:
[6,9,3,2,5,8] + [2,3,4,5,8,9,2,3,9,7,9,0,1] , A=[] , C=0 , 8+1+0=9 , A->9 , C->0
[6,9,3,2,5] + [2,3,4,5,8,9,2,3,9,7,9,0] , A=[9] , C=0 , 5+0+0=5 , A->5 , C->0
[6,9,3,2] + [2,3,4,5,8,9,2,3,9,7,9] , A=[5,9] , C=0 , 2+9+0=11 , A->1 , C->1
[6,9,3] + [2,3,4,5,8,9,2,3,9,7] , A=[1,5,9] , C=1 , 3+7+1=11 , A->1 , C->1
[6,9] + [2,3,4,5,8,9,2,3,9] , A=[1,1,5,9] , C=1 , 9+9+1=19 , A->9 , C->1
[6] + [2,3,4,5,8,9,2,3] , A=[9,1,1,5,9] , C=1 , 6+3+1=10 , A->0 , C->1
[] + [2,3,4,5,8,9,2] , A=[0,9,1,1,5,9] , C=1 , 0+2+1=3 , A->3 , C->0
[] + [2,3,4,5,8,9] , A=[3,0,9,1,1,5,9] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [2,3,4,5,8] , A=[9,3,0,9,1,1,5,9] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [2,3,4,5] , A=[8,9,3,0,9,1,1,5,9] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [2,3,4] , A=[5,8,9,3,0,9,1,1,5,9] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [2,3] , A=[4,5,8,9,3,0,9,1,1,5,9] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [2] , A=[3,4,5,8,9,3,0,9,1,1,5,9] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,3,4,5,8,9,3,0,9,1,1,5,9] C=0 , END
</scratch>
2345893091159
| 2345893091159 | 6 |
Input:
12+3432487221936
Target:
| Input:
12+3432487221936
Target:
[1,2] + [3,4,3,2,4,8,7,2,2,1,9,3,6] , A=[] , C=0 , 2+6+0=8 , A->8 , C->0
[1] + [3,4,3,2,4,8,7,2,2,1,9,3] , A=[8] , C=0 , 1+3+0=4 , A->4 , C->0
[] + [3,4,3,2,4,8,7,2,2,1,9] , A=[4,8] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [3,4,3,2,4,8,7,2,2,1] , A=[9,4,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [3,4,3,2,4,8,7,2,2] , A=[1,9,4,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [3,4,3,2,4,8,7,2] , A=[2,1,9,4,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [3,4,3,2,4,8,7] , A=[2,2,1,9,4,8] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [3,4,3,2,4,8] , A=[7,2,2,1,9,4,8] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [3,4,3,2,4] , A=[8,7,2,2,1,9,4,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [3,4,3,2] , A=[4,8,7,2,2,1,9,4,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [3,4,3] , A=[2,4,8,7,2,2,1,9,4,8] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [3,4] , A=[3,2,4,8,7,2,2,1,9,4,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [3] , A=[4,3,2,4,8,7,2,2,1,9,4,8] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [] , A=[3,4,3,2,4,8,7,2,2,1,9,4,8] C=0 , END
</scratch>
3432487221948
| 3432487221948 | 2 |
Input:
5245481990829+7664032
Target:
| Input:
5245481990829+7664032
Target:
[5,2,4,5,4,8,1,9,9,0,8,2,9] + [7,6,6,4,0,3,2] , A=[] , C=0 , 9+2+0=11 , A->1 , C->1
[5,2,4,5,4,8,1,9,9,0,8,2] + [7,6,6,4,0,3] , A=[1] , C=1 , 2+3+1=6 , A->6 , C->0
[5,2,4,5,4,8,1,9,9,0,8] + [7,6,6,4,0] , A=[6,1] , C=0 , 8+0+0=8 , A->8 , C->0
[5,2,4,5,4,8,1,9,9,0] + [7,6,6,4] , A=[8,6,1] , C=0 , 0+4+0=4 , A->4 , C->0
[5,2,4,5,4,8,1,9,9] + [7,6,6] , A=[4,8,6,1] , C=0 , 9+6+0=15 , A->5 , C->1
[5,2,4,5,4,8,1,9] + [7,6] , A=[5,4,8,6,1] , C=1 , 9+6+1=16 , A->6 , C->1
[5,2,4,5,4,8,1] + [7] , A=[6,5,4,8,6,1] , C=1 , 1+7+1=9 , A->9 , C->0
[5,2,4,5,4,8] + [] , A=[9,6,5,4,8,6,1] , C=0 , 8+0+0=8 , A->8 , C->0
[5,2,4,5,4] + [] , A=[8,9,6,5,4,8,6,1] , C=0 , 4+0+0=4 , A->4 , C->0
[5,2,4,5] + [] , A=[4,8,9,6,5,4,8,6,1] , C=0 , 5+0+0=5 , A->5 , C->0
[5,2,4] + [] , A=[5,4,8,9,6,5,4,8,6,1] , C=0 , 4+0+0=4 , A->4 , C->0
[5,2] + [] , A=[4,5,4,8,9,6,5,4,8,6,1] , C=0 , 2+0+0=2 , A->2 , C->0
[5] + [] , A=[2,4,5,4,8,9,6,5,4,8,6,1] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,2,4,5,4,8,9,6,5,4,8,6,1] C=0 , END
</scratch>
5245489654861
| 5245489654861 | 7 |
Input:
2462517700502+100146752435
Target:
| Input:
2462517700502+100146752435
Target:
[2,4,6,2,5,1,7,7,0,0,5,0,2] + [1,0,0,1,4,6,7,5,2,4,3,5] , A=[] , C=0 , 2+5+0=7 , A->7 , C->0
[2,4,6,2,5,1,7,7,0,0,5,0] + [1,0,0,1,4,6,7,5,2,4,3] , A=[7] , C=0 , 0+3+0=3 , A->3 , C->0
[2,4,6,2,5,1,7,7,0,0,5] + [1,0,0,1,4,6,7,5,2,4] , A=[3,7] , C=0 , 5+4+0=9 , A->9 , C->0
[2,4,6,2,5,1,7,7,0,0] + [1,0,0,1,4,6,7,5,2] , A=[9,3,7] , C=0 , 0+2+0=2 , A->2 , C->0
[2,4,6,2,5,1,7,7,0] + [1,0,0,1,4,6,7,5] , A=[2,9,3,7] , C=0 , 0+5+0=5 , A->5 , C->0
[2,4,6,2,5,1,7,7] + [1,0,0,1,4,6,7] , A=[5,2,9,3,7] , C=0 , 7+7+0=14 , A->4 , C->1
[2,4,6,2,5,1,7] + [1,0,0,1,4,6] , A=[4,5,2,9,3,7] , C=1 , 7+6+1=14 , A->4 , C->1
[2,4,6,2,5,1] + [1,0,0,1,4] , A=[4,4,5,2,9,3,7] , C=1 , 1+4+1=6 , A->6 , C->0
[2,4,6,2,5] + [1,0,0,1] , A=[6,4,4,5,2,9,3,7] , C=0 , 5+1+0=6 , A->6 , C->0
[2,4,6,2] + [1,0,0] , A=[6,6,4,4,5,2,9,3,7] , C=0 , 2+0+0=2 , A->2 , C->0
[2,4,6] + [1,0] , A=[2,6,6,4,4,5,2,9,3,7] , C=0 , 6+0+0=6 , A->6 , C->0
[2,4] + [1] , A=[6,2,6,6,4,4,5,2,9,3,7] , C=0 , 4+1+0=5 , A->5 , C->0
[2] + [] , A=[5,6,2,6,6,4,4,5,2,9,3,7] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [] , A=[2,5,6,2,6,6,4,4,5,2,9,3,7] C=0 , END
</scratch>
2562664452937
| 2562664452937 | 12 |
Input:
7+5816861034289
Target:
| Input:
7+5816861034289
Target:
[7] + [5,8,1,6,8,6,1,0,3,4,2,8,9] , A=[] , C=0 , 7+9+0=16 , A->6 , C->1
[] + [5,8,1,6,8,6,1,0,3,4,2,8] , A=[6] , C=1 , 0+8+1=9 , A->9 , C->0
[] + [5,8,1,6,8,6,1,0,3,4,2] , A=[9,6] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [5,8,1,6,8,6,1,0,3,4] , A=[2,9,6] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [5,8,1,6,8,6,1,0,3] , A=[4,2,9,6] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [5,8,1,6,8,6,1,0] , A=[3,4,2,9,6] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [5,8,1,6,8,6,1] , A=[0,3,4,2,9,6] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [5,8,1,6,8,6] , A=[1,0,3,4,2,9,6] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [5,8,1,6,8] , A=[6,1,0,3,4,2,9,6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [5,8,1,6] , A=[8,6,1,0,3,4,2,9,6] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [5,8,1] , A=[6,8,6,1,0,3,4,2,9,6] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [5,8] , A=[1,6,8,6,1,0,3,4,2,9,6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [5] , A=[8,1,6,8,6,1,0,3,4,2,9,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,8,1,6,8,6,1,0,3,4,2,9,6] C=0 , END
</scratch>
5816861034296
| 5816861034296 | 1 |
Input:
7987696894789+9347231088977
Target:
| Input:
7987696894789+9347231088977
Target:
[7,9,8,7,6,9,6,8,9,4,7,8,9] + [9,3,4,7,2,3,1,0,8,8,9,7,7] , A=[] , C=0 , 9+7+0=16 , A->6 , C->1
[7,9,8,7,6,9,6,8,9,4,7,8] + [9,3,4,7,2,3,1,0,8,8,9,7] , A=[6] , C=1 , 8+7+1=16 , A->6 , C->1
[7,9,8,7,6,9,6,8,9,4,7] + [9,3,4,7,2,3,1,0,8,8,9] , A=[6,6] , C=1 , 7+9+1=17 , A->7 , C->1
[7,9,8,7,6,9,6,8,9,4] + [9,3,4,7,2,3,1,0,8,8] , A=[7,6,6] , C=1 , 4+8+1=13 , A->3 , C->1
[7,9,8,7,6,9,6,8,9] + [9,3,4,7,2,3,1,0,8] , A=[3,7,6,6] , C=1 , 9+8+1=18 , A->8 , C->1
[7,9,8,7,6,9,6,8] + [9,3,4,7,2,3,1,0] , A=[8,3,7,6,6] , C=1 , 8+0+1=9 , A->9 , C->0
[7,9,8,7,6,9,6] + [9,3,4,7,2,3,1] , A=[9,8,3,7,6,6] , C=0 , 6+1+0=7 , A->7 , C->0
[7,9,8,7,6,9] + [9,3,4,7,2,3] , A=[7,9,8,3,7,6,6] , C=0 , 9+3+0=12 , A->2 , C->1
[7,9,8,7,6] + [9,3,4,7,2] , A=[2,7,9,8,3,7,6,6] , C=1 , 6+2+1=9 , A->9 , C->0
[7,9,8,7] + [9,3,4,7] , A=[9,2,7,9,8,3,7,6,6] , C=0 , 7+7+0=14 , A->4 , C->1
[7,9,8] + [9,3,4] , A=[4,9,2,7,9,8,3,7,6,6] , C=1 , 8+4+1=13 , A->3 , C->1
[7,9] + [9,3] , A=[3,4,9,2,7,9,8,3,7,6,6] , C=1 , 9+3+1=13 , A->3 , C->1
[7] + [9] , A=[3,3,4,9,2,7,9,8,3,7,6,6] , C=1 , 7+9+1=17 , A->7 , C->1
[] + [] , A=[7,3,3,4,9,2,7,9,8,3,7,6,6] C=1 , END
</scratch>
17334927983766
| 17334927983766 | 13 |
Input:
9+8524459559687
Target:
| Input:
9+8524459559687
Target:
[9] + [8,5,2,4,4,5,9,5,5,9,6,8,7] , A=[] , C=0 , 9+7+0=16 , A->6 , C->1
[] + [8,5,2,4,4,5,9,5,5,9,6,8] , A=[6] , C=1 , 0+8+1=9 , A->9 , C->0
[] + [8,5,2,4,4,5,9,5,5,9,6] , A=[9,6] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [8,5,2,4,4,5,9,5,5,9] , A=[6,9,6] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [8,5,2,4,4,5,9,5,5] , A=[9,6,9,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [8,5,2,4,4,5,9,5] , A=[5,9,6,9,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [8,5,2,4,4,5,9] , A=[5,5,9,6,9,6] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [8,5,2,4,4,5] , A=[9,5,5,9,6,9,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [8,5,2,4,4] , A=[5,9,5,5,9,6,9,6] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [8,5,2,4] , A=[4,5,9,5,5,9,6,9,6] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [8,5,2] , A=[4,4,5,9,5,5,9,6,9,6] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [8,5] , A=[2,4,4,5,9,5,5,9,6,9,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [8] , A=[5,2,4,4,5,9,5,5,9,6,9,6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [] , A=[8,5,2,4,4,5,9,5,5,9,6,9,6] C=0 , END
</scratch>
8524459559696
| 8524459559696 | 1 |
Input:
447251930+5681396181311
Target:
| Input:
447251930+5681396181311
Target:
[4,4,7,2,5,1,9,3,0] + [5,6,8,1,3,9,6,1,8,1,3,1,1] , A=[] , C=0 , 0+1+0=1 , A->1 , C->0
[4,4,7,2,5,1,9,3] + [5,6,8,1,3,9,6,1,8,1,3,1] , A=[1] , C=0 , 3+1+0=4 , A->4 , C->0
[4,4,7,2,5,1,9] + [5,6,8,1,3,9,6,1,8,1,3] , A=[4,1] , C=0 , 9+3+0=12 , A->2 , C->1
[4,4,7,2,5,1] + [5,6,8,1,3,9,6,1,8,1] , A=[2,4,1] , C=1 , 1+1+1=3 , A->3 , C->0
[4,4,7,2,5] + [5,6,8,1,3,9,6,1,8] , A=[3,2,4,1] , C=0 , 5+8+0=13 , A->3 , C->1
[4,4,7,2] + [5,6,8,1,3,9,6,1] , A=[3,3,2,4,1] , C=1 , 2+1+1=4 , A->4 , C->0
[4,4,7] + [5,6,8,1,3,9,6] , A=[4,3,3,2,4,1] , C=0 , 7+6+0=13 , A->3 , C->1
[4,4] + [5,6,8,1,3,9] , A=[3,4,3,3,2,4,1] , C=1 , 4+9+1=14 , A->4 , C->1
[4] + [5,6,8,1,3] , A=[4,3,4,3,3,2,4,1] , C=1 , 4+3+1=8 , A->8 , C->0
[] + [5,6,8,1] , A=[8,4,3,4,3,3,2,4,1] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [5,6,8] , A=[1,8,4,3,4,3,3,2,4,1] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [5,6] , A=[8,1,8,4,3,4,3,3,2,4,1] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [5] , A=[6,8,1,8,4,3,4,3,3,2,4,1] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,6,8,1,8,4,3,4,3,3,2,4,1] C=0 , END
</scratch>
5681843433241
| 5681843433241 | 9 |
Input:
5+1645803537306
Target:
| Input:
5+1645803537306
Target:
[5] + [1,6,4,5,8,0,3,5,3,7,3,0,6] , A=[] , C=0 , 5+6+0=11 , A->1 , C->1
[] + [1,6,4,5,8,0,3,5,3,7,3,0] , A=[1] , C=1 , 0+0+1=1 , A->1 , C->0
[] + [1,6,4,5,8,0,3,5,3,7,3] , A=[1,1] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [1,6,4,5,8,0,3,5,3,7] , A=[3,1,1] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [1,6,4,5,8,0,3,5,3] , A=[7,3,1,1] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [1,6,4,5,8,0,3,5] , A=[3,7,3,1,1] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1,6,4,5,8,0,3] , A=[5,3,7,3,1,1] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [1,6,4,5,8,0] , A=[3,5,3,7,3,1,1] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [1,6,4,5,8] , A=[0,3,5,3,7,3,1,1] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [1,6,4,5] , A=[8,0,3,5,3,7,3,1,1] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1,6,4] , A=[5,8,0,3,5,3,7,3,1,1] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [1,6] , A=[4,5,8,0,3,5,3,7,3,1,1] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [1] , A=[6,4,5,8,0,3,5,3,7,3,1,1] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,6,4,5,8,0,3,5,3,7,3,1,1] C=0 , END
</scratch>
1645803537311
| 1645803537311 | 1 |
Input:
51045+7601793846932
Target:
| Input:
51045+7601793846932
Target:
[5,1,0,4,5] + [7,6,0,1,7,9,3,8,4,6,9,3,2] , A=[] , C=0 , 5+2+0=7 , A->7 , C->0
[5,1,0,4] + [7,6,0,1,7,9,3,8,4,6,9,3] , A=[7] , C=0 , 4+3+0=7 , A->7 , C->0
[5,1,0] + [7,6,0,1,7,9,3,8,4,6,9] , A=[7,7] , C=0 , 0+9+0=9 , A->9 , C->0
[5,1] + [7,6,0,1,7,9,3,8,4,6] , A=[9,7,7] , C=0 , 1+6+0=7 , A->7 , C->0
[5] + [7,6,0,1,7,9,3,8,4] , A=[7,9,7,7] , C=0 , 5+4+0=9 , A->9 , C->0
[] + [7,6,0,1,7,9,3,8] , A=[9,7,9,7,7] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [7,6,0,1,7,9,3] , A=[8,9,7,9,7,7] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [7,6,0,1,7,9] , A=[3,8,9,7,9,7,7] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [7,6,0,1,7] , A=[9,3,8,9,7,9,7,7] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [7,6,0,1] , A=[7,9,3,8,9,7,9,7,7] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [7,6,0] , A=[1,7,9,3,8,9,7,9,7,7] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [7,6] , A=[0,1,7,9,3,8,9,7,9,7,7] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [7] , A=[6,0,1,7,9,3,8,9,7,9,7,7] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,6,0,1,7,9,3,8,9,7,9,7,7] C=0 , END
</scratch>
7601793897977
| 7601793897977 | 5 |
Input:
8943284+2320688231687
Target:
| Input:
8943284+2320688231687
Target:
[8,9,4,3,2,8,4] + [2,3,2,0,6,8,8,2,3,1,6,8,7] , A=[] , C=0 , 4+7+0=11 , A->1 , C->1
[8,9,4,3,2,8] + [2,3,2,0,6,8,8,2,3,1,6,8] , A=[1] , C=1 , 8+8+1=17 , A->7 , C->1
[8,9,4,3,2] + [2,3,2,0,6,8,8,2,3,1,6] , A=[7,1] , C=1 , 2+6+1=9 , A->9 , C->0
[8,9,4,3] + [2,3,2,0,6,8,8,2,3,1] , A=[9,7,1] , C=0 , 3+1+0=4 , A->4 , C->0
[8,9,4] + [2,3,2,0,6,8,8,2,3] , A=[4,9,7,1] , C=0 , 4+3+0=7 , A->7 , C->0
[8,9] + [2,3,2,0,6,8,8,2] , A=[7,4,9,7,1] , C=0 , 9+2+0=11 , A->1 , C->1
[8] + [2,3,2,0,6,8,8] , A=[1,7,4,9,7,1] , C=1 , 8+8+1=17 , A->7 , C->1
[] + [2,3,2,0,6,8] , A=[7,1,7,4,9,7,1] , C=1 , 0+8+1=9 , A->9 , C->0
[] + [2,3,2,0,6] , A=[9,7,1,7,4,9,7,1] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [2,3,2,0] , A=[6,9,7,1,7,4,9,7,1] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [2,3,2] , A=[0,6,9,7,1,7,4,9,7,1] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [2,3] , A=[2,0,6,9,7,1,7,4,9,7,1] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [2] , A=[3,2,0,6,9,7,1,7,4,9,7,1] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,3,2,0,6,9,7,1,7,4,9,7,1] C=0 , END
</scratch>
2320697174971
| 2320697174971 | 7 |
Input:
2198304+5089836329882
Target:
| Input:
2198304+5089836329882
Target:
[2,1,9,8,3,0,4] + [5,0,8,9,8,3,6,3,2,9,8,8,2] , A=[] , C=0 , 4+2+0=6 , A->6 , C->0
[2,1,9,8,3,0] + [5,0,8,9,8,3,6,3,2,9,8,8] , A=[6] , C=0 , 0+8+0=8 , A->8 , C->0
[2,1,9,8,3] + [5,0,8,9,8,3,6,3,2,9,8] , A=[8,6] , C=0 , 3+8+0=11 , A->1 , C->1
[2,1,9,8] + [5,0,8,9,8,3,6,3,2,9] , A=[1,8,6] , C=1 , 8+9+1=18 , A->8 , C->1
[2,1,9] + [5,0,8,9,8,3,6,3,2] , A=[8,1,8,6] , C=1 , 9+2+1=12 , A->2 , C->1
[2,1] + [5,0,8,9,8,3,6,3] , A=[2,8,1,8,6] , C=1 , 1+3+1=5 , A->5 , C->0
[2] + [5,0,8,9,8,3,6] , A=[5,2,8,1,8,6] , C=0 , 2+6+0=8 , A->8 , C->0
[] + [5,0,8,9,8,3] , A=[8,5,2,8,1,8,6] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [5,0,8,9,8] , A=[3,8,5,2,8,1,8,6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [5,0,8,9] , A=[8,3,8,5,2,8,1,8,6] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [5,0,8] , A=[9,8,3,8,5,2,8,1,8,6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [5,0] , A=[8,9,8,3,8,5,2,8,1,8,6] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [5] , A=[0,8,9,8,3,8,5,2,8,1,8,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,0,8,9,8,3,8,5,2,8,1,8,6] C=0 , END
</scratch>
5089838528186
| 5089838528186 | 7 |
Input:
8061854160424+5
Target:
| Input:
8061854160424+5
Target:
[8,0,6,1,8,5,4,1,6,0,4,2,4] + [5] , A=[] , C=0 , 4+5+0=9 , A->9 , C->0
[8,0,6,1,8,5,4,1,6,0,4,2] + [] , A=[9] , C=0 , 2+0+0=2 , A->2 , C->0
[8,0,6,1,8,5,4,1,6,0,4] + [] , A=[2,9] , C=0 , 4+0+0=4 , A->4 , C->0
[8,0,6,1,8,5,4,1,6,0] + [] , A=[4,2,9] , C=0 , 0+0+0=0 , A->0 , C->0
[8,0,6,1,8,5,4,1,6] + [] , A=[0,4,2,9] , C=0 , 6+0+0=6 , A->6 , C->0
[8,0,6,1,8,5,4,1] + [] , A=[6,0,4,2,9] , C=0 , 1+0+0=1 , A->1 , C->0
[8,0,6,1,8,5,4] + [] , A=[1,6,0,4,2,9] , C=0 , 4+0+0=4 , A->4 , C->0
[8,0,6,1,8,5] + [] , A=[4,1,6,0,4,2,9] , C=0 , 5+0+0=5 , A->5 , C->0
[8,0,6,1,8] + [] , A=[5,4,1,6,0,4,2,9] , C=0 , 8+0+0=8 , A->8 , C->0
[8,0,6,1] + [] , A=[8,5,4,1,6,0,4,2,9] , C=0 , 1+0+0=1 , A->1 , C->0
[8,0,6] + [] , A=[1,8,5,4,1,6,0,4,2,9] , C=0 , 6+0+0=6 , A->6 , C->0
[8,0] + [] , A=[6,1,8,5,4,1,6,0,4,2,9] , C=0 , 0+0+0=0 , A->0 , C->0
[8] + [] , A=[0,6,1,8,5,4,1,6,0,4,2,9] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,0,6,1,8,5,4,1,6,0,4,2,9] C=0 , END
</scratch>
8061854160429
| 8061854160429 | 1 |
Input:
16907265711+9233256671314
Target:
| Input:
16907265711+9233256671314
Target:
[1,6,9,0,7,2,6,5,7,1,1] + [9,2,3,3,2,5,6,6,7,1,3,1,4] , A=[] , C=0 , 1+4+0=5 , A->5 , C->0
[1,6,9,0,7,2,6,5,7,1] + [9,2,3,3,2,5,6,6,7,1,3,1] , A=[5] , C=0 , 1+1+0=2 , A->2 , C->0
[1,6,9,0,7,2,6,5,7] + [9,2,3,3,2,5,6,6,7,1,3] , A=[2,5] , C=0 , 7+3+0=10 , A->0 , C->1
[1,6,9,0,7,2,6,5] + [9,2,3,3,2,5,6,6,7,1] , A=[0,2,5] , C=1 , 5+1+1=7 , A->7 , C->0
[1,6,9,0,7,2,6] + [9,2,3,3,2,5,6,6,7] , A=[7,0,2,5] , C=0 , 6+7+0=13 , A->3 , C->1
[1,6,9,0,7,2] + [9,2,3,3,2,5,6,6] , A=[3,7,0,2,5] , C=1 , 2+6+1=9 , A->9 , C->0
[1,6,9,0,7] + [9,2,3,3,2,5,6] , A=[9,3,7,0,2,5] , C=0 , 7+6+0=13 , A->3 , C->1
[1,6,9,0] + [9,2,3,3,2,5] , A=[3,9,3,7,0,2,5] , C=1 , 0+5+1=6 , A->6 , C->0
[1,6,9] + [9,2,3,3,2] , A=[6,3,9,3,7,0,2,5] , C=0 , 9+2+0=11 , A->1 , C->1
[1,6] + [9,2,3,3] , A=[1,6,3,9,3,7,0,2,5] , C=1 , 6+3+1=10 , A->0 , C->1
[1] + [9,2,3] , A=[0,1,6,3,9,3,7,0,2,5] , C=1 , 1+3+1=5 , A->5 , C->0
[] + [9,2] , A=[5,0,1,6,3,9,3,7,0,2,5] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9] , A=[2,5,0,1,6,3,9,3,7,0,2,5] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,2,5,0,1,6,3,9,3,7,0,2,5] C=0 , END
</scratch>
9250163937025
| 9250163937025 | 11 |
Input:
3019648704917+9044937393
Target:
| Input:
3019648704917+9044937393
Target:
[3,0,1,9,6,4,8,7,0,4,9,1,7] + [9,0,4,4,9,3,7,3,9,3] , A=[] , C=0 , 7+3+0=10 , A->0 , C->1
[3,0,1,9,6,4,8,7,0,4,9,1] + [9,0,4,4,9,3,7,3,9] , A=[0] , C=1 , 1+9+1=11 , A->1 , C->1
[3,0,1,9,6,4,8,7,0,4,9] + [9,0,4,4,9,3,7,3] , A=[1,0] , C=1 , 9+3+1=13 , A->3 , C->1
[3,0,1,9,6,4,8,7,0,4] + [9,0,4,4,9,3,7] , A=[3,1,0] , C=1 , 4+7+1=12 , A->2 , C->1
[3,0,1,9,6,4,8,7,0] + [9,0,4,4,9,3] , A=[2,3,1,0] , C=1 , 0+3+1=4 , A->4 , C->0
[3,0,1,9,6,4,8,7] + [9,0,4,4,9] , A=[4,2,3,1,0] , C=0 , 7+9+0=16 , A->6 , C->1
[3,0,1,9,6,4,8] + [9,0,4,4] , A=[6,4,2,3,1,0] , C=1 , 8+4+1=13 , A->3 , C->1
[3,0,1,9,6,4] + [9,0,4] , A=[3,6,4,2,3,1,0] , C=1 , 4+4+1=9 , A->9 , C->0
[3,0,1,9,6] + [9,0] , A=[9,3,6,4,2,3,1,0] , C=0 , 6+0+0=6 , A->6 , C->0
[3,0,1,9] + [9] , A=[6,9,3,6,4,2,3,1,0] , C=0 , 9+9+0=18 , A->8 , C->1
[3,0,1] + [] , A=[8,6,9,3,6,4,2,3,1,0] , C=1 , 1+0+1=2 , A->2 , C->0
[3,0] + [] , A=[2,8,6,9,3,6,4,2,3,1,0] , C=0 , 0+0+0=0 , A->0 , C->0
[3] + [] , A=[0,2,8,6,9,3,6,4,2,3,1,0] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,0,2,8,6,9,3,6,4,2,3,1,0] C=0 , END
</scratch>
3028693642310
| 3028693642310 | 10 |
Input:
8071868551679+85759236
Target:
| Input:
8071868551679+85759236
Target:
[8,0,7,1,8,6,8,5,5,1,6,7,9] + [8,5,7,5,9,2,3,6] , A=[] , C=0 , 9+6+0=15 , A->5 , C->1
[8,0,7,1,8,6,8,5,5,1,6,7] + [8,5,7,5,9,2,3] , A=[5] , C=1 , 7+3+1=11 , A->1 , C->1
[8,0,7,1,8,6,8,5,5,1,6] + [8,5,7,5,9,2] , A=[1,5] , C=1 , 6+2+1=9 , A->9 , C->0
[8,0,7,1,8,6,8,5,5,1] + [8,5,7,5,9] , A=[9,1,5] , C=0 , 1+9+0=10 , A->0 , C->1
[8,0,7,1,8,6,8,5,5] + [8,5,7,5] , A=[0,9,1,5] , C=1 , 5+5+1=11 , A->1 , C->1
[8,0,7,1,8,6,8,5] + [8,5,7] , A=[1,0,9,1,5] , C=1 , 5+7+1=13 , A->3 , C->1
[8,0,7,1,8,6,8] + [8,5] , A=[3,1,0,9,1,5] , C=1 , 8+5+1=14 , A->4 , C->1
[8,0,7,1,8,6] + [8] , A=[4,3,1,0,9,1,5] , C=1 , 6+8+1=15 , A->5 , C->1
[8,0,7,1,8] + [] , A=[5,4,3,1,0,9,1,5] , C=1 , 8+0+1=9 , A->9 , C->0
[8,0,7,1] + [] , A=[9,5,4,3,1,0,9,1,5] , C=0 , 1+0+0=1 , A->1 , C->0
[8,0,7] + [] , A=[1,9,5,4,3,1,0,9,1,5] , C=0 , 7+0+0=7 , A->7 , C->0
[8,0] + [] , A=[7,1,9,5,4,3,1,0,9,1,5] , C=0 , 0+0+0=0 , A->0 , C->0
[8] + [] , A=[0,7,1,9,5,4,3,1,0,9,1,5] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,0,7,1,9,5,4,3,1,0,9,1,5] C=0 , END
</scratch>
8071954310915
| 8071954310915 | 8 |
Input:
7908284418631+9054087327
Target:
| Input:
7908284418631+9054087327
Target:
[7,9,0,8,2,8,4,4,1,8,6,3,1] + [9,0,5,4,0,8,7,3,2,7] , A=[] , C=0 , 1+7+0=8 , A->8 , C->0
[7,9,0,8,2,8,4,4,1,8,6,3] + [9,0,5,4,0,8,7,3,2] , A=[8] , C=0 , 3+2+0=5 , A->5 , C->0
[7,9,0,8,2,8,4,4,1,8,6] + [9,0,5,4,0,8,7,3] , A=[5,8] , C=0 , 6+3+0=9 , A->9 , C->0
[7,9,0,8,2,8,4,4,1,8] + [9,0,5,4,0,8,7] , A=[9,5,8] , C=0 , 8+7+0=15 , A->5 , C->1
[7,9,0,8,2,8,4,4,1] + [9,0,5,4,0,8] , A=[5,9,5,8] , C=1 , 1+8+1=10 , A->0 , C->1
[7,9,0,8,2,8,4,4] + [9,0,5,4,0] , A=[0,5,9,5,8] , C=1 , 4+0+1=5 , A->5 , C->0
[7,9,0,8,2,8,4] + [9,0,5,4] , A=[5,0,5,9,5,8] , C=0 , 4+4+0=8 , A->8 , C->0
[7,9,0,8,2,8] + [9,0,5] , A=[8,5,0,5,9,5,8] , C=0 , 8+5+0=13 , A->3 , C->1
[7,9,0,8,2] + [9,0] , A=[3,8,5,0,5,9,5,8] , C=1 , 2+0+1=3 , A->3 , C->0
[7,9,0,8] + [9] , A=[3,3,8,5,0,5,9,5,8] , C=0 , 8+9+0=17 , A->7 , C->1
[7,9,0] + [] , A=[7,3,3,8,5,0,5,9,5,8] , C=1 , 0+0+1=1 , A->1 , C->0
[7,9] + [] , A=[1,7,3,3,8,5,0,5,9,5,8] , C=0 , 9+0+0=9 , A->9 , C->0
[7] + [] , A=[9,1,7,3,3,8,5,0,5,9,5,8] , C=0 , 7+0+0=7 , A->7 , C->0
[] + [] , A=[7,9,1,7,3,3,8,5,0,5,9,5,8] C=0 , END
</scratch>
7917338505958
| 7917338505958 | 10 |
Input:
29860621155+7450713754321
Target:
| Input:
29860621155+7450713754321
Target:
[2,9,8,6,0,6,2,1,1,5,5] + [7,4,5,0,7,1,3,7,5,4,3,2,1] , A=[] , C=0 , 5+1+0=6 , A->6 , C->0
[2,9,8,6,0,6,2,1,1,5] + [7,4,5,0,7,1,3,7,5,4,3,2] , A=[6] , C=0 , 5+2+0=7 , A->7 , C->0
[2,9,8,6,0,6,2,1,1] + [7,4,5,0,7,1,3,7,5,4,3] , A=[7,6] , C=0 , 1+3+0=4 , A->4 , C->0
[2,9,8,6,0,6,2,1] + [7,4,5,0,7,1,3,7,5,4] , A=[4,7,6] , C=0 , 1+4+0=5 , A->5 , C->0
[2,9,8,6,0,6,2] + [7,4,5,0,7,1,3,7,5] , A=[5,4,7,6] , C=0 , 2+5+0=7 , A->7 , C->0
[2,9,8,6,0,6] + [7,4,5,0,7,1,3,7] , A=[7,5,4,7,6] , C=0 , 6+7+0=13 , A->3 , C->1
[2,9,8,6,0] + [7,4,5,0,7,1,3] , A=[3,7,5,4,7,6] , C=1 , 0+3+1=4 , A->4 , C->0
[2,9,8,6] + [7,4,5,0,7,1] , A=[4,3,7,5,4,7,6] , C=0 , 6+1+0=7 , A->7 , C->0
[2,9,8] + [7,4,5,0,7] , A=[7,4,3,7,5,4,7,6] , C=0 , 8+7+0=15 , A->5 , C->1
[2,9] + [7,4,5,0] , A=[5,7,4,3,7,5,4,7,6] , C=1 , 9+0+1=10 , A->0 , C->1
[2] + [7,4,5] , A=[0,5,7,4,3,7,5,4,7,6] , C=1 , 2+5+1=8 , A->8 , C->0
[] + [7,4] , A=[8,0,5,7,4,3,7,5,4,7,6] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [7] , A=[4,8,0,5,7,4,3,7,5,4,7,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,4,8,0,5,7,4,3,7,5,4,7,6] C=0 , END
</scratch>
7480574375476
| 7480574375476 | 11 |
Input:
2596783421922+88348
Target:
| Input:
2596783421922+88348
Target:
[2,5,9,6,7,8,3,4,2,1,9,2,2] + [8,8,3,4,8] , A=[] , C=0 , 2+8+0=10 , A->0 , C->1
[2,5,9,6,7,8,3,4,2,1,9,2] + [8,8,3,4] , A=[0] , C=1 , 2+4+1=7 , A->7 , C->0
[2,5,9,6,7,8,3,4,2,1,9] + [8,8,3] , A=[7,0] , C=0 , 9+3+0=12 , A->2 , C->1
[2,5,9,6,7,8,3,4,2,1] + [8,8] , A=[2,7,0] , C=1 , 1+8+1=10 , A->0 , C->1
[2,5,9,6,7,8,3,4,2] + [8] , A=[0,2,7,0] , C=1 , 2+8+1=11 , A->1 , C->1
[2,5,9,6,7,8,3,4] + [] , A=[1,0,2,7,0] , C=1 , 4+0+1=5 , A->5 , C->0
[2,5,9,6,7,8,3] + [] , A=[5,1,0,2,7,0] , C=0 , 3+0+0=3 , A->3 , C->0
[2,5,9,6,7,8] + [] , A=[3,5,1,0,2,7,0] , C=0 , 8+0+0=8 , A->8 , C->0
[2,5,9,6,7] + [] , A=[8,3,5,1,0,2,7,0] , C=0 , 7+0+0=7 , A->7 , C->0
[2,5,9,6] + [] , A=[7,8,3,5,1,0,2,7,0] , C=0 , 6+0+0=6 , A->6 , C->0
[2,5,9] + [] , A=[6,7,8,3,5,1,0,2,7,0] , C=0 , 9+0+0=9 , A->9 , C->0
[2,5] + [] , A=[9,6,7,8,3,5,1,0,2,7,0] , C=0 , 5+0+0=5 , A->5 , C->0
[2] + [] , A=[5,9,6,7,8,3,5,1,0,2,7,0] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [] , A=[2,5,9,6,7,8,3,5,1,0,2,7,0] C=0 , END
</scratch>
2596783510270
| 2596783510270 | 5 |
Input:
5996756603614+2421188065855
Target:
| Input:
5996756603614+2421188065855
Target:
[5,9,9,6,7,5,6,6,0,3,6,1,4] + [2,4,2,1,1,8,8,0,6,5,8,5,5] , A=[] , C=0 , 4+5+0=9 , A->9 , C->0
[5,9,9,6,7,5,6,6,0,3,6,1] + [2,4,2,1,1,8,8,0,6,5,8,5] , A=[9] , C=0 , 1+5+0=6 , A->6 , C->0
[5,9,9,6,7,5,6,6,0,3,6] + [2,4,2,1,1,8,8,0,6,5,8] , A=[6,9] , C=0 , 6+8+0=14 , A->4 , C->1
[5,9,9,6,7,5,6,6,0,3] + [2,4,2,1,1,8,8,0,6,5] , A=[4,6,9] , C=1 , 3+5+1=9 , A->9 , C->0
[5,9,9,6,7,5,6,6,0] + [2,4,2,1,1,8,8,0,6] , A=[9,4,6,9] , C=0 , 0+6+0=6 , A->6 , C->0
[5,9,9,6,7,5,6,6] + [2,4,2,1,1,8,8,0] , A=[6,9,4,6,9] , C=0 , 6+0+0=6 , A->6 , C->0
[5,9,9,6,7,5,6] + [2,4,2,1,1,8,8] , A=[6,6,9,4,6,9] , C=0 , 6+8+0=14 , A->4 , C->1
[5,9,9,6,7,5] + [2,4,2,1,1,8] , A=[4,6,6,9,4,6,9] , C=1 , 5+8+1=14 , A->4 , C->1
[5,9,9,6,7] + [2,4,2,1,1] , A=[4,4,6,6,9,4,6,9] , C=1 , 7+1+1=9 , A->9 , C->0
[5,9,9,6] + [2,4,2,1] , A=[9,4,4,6,6,9,4,6,9] , C=0 , 6+1+0=7 , A->7 , C->0
[5,9,9] + [2,4,2] , A=[7,9,4,4,6,6,9,4,6,9] , C=0 , 9+2+0=11 , A->1 , C->1
[5,9] + [2,4] , A=[1,7,9,4,4,6,6,9,4,6,9] , C=1 , 9+4+1=14 , A->4 , C->1
[5] + [2] , A=[4,1,7,9,4,4,6,6,9,4,6,9] , C=1 , 5+2+1=8 , A->8 , C->0
[] + [] , A=[8,4,1,7,9,4,4,6,6,9,4,6,9] C=0 , END
</scratch>
8417944669469
| 8417944669469 | 13 |
Input:
1258103+4289724985421
Target:
| Input:
1258103+4289724985421
Target:
[1,2,5,8,1,0,3] + [4,2,8,9,7,2,4,9,8,5,4,2,1] , A=[] , C=0 , 3+1+0=4 , A->4 , C->0
[1,2,5,8,1,0] + [4,2,8,9,7,2,4,9,8,5,4,2] , A=[4] , C=0 , 0+2+0=2 , A->2 , C->0
[1,2,5,8,1] + [4,2,8,9,7,2,4,9,8,5,4] , A=[2,4] , C=0 , 1+4+0=5 , A->5 , C->0
[1,2,5,8] + [4,2,8,9,7,2,4,9,8,5] , A=[5,2,4] , C=0 , 8+5+0=13 , A->3 , C->1
[1,2,5] + [4,2,8,9,7,2,4,9,8] , A=[3,5,2,4] , C=1 , 5+8+1=14 , A->4 , C->1
[1,2] + [4,2,8,9,7,2,4,9] , A=[4,3,5,2,4] , C=1 , 2+9+1=12 , A->2 , C->1
[1] + [4,2,8,9,7,2,4] , A=[2,4,3,5,2,4] , C=1 , 1+4+1=6 , A->6 , C->0
[] + [4,2,8,9,7,2] , A=[6,2,4,3,5,2,4] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [4,2,8,9,7] , A=[2,6,2,4,3,5,2,4] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [4,2,8,9] , A=[7,2,6,2,4,3,5,2,4] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [4,2,8] , A=[9,7,2,6,2,4,3,5,2,4] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [4,2] , A=[8,9,7,2,6,2,4,3,5,2,4] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [4] , A=[2,8,9,7,2,6,2,4,3,5,2,4] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,2,8,9,7,2,6,2,4,3,5,2,4] C=0 , END
</scratch>
4289726243524
| 4289726243524 | 7 |
Input:
501+5102400453846
Target:
| Input:
501+5102400453846
Target:
[5,0,1] + [5,1,0,2,4,0,0,4,5,3,8,4,6] , A=[] , C=0 , 1+6+0=7 , A->7 , C->0
[5,0] + [5,1,0,2,4,0,0,4,5,3,8,4] , A=[7] , C=0 , 0+4+0=4 , A->4 , C->0
[5] + [5,1,0,2,4,0,0,4,5,3,8] , A=[4,7] , C=0 , 5+8+0=13 , A->3 , C->1
[] + [5,1,0,2,4,0,0,4,5,3] , A=[3,4,7] , C=1 , 0+3+1=4 , A->4 , C->0
[] + [5,1,0,2,4,0,0,4,5] , A=[4,3,4,7] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [5,1,0,2,4,0,0,4] , A=[5,4,3,4,7] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [5,1,0,2,4,0,0] , A=[4,5,4,3,4,7] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [5,1,0,2,4,0] , A=[0,4,5,4,3,4,7] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [5,1,0,2,4] , A=[0,0,4,5,4,3,4,7] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [5,1,0,2] , A=[4,0,0,4,5,4,3,4,7] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [5,1,0] , A=[2,4,0,0,4,5,4,3,4,7] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [5,1] , A=[0,2,4,0,0,4,5,4,3,4,7] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [5] , A=[1,0,2,4,0,0,4,5,4,3,4,7] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,1,0,2,4,0,0,4,5,4,3,4,7] C=0 , END
</scratch>
5102400454347
| 5102400454347 | 3 |
Input:
102721955190+7682771189662
Target:
| Input:
102721955190+7682771189662
Target:
[1,0,2,7,2,1,9,5,5,1,9,0] + [7,6,8,2,7,7,1,1,8,9,6,6,2] , A=[] , C=0 , 0+2+0=2 , A->2 , C->0
[1,0,2,7,2,1,9,5,5,1,9] + [7,6,8,2,7,7,1,1,8,9,6,6] , A=[2] , C=0 , 9+6+0=15 , A->5 , C->1
[1,0,2,7,2,1,9,5,5,1] + [7,6,8,2,7,7,1,1,8,9,6] , A=[5,2] , C=1 , 1+6+1=8 , A->8 , C->0
[1,0,2,7,2,1,9,5,5] + [7,6,8,2,7,7,1,1,8,9] , A=[8,5,2] , C=0 , 5+9+0=14 , A->4 , C->1
[1,0,2,7,2,1,9,5] + [7,6,8,2,7,7,1,1,8] , A=[4,8,5,2] , C=1 , 5+8+1=14 , A->4 , C->1
[1,0,2,7,2,1,9] + [7,6,8,2,7,7,1,1] , A=[4,4,8,5,2] , C=1 , 9+1+1=11 , A->1 , C->1
[1,0,2,7,2,1] + [7,6,8,2,7,7,1] , A=[1,4,4,8,5,2] , C=1 , 1+1+1=3 , A->3 , C->0
[1,0,2,7,2] + [7,6,8,2,7,7] , A=[3,1,4,4,8,5,2] , C=0 , 2+7+0=9 , A->9 , C->0
[1,0,2,7] + [7,6,8,2,7] , A=[9,3,1,4,4,8,5,2] , C=0 , 7+7+0=14 , A->4 , C->1
[1,0,2] + [7,6,8,2] , A=[4,9,3,1,4,4,8,5,2] , C=1 , 2+2+1=5 , A->5 , C->0
[1,0] + [7,6,8] , A=[5,4,9,3,1,4,4,8,5,2] , C=0 , 0+8+0=8 , A->8 , C->0
[1] + [7,6] , A=[8,5,4,9,3,1,4,4,8,5,2] , C=0 , 1+6+0=7 , A->7 , C->0
[] + [7] , A=[7,8,5,4,9,3,1,4,4,8,5,2] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,7,8,5,4,9,3,1,4,4,8,5,2] C=0 , END
</scratch>
7785493144852
| 7785493144852 | 12 |
Input:
42+9202752005814
Target:
| Input:
42+9202752005814
Target:
[4,2] + [9,2,0,2,7,5,2,0,0,5,8,1,4] , A=[] , C=0 , 2+4+0=6 , A->6 , C->0
[4] + [9,2,0,2,7,5,2,0,0,5,8,1] , A=[6] , C=0 , 4+1+0=5 , A->5 , C->0
[] + [9,2,0,2,7,5,2,0,0,5,8] , A=[5,6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [9,2,0,2,7,5,2,0,0,5] , A=[8,5,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,2,0,2,7,5,2,0,0] , A=[5,8,5,6] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [9,2,0,2,7,5,2,0] , A=[0,5,8,5,6] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [9,2,0,2,7,5,2] , A=[0,0,5,8,5,6] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9,2,0,2,7,5] , A=[2,0,0,5,8,5,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,2,0,2,7] , A=[5,2,0,0,5,8,5,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [9,2,0,2] , A=[7,5,2,0,0,5,8,5,6] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9,2,0] , A=[2,7,5,2,0,0,5,8,5,6] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [9,2] , A=[0,2,7,5,2,0,0,5,8,5,6] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9] , A=[2,0,2,7,5,2,0,0,5,8,5,6] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,2,0,2,7,5,2,0,0,5,8,5,6] C=0 , END
</scratch>
9202752005856
| 9202752005856 | 2 |
Input:
3109755982805+211080554678
Target:
| Input:
3109755982805+211080554678
Target:
[3,1,0,9,7,5,5,9,8,2,8,0,5] + [2,1,1,0,8,0,5,5,4,6,7,8] , A=[] , C=0 , 5+8+0=13 , A->3 , C->1
[3,1,0,9,7,5,5,9,8,2,8,0] + [2,1,1,0,8,0,5,5,4,6,7] , A=[3] , C=1 , 0+7+1=8 , A->8 , C->0
[3,1,0,9,7,5,5,9,8,2,8] + [2,1,1,0,8,0,5,5,4,6] , A=[8,3] , C=0 , 8+6+0=14 , A->4 , C->1
[3,1,0,9,7,5,5,9,8,2] + [2,1,1,0,8,0,5,5,4] , A=[4,8,3] , C=1 , 2+4+1=7 , A->7 , C->0
[3,1,0,9,7,5,5,9,8] + [2,1,1,0,8,0,5,5] , A=[7,4,8,3] , C=0 , 8+5+0=13 , A->3 , C->1
[3,1,0,9,7,5,5,9] + [2,1,1,0,8,0,5] , A=[3,7,4,8,3] , C=1 , 9+5+1=15 , A->5 , C->1
[3,1,0,9,7,5,5] + [2,1,1,0,8,0] , A=[5,3,7,4,8,3] , C=1 , 5+0+1=6 , A->6 , C->0
[3,1,0,9,7,5] + [2,1,1,0,8] , A=[6,5,3,7,4,8,3] , C=0 , 5+8+0=13 , A->3 , C->1
[3,1,0,9,7] + [2,1,1,0] , A=[3,6,5,3,7,4,8,3] , C=1 , 7+0+1=8 , A->8 , C->0
[3,1,0,9] + [2,1,1] , A=[8,3,6,5,3,7,4,8,3] , C=0 , 9+1+0=10 , A->0 , C->1
[3,1,0] + [2,1] , A=[0,8,3,6,5,3,7,4,8,3] , C=1 , 0+1+1=2 , A->2 , C->0
[3,1] + [2] , A=[2,0,8,3,6,5,3,7,4,8,3] , C=0 , 1+2+0=3 , A->3 , C->0
[3] + [] , A=[3,2,0,8,3,6,5,3,7,4,8,3] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,3,2,0,8,3,6,5,3,7,4,8,3] C=0 , END
</scratch>
3320836537483
| 3320836537483 | 12 |
Input:
9989679857627+968312172002
Target:
| Input:
9989679857627+968312172002
Target:
[9,9,8,9,6,7,9,8,5,7,6,2,7] + [9,6,8,3,1,2,1,7,2,0,0,2] , A=[] , C=0 , 7+2+0=9 , A->9 , C->0
[9,9,8,9,6,7,9,8,5,7,6,2] + [9,6,8,3,1,2,1,7,2,0,0] , A=[9] , C=0 , 2+0+0=2 , A->2 , C->0
[9,9,8,9,6,7,9,8,5,7,6] + [9,6,8,3,1,2,1,7,2,0] , A=[2,9] , C=0 , 6+0+0=6 , A->6 , C->0
[9,9,8,9,6,7,9,8,5,7] + [9,6,8,3,1,2,1,7,2] , A=[6,2,9] , C=0 , 7+2+0=9 , A->9 , C->0
[9,9,8,9,6,7,9,8,5] + [9,6,8,3,1,2,1,7] , A=[9,6,2,9] , C=0 , 5+7+0=12 , A->2 , C->1
[9,9,8,9,6,7,9,8] + [9,6,8,3,1,2,1] , A=[2,9,6,2,9] , C=1 , 8+1+1=10 , A->0 , C->1
[9,9,8,9,6,7,9] + [9,6,8,3,1,2] , A=[0,2,9,6,2,9] , C=1 , 9+2+1=12 , A->2 , C->1
[9,9,8,9,6,7] + [9,6,8,3,1] , A=[2,0,2,9,6,2,9] , C=1 , 7+1+1=9 , A->9 , C->0
[9,9,8,9,6] + [9,6,8,3] , A=[9,2,0,2,9,6,2,9] , C=0 , 6+3+0=9 , A->9 , C->0
[9,9,8,9] + [9,6,8] , A=[9,9,2,0,2,9,6,2,9] , C=0 , 9+8+0=17 , A->7 , C->1
[9,9,8] + [9,6] , A=[7,9,9,2,0,2,9,6,2,9] , C=1 , 8+6+1=15 , A->5 , C->1
[9,9] + [9] , A=[5,7,9,9,2,0,2,9,6,2,9] , C=1 , 9+9+1=19 , A->9 , C->1
[9] + [] , A=[9,5,7,9,9,2,0,2,9,6,2,9] , C=1 , 9+0+1=10 , A->0 , C->1
[] + [] , A=[0,9,5,7,9,9,2,0,2,9,6,2,9] C=1 , END
</scratch>
10957992029629
| 10957992029629 | 12 |
Input:
2886973701585+1155277398598
Target:
| Input:
2886973701585+1155277398598
Target:
[2,8,8,6,9,7,3,7,0,1,5,8,5] + [1,1,5,5,2,7,7,3,9,8,5,9,8] , A=[] , C=0 , 5+8+0=13 , A->3 , C->1
[2,8,8,6,9,7,3,7,0,1,5,8] + [1,1,5,5,2,7,7,3,9,8,5,9] , A=[3] , C=1 , 8+9+1=18 , A->8 , C->1
[2,8,8,6,9,7,3,7,0,1,5] + [1,1,5,5,2,7,7,3,9,8,5] , A=[8,3] , C=1 , 5+5+1=11 , A->1 , C->1
[2,8,8,6,9,7,3,7,0,1] + [1,1,5,5,2,7,7,3,9,8] , A=[1,8,3] , C=1 , 1+8+1=10 , A->0 , C->1
[2,8,8,6,9,7,3,7,0] + [1,1,5,5,2,7,7,3,9] , A=[0,1,8,3] , C=1 , 0+9+1=10 , A->0 , C->1
[2,8,8,6,9,7,3,7] + [1,1,5,5,2,7,7,3] , A=[0,0,1,8,3] , C=1 , 7+3+1=11 , A->1 , C->1
[2,8,8,6,9,7,3] + [1,1,5,5,2,7,7] , A=[1,0,0,1,8,3] , C=1 , 3+7+1=11 , A->1 , C->1
[2,8,8,6,9,7] + [1,1,5,5,2,7] , A=[1,1,0,0,1,8,3] , C=1 , 7+7+1=15 , A->5 , C->1
[2,8,8,6,9] + [1,1,5,5,2] , A=[5,1,1,0,0,1,8,3] , C=1 , 9+2+1=12 , A->2 , C->1
[2,8,8,6] + [1,1,5,5] , A=[2,5,1,1,0,0,1,8,3] , C=1 , 6+5+1=12 , A->2 , C->1
[2,8,8] + [1,1,5] , A=[2,2,5,1,1,0,0,1,8,3] , C=1 , 8+5+1=14 , A->4 , C->1
[2,8] + [1,1] , A=[4,2,2,5,1,1,0,0,1,8,3] , C=1 , 8+1+1=10 , A->0 , C->1
[2] + [1] , A=[0,4,2,2,5,1,1,0,0,1,8,3] , C=1 , 2+1+1=4 , A->4 , C->0
[] + [] , A=[4,0,4,2,2,5,1,1,0,0,1,8,3] C=0 , END
</scratch>
4042251100183
| 4042251100183 | 13 |
Input:
834+2394697090134
Target:
| Input:
834+2394697090134
Target:
[8,3,4] + [2,3,9,4,6,9,7,0,9,0,1,3,4] , A=[] , C=0 , 4+4+0=8 , A->8 , C->0
[8,3] + [2,3,9,4,6,9,7,0,9,0,1,3] , A=[8] , C=0 , 3+3+0=6 , A->6 , C->0
[8] + [2,3,9,4,6,9,7,0,9,0,1] , A=[6,8] , C=0 , 8+1+0=9 , A->9 , C->0
[] + [2,3,9,4,6,9,7,0,9,0] , A=[9,6,8] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [2,3,9,4,6,9,7,0,9] , A=[0,9,6,8] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [2,3,9,4,6,9,7,0] , A=[9,0,9,6,8] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [2,3,9,4,6,9,7] , A=[0,9,0,9,6,8] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [2,3,9,4,6,9] , A=[7,0,9,0,9,6,8] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [2,3,9,4,6] , A=[9,7,0,9,0,9,6,8] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [2,3,9,4] , A=[6,9,7,0,9,0,9,6,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [2,3,9] , A=[4,6,9,7,0,9,0,9,6,8] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [2,3] , A=[9,4,6,9,7,0,9,0,9,6,8] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [2] , A=[3,9,4,6,9,7,0,9,0,9,6,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,3,9,4,6,9,7,0,9,0,9,6,8] C=0 , END
</scratch>
2394697090968
| 2394697090968 | 3 |
End of preview. Expand
in Dataset Viewer.
README.md exists but content is empty.
- Downloads last month
- 30