input_test
stringlengths 49
49
| scratchpad
stringlengths 1.59k
1.61k
| result_final
stringlengths 16
17
| y_digits
int64 16
16
|
---|---|---|---|
Input:
9558352423952705+9514512454511007
Target:
| Input:
9558352423952705+9514512454511007
Target:
[9,5,5,8,3,5,2,4,2,3,9,5,2,7,0,5] + [9,5,1,4,5,1,2,4,5,4,5,1,1,0,0,7] , A=[] , C=0 , 5+7+0=12 , A->2 , C->1
[9,5,5,8,3,5,2,4,2,3,9,5,2,7,0] + [9,5,1,4,5,1,2,4,5,4,5,1,1,0,0] , A=[2] , C=1 , 0+0+1=1 , A->1 , C->0
[9,5,5,8,3,5,2,4,2,3,9,5,2,7] + [9,5,1,4,5,1,2,4,5,4,5,1,1,0] , A=[1,2] , C=0 , 7+0+0=7 , A->7 , C->0
[9,5,5,8,3,5,2,4,2,3,9,5,2] + [9,5,1,4,5,1,2,4,5,4,5,1,1] , A=[7,1,2] , C=0 , 2+1+0=3 , A->3 , C->0
[9,5,5,8,3,5,2,4,2,3,9,5] + [9,5,1,4,5,1,2,4,5,4,5,1] , A=[3,7,1,2] , C=0 , 5+1+0=6 , A->6 , C->0
[9,5,5,8,3,5,2,4,2,3,9] + [9,5,1,4,5,1,2,4,5,4,5] , A=[6,3,7,1,2] , C=0 , 9+5+0=14 , A->4 , C->1
[9,5,5,8,3,5,2,4,2,3] + [9,5,1,4,5,1,2,4,5,4] , A=[4,6,3,7,1,2] , C=1 , 3+4+1=8 , A->8 , C->0
[9,5,5,8,3,5,2,4,2] + [9,5,1,4,5,1,2,4,5] , A=[8,4,6,3,7,1,2] , C=0 , 2+5+0=7 , A->7 , C->0
[9,5,5,8,3,5,2,4] + [9,5,1,4,5,1,2,4] , A=[7,8,4,6,3,7,1,2] , C=0 , 4+4+0=8 , A->8 , C->0
[9,5,5,8,3,5,2] + [9,5,1,4,5,1,2] , A=[8,7,8,4,6,3,7,1,2] , C=0 , 2+2+0=4 , A->4 , C->0
[9,5,5,8,3,5] + [9,5,1,4,5,1] , A=[4,8,7,8,4,6,3,7,1,2] , C=0 , 5+1+0=6 , A->6 , C->0
[9,5,5,8,3] + [9,5,1,4,5] , A=[6,4,8,7,8,4,6,3,7,1,2] , C=0 , 3+5+0=8 , A->8 , C->0
[9,5,5,8] + [9,5,1,4] , A=[8,6,4,8,7,8,4,6,3,7,1,2] , C=0 , 8+4+0=12 , A->2 , C->1
[9,5,5] + [9,5,1] , A=[2,8,6,4,8,7,8,4,6,3,7,1,2] , C=1 , 5+1+1=7 , A->7 , C->0
[9,5] + [9,5] , A=[7,2,8,6,4,8,7,8,4,6,3,7,1,2] , C=0 , 5+5+0=10 , A->0 , C->1
[9] + [9] , A=[0,7,2,8,6,4,8,7,8,4,6,3,7,1,2] , C=1 , 9+9+1=19 , A->9 , C->1
[] + [] , A=[9,0,7,2,8,6,4,8,7,8,4,6,3,7,1,2] C=1 , END
</scratch>
19072864878463712
| 19072864878463712 | 16 |
Input:
9938841732100561+8665917923142264
Target:
| Input:
9938841732100561+8665917923142264
Target:
[9,9,3,8,8,4,1,7,3,2,1,0,0,5,6,1] + [8,6,6,5,9,1,7,9,2,3,1,4,2,2,6,4] , A=[] , C=0 , 1+4+0=5 , A->5 , C->0
[9,9,3,8,8,4,1,7,3,2,1,0,0,5,6] + [8,6,6,5,9,1,7,9,2,3,1,4,2,2,6] , A=[5] , C=0 , 6+6+0=12 , A->2 , C->1
[9,9,3,8,8,4,1,7,3,2,1,0,0,5] + [8,6,6,5,9,1,7,9,2,3,1,4,2,2] , A=[2,5] , C=1 , 5+2+1=8 , A->8 , C->0
[9,9,3,8,8,4,1,7,3,2,1,0,0] + [8,6,6,5,9,1,7,9,2,3,1,4,2] , A=[8,2,5] , C=0 , 0+2+0=2 , A->2 , C->0
[9,9,3,8,8,4,1,7,3,2,1,0] + [8,6,6,5,9,1,7,9,2,3,1,4] , A=[2,8,2,5] , C=0 , 0+4+0=4 , A->4 , C->0
[9,9,3,8,8,4,1,7,3,2,1] + [8,6,6,5,9,1,7,9,2,3,1] , A=[4,2,8,2,5] , C=0 , 1+1+0=2 , A->2 , C->0
[9,9,3,8,8,4,1,7,3,2] + [8,6,6,5,9,1,7,9,2,3] , A=[2,4,2,8,2,5] , C=0 , 2+3+0=5 , A->5 , C->0
[9,9,3,8,8,4,1,7,3] + [8,6,6,5,9,1,7,9,2] , A=[5,2,4,2,8,2,5] , C=0 , 3+2+0=5 , A->5 , C->0
[9,9,3,8,8,4,1,7] + [8,6,6,5,9,1,7,9] , A=[5,5,2,4,2,8,2,5] , C=0 , 7+9+0=16 , A->6 , C->1
[9,9,3,8,8,4,1] + [8,6,6,5,9,1,7] , A=[6,5,5,2,4,2,8,2,5] , C=1 , 1+7+1=9 , A->9 , C->0
[9,9,3,8,8,4] + [8,6,6,5,9,1] , A=[9,6,5,5,2,4,2,8,2,5] , C=0 , 4+1+0=5 , A->5 , C->0
[9,9,3,8,8] + [8,6,6,5,9] , A=[5,9,6,5,5,2,4,2,8,2,5] , C=0 , 8+9+0=17 , A->7 , C->1
[9,9,3,8] + [8,6,6,5] , A=[7,5,9,6,5,5,2,4,2,8,2,5] , C=1 , 8+5+1=14 , A->4 , C->1
[9,9,3] + [8,6,6] , A=[4,7,5,9,6,5,5,2,4,2,8,2,5] , C=1 , 3+6+1=10 , A->0 , C->1
[9,9] + [8,6] , A=[0,4,7,5,9,6,5,5,2,4,2,8,2,5] , C=1 , 9+6+1=16 , A->6 , C->1
[9] + [8] , A=[6,0,4,7,5,9,6,5,5,2,4,2,8,2,5] , C=1 , 9+8+1=18 , A->8 , C->1
[] + [] , A=[8,6,0,4,7,5,9,6,5,5,2,4,2,8,2,5] C=1 , END
</scratch>
18604759655242825
| 18604759655242825 | 16 |
Input:
2233384733587689+5193918967757745
Target:
| Input:
2233384733587689+5193918967757745
Target:
[2,2,3,3,3,8,4,7,3,3,5,8,7,6,8,9] + [5,1,9,3,9,1,8,9,6,7,7,5,7,7,4,5] , A=[] , C=0 , 9+5+0=14 , A->4 , C->1
[2,2,3,3,3,8,4,7,3,3,5,8,7,6,8] + [5,1,9,3,9,1,8,9,6,7,7,5,7,7,4] , A=[4] , C=1 , 8+4+1=13 , A->3 , C->1
[2,2,3,3,3,8,4,7,3,3,5,8,7,6] + [5,1,9,3,9,1,8,9,6,7,7,5,7,7] , A=[3,4] , C=1 , 6+7+1=14 , A->4 , C->1
[2,2,3,3,3,8,4,7,3,3,5,8,7] + [5,1,9,3,9,1,8,9,6,7,7,5,7] , A=[4,3,4] , C=1 , 7+7+1=15 , A->5 , C->1
[2,2,3,3,3,8,4,7,3,3,5,8] + [5,1,9,3,9,1,8,9,6,7,7,5] , A=[5,4,3,4] , C=1 , 8+5+1=14 , A->4 , C->1
[2,2,3,3,3,8,4,7,3,3,5] + [5,1,9,3,9,1,8,9,6,7,7] , A=[4,5,4,3,4] , C=1 , 5+7+1=13 , A->3 , C->1
[2,2,3,3,3,8,4,7,3,3] + [5,1,9,3,9,1,8,9,6,7] , A=[3,4,5,4,3,4] , C=1 , 3+7+1=11 , A->1 , C->1
[2,2,3,3,3,8,4,7,3] + [5,1,9,3,9,1,8,9,6] , A=[1,3,4,5,4,3,4] , C=1 , 3+6+1=10 , A->0 , C->1
[2,2,3,3,3,8,4,7] + [5,1,9,3,9,1,8,9] , A=[0,1,3,4,5,4,3,4] , C=1 , 7+9+1=17 , A->7 , C->1
[2,2,3,3,3,8,4] + [5,1,9,3,9,1,8] , A=[7,0,1,3,4,5,4,3,4] , C=1 , 4+8+1=13 , A->3 , C->1
[2,2,3,3,3,8] + [5,1,9,3,9,1] , A=[3,7,0,1,3,4,5,4,3,4] , C=1 , 8+1+1=10 , A->0 , C->1
[2,2,3,3,3] + [5,1,9,3,9] , A=[0,3,7,0,1,3,4,5,4,3,4] , C=1 , 3+9+1=13 , A->3 , C->1
[2,2,3,3] + [5,1,9,3] , A=[3,0,3,7,0,1,3,4,5,4,3,4] , C=1 , 3+3+1=7 , A->7 , C->0
[2,2,3] + [5,1,9] , A=[7,3,0,3,7,0,1,3,4,5,4,3,4] , C=0 , 3+9+0=12 , A->2 , C->1
[2,2] + [5,1] , A=[2,7,3,0,3,7,0,1,3,4,5,4,3,4] , C=1 , 2+1+1=4 , A->4 , C->0
[2] + [5] , A=[4,2,7,3,0,3,7,0,1,3,4,5,4,3,4] , C=0 , 2+5+0=7 , A->7 , C->0
[] + [] , A=[7,4,2,7,3,0,3,7,0,1,3,4,5,4,3,4] C=0 , END
</scratch>
7427303701345434
| 7427303701345434 | 16 |
Input:
6975773072088663+3661899342023992
Target:
| Input:
6975773072088663+3661899342023992
Target:
[6,9,7,5,7,7,3,0,7,2,0,8,8,6,6,3] + [3,6,6,1,8,9,9,3,4,2,0,2,3,9,9,2] , A=[] , C=0 , 3+2+0=5 , A->5 , C->0
[6,9,7,5,7,7,3,0,7,2,0,8,8,6,6] + [3,6,6,1,8,9,9,3,4,2,0,2,3,9,9] , A=[5] , C=0 , 6+9+0=15 , A->5 , C->1
[6,9,7,5,7,7,3,0,7,2,0,8,8,6] + [3,6,6,1,8,9,9,3,4,2,0,2,3,9] , A=[5,5] , C=1 , 6+9+1=16 , A->6 , C->1
[6,9,7,5,7,7,3,0,7,2,0,8,8] + [3,6,6,1,8,9,9,3,4,2,0,2,3] , A=[6,5,5] , C=1 , 8+3+1=12 , A->2 , C->1
[6,9,7,5,7,7,3,0,7,2,0,8] + [3,6,6,1,8,9,9,3,4,2,0,2] , A=[2,6,5,5] , C=1 , 8+2+1=11 , A->1 , C->1
[6,9,7,5,7,7,3,0,7,2,0] + [3,6,6,1,8,9,9,3,4,2,0] , A=[1,2,6,5,5] , C=1 , 0+0+1=1 , A->1 , C->0
[6,9,7,5,7,7,3,0,7,2] + [3,6,6,1,8,9,9,3,4,2] , A=[1,1,2,6,5,5] , C=0 , 2+2+0=4 , A->4 , C->0
[6,9,7,5,7,7,3,0,7] + [3,6,6,1,8,9,9,3,4] , A=[4,1,1,2,6,5,5] , C=0 , 7+4+0=11 , A->1 , C->1
[6,9,7,5,7,7,3,0] + [3,6,6,1,8,9,9,3] , A=[1,4,1,1,2,6,5,5] , C=1 , 0+3+1=4 , A->4 , C->0
[6,9,7,5,7,7,3] + [3,6,6,1,8,9,9] , A=[4,1,4,1,1,2,6,5,5] , C=0 , 3+9+0=12 , A->2 , C->1
[6,9,7,5,7,7] + [3,6,6,1,8,9] , A=[2,4,1,4,1,1,2,6,5,5] , C=1 , 7+9+1=17 , A->7 , C->1
[6,9,7,5,7] + [3,6,6,1,8] , A=[7,2,4,1,4,1,1,2,6,5,5] , C=1 , 7+8+1=16 , A->6 , C->1
[6,9,7,5] + [3,6,6,1] , A=[6,7,2,4,1,4,1,1,2,6,5,5] , C=1 , 5+1+1=7 , A->7 , C->0
[6,9,7] + [3,6,6] , A=[7,6,7,2,4,1,4,1,1,2,6,5,5] , C=0 , 7+6+0=13 , A->3 , C->1
[6,9] + [3,6] , A=[3,7,6,7,2,4,1,4,1,1,2,6,5,5] , C=1 , 9+6+1=16 , A->6 , C->1
[6] + [3] , A=[6,3,7,6,7,2,4,1,4,1,1,2,6,5,5] , C=1 , 6+3+1=10 , A->0 , C->1
[] + [] , A=[0,6,3,7,6,7,2,4,1,4,1,1,2,6,5,5] C=1 , END
</scratch>
10637672414112655
| 10637672414112655 | 16 |
Input:
7423821106693311+8890868531081307
Target:
| Input:
7423821106693311+8890868531081307
Target:
[7,4,2,3,8,2,1,1,0,6,6,9,3,3,1,1] + [8,8,9,0,8,6,8,5,3,1,0,8,1,3,0,7] , A=[] , C=0 , 1+7+0=8 , A->8 , C->0
[7,4,2,3,8,2,1,1,0,6,6,9,3,3,1] + [8,8,9,0,8,6,8,5,3,1,0,8,1,3,0] , A=[8] , C=0 , 1+0+0=1 , A->1 , C->0
[7,4,2,3,8,2,1,1,0,6,6,9,3,3] + [8,8,9,0,8,6,8,5,3,1,0,8,1,3] , A=[1,8] , C=0 , 3+3+0=6 , A->6 , C->0
[7,4,2,3,8,2,1,1,0,6,6,9,3] + [8,8,9,0,8,6,8,5,3,1,0,8,1] , A=[6,1,8] , C=0 , 3+1+0=4 , A->4 , C->0
[7,4,2,3,8,2,1,1,0,6,6,9] + [8,8,9,0,8,6,8,5,3,1,0,8] , A=[4,6,1,8] , C=0 , 9+8+0=17 , A->7 , C->1
[7,4,2,3,8,2,1,1,0,6,6] + [8,8,9,0,8,6,8,5,3,1,0] , A=[7,4,6,1,8] , C=1 , 6+0+1=7 , A->7 , C->0
[7,4,2,3,8,2,1,1,0,6] + [8,8,9,0,8,6,8,5,3,1] , A=[7,7,4,6,1,8] , C=0 , 6+1+0=7 , A->7 , C->0
[7,4,2,3,8,2,1,1,0] + [8,8,9,0,8,6,8,5,3] , A=[7,7,7,4,6,1,8] , C=0 , 0+3+0=3 , A->3 , C->0
[7,4,2,3,8,2,1,1] + [8,8,9,0,8,6,8,5] , A=[3,7,7,7,4,6,1,8] , C=0 , 1+5+0=6 , A->6 , C->0
[7,4,2,3,8,2,1] + [8,8,9,0,8,6,8] , A=[6,3,7,7,7,4,6,1,8] , C=0 , 1+8+0=9 , A->9 , C->0
[7,4,2,3,8,2] + [8,8,9,0,8,6] , A=[9,6,3,7,7,7,4,6,1,8] , C=0 , 2+6+0=8 , A->8 , C->0
[7,4,2,3,8] + [8,8,9,0,8] , A=[8,9,6,3,7,7,7,4,6,1,8] , C=0 , 8+8+0=16 , A->6 , C->1
[7,4,2,3] + [8,8,9,0] , A=[6,8,9,6,3,7,7,7,4,6,1,8] , C=1 , 3+0+1=4 , A->4 , C->0
[7,4,2] + [8,8,9] , A=[4,6,8,9,6,3,7,7,7,4,6,1,8] , C=0 , 2+9+0=11 , A->1 , C->1
[7,4] + [8,8] , A=[1,4,6,8,9,6,3,7,7,7,4,6,1,8] , C=1 , 4+8+1=13 , A->3 , C->1
[7] + [8] , A=[3,1,4,6,8,9,6,3,7,7,7,4,6,1,8] , C=1 , 7+8+1=16 , A->6 , C->1
[] + [] , A=[6,3,1,4,6,8,9,6,3,7,7,7,4,6,1,8] C=1 , END
</scratch>
16314689637774618
| 16314689637774618 | 16 |
Input:
7409791883849227+9797351878231493
Target:
| Input:
7409791883849227+9797351878231493
Target:
[7,4,0,9,7,9,1,8,8,3,8,4,9,2,2,7] + [9,7,9,7,3,5,1,8,7,8,2,3,1,4,9,3] , A=[] , C=0 , 7+3+0=10 , A->0 , C->1
[7,4,0,9,7,9,1,8,8,3,8,4,9,2,2] + [9,7,9,7,3,5,1,8,7,8,2,3,1,4,9] , A=[0] , C=1 , 2+9+1=12 , A->2 , C->1
[7,4,0,9,7,9,1,8,8,3,8,4,9,2] + [9,7,9,7,3,5,1,8,7,8,2,3,1,4] , A=[2,0] , C=1 , 2+4+1=7 , A->7 , C->0
[7,4,0,9,7,9,1,8,8,3,8,4,9] + [9,7,9,7,3,5,1,8,7,8,2,3,1] , A=[7,2,0] , C=0 , 9+1+0=10 , A->0 , C->1
[7,4,0,9,7,9,1,8,8,3,8,4] + [9,7,9,7,3,5,1,8,7,8,2,3] , A=[0,7,2,0] , C=1 , 4+3+1=8 , A->8 , C->0
[7,4,0,9,7,9,1,8,8,3,8] + [9,7,9,7,3,5,1,8,7,8,2] , A=[8,0,7,2,0] , C=0 , 8+2+0=10 , A->0 , C->1
[7,4,0,9,7,9,1,8,8,3] + [9,7,9,7,3,5,1,8,7,8] , A=[0,8,0,7,2,0] , C=1 , 3+8+1=12 , A->2 , C->1
[7,4,0,9,7,9,1,8,8] + [9,7,9,7,3,5,1,8,7] , A=[2,0,8,0,7,2,0] , C=1 , 8+7+1=16 , A->6 , C->1
[7,4,0,9,7,9,1,8] + [9,7,9,7,3,5,1,8] , A=[6,2,0,8,0,7,2,0] , C=1 , 8+8+1=17 , A->7 , C->1
[7,4,0,9,7,9,1] + [9,7,9,7,3,5,1] , A=[7,6,2,0,8,0,7,2,0] , C=1 , 1+1+1=3 , A->3 , C->0
[7,4,0,9,7,9] + [9,7,9,7,3,5] , A=[3,7,6,2,0,8,0,7,2,0] , C=0 , 9+5+0=14 , A->4 , C->1
[7,4,0,9,7] + [9,7,9,7,3] , A=[4,3,7,6,2,0,8,0,7,2,0] , C=1 , 7+3+1=11 , A->1 , C->1
[7,4,0,9] + [9,7,9,7] , A=[1,4,3,7,6,2,0,8,0,7,2,0] , C=1 , 9+7+1=17 , A->7 , C->1
[7,4,0] + [9,7,9] , A=[7,1,4,3,7,6,2,0,8,0,7,2,0] , C=1 , 0+9+1=10 , A->0 , C->1
[7,4] + [9,7] , A=[0,7,1,4,3,7,6,2,0,8,0,7,2,0] , C=1 , 4+7+1=12 , A->2 , C->1
[7] + [9] , A=[2,0,7,1,4,3,7,6,2,0,8,0,7,2,0] , C=1 , 7+9+1=17 , A->7 , C->1
[] + [] , A=[7,2,0,7,1,4,3,7,6,2,0,8,0,7,2,0] C=1 , END
</scratch>
17207143762080720
| 17207143762080720 | 16 |
Input:
2706671375060950+1461148350775429
Target:
| Input:
2706671375060950+1461148350775429
Target:
[2,7,0,6,6,7,1,3,7,5,0,6,0,9,5,0] + [1,4,6,1,1,4,8,3,5,0,7,7,5,4,2,9] , A=[] , C=0 , 0+9+0=9 , A->9 , C->0
[2,7,0,6,6,7,1,3,7,5,0,6,0,9,5] + [1,4,6,1,1,4,8,3,5,0,7,7,5,4,2] , A=[9] , C=0 , 5+2+0=7 , A->7 , C->0
[2,7,0,6,6,7,1,3,7,5,0,6,0,9] + [1,4,6,1,1,4,8,3,5,0,7,7,5,4] , A=[7,9] , C=0 , 9+4+0=13 , A->3 , C->1
[2,7,0,6,6,7,1,3,7,5,0,6,0] + [1,4,6,1,1,4,8,3,5,0,7,7,5] , A=[3,7,9] , C=1 , 0+5+1=6 , A->6 , C->0
[2,7,0,6,6,7,1,3,7,5,0,6] + [1,4,6,1,1,4,8,3,5,0,7,7] , A=[6,3,7,9] , C=0 , 6+7+0=13 , A->3 , C->1
[2,7,0,6,6,7,1,3,7,5,0] + [1,4,6,1,1,4,8,3,5,0,7] , A=[3,6,3,7,9] , C=1 , 0+7+1=8 , A->8 , C->0
[2,7,0,6,6,7,1,3,7,5] + [1,4,6,1,1,4,8,3,5,0] , A=[8,3,6,3,7,9] , C=0 , 5+0+0=5 , A->5 , C->0
[2,7,0,6,6,7,1,3,7] + [1,4,6,1,1,4,8,3,5] , A=[5,8,3,6,3,7,9] , C=0 , 7+5+0=12 , A->2 , C->1
[2,7,0,6,6,7,1,3] + [1,4,6,1,1,4,8,3] , A=[2,5,8,3,6,3,7,9] , C=1 , 3+3+1=7 , A->7 , C->0
[2,7,0,6,6,7,1] + [1,4,6,1,1,4,8] , A=[7,2,5,8,3,6,3,7,9] , C=0 , 1+8+0=9 , A->9 , C->0
[2,7,0,6,6,7] + [1,4,6,1,1,4] , A=[9,7,2,5,8,3,6,3,7,9] , C=0 , 7+4+0=11 , A->1 , C->1
[2,7,0,6,6] + [1,4,6,1,1] , A=[1,9,7,2,5,8,3,6,3,7,9] , C=1 , 6+1+1=8 , A->8 , C->0
[2,7,0,6] + [1,4,6,1] , A=[8,1,9,7,2,5,8,3,6,3,7,9] , C=0 , 6+1+0=7 , A->7 , C->0
[2,7,0] + [1,4,6] , A=[7,8,1,9,7,2,5,8,3,6,3,7,9] , C=0 , 0+6+0=6 , A->6 , C->0
[2,7] + [1,4] , A=[6,7,8,1,9,7,2,5,8,3,6,3,7,9] , C=0 , 7+4+0=11 , A->1 , C->1
[2] + [1] , A=[1,6,7,8,1,9,7,2,5,8,3,6,3,7,9] , C=1 , 2+1+1=4 , A->4 , C->0
[] + [] , A=[4,1,6,7,8,1,9,7,2,5,8,3,6,3,7,9] C=0 , END
</scratch>
4167819725836379
| 4167819725836379 | 16 |
Input:
3237505653792729+6201036908631537
Target:
| Input:
3237505653792729+6201036908631537
Target:
[3,2,3,7,5,0,5,6,5,3,7,9,2,7,2,9] + [6,2,0,1,0,3,6,9,0,8,6,3,1,5,3,7] , A=[] , C=0 , 9+7+0=16 , A->6 , C->1
[3,2,3,7,5,0,5,6,5,3,7,9,2,7,2] + [6,2,0,1,0,3,6,9,0,8,6,3,1,5,3] , A=[6] , C=1 , 2+3+1=6 , A->6 , C->0
[3,2,3,7,5,0,5,6,5,3,7,9,2,7] + [6,2,0,1,0,3,6,9,0,8,6,3,1,5] , A=[6,6] , C=0 , 7+5+0=12 , A->2 , C->1
[3,2,3,7,5,0,5,6,5,3,7,9,2] + [6,2,0,1,0,3,6,9,0,8,6,3,1] , A=[2,6,6] , C=1 , 2+1+1=4 , A->4 , C->0
[3,2,3,7,5,0,5,6,5,3,7,9] + [6,2,0,1,0,3,6,9,0,8,6,3] , A=[4,2,6,6] , C=0 , 9+3+0=12 , A->2 , C->1
[3,2,3,7,5,0,5,6,5,3,7] + [6,2,0,1,0,3,6,9,0,8,6] , A=[2,4,2,6,6] , C=1 , 7+6+1=14 , A->4 , C->1
[3,2,3,7,5,0,5,6,5,3] + [6,2,0,1,0,3,6,9,0,8] , A=[4,2,4,2,6,6] , C=1 , 3+8+1=12 , A->2 , C->1
[3,2,3,7,5,0,5,6,5] + [6,2,0,1,0,3,6,9,0] , A=[2,4,2,4,2,6,6] , C=1 , 5+0+1=6 , A->6 , C->0
[3,2,3,7,5,0,5,6] + [6,2,0,1,0,3,6,9] , A=[6,2,4,2,4,2,6,6] , C=0 , 6+9+0=15 , A->5 , C->1
[3,2,3,7,5,0,5] + [6,2,0,1,0,3,6] , A=[5,6,2,4,2,4,2,6,6] , C=1 , 5+6+1=12 , A->2 , C->1
[3,2,3,7,5,0] + [6,2,0,1,0,3] , A=[2,5,6,2,4,2,4,2,6,6] , C=1 , 0+3+1=4 , A->4 , C->0
[3,2,3,7,5] + [6,2,0,1,0] , A=[4,2,5,6,2,4,2,4,2,6,6] , C=0 , 5+0+0=5 , A->5 , C->0
[3,2,3,7] + [6,2,0,1] , A=[5,4,2,5,6,2,4,2,4,2,6,6] , C=0 , 7+1+0=8 , A->8 , C->0
[3,2,3] + [6,2,0] , A=[8,5,4,2,5,6,2,4,2,4,2,6,6] , C=0 , 3+0+0=3 , A->3 , C->0
[3,2] + [6,2] , A=[3,8,5,4,2,5,6,2,4,2,4,2,6,6] , C=0 , 2+2+0=4 , A->4 , C->0
[3] + [6] , A=[4,3,8,5,4,2,5,6,2,4,2,4,2,6,6] , C=0 , 3+6+0=9 , A->9 , C->0
[] + [] , A=[9,4,3,8,5,4,2,5,6,2,4,2,4,2,6,6] C=0 , END
</scratch>
9438542562424266
| 9438542562424266 | 16 |
Input:
2961929107005532+1703558915199521
Target:
| Input:
2961929107005532+1703558915199521
Target:
[2,9,6,1,9,2,9,1,0,7,0,0,5,5,3,2] + [1,7,0,3,5,5,8,9,1,5,1,9,9,5,2,1] , A=[] , C=0 , 2+1+0=3 , A->3 , C->0
[2,9,6,1,9,2,9,1,0,7,0,0,5,5,3] + [1,7,0,3,5,5,8,9,1,5,1,9,9,5,2] , A=[3] , C=0 , 3+2+0=5 , A->5 , C->0
[2,9,6,1,9,2,9,1,0,7,0,0,5,5] + [1,7,0,3,5,5,8,9,1,5,1,9,9,5] , A=[5,3] , C=0 , 5+5+0=10 , A->0 , C->1
[2,9,6,1,9,2,9,1,0,7,0,0,5] + [1,7,0,3,5,5,8,9,1,5,1,9,9] , A=[0,5,3] , C=1 , 5+9+1=15 , A->5 , C->1
[2,9,6,1,9,2,9,1,0,7,0,0] + [1,7,0,3,5,5,8,9,1,5,1,9] , A=[5,0,5,3] , C=1 , 0+9+1=10 , A->0 , C->1
[2,9,6,1,9,2,9,1,0,7,0] + [1,7,0,3,5,5,8,9,1,5,1] , A=[0,5,0,5,3] , C=1 , 0+1+1=2 , A->2 , C->0
[2,9,6,1,9,2,9,1,0,7] + [1,7,0,3,5,5,8,9,1,5] , A=[2,0,5,0,5,3] , C=0 , 7+5+0=12 , A->2 , C->1
[2,9,6,1,9,2,9,1,0] + [1,7,0,3,5,5,8,9,1] , A=[2,2,0,5,0,5,3] , C=1 , 0+1+1=2 , A->2 , C->0
[2,9,6,1,9,2,9,1] + [1,7,0,3,5,5,8,9] , A=[2,2,2,0,5,0,5,3] , C=0 , 1+9+0=10 , A->0 , C->1
[2,9,6,1,9,2,9] + [1,7,0,3,5,5,8] , A=[0,2,2,2,0,5,0,5,3] , C=1 , 9+8+1=18 , A->8 , C->1
[2,9,6,1,9,2] + [1,7,0,3,5,5] , A=[8,0,2,2,2,0,5,0,5,3] , C=1 , 2+5+1=8 , A->8 , C->0
[2,9,6,1,9] + [1,7,0,3,5] , A=[8,8,0,2,2,2,0,5,0,5,3] , C=0 , 9+5+0=14 , A->4 , C->1
[2,9,6,1] + [1,7,0,3] , A=[4,8,8,0,2,2,2,0,5,0,5,3] , C=1 , 1+3+1=5 , A->5 , C->0
[2,9,6] + [1,7,0] , A=[5,4,8,8,0,2,2,2,0,5,0,5,3] , C=0 , 6+0+0=6 , A->6 , C->0
[2,9] + [1,7] , A=[6,5,4,8,8,0,2,2,2,0,5,0,5,3] , C=0 , 9+7+0=16 , A->6 , C->1
[2] + [1] , A=[6,6,5,4,8,8,0,2,2,2,0,5,0,5,3] , C=1 , 2+1+1=4 , A->4 , C->0
[] + [] , A=[4,6,6,5,4,8,8,0,2,2,2,0,5,0,5,3] C=0 , END
</scratch>
4665488022205053
| 4665488022205053 | 16 |
Input:
5747156217763218+1052077438954209
Target:
| Input:
5747156217763218+1052077438954209
Target:
[5,7,4,7,1,5,6,2,1,7,7,6,3,2,1,8] + [1,0,5,2,0,7,7,4,3,8,9,5,4,2,0,9] , A=[] , C=0 , 8+9+0=17 , A->7 , C->1
[5,7,4,7,1,5,6,2,1,7,7,6,3,2,1] + [1,0,5,2,0,7,7,4,3,8,9,5,4,2,0] , A=[7] , C=1 , 1+0+1=2 , A->2 , C->0
[5,7,4,7,1,5,6,2,1,7,7,6,3,2] + [1,0,5,2,0,7,7,4,3,8,9,5,4,2] , A=[2,7] , C=0 , 2+2+0=4 , A->4 , C->0
[5,7,4,7,1,5,6,2,1,7,7,6,3] + [1,0,5,2,0,7,7,4,3,8,9,5,4] , A=[4,2,7] , C=0 , 3+4+0=7 , A->7 , C->0
[5,7,4,7,1,5,6,2,1,7,7,6] + [1,0,5,2,0,7,7,4,3,8,9,5] , A=[7,4,2,7] , C=0 , 6+5+0=11 , A->1 , C->1
[5,7,4,7,1,5,6,2,1,7,7] + [1,0,5,2,0,7,7,4,3,8,9] , A=[1,7,4,2,7] , C=1 , 7+9+1=17 , A->7 , C->1
[5,7,4,7,1,5,6,2,1,7] + [1,0,5,2,0,7,7,4,3,8] , A=[7,1,7,4,2,7] , C=1 , 7+8+1=16 , A->6 , C->1
[5,7,4,7,1,5,6,2,1] + [1,0,5,2,0,7,7,4,3] , A=[6,7,1,7,4,2,7] , C=1 , 1+3+1=5 , A->5 , C->0
[5,7,4,7,1,5,6,2] + [1,0,5,2,0,7,7,4] , A=[5,6,7,1,7,4,2,7] , C=0 , 2+4+0=6 , A->6 , C->0
[5,7,4,7,1,5,6] + [1,0,5,2,0,7,7] , A=[6,5,6,7,1,7,4,2,7] , C=0 , 6+7+0=13 , A->3 , C->1
[5,7,4,7,1,5] + [1,0,5,2,0,7] , A=[3,6,5,6,7,1,7,4,2,7] , C=1 , 5+7+1=13 , A->3 , C->1
[5,7,4,7,1] + [1,0,5,2,0] , A=[3,3,6,5,6,7,1,7,4,2,7] , C=1 , 1+0+1=2 , A->2 , C->0
[5,7,4,7] + [1,0,5,2] , A=[2,3,3,6,5,6,7,1,7,4,2,7] , C=0 , 7+2+0=9 , A->9 , C->0
[5,7,4] + [1,0,5] , A=[9,2,3,3,6,5,6,7,1,7,4,2,7] , C=0 , 4+5+0=9 , A->9 , C->0
[5,7] + [1,0] , A=[9,9,2,3,3,6,5,6,7,1,7,4,2,7] , C=0 , 7+0+0=7 , A->7 , C->0
[5] + [1] , A=[7,9,9,2,3,3,6,5,6,7,1,7,4,2,7] , C=0 , 5+1+0=6 , A->6 , C->0
[] + [] , A=[6,7,9,9,2,3,3,6,5,6,7,1,7,4,2,7] C=0 , END
</scratch>
6799233656717427
| 6799233656717427 | 16 |
Input:
9550649781507044+1613333625738187
Target:
| Input:
9550649781507044+1613333625738187
Target:
[9,5,5,0,6,4,9,7,8,1,5,0,7,0,4,4] + [1,6,1,3,3,3,3,6,2,5,7,3,8,1,8,7] , A=[] , C=0 , 4+7+0=11 , A->1 , C->1
[9,5,5,0,6,4,9,7,8,1,5,0,7,0,4] + [1,6,1,3,3,3,3,6,2,5,7,3,8,1,8] , A=[1] , C=1 , 4+8+1=13 , A->3 , C->1
[9,5,5,0,6,4,9,7,8,1,5,0,7,0] + [1,6,1,3,3,3,3,6,2,5,7,3,8,1] , A=[3,1] , C=1 , 0+1+1=2 , A->2 , C->0
[9,5,5,0,6,4,9,7,8,1,5,0,7] + [1,6,1,3,3,3,3,6,2,5,7,3,8] , A=[2,3,1] , C=0 , 7+8+0=15 , A->5 , C->1
[9,5,5,0,6,4,9,7,8,1,5,0] + [1,6,1,3,3,3,3,6,2,5,7,3] , A=[5,2,3,1] , C=1 , 0+3+1=4 , A->4 , C->0
[9,5,5,0,6,4,9,7,8,1,5] + [1,6,1,3,3,3,3,6,2,5,7] , A=[4,5,2,3,1] , C=0 , 5+7+0=12 , A->2 , C->1
[9,5,5,0,6,4,9,7,8,1] + [1,6,1,3,3,3,3,6,2,5] , A=[2,4,5,2,3,1] , C=1 , 1+5+1=7 , A->7 , C->0
[9,5,5,0,6,4,9,7,8] + [1,6,1,3,3,3,3,6,2] , A=[7,2,4,5,2,3,1] , C=0 , 8+2+0=10 , A->0 , C->1
[9,5,5,0,6,4,9,7] + [1,6,1,3,3,3,3,6] , A=[0,7,2,4,5,2,3,1] , C=1 , 7+6+1=14 , A->4 , C->1
[9,5,5,0,6,4,9] + [1,6,1,3,3,3,3] , A=[4,0,7,2,4,5,2,3,1] , C=1 , 9+3+1=13 , A->3 , C->1
[9,5,5,0,6,4] + [1,6,1,3,3,3] , A=[3,4,0,7,2,4,5,2,3,1] , C=1 , 4+3+1=8 , A->8 , C->0
[9,5,5,0,6] + [1,6,1,3,3] , A=[8,3,4,0,7,2,4,5,2,3,1] , C=0 , 6+3+0=9 , A->9 , C->0
[9,5,5,0] + [1,6,1,3] , A=[9,8,3,4,0,7,2,4,5,2,3,1] , C=0 , 0+3+0=3 , A->3 , C->0
[9,5,5] + [1,6,1] , A=[3,9,8,3,4,0,7,2,4,5,2,3,1] , C=0 , 5+1+0=6 , A->6 , C->0
[9,5] + [1,6] , A=[6,3,9,8,3,4,0,7,2,4,5,2,3,1] , C=0 , 5+6+0=11 , A->1 , C->1
[9] + [1] , A=[1,6,3,9,8,3,4,0,7,2,4,5,2,3,1] , C=1 , 9+1+1=11 , A->1 , C->1
[] + [] , A=[1,1,6,3,9,8,3,4,0,7,2,4,5,2,3,1] C=1 , END
</scratch>
11163983407245231
| 11163983407245231 | 16 |
Input:
4061271825134209+9568471590114693
Target:
| Input:
4061271825134209+9568471590114693
Target:
[4,0,6,1,2,7,1,8,2,5,1,3,4,2,0,9] + [9,5,6,8,4,7,1,5,9,0,1,1,4,6,9,3] , A=[] , C=0 , 9+3+0=12 , A->2 , C->1
[4,0,6,1,2,7,1,8,2,5,1,3,4,2,0] + [9,5,6,8,4,7,1,5,9,0,1,1,4,6,9] , A=[2] , C=1 , 0+9+1=10 , A->0 , C->1
[4,0,6,1,2,7,1,8,2,5,1,3,4,2] + [9,5,6,8,4,7,1,5,9,0,1,1,4,6] , A=[0,2] , C=1 , 2+6+1=9 , A->9 , C->0
[4,0,6,1,2,7,1,8,2,5,1,3,4] + [9,5,6,8,4,7,1,5,9,0,1,1,4] , A=[9,0,2] , C=0 , 4+4+0=8 , A->8 , C->0
[4,0,6,1,2,7,1,8,2,5,1,3] + [9,5,6,8,4,7,1,5,9,0,1,1] , A=[8,9,0,2] , C=0 , 3+1+0=4 , A->4 , C->0
[4,0,6,1,2,7,1,8,2,5,1] + [9,5,6,8,4,7,1,5,9,0,1] , A=[4,8,9,0,2] , C=0 , 1+1+0=2 , A->2 , C->0
[4,0,6,1,2,7,1,8,2,5] + [9,5,6,8,4,7,1,5,9,0] , A=[2,4,8,9,0,2] , C=0 , 5+0+0=5 , A->5 , C->0
[4,0,6,1,2,7,1,8,2] + [9,5,6,8,4,7,1,5,9] , A=[5,2,4,8,9,0,2] , C=0 , 2+9+0=11 , A->1 , C->1
[4,0,6,1,2,7,1,8] + [9,5,6,8,4,7,1,5] , A=[1,5,2,4,8,9,0,2] , C=1 , 8+5+1=14 , A->4 , C->1
[4,0,6,1,2,7,1] + [9,5,6,8,4,7,1] , A=[4,1,5,2,4,8,9,0,2] , C=1 , 1+1+1=3 , A->3 , C->0
[4,0,6,1,2,7] + [9,5,6,8,4,7] , A=[3,4,1,5,2,4,8,9,0,2] , C=0 , 7+7+0=14 , A->4 , C->1
[4,0,6,1,2] + [9,5,6,8,4] , A=[4,3,4,1,5,2,4,8,9,0,2] , C=1 , 2+4+1=7 , A->7 , C->0
[4,0,6,1] + [9,5,6,8] , A=[7,4,3,4,1,5,2,4,8,9,0,2] , C=0 , 1+8+0=9 , A->9 , C->0
[4,0,6] + [9,5,6] , A=[9,7,4,3,4,1,5,2,4,8,9,0,2] , C=0 , 6+6+0=12 , A->2 , C->1
[4,0] + [9,5] , A=[2,9,7,4,3,4,1,5,2,4,8,9,0,2] , C=1 , 0+5+1=6 , A->6 , C->0
[4] + [9] , A=[6,2,9,7,4,3,4,1,5,2,4,8,9,0,2] , C=0 , 4+9+0=13 , A->3 , C->1
[] + [] , A=[3,6,2,9,7,4,3,4,1,5,2,4,8,9,0,2] C=1 , END
</scratch>
13629743415248902
| 13629743415248902 | 16 |
Input:
3507147900240000+3575314671288238
Target:
| Input:
3507147900240000+3575314671288238
Target:
[3,5,0,7,1,4,7,9,0,0,2,4,0,0,0,0] + [3,5,7,5,3,1,4,6,7,1,2,8,8,2,3,8] , A=[] , C=0 , 0+8+0=8 , A->8 , C->0
[3,5,0,7,1,4,7,9,0,0,2,4,0,0,0] + [3,5,7,5,3,1,4,6,7,1,2,8,8,2,3] , A=[8] , C=0 , 0+3+0=3 , A->3 , C->0
[3,5,0,7,1,4,7,9,0,0,2,4,0,0] + [3,5,7,5,3,1,4,6,7,1,2,8,8,2] , A=[3,8] , C=0 , 0+2+0=2 , A->2 , C->0
[3,5,0,7,1,4,7,9,0,0,2,4,0] + [3,5,7,5,3,1,4,6,7,1,2,8,8] , A=[2,3,8] , C=0 , 0+8+0=8 , A->8 , C->0
[3,5,0,7,1,4,7,9,0,0,2,4] + [3,5,7,5,3,1,4,6,7,1,2,8] , A=[8,2,3,8] , C=0 , 4+8+0=12 , A->2 , C->1
[3,5,0,7,1,4,7,9,0,0,2] + [3,5,7,5,3,1,4,6,7,1,2] , A=[2,8,2,3,8] , C=1 , 2+2+1=5 , A->5 , C->0
[3,5,0,7,1,4,7,9,0,0] + [3,5,7,5,3,1,4,6,7,1] , A=[5,2,8,2,3,8] , C=0 , 0+1+0=1 , A->1 , C->0
[3,5,0,7,1,4,7,9,0] + [3,5,7,5,3,1,4,6,7] , A=[1,5,2,8,2,3,8] , C=0 , 0+7+0=7 , A->7 , C->0
[3,5,0,7,1,4,7,9] + [3,5,7,5,3,1,4,6] , A=[7,1,5,2,8,2,3,8] , C=0 , 9+6+0=15 , A->5 , C->1
[3,5,0,7,1,4,7] + [3,5,7,5,3,1,4] , A=[5,7,1,5,2,8,2,3,8] , C=1 , 7+4+1=12 , A->2 , C->1
[3,5,0,7,1,4] + [3,5,7,5,3,1] , A=[2,5,7,1,5,2,8,2,3,8] , C=1 , 4+1+1=6 , A->6 , C->0
[3,5,0,7,1] + [3,5,7,5,3] , A=[6,2,5,7,1,5,2,8,2,3,8] , C=0 , 1+3+0=4 , A->4 , C->0
[3,5,0,7] + [3,5,7,5] , A=[4,6,2,5,7,1,5,2,8,2,3,8] , C=0 , 7+5+0=12 , A->2 , C->1
[3,5,0] + [3,5,7] , A=[2,4,6,2,5,7,1,5,2,8,2,3,8] , C=1 , 0+7+1=8 , A->8 , C->0
[3,5] + [3,5] , A=[8,2,4,6,2,5,7,1,5,2,8,2,3,8] , C=0 , 5+5+0=10 , A->0 , C->1
[3] + [3] , A=[0,8,2,4,6,2,5,7,1,5,2,8,2,3,8] , C=1 , 3+3+1=7 , A->7 , C->0
[] + [] , A=[7,0,8,2,4,6,2,5,7,1,5,2,8,2,3,8] C=0 , END
</scratch>
7082462571528238
| 7082462571528238 | 16 |
Input:
4251022725241203+8838002459379833
Target:
| Input:
4251022725241203+8838002459379833
Target:
[4,2,5,1,0,2,2,7,2,5,2,4,1,2,0,3] + [8,8,3,8,0,0,2,4,5,9,3,7,9,8,3,3] , A=[] , C=0 , 3+3+0=6 , A->6 , C->0
[4,2,5,1,0,2,2,7,2,5,2,4,1,2,0] + [8,8,3,8,0,0,2,4,5,9,3,7,9,8,3] , A=[6] , C=0 , 0+3+0=3 , A->3 , C->0
[4,2,5,1,0,2,2,7,2,5,2,4,1,2] + [8,8,3,8,0,0,2,4,5,9,3,7,9,8] , A=[3,6] , C=0 , 2+8+0=10 , A->0 , C->1
[4,2,5,1,0,2,2,7,2,5,2,4,1] + [8,8,3,8,0,0,2,4,5,9,3,7,9] , A=[0,3,6] , C=1 , 1+9+1=11 , A->1 , C->1
[4,2,5,1,0,2,2,7,2,5,2,4] + [8,8,3,8,0,0,2,4,5,9,3,7] , A=[1,0,3,6] , C=1 , 4+7+1=12 , A->2 , C->1
[4,2,5,1,0,2,2,7,2,5,2] + [8,8,3,8,0,0,2,4,5,9,3] , A=[2,1,0,3,6] , C=1 , 2+3+1=6 , A->6 , C->0
[4,2,5,1,0,2,2,7,2,5] + [8,8,3,8,0,0,2,4,5,9] , A=[6,2,1,0,3,6] , C=0 , 5+9+0=14 , A->4 , C->1
[4,2,5,1,0,2,2,7,2] + [8,8,3,8,0,0,2,4,5] , A=[4,6,2,1,0,3,6] , C=1 , 2+5+1=8 , A->8 , C->0
[4,2,5,1,0,2,2,7] + [8,8,3,8,0,0,2,4] , A=[8,4,6,2,1,0,3,6] , C=0 , 7+4+0=11 , A->1 , C->1
[4,2,5,1,0,2,2] + [8,8,3,8,0,0,2] , A=[1,8,4,6,2,1,0,3,6] , C=1 , 2+2+1=5 , A->5 , C->0
[4,2,5,1,0,2] + [8,8,3,8,0,0] , A=[5,1,8,4,6,2,1,0,3,6] , C=0 , 2+0+0=2 , A->2 , C->0
[4,2,5,1,0] + [8,8,3,8,0] , A=[2,5,1,8,4,6,2,1,0,3,6] , C=0 , 0+0+0=0 , A->0 , C->0
[4,2,5,1] + [8,8,3,8] , A=[0,2,5,1,8,4,6,2,1,0,3,6] , C=0 , 1+8+0=9 , A->9 , C->0
[4,2,5] + [8,8,3] , A=[9,0,2,5,1,8,4,6,2,1,0,3,6] , C=0 , 5+3+0=8 , A->8 , C->0
[4,2] + [8,8] , A=[8,9,0,2,5,1,8,4,6,2,1,0,3,6] , C=0 , 2+8+0=10 , A->0 , C->1
[4] + [8] , A=[0,8,9,0,2,5,1,8,4,6,2,1,0,3,6] , C=1 , 4+8+1=13 , A->3 , C->1
[] + [] , A=[3,0,8,9,0,2,5,1,8,4,6,2,1,0,3,6] C=1 , END
</scratch>
13089025184621036
| 13089025184621036 | 16 |
Input:
2918191795996927+1443569472863778
Target:
| Input:
2918191795996927+1443569472863778
Target:
[2,9,1,8,1,9,1,7,9,5,9,9,6,9,2,7] + [1,4,4,3,5,6,9,4,7,2,8,6,3,7,7,8] , A=[] , C=0 , 7+8+0=15 , A->5 , C->1
[2,9,1,8,1,9,1,7,9,5,9,9,6,9,2] + [1,4,4,3,5,6,9,4,7,2,8,6,3,7,7] , A=[5] , C=1 , 2+7+1=10 , A->0 , C->1
[2,9,1,8,1,9,1,7,9,5,9,9,6,9] + [1,4,4,3,5,6,9,4,7,2,8,6,3,7] , A=[0,5] , C=1 , 9+7+1=17 , A->7 , C->1
[2,9,1,8,1,9,1,7,9,5,9,9,6] + [1,4,4,3,5,6,9,4,7,2,8,6,3] , A=[7,0,5] , C=1 , 6+3+1=10 , A->0 , C->1
[2,9,1,8,1,9,1,7,9,5,9,9] + [1,4,4,3,5,6,9,4,7,2,8,6] , A=[0,7,0,5] , C=1 , 9+6+1=16 , A->6 , C->1
[2,9,1,8,1,9,1,7,9,5,9] + [1,4,4,3,5,6,9,4,7,2,8] , A=[6,0,7,0,5] , C=1 , 9+8+1=18 , A->8 , C->1
[2,9,1,8,1,9,1,7,9,5] + [1,4,4,3,5,6,9,4,7,2] , A=[8,6,0,7,0,5] , C=1 , 5+2+1=8 , A->8 , C->0
[2,9,1,8,1,9,1,7,9] + [1,4,4,3,5,6,9,4,7] , A=[8,8,6,0,7,0,5] , C=0 , 9+7+0=16 , A->6 , C->1
[2,9,1,8,1,9,1,7] + [1,4,4,3,5,6,9,4] , A=[6,8,8,6,0,7,0,5] , C=1 , 7+4+1=12 , A->2 , C->1
[2,9,1,8,1,9,1] + [1,4,4,3,5,6,9] , A=[2,6,8,8,6,0,7,0,5] , C=1 , 1+9+1=11 , A->1 , C->1
[2,9,1,8,1,9] + [1,4,4,3,5,6] , A=[1,2,6,8,8,6,0,7,0,5] , C=1 , 9+6+1=16 , A->6 , C->1
[2,9,1,8,1] + [1,4,4,3,5] , A=[6,1,2,6,8,8,6,0,7,0,5] , C=1 , 1+5+1=7 , A->7 , C->0
[2,9,1,8] + [1,4,4,3] , A=[7,6,1,2,6,8,8,6,0,7,0,5] , C=0 , 8+3+0=11 , A->1 , C->1
[2,9,1] + [1,4,4] , A=[1,7,6,1,2,6,8,8,6,0,7,0,5] , C=1 , 1+4+1=6 , A->6 , C->0
[2,9] + [1,4] , A=[6,1,7,6,1,2,6,8,8,6,0,7,0,5] , C=0 , 9+4+0=13 , A->3 , C->1
[2] + [1] , A=[3,6,1,7,6,1,2,6,8,8,6,0,7,0,5] , C=1 , 2+1+1=4 , A->4 , C->0
[] + [] , A=[4,3,6,1,7,6,1,2,6,8,8,6,0,7,0,5] C=0 , END
</scratch>
4361761268860705
| 4361761268860705 | 16 |
Input:
9603693012050514+8495456963813537
Target:
| Input:
9603693012050514+8495456963813537
Target:
[9,6,0,3,6,9,3,0,1,2,0,5,0,5,1,4] + [8,4,9,5,4,5,6,9,6,3,8,1,3,5,3,7] , A=[] , C=0 , 4+7+0=11 , A->1 , C->1
[9,6,0,3,6,9,3,0,1,2,0,5,0,5,1] + [8,4,9,5,4,5,6,9,6,3,8,1,3,5,3] , A=[1] , C=1 , 1+3+1=5 , A->5 , C->0
[9,6,0,3,6,9,3,0,1,2,0,5,0,5] + [8,4,9,5,4,5,6,9,6,3,8,1,3,5] , A=[5,1] , C=0 , 5+5+0=10 , A->0 , C->1
[9,6,0,3,6,9,3,0,1,2,0,5,0] + [8,4,9,5,4,5,6,9,6,3,8,1,3] , A=[0,5,1] , C=1 , 0+3+1=4 , A->4 , C->0
[9,6,0,3,6,9,3,0,1,2,0,5] + [8,4,9,5,4,5,6,9,6,3,8,1] , A=[4,0,5,1] , C=0 , 5+1+0=6 , A->6 , C->0
[9,6,0,3,6,9,3,0,1,2,0] + [8,4,9,5,4,5,6,9,6,3,8] , A=[6,4,0,5,1] , C=0 , 0+8+0=8 , A->8 , C->0
[9,6,0,3,6,9,3,0,1,2] + [8,4,9,5,4,5,6,9,6,3] , A=[8,6,4,0,5,1] , C=0 , 2+3+0=5 , A->5 , C->0
[9,6,0,3,6,9,3,0,1] + [8,4,9,5,4,5,6,9,6] , A=[5,8,6,4,0,5,1] , C=0 , 1+6+0=7 , A->7 , C->0
[9,6,0,3,6,9,3,0] + [8,4,9,5,4,5,6,9] , A=[7,5,8,6,4,0,5,1] , C=0 , 0+9+0=9 , A->9 , C->0
[9,6,0,3,6,9,3] + [8,4,9,5,4,5,6] , A=[9,7,5,8,6,4,0,5,1] , C=0 , 3+6+0=9 , A->9 , C->0
[9,6,0,3,6,9] + [8,4,9,5,4,5] , A=[9,9,7,5,8,6,4,0,5,1] , C=0 , 9+5+0=14 , A->4 , C->1
[9,6,0,3,6] + [8,4,9,5,4] , A=[4,9,9,7,5,8,6,4,0,5,1] , C=1 , 6+4+1=11 , A->1 , C->1
[9,6,0,3] + [8,4,9,5] , A=[1,4,9,9,7,5,8,6,4,0,5,1] , C=1 , 3+5+1=9 , A->9 , C->0
[9,6,0] + [8,4,9] , A=[9,1,4,9,9,7,5,8,6,4,0,5,1] , C=0 , 0+9+0=9 , A->9 , C->0
[9,6] + [8,4] , A=[9,9,1,4,9,9,7,5,8,6,4,0,5,1] , C=0 , 6+4+0=10 , A->0 , C->1
[9] + [8] , A=[0,9,9,1,4,9,9,7,5,8,6,4,0,5,1] , C=1 , 9+8+1=18 , A->8 , C->1
[] + [] , A=[8,0,9,9,1,4,9,9,7,5,8,6,4,0,5,1] C=1 , END
</scratch>
18099149975864051
| 18099149975864051 | 16 |
Input:
3080921196194618+1178496977845142
Target:
| Input:
3080921196194618+1178496977845142
Target:
[3,0,8,0,9,2,1,1,9,6,1,9,4,6,1,8] + [1,1,7,8,4,9,6,9,7,7,8,4,5,1,4,2] , A=[] , C=0 , 8+2+0=10 , A->0 , C->1
[3,0,8,0,9,2,1,1,9,6,1,9,4,6,1] + [1,1,7,8,4,9,6,9,7,7,8,4,5,1,4] , A=[0] , C=1 , 1+4+1=6 , A->6 , C->0
[3,0,8,0,9,2,1,1,9,6,1,9,4,6] + [1,1,7,8,4,9,6,9,7,7,8,4,5,1] , A=[6,0] , C=0 , 6+1+0=7 , A->7 , C->0
[3,0,8,0,9,2,1,1,9,6,1,9,4] + [1,1,7,8,4,9,6,9,7,7,8,4,5] , A=[7,6,0] , C=0 , 4+5+0=9 , A->9 , C->0
[3,0,8,0,9,2,1,1,9,6,1,9] + [1,1,7,8,4,9,6,9,7,7,8,4] , A=[9,7,6,0] , C=0 , 9+4+0=13 , A->3 , C->1
[3,0,8,0,9,2,1,1,9,6,1] + [1,1,7,8,4,9,6,9,7,7,8] , A=[3,9,7,6,0] , C=1 , 1+8+1=10 , A->0 , C->1
[3,0,8,0,9,2,1,1,9,6] + [1,1,7,8,4,9,6,9,7,7] , A=[0,3,9,7,6,0] , C=1 , 6+7+1=14 , A->4 , C->1
[3,0,8,0,9,2,1,1,9] + [1,1,7,8,4,9,6,9,7] , A=[4,0,3,9,7,6,0] , C=1 , 9+7+1=17 , A->7 , C->1
[3,0,8,0,9,2,1,1] + [1,1,7,8,4,9,6,9] , A=[7,4,0,3,9,7,6,0] , C=1 , 1+9+1=11 , A->1 , C->1
[3,0,8,0,9,2,1] + [1,1,7,8,4,9,6] , A=[1,7,4,0,3,9,7,6,0] , C=1 , 1+6+1=8 , A->8 , C->0
[3,0,8,0,9,2] + [1,1,7,8,4,9] , A=[8,1,7,4,0,3,9,7,6,0] , C=0 , 2+9+0=11 , A->1 , C->1
[3,0,8,0,9] + [1,1,7,8,4] , A=[1,8,1,7,4,0,3,9,7,6,0] , C=1 , 9+4+1=14 , A->4 , C->1
[3,0,8,0] + [1,1,7,8] , A=[4,1,8,1,7,4,0,3,9,7,6,0] , C=1 , 0+8+1=9 , A->9 , C->0
[3,0,8] + [1,1,7] , A=[9,4,1,8,1,7,4,0,3,9,7,6,0] , C=0 , 8+7+0=15 , A->5 , C->1
[3,0] + [1,1] , A=[5,9,4,1,8,1,7,4,0,3,9,7,6,0] , C=1 , 0+1+1=2 , A->2 , C->0
[3] + [1] , A=[2,5,9,4,1,8,1,7,4,0,3,9,7,6,0] , C=0 , 3+1+0=4 , A->4 , C->0
[] + [] , A=[4,2,5,9,4,1,8,1,7,4,0,3,9,7,6,0] C=0 , END
</scratch>
4259418174039760
| 4259418174039760 | 16 |
Input:
1759323906888296+7225708863910665
Target:
| Input:
1759323906888296+7225708863910665
Target:
[1,7,5,9,3,2,3,9,0,6,8,8,8,2,9,6] + [7,2,2,5,7,0,8,8,6,3,9,1,0,6,6,5] , A=[] , C=0 , 6+5+0=11 , A->1 , C->1
[1,7,5,9,3,2,3,9,0,6,8,8,8,2,9] + [7,2,2,5,7,0,8,8,6,3,9,1,0,6,6] , A=[1] , C=1 , 9+6+1=16 , A->6 , C->1
[1,7,5,9,3,2,3,9,0,6,8,8,8,2] + [7,2,2,5,7,0,8,8,6,3,9,1,0,6] , A=[6,1] , C=1 , 2+6+1=9 , A->9 , C->0
[1,7,5,9,3,2,3,9,0,6,8,8,8] + [7,2,2,5,7,0,8,8,6,3,9,1,0] , A=[9,6,1] , C=0 , 8+0+0=8 , A->8 , C->0
[1,7,5,9,3,2,3,9,0,6,8,8] + [7,2,2,5,7,0,8,8,6,3,9,1] , A=[8,9,6,1] , C=0 , 8+1+0=9 , A->9 , C->0
[1,7,5,9,3,2,3,9,0,6,8] + [7,2,2,5,7,0,8,8,6,3,9] , A=[9,8,9,6,1] , C=0 , 8+9+0=17 , A->7 , C->1
[1,7,5,9,3,2,3,9,0,6] + [7,2,2,5,7,0,8,8,6,3] , A=[7,9,8,9,6,1] , C=1 , 6+3+1=10 , A->0 , C->1
[1,7,5,9,3,2,3,9,0] + [7,2,2,5,7,0,8,8,6] , A=[0,7,9,8,9,6,1] , C=1 , 0+6+1=7 , A->7 , C->0
[1,7,5,9,3,2,3,9] + [7,2,2,5,7,0,8,8] , A=[7,0,7,9,8,9,6,1] , C=0 , 9+8+0=17 , A->7 , C->1
[1,7,5,9,3,2,3] + [7,2,2,5,7,0,8] , A=[7,7,0,7,9,8,9,6,1] , C=1 , 3+8+1=12 , A->2 , C->1
[1,7,5,9,3,2] + [7,2,2,5,7,0] , A=[2,7,7,0,7,9,8,9,6,1] , C=1 , 2+0+1=3 , A->3 , C->0
[1,7,5,9,3] + [7,2,2,5,7] , A=[3,2,7,7,0,7,9,8,9,6,1] , C=0 , 3+7+0=10 , A->0 , C->1
[1,7,5,9] + [7,2,2,5] , A=[0,3,2,7,7,0,7,9,8,9,6,1] , C=1 , 9+5+1=15 , A->5 , C->1
[1,7,5] + [7,2,2] , A=[5,0,3,2,7,7,0,7,9,8,9,6,1] , C=1 , 5+2+1=8 , A->8 , C->0
[1,7] + [7,2] , A=[8,5,0,3,2,7,7,0,7,9,8,9,6,1] , C=0 , 7+2+0=9 , A->9 , C->0
[1] + [7] , A=[9,8,5,0,3,2,7,7,0,7,9,8,9,6,1] , C=0 , 1+7+0=8 , A->8 , C->0
[] + [] , A=[8,9,8,5,0,3,2,7,7,0,7,9,8,9,6,1] C=0 , END
</scratch>
8985032770798961
| 8985032770798961 | 16 |
Input:
3935165327997464+4181980075416038
Target:
| Input:
3935165327997464+4181980075416038
Target:
[3,9,3,5,1,6,5,3,2,7,9,9,7,4,6,4] + [4,1,8,1,9,8,0,0,7,5,4,1,6,0,3,8] , A=[] , C=0 , 4+8+0=12 , A->2 , C->1
[3,9,3,5,1,6,5,3,2,7,9,9,7,4,6] + [4,1,8,1,9,8,0,0,7,5,4,1,6,0,3] , A=[2] , C=1 , 6+3+1=10 , A->0 , C->1
[3,9,3,5,1,6,5,3,2,7,9,9,7,4] + [4,1,8,1,9,8,0,0,7,5,4,1,6,0] , A=[0,2] , C=1 , 4+0+1=5 , A->5 , C->0
[3,9,3,5,1,6,5,3,2,7,9,9,7] + [4,1,8,1,9,8,0,0,7,5,4,1,6] , A=[5,0,2] , C=0 , 7+6+0=13 , A->3 , C->1
[3,9,3,5,1,6,5,3,2,7,9,9] + [4,1,8,1,9,8,0,0,7,5,4,1] , A=[3,5,0,2] , C=1 , 9+1+1=11 , A->1 , C->1
[3,9,3,5,1,6,5,3,2,7,9] + [4,1,8,1,9,8,0,0,7,5,4] , A=[1,3,5,0,2] , C=1 , 9+4+1=14 , A->4 , C->1
[3,9,3,5,1,6,5,3,2,7] + [4,1,8,1,9,8,0,0,7,5] , A=[4,1,3,5,0,2] , C=1 , 7+5+1=13 , A->3 , C->1
[3,9,3,5,1,6,5,3,2] + [4,1,8,1,9,8,0,0,7] , A=[3,4,1,3,5,0,2] , C=1 , 2+7+1=10 , A->0 , C->1
[3,9,3,5,1,6,5,3] + [4,1,8,1,9,8,0,0] , A=[0,3,4,1,3,5,0,2] , C=1 , 3+0+1=4 , A->4 , C->0
[3,9,3,5,1,6,5] + [4,1,8,1,9,8,0] , A=[4,0,3,4,1,3,5,0,2] , C=0 , 5+0+0=5 , A->5 , C->0
[3,9,3,5,1,6] + [4,1,8,1,9,8] , A=[5,4,0,3,4,1,3,5,0,2] , C=0 , 6+8+0=14 , A->4 , C->1
[3,9,3,5,1] + [4,1,8,1,9] , A=[4,5,4,0,3,4,1,3,5,0,2] , C=1 , 1+9+1=11 , A->1 , C->1
[3,9,3,5] + [4,1,8,1] , A=[1,4,5,4,0,3,4,1,3,5,0,2] , C=1 , 5+1+1=7 , A->7 , C->0
[3,9,3] + [4,1,8] , A=[7,1,4,5,4,0,3,4,1,3,5,0,2] , C=0 , 3+8+0=11 , A->1 , C->1
[3,9] + [4,1] , A=[1,7,1,4,5,4,0,3,4,1,3,5,0,2] , C=1 , 9+1+1=11 , A->1 , C->1
[3] + [4] , A=[1,1,7,1,4,5,4,0,3,4,1,3,5,0,2] , C=1 , 3+4+1=8 , A->8 , C->0
[] + [] , A=[8,1,1,7,1,4,5,4,0,3,4,1,3,5,0,2] C=0 , END
</scratch>
8117145403413502
| 8117145403413502 | 16 |
Input:
5304400730141149+3172213845499326
Target:
| Input:
5304400730141149+3172213845499326
Target:
[5,3,0,4,4,0,0,7,3,0,1,4,1,1,4,9] + [3,1,7,2,2,1,3,8,4,5,4,9,9,3,2,6] , A=[] , C=0 , 9+6+0=15 , A->5 , C->1
[5,3,0,4,4,0,0,7,3,0,1,4,1,1,4] + [3,1,7,2,2,1,3,8,4,5,4,9,9,3,2] , A=[5] , C=1 , 4+2+1=7 , A->7 , C->0
[5,3,0,4,4,0,0,7,3,0,1,4,1,1] + [3,1,7,2,2,1,3,8,4,5,4,9,9,3] , A=[7,5] , C=0 , 1+3+0=4 , A->4 , C->0
[5,3,0,4,4,0,0,7,3,0,1,4,1] + [3,1,7,2,2,1,3,8,4,5,4,9,9] , A=[4,7,5] , C=0 , 1+9+0=10 , A->0 , C->1
[5,3,0,4,4,0,0,7,3,0,1,4] + [3,1,7,2,2,1,3,8,4,5,4,9] , A=[0,4,7,5] , C=1 , 4+9+1=14 , A->4 , C->1
[5,3,0,4,4,0,0,7,3,0,1] + [3,1,7,2,2,1,3,8,4,5,4] , A=[4,0,4,7,5] , C=1 , 1+4+1=6 , A->6 , C->0
[5,3,0,4,4,0,0,7,3,0] + [3,1,7,2,2,1,3,8,4,5] , A=[6,4,0,4,7,5] , C=0 , 0+5+0=5 , A->5 , C->0
[5,3,0,4,4,0,0,7,3] + [3,1,7,2,2,1,3,8,4] , A=[5,6,4,0,4,7,5] , C=0 , 3+4+0=7 , A->7 , C->0
[5,3,0,4,4,0,0,7] + [3,1,7,2,2,1,3,8] , A=[7,5,6,4,0,4,7,5] , C=0 , 7+8+0=15 , A->5 , C->1
[5,3,0,4,4,0,0] + [3,1,7,2,2,1,3] , A=[5,7,5,6,4,0,4,7,5] , C=1 , 0+3+1=4 , A->4 , C->0
[5,3,0,4,4,0] + [3,1,7,2,2,1] , A=[4,5,7,5,6,4,0,4,7,5] , C=0 , 0+1+0=1 , A->1 , C->0
[5,3,0,4,4] + [3,1,7,2,2] , A=[1,4,5,7,5,6,4,0,4,7,5] , C=0 , 4+2+0=6 , A->6 , C->0
[5,3,0,4] + [3,1,7,2] , A=[6,1,4,5,7,5,6,4,0,4,7,5] , C=0 , 4+2+0=6 , A->6 , C->0
[5,3,0] + [3,1,7] , A=[6,6,1,4,5,7,5,6,4,0,4,7,5] , C=0 , 0+7+0=7 , A->7 , C->0
[5,3] + [3,1] , A=[7,6,6,1,4,5,7,5,6,4,0,4,7,5] , C=0 , 3+1+0=4 , A->4 , C->0
[5] + [3] , A=[4,7,6,6,1,4,5,7,5,6,4,0,4,7,5] , C=0 , 5+3+0=8 , A->8 , C->0
[] + [] , A=[8,4,7,6,6,1,4,5,7,5,6,4,0,4,7,5] C=0 , END
</scratch>
8476614575640475
| 8476614575640475 | 16 |
Input:
1064651209831812+9412496760055612
Target:
| Input:
1064651209831812+9412496760055612
Target:
[1,0,6,4,6,5,1,2,0,9,8,3,1,8,1,2] + [9,4,1,2,4,9,6,7,6,0,0,5,5,6,1,2] , A=[] , C=0 , 2+2+0=4 , A->4 , C->0
[1,0,6,4,6,5,1,2,0,9,8,3,1,8,1] + [9,4,1,2,4,9,6,7,6,0,0,5,5,6,1] , A=[4] , C=0 , 1+1+0=2 , A->2 , C->0
[1,0,6,4,6,5,1,2,0,9,8,3,1,8] + [9,4,1,2,4,9,6,7,6,0,0,5,5,6] , A=[2,4] , C=0 , 8+6+0=14 , A->4 , C->1
[1,0,6,4,6,5,1,2,0,9,8,3,1] + [9,4,1,2,4,9,6,7,6,0,0,5,5] , A=[4,2,4] , C=1 , 1+5+1=7 , A->7 , C->0
[1,0,6,4,6,5,1,2,0,9,8,3] + [9,4,1,2,4,9,6,7,6,0,0,5] , A=[7,4,2,4] , C=0 , 3+5+0=8 , A->8 , C->0
[1,0,6,4,6,5,1,2,0,9,8] + [9,4,1,2,4,9,6,7,6,0,0] , A=[8,7,4,2,4] , C=0 , 8+0+0=8 , A->8 , C->0
[1,0,6,4,6,5,1,2,0,9] + [9,4,1,2,4,9,6,7,6,0] , A=[8,8,7,4,2,4] , C=0 , 9+0+0=9 , A->9 , C->0
[1,0,6,4,6,5,1,2,0] + [9,4,1,2,4,9,6,7,6] , A=[9,8,8,7,4,2,4] , C=0 , 0+6+0=6 , A->6 , C->0
[1,0,6,4,6,5,1,2] + [9,4,1,2,4,9,6,7] , A=[6,9,8,8,7,4,2,4] , C=0 , 2+7+0=9 , A->9 , C->0
[1,0,6,4,6,5,1] + [9,4,1,2,4,9,6] , A=[9,6,9,8,8,7,4,2,4] , C=0 , 1+6+0=7 , A->7 , C->0
[1,0,6,4,6,5] + [9,4,1,2,4,9] , A=[7,9,6,9,8,8,7,4,2,4] , C=0 , 5+9+0=14 , A->4 , C->1
[1,0,6,4,6] + [9,4,1,2,4] , A=[4,7,9,6,9,8,8,7,4,2,4] , C=1 , 6+4+1=11 , A->1 , C->1
[1,0,6,4] + [9,4,1,2] , A=[1,4,7,9,6,9,8,8,7,4,2,4] , C=1 , 4+2+1=7 , A->7 , C->0
[1,0,6] + [9,4,1] , A=[7,1,4,7,9,6,9,8,8,7,4,2,4] , C=0 , 6+1+0=7 , A->7 , C->0
[1,0] + [9,4] , A=[7,7,1,4,7,9,6,9,8,8,7,4,2,4] , C=0 , 0+4+0=4 , A->4 , C->0
[1] + [9] , A=[4,7,7,1,4,7,9,6,9,8,8,7,4,2,4] , C=0 , 1+9+0=10 , A->0 , C->1
[] + [] , A=[0,4,7,7,1,4,7,9,6,9,8,8,7,4,2,4] C=1 , END
</scratch>
10477147969887424
| 10477147969887424 | 16 |
Input:
3571503620745356+8694121827903476
Target:
| Input:
3571503620745356+8694121827903476
Target:
[3,5,7,1,5,0,3,6,2,0,7,4,5,3,5,6] + [8,6,9,4,1,2,1,8,2,7,9,0,3,4,7,6] , A=[] , C=0 , 6+6+0=12 , A->2 , C->1
[3,5,7,1,5,0,3,6,2,0,7,4,5,3,5] + [8,6,9,4,1,2,1,8,2,7,9,0,3,4,7] , A=[2] , C=1 , 5+7+1=13 , A->3 , C->1
[3,5,7,1,5,0,3,6,2,0,7,4,5,3] + [8,6,9,4,1,2,1,8,2,7,9,0,3,4] , A=[3,2] , C=1 , 3+4+1=8 , A->8 , C->0
[3,5,7,1,5,0,3,6,2,0,7,4,5] + [8,6,9,4,1,2,1,8,2,7,9,0,3] , A=[8,3,2] , C=0 , 5+3+0=8 , A->8 , C->0
[3,5,7,1,5,0,3,6,2,0,7,4] + [8,6,9,4,1,2,1,8,2,7,9,0] , A=[8,8,3,2] , C=0 , 4+0+0=4 , A->4 , C->0
[3,5,7,1,5,0,3,6,2,0,7] + [8,6,9,4,1,2,1,8,2,7,9] , A=[4,8,8,3,2] , C=0 , 7+9+0=16 , A->6 , C->1
[3,5,7,1,5,0,3,6,2,0] + [8,6,9,4,1,2,1,8,2,7] , A=[6,4,8,8,3,2] , C=1 , 0+7+1=8 , A->8 , C->0
[3,5,7,1,5,0,3,6,2] + [8,6,9,4,1,2,1,8,2] , A=[8,6,4,8,8,3,2] , C=0 , 2+2+0=4 , A->4 , C->0
[3,5,7,1,5,0,3,6] + [8,6,9,4,1,2,1,8] , A=[4,8,6,4,8,8,3,2] , C=0 , 6+8+0=14 , A->4 , C->1
[3,5,7,1,5,0,3] + [8,6,9,4,1,2,1] , A=[4,4,8,6,4,8,8,3,2] , C=1 , 3+1+1=5 , A->5 , C->0
[3,5,7,1,5,0] + [8,6,9,4,1,2] , A=[5,4,4,8,6,4,8,8,3,2] , C=0 , 0+2+0=2 , A->2 , C->0
[3,5,7,1,5] + [8,6,9,4,1] , A=[2,5,4,4,8,6,4,8,8,3,2] , C=0 , 5+1+0=6 , A->6 , C->0
[3,5,7,1] + [8,6,9,4] , A=[6,2,5,4,4,8,6,4,8,8,3,2] , C=0 , 1+4+0=5 , A->5 , C->0
[3,5,7] + [8,6,9] , A=[5,6,2,5,4,4,8,6,4,8,8,3,2] , C=0 , 7+9+0=16 , A->6 , C->1
[3,5] + [8,6] , A=[6,5,6,2,5,4,4,8,6,4,8,8,3,2] , C=1 , 5+6+1=12 , A->2 , C->1
[3] + [8] , A=[2,6,5,6,2,5,4,4,8,6,4,8,8,3,2] , C=1 , 3+8+1=12 , A->2 , C->1
[] + [] , A=[2,2,6,5,6,2,5,4,4,8,6,4,8,8,3,2] C=1 , END
</scratch>
12265625448648832
| 12265625448648832 | 16 |
Input:
1159990326855680+6901856622687989
Target:
| Input:
1159990326855680+6901856622687989
Target:
[1,1,5,9,9,9,0,3,2,6,8,5,5,6,8,0] + [6,9,0,1,8,5,6,6,2,2,6,8,7,9,8,9] , A=[] , C=0 , 0+9+0=9 , A->9 , C->0
[1,1,5,9,9,9,0,3,2,6,8,5,5,6,8] + [6,9,0,1,8,5,6,6,2,2,6,8,7,9,8] , A=[9] , C=0 , 8+8+0=16 , A->6 , C->1
[1,1,5,9,9,9,0,3,2,6,8,5,5,6] + [6,9,0,1,8,5,6,6,2,2,6,8,7,9] , A=[6,9] , C=1 , 6+9+1=16 , A->6 , C->1
[1,1,5,9,9,9,0,3,2,6,8,5,5] + [6,9,0,1,8,5,6,6,2,2,6,8,7] , A=[6,6,9] , C=1 , 5+7+1=13 , A->3 , C->1
[1,1,5,9,9,9,0,3,2,6,8,5] + [6,9,0,1,8,5,6,6,2,2,6,8] , A=[3,6,6,9] , C=1 , 5+8+1=14 , A->4 , C->1
[1,1,5,9,9,9,0,3,2,6,8] + [6,9,0,1,8,5,6,6,2,2,6] , A=[4,3,6,6,9] , C=1 , 8+6+1=15 , A->5 , C->1
[1,1,5,9,9,9,0,3,2,6] + [6,9,0,1,8,5,6,6,2,2] , A=[5,4,3,6,6,9] , C=1 , 6+2+1=9 , A->9 , C->0
[1,1,5,9,9,9,0,3,2] + [6,9,0,1,8,5,6,6,2] , A=[9,5,4,3,6,6,9] , C=0 , 2+2+0=4 , A->4 , C->0
[1,1,5,9,9,9,0,3] + [6,9,0,1,8,5,6,6] , A=[4,9,5,4,3,6,6,9] , C=0 , 3+6+0=9 , A->9 , C->0
[1,1,5,9,9,9,0] + [6,9,0,1,8,5,6] , A=[9,4,9,5,4,3,6,6,9] , C=0 , 0+6+0=6 , A->6 , C->0
[1,1,5,9,9,9] + [6,9,0,1,8,5] , A=[6,9,4,9,5,4,3,6,6,9] , C=0 , 9+5+0=14 , A->4 , C->1
[1,1,5,9,9] + [6,9,0,1,8] , A=[4,6,9,4,9,5,4,3,6,6,9] , C=1 , 9+8+1=18 , A->8 , C->1
[1,1,5,9] + [6,9,0,1] , A=[8,4,6,9,4,9,5,4,3,6,6,9] , C=1 , 9+1+1=11 , A->1 , C->1
[1,1,5] + [6,9,0] , A=[1,8,4,6,9,4,9,5,4,3,6,6,9] , C=1 , 5+0+1=6 , A->6 , C->0
[1,1] + [6,9] , A=[6,1,8,4,6,9,4,9,5,4,3,6,6,9] , C=0 , 1+9+0=10 , A->0 , C->1
[1] + [6] , A=[0,6,1,8,4,6,9,4,9,5,4,3,6,6,9] , C=1 , 1+6+1=8 , A->8 , C->0
[] + [] , A=[8,0,6,1,8,4,6,9,4,9,5,4,3,6,6,9] C=0 , END
</scratch>
8061846949543669
| 8061846949543669 | 16 |
Input:
3386134166849940+6407540919745591
Target:
| Input:
3386134166849940+6407540919745591
Target:
[3,3,8,6,1,3,4,1,6,6,8,4,9,9,4,0] + [6,4,0,7,5,4,0,9,1,9,7,4,5,5,9,1] , A=[] , C=0 , 0+1+0=1 , A->1 , C->0
[3,3,8,6,1,3,4,1,6,6,8,4,9,9,4] + [6,4,0,7,5,4,0,9,1,9,7,4,5,5,9] , A=[1] , C=0 , 4+9+0=13 , A->3 , C->1
[3,3,8,6,1,3,4,1,6,6,8,4,9,9] + [6,4,0,7,5,4,0,9,1,9,7,4,5,5] , A=[3,1] , C=1 , 9+5+1=15 , A->5 , C->1
[3,3,8,6,1,3,4,1,6,6,8,4,9] + [6,4,0,7,5,4,0,9,1,9,7,4,5] , A=[5,3,1] , C=1 , 9+5+1=15 , A->5 , C->1
[3,3,8,6,1,3,4,1,6,6,8,4] + [6,4,0,7,5,4,0,9,1,9,7,4] , A=[5,5,3,1] , C=1 , 4+4+1=9 , A->9 , C->0
[3,3,8,6,1,3,4,1,6,6,8] + [6,4,0,7,5,4,0,9,1,9,7] , A=[9,5,5,3,1] , C=0 , 8+7+0=15 , A->5 , C->1
[3,3,8,6,1,3,4,1,6,6] + [6,4,0,7,5,4,0,9,1,9] , A=[5,9,5,5,3,1] , C=1 , 6+9+1=16 , A->6 , C->1
[3,3,8,6,1,3,4,1,6] + [6,4,0,7,5,4,0,9,1] , A=[6,5,9,5,5,3,1] , C=1 , 6+1+1=8 , A->8 , C->0
[3,3,8,6,1,3,4,1] + [6,4,0,7,5,4,0,9] , A=[8,6,5,9,5,5,3,1] , C=0 , 1+9+0=10 , A->0 , C->1
[3,3,8,6,1,3,4] + [6,4,0,7,5,4,0] , A=[0,8,6,5,9,5,5,3,1] , C=1 , 4+0+1=5 , A->5 , C->0
[3,3,8,6,1,3] + [6,4,0,7,5,4] , A=[5,0,8,6,5,9,5,5,3,1] , C=0 , 3+4+0=7 , A->7 , C->0
[3,3,8,6,1] + [6,4,0,7,5] , A=[7,5,0,8,6,5,9,5,5,3,1] , C=0 , 1+5+0=6 , A->6 , C->0
[3,3,8,6] + [6,4,0,7] , A=[6,7,5,0,8,6,5,9,5,5,3,1] , C=0 , 6+7+0=13 , A->3 , C->1
[3,3,8] + [6,4,0] , A=[3,6,7,5,0,8,6,5,9,5,5,3,1] , C=1 , 8+0+1=9 , A->9 , C->0
[3,3] + [6,4] , A=[9,3,6,7,5,0,8,6,5,9,5,5,3,1] , C=0 , 3+4+0=7 , A->7 , C->0
[3] + [6] , A=[7,9,3,6,7,5,0,8,6,5,9,5,5,3,1] , C=0 , 3+6+0=9 , A->9 , C->0
[] + [] , A=[9,7,9,3,6,7,5,0,8,6,5,9,5,5,3,1] C=0 , END
</scratch>
9793675086595531
| 9793675086595531 | 16 |
Input:
2435452135533177+2402183965554497
Target:
| Input:
2435452135533177+2402183965554497
Target:
[2,4,3,5,4,5,2,1,3,5,5,3,3,1,7,7] + [2,4,0,2,1,8,3,9,6,5,5,5,4,4,9,7] , A=[] , C=0 , 7+7+0=14 , A->4 , C->1
[2,4,3,5,4,5,2,1,3,5,5,3,3,1,7] + [2,4,0,2,1,8,3,9,6,5,5,5,4,4,9] , A=[4] , C=1 , 7+9+1=17 , A->7 , C->1
[2,4,3,5,4,5,2,1,3,5,5,3,3,1] + [2,4,0,2,1,8,3,9,6,5,5,5,4,4] , A=[7,4] , C=1 , 1+4+1=6 , A->6 , C->0
[2,4,3,5,4,5,2,1,3,5,5,3,3] + [2,4,0,2,1,8,3,9,6,5,5,5,4] , A=[6,7,4] , C=0 , 3+4+0=7 , A->7 , C->0
[2,4,3,5,4,5,2,1,3,5,5,3] + [2,4,0,2,1,8,3,9,6,5,5,5] , A=[7,6,7,4] , C=0 , 3+5+0=8 , A->8 , C->0
[2,4,3,5,4,5,2,1,3,5,5] + [2,4,0,2,1,8,3,9,6,5,5] , A=[8,7,6,7,4] , C=0 , 5+5+0=10 , A->0 , C->1
[2,4,3,5,4,5,2,1,3,5] + [2,4,0,2,1,8,3,9,6,5] , A=[0,8,7,6,7,4] , C=1 , 5+5+1=11 , A->1 , C->1
[2,4,3,5,4,5,2,1,3] + [2,4,0,2,1,8,3,9,6] , A=[1,0,8,7,6,7,4] , C=1 , 3+6+1=10 , A->0 , C->1
[2,4,3,5,4,5,2,1] + [2,4,0,2,1,8,3,9] , A=[0,1,0,8,7,6,7,4] , C=1 , 1+9+1=11 , A->1 , C->1
[2,4,3,5,4,5,2] + [2,4,0,2,1,8,3] , A=[1,0,1,0,8,7,6,7,4] , C=1 , 2+3+1=6 , A->6 , C->0
[2,4,3,5,4,5] + [2,4,0,2,1,8] , A=[6,1,0,1,0,8,7,6,7,4] , C=0 , 5+8+0=13 , A->3 , C->1
[2,4,3,5,4] + [2,4,0,2,1] , A=[3,6,1,0,1,0,8,7,6,7,4] , C=1 , 4+1+1=6 , A->6 , C->0
[2,4,3,5] + [2,4,0,2] , A=[6,3,6,1,0,1,0,8,7,6,7,4] , C=0 , 5+2+0=7 , A->7 , C->0
[2,4,3] + [2,4,0] , A=[7,6,3,6,1,0,1,0,8,7,6,7,4] , C=0 , 3+0+0=3 , A->3 , C->0
[2,4] + [2,4] , A=[3,7,6,3,6,1,0,1,0,8,7,6,7,4] , C=0 , 4+4+0=8 , A->8 , C->0
[2] + [2] , A=[8,3,7,6,3,6,1,0,1,0,8,7,6,7,4] , C=0 , 2+2+0=4 , A->4 , C->0
[] + [] , A=[4,8,3,7,6,3,6,1,0,1,0,8,7,6,7,4] C=0 , END
</scratch>
4837636101087674
| 4837636101087674 | 16 |
Input:
4651305208176202+9289471897008236
Target:
| Input:
4651305208176202+9289471897008236
Target:
[4,6,5,1,3,0,5,2,0,8,1,7,6,2,0,2] + [9,2,8,9,4,7,1,8,9,7,0,0,8,2,3,6] , A=[] , C=0 , 2+6+0=8 , A->8 , C->0
[4,6,5,1,3,0,5,2,0,8,1,7,6,2,0] + [9,2,8,9,4,7,1,8,9,7,0,0,8,2,3] , A=[8] , C=0 , 0+3+0=3 , A->3 , C->0
[4,6,5,1,3,0,5,2,0,8,1,7,6,2] + [9,2,8,9,4,7,1,8,9,7,0,0,8,2] , A=[3,8] , C=0 , 2+2+0=4 , A->4 , C->0
[4,6,5,1,3,0,5,2,0,8,1,7,6] + [9,2,8,9,4,7,1,8,9,7,0,0,8] , A=[4,3,8] , C=0 , 6+8+0=14 , A->4 , C->1
[4,6,5,1,3,0,5,2,0,8,1,7] + [9,2,8,9,4,7,1,8,9,7,0,0] , A=[4,4,3,8] , C=1 , 7+0+1=8 , A->8 , C->0
[4,6,5,1,3,0,5,2,0,8,1] + [9,2,8,9,4,7,1,8,9,7,0] , A=[8,4,4,3,8] , C=0 , 1+0+0=1 , A->1 , C->0
[4,6,5,1,3,0,5,2,0,8] + [9,2,8,9,4,7,1,8,9,7] , A=[1,8,4,4,3,8] , C=0 , 8+7+0=15 , A->5 , C->1
[4,6,5,1,3,0,5,2,0] + [9,2,8,9,4,7,1,8,9] , A=[5,1,8,4,4,3,8] , C=1 , 0+9+1=10 , A->0 , C->1
[4,6,5,1,3,0,5,2] + [9,2,8,9,4,7,1,8] , A=[0,5,1,8,4,4,3,8] , C=1 , 2+8+1=11 , A->1 , C->1
[4,6,5,1,3,0,5] + [9,2,8,9,4,7,1] , A=[1,0,5,1,8,4,4,3,8] , C=1 , 5+1+1=7 , A->7 , C->0
[4,6,5,1,3,0] + [9,2,8,9,4,7] , A=[7,1,0,5,1,8,4,4,3,8] , C=0 , 0+7+0=7 , A->7 , C->0
[4,6,5,1,3] + [9,2,8,9,4] , A=[7,7,1,0,5,1,8,4,4,3,8] , C=0 , 3+4+0=7 , A->7 , C->0
[4,6,5,1] + [9,2,8,9] , A=[7,7,7,1,0,5,1,8,4,4,3,8] , C=0 , 1+9+0=10 , A->0 , C->1
[4,6,5] + [9,2,8] , A=[0,7,7,7,1,0,5,1,8,4,4,3,8] , C=1 , 5+8+1=14 , A->4 , C->1
[4,6] + [9,2] , A=[4,0,7,7,7,1,0,5,1,8,4,4,3,8] , C=1 , 6+2+1=9 , A->9 , C->0
[4] + [9] , A=[9,4,0,7,7,7,1,0,5,1,8,4,4,3,8] , C=0 , 4+9+0=13 , A->3 , C->1
[] + [] , A=[3,9,4,0,7,7,7,1,0,5,1,8,4,4,3,8] C=1 , END
</scratch>
13940777105184438
| 13940777105184438 | 16 |
Input:
3038414206830057+4465540407195404
Target:
| Input:
3038414206830057+4465540407195404
Target:
[3,0,3,8,4,1,4,2,0,6,8,3,0,0,5,7] + [4,4,6,5,5,4,0,4,0,7,1,9,5,4,0,4] , A=[] , C=0 , 7+4+0=11 , A->1 , C->1
[3,0,3,8,4,1,4,2,0,6,8,3,0,0,5] + [4,4,6,5,5,4,0,4,0,7,1,9,5,4,0] , A=[1] , C=1 , 5+0+1=6 , A->6 , C->0
[3,0,3,8,4,1,4,2,0,6,8,3,0,0] + [4,4,6,5,5,4,0,4,0,7,1,9,5,4] , A=[6,1] , C=0 , 0+4+0=4 , A->4 , C->0
[3,0,3,8,4,1,4,2,0,6,8,3,0] + [4,4,6,5,5,4,0,4,0,7,1,9,5] , A=[4,6,1] , C=0 , 0+5+0=5 , A->5 , C->0
[3,0,3,8,4,1,4,2,0,6,8,3] + [4,4,6,5,5,4,0,4,0,7,1,9] , A=[5,4,6,1] , C=0 , 3+9+0=12 , A->2 , C->1
[3,0,3,8,4,1,4,2,0,6,8] + [4,4,6,5,5,4,0,4,0,7,1] , A=[2,5,4,6,1] , C=1 , 8+1+1=10 , A->0 , C->1
[3,0,3,8,4,1,4,2,0,6] + [4,4,6,5,5,4,0,4,0,7] , A=[0,2,5,4,6,1] , C=1 , 6+7+1=14 , A->4 , C->1
[3,0,3,8,4,1,4,2,0] + [4,4,6,5,5,4,0,4,0] , A=[4,0,2,5,4,6,1] , C=1 , 0+0+1=1 , A->1 , C->0
[3,0,3,8,4,1,4,2] + [4,4,6,5,5,4,0,4] , A=[1,4,0,2,5,4,6,1] , C=0 , 2+4+0=6 , A->6 , C->0
[3,0,3,8,4,1,4] + [4,4,6,5,5,4,0] , A=[6,1,4,0,2,5,4,6,1] , C=0 , 4+0+0=4 , A->4 , C->0
[3,0,3,8,4,1] + [4,4,6,5,5,4] , A=[4,6,1,4,0,2,5,4,6,1] , C=0 , 1+4+0=5 , A->5 , C->0
[3,0,3,8,4] + [4,4,6,5,5] , A=[5,4,6,1,4,0,2,5,4,6,1] , C=0 , 4+5+0=9 , A->9 , C->0
[3,0,3,8] + [4,4,6,5] , A=[9,5,4,6,1,4,0,2,5,4,6,1] , C=0 , 8+5+0=13 , A->3 , C->1
[3,0,3] + [4,4,6] , A=[3,9,5,4,6,1,4,0,2,5,4,6,1] , C=1 , 3+6+1=10 , A->0 , C->1
[3,0] + [4,4] , A=[0,3,9,5,4,6,1,4,0,2,5,4,6,1] , C=1 , 0+4+1=5 , A->5 , C->0
[3] + [4] , A=[5,0,3,9,5,4,6,1,4,0,2,5,4,6,1] , C=0 , 3+4+0=7 , A->7 , C->0
[] + [] , A=[7,5,0,3,9,5,4,6,1,4,0,2,5,4,6,1] C=0 , END
</scratch>
7503954614025461
| 7503954614025461 | 16 |
Input:
3022122553366538+6350995971456705
Target:
| Input:
3022122553366538+6350995971456705
Target:
[3,0,2,2,1,2,2,5,5,3,3,6,6,5,3,8] + [6,3,5,0,9,9,5,9,7,1,4,5,6,7,0,5] , A=[] , C=0 , 8+5+0=13 , A->3 , C->1
[3,0,2,2,1,2,2,5,5,3,3,6,6,5,3] + [6,3,5,0,9,9,5,9,7,1,4,5,6,7,0] , A=[3] , C=1 , 3+0+1=4 , A->4 , C->0
[3,0,2,2,1,2,2,5,5,3,3,6,6,5] + [6,3,5,0,9,9,5,9,7,1,4,5,6,7] , A=[4,3] , C=0 , 5+7+0=12 , A->2 , C->1
[3,0,2,2,1,2,2,5,5,3,3,6,6] + [6,3,5,0,9,9,5,9,7,1,4,5,6] , A=[2,4,3] , C=1 , 6+6+1=13 , A->3 , C->1
[3,0,2,2,1,2,2,5,5,3,3,6] + [6,3,5,0,9,9,5,9,7,1,4,5] , A=[3,2,4,3] , C=1 , 6+5+1=12 , A->2 , C->1
[3,0,2,2,1,2,2,5,5,3,3] + [6,3,5,0,9,9,5,9,7,1,4] , A=[2,3,2,4,3] , C=1 , 3+4+1=8 , A->8 , C->0
[3,0,2,2,1,2,2,5,5,3] + [6,3,5,0,9,9,5,9,7,1] , A=[8,2,3,2,4,3] , C=0 , 3+1+0=4 , A->4 , C->0
[3,0,2,2,1,2,2,5,5] + [6,3,5,0,9,9,5,9,7] , A=[4,8,2,3,2,4,3] , C=0 , 5+7+0=12 , A->2 , C->1
[3,0,2,2,1,2,2,5] + [6,3,5,0,9,9,5,9] , A=[2,4,8,2,3,2,4,3] , C=1 , 5+9+1=15 , A->5 , C->1
[3,0,2,2,1,2,2] + [6,3,5,0,9,9,5] , A=[5,2,4,8,2,3,2,4,3] , C=1 , 2+5+1=8 , A->8 , C->0
[3,0,2,2,1,2] + [6,3,5,0,9,9] , A=[8,5,2,4,8,2,3,2,4,3] , C=0 , 2+9+0=11 , A->1 , C->1
[3,0,2,2,1] + [6,3,5,0,9] , A=[1,8,5,2,4,8,2,3,2,4,3] , C=1 , 1+9+1=11 , A->1 , C->1
[3,0,2,2] + [6,3,5,0] , A=[1,1,8,5,2,4,8,2,3,2,4,3] , C=1 , 2+0+1=3 , A->3 , C->0
[3,0,2] + [6,3,5] , A=[3,1,1,8,5,2,4,8,2,3,2,4,3] , C=0 , 2+5+0=7 , A->7 , C->0
[3,0] + [6,3] , A=[7,3,1,1,8,5,2,4,8,2,3,2,4,3] , C=0 , 0+3+0=3 , A->3 , C->0
[3] + [6] , A=[3,7,3,1,1,8,5,2,4,8,2,3,2,4,3] , C=0 , 3+6+0=9 , A->9 , C->0
[] + [] , A=[9,3,7,3,1,1,8,5,2,4,8,2,3,2,4,3] C=0 , END
</scratch>
9373118524823243
| 9373118524823243 | 16 |
Input:
7365964365849895+6637349386983823
Target:
| Input:
7365964365849895+6637349386983823
Target:
[7,3,6,5,9,6,4,3,6,5,8,4,9,8,9,5] + [6,6,3,7,3,4,9,3,8,6,9,8,3,8,2,3] , A=[] , C=0 , 5+3+0=8 , A->8 , C->0
[7,3,6,5,9,6,4,3,6,5,8,4,9,8,9] + [6,6,3,7,3,4,9,3,8,6,9,8,3,8,2] , A=[8] , C=0 , 9+2+0=11 , A->1 , C->1
[7,3,6,5,9,6,4,3,6,5,8,4,9,8] + [6,6,3,7,3,4,9,3,8,6,9,8,3,8] , A=[1,8] , C=1 , 8+8+1=17 , A->7 , C->1
[7,3,6,5,9,6,4,3,6,5,8,4,9] + [6,6,3,7,3,4,9,3,8,6,9,8,3] , A=[7,1,8] , C=1 , 9+3+1=13 , A->3 , C->1
[7,3,6,5,9,6,4,3,6,5,8,4] + [6,6,3,7,3,4,9,3,8,6,9,8] , A=[3,7,1,8] , C=1 , 4+8+1=13 , A->3 , C->1
[7,3,6,5,9,6,4,3,6,5,8] + [6,6,3,7,3,4,9,3,8,6,9] , A=[3,3,7,1,8] , C=1 , 8+9+1=18 , A->8 , C->1
[7,3,6,5,9,6,4,3,6,5] + [6,6,3,7,3,4,9,3,8,6] , A=[8,3,3,7,1,8] , C=1 , 5+6+1=12 , A->2 , C->1
[7,3,6,5,9,6,4,3,6] + [6,6,3,7,3,4,9,3,8] , A=[2,8,3,3,7,1,8] , C=1 , 6+8+1=15 , A->5 , C->1
[7,3,6,5,9,6,4,3] + [6,6,3,7,3,4,9,3] , A=[5,2,8,3,3,7,1,8] , C=1 , 3+3+1=7 , A->7 , C->0
[7,3,6,5,9,6,4] + [6,6,3,7,3,4,9] , A=[7,5,2,8,3,3,7,1,8] , C=0 , 4+9+0=13 , A->3 , C->1
[7,3,6,5,9,6] + [6,6,3,7,3,4] , A=[3,7,5,2,8,3,3,7,1,8] , C=1 , 6+4+1=11 , A->1 , C->1
[7,3,6,5,9] + [6,6,3,7,3] , A=[1,3,7,5,2,8,3,3,7,1,8] , C=1 , 9+3+1=13 , A->3 , C->1
[7,3,6,5] + [6,6,3,7] , A=[3,1,3,7,5,2,8,3,3,7,1,8] , C=1 , 5+7+1=13 , A->3 , C->1
[7,3,6] + [6,6,3] , A=[3,3,1,3,7,5,2,8,3,3,7,1,8] , C=1 , 6+3+1=10 , A->0 , C->1
[7,3] + [6,6] , A=[0,3,3,1,3,7,5,2,8,3,3,7,1,8] , C=1 , 3+6+1=10 , A->0 , C->1
[7] + [6] , A=[0,0,3,3,1,3,7,5,2,8,3,3,7,1,8] , C=1 , 7+6+1=14 , A->4 , C->1
[] + [] , A=[4,0,0,3,3,1,3,7,5,2,8,3,3,7,1,8] C=1 , END
</scratch>
14003313752833718
| 14003313752833718 | 16 |
Input:
7807745504045451+2894790475924534
Target:
| Input:
7807745504045451+2894790475924534
Target:
[7,8,0,7,7,4,5,5,0,4,0,4,5,4,5,1] + [2,8,9,4,7,9,0,4,7,5,9,2,4,5,3,4] , A=[] , C=0 , 1+4+0=5 , A->5 , C->0
[7,8,0,7,7,4,5,5,0,4,0,4,5,4,5] + [2,8,9,4,7,9,0,4,7,5,9,2,4,5,3] , A=[5] , C=0 , 5+3+0=8 , A->8 , C->0
[7,8,0,7,7,4,5,5,0,4,0,4,5,4] + [2,8,9,4,7,9,0,4,7,5,9,2,4,5] , A=[8,5] , C=0 , 4+5+0=9 , A->9 , C->0
[7,8,0,7,7,4,5,5,0,4,0,4,5] + [2,8,9,4,7,9,0,4,7,5,9,2,4] , A=[9,8,5] , C=0 , 5+4+0=9 , A->9 , C->0
[7,8,0,7,7,4,5,5,0,4,0,4] + [2,8,9,4,7,9,0,4,7,5,9,2] , A=[9,9,8,5] , C=0 , 4+2+0=6 , A->6 , C->0
[7,8,0,7,7,4,5,5,0,4,0] + [2,8,9,4,7,9,0,4,7,5,9] , A=[6,9,9,8,5] , C=0 , 0+9+0=9 , A->9 , C->0
[7,8,0,7,7,4,5,5,0,4] + [2,8,9,4,7,9,0,4,7,5] , A=[9,6,9,9,8,5] , C=0 , 4+5+0=9 , A->9 , C->0
[7,8,0,7,7,4,5,5,0] + [2,8,9,4,7,9,0,4,7] , A=[9,9,6,9,9,8,5] , C=0 , 0+7+0=7 , A->7 , C->0
[7,8,0,7,7,4,5,5] + [2,8,9,4,7,9,0,4] , A=[7,9,9,6,9,9,8,5] , C=0 , 5+4+0=9 , A->9 , C->0
[7,8,0,7,7,4,5] + [2,8,9,4,7,9,0] , A=[9,7,9,9,6,9,9,8,5] , C=0 , 5+0+0=5 , A->5 , C->0
[7,8,0,7,7,4] + [2,8,9,4,7,9] , A=[5,9,7,9,9,6,9,9,8,5] , C=0 , 4+9+0=13 , A->3 , C->1
[7,8,0,7,7] + [2,8,9,4,7] , A=[3,5,9,7,9,9,6,9,9,8,5] , C=1 , 7+7+1=15 , A->5 , C->1
[7,8,0,7] + [2,8,9,4] , A=[5,3,5,9,7,9,9,6,9,9,8,5] , C=1 , 7+4+1=12 , A->2 , C->1
[7,8,0] + [2,8,9] , A=[2,5,3,5,9,7,9,9,6,9,9,8,5] , C=1 , 0+9+1=10 , A->0 , C->1
[7,8] + [2,8] , A=[0,2,5,3,5,9,7,9,9,6,9,9,8,5] , C=1 , 8+8+1=17 , A->7 , C->1
[7] + [2] , A=[7,0,2,5,3,5,9,7,9,9,6,9,9,8,5] , C=1 , 7+2+1=10 , A->0 , C->1
[] + [] , A=[0,7,0,2,5,3,5,9,7,9,9,6,9,9,8,5] C=1 , END
</scratch>
10702535979969985
| 10702535979969985 | 16 |
Input:
2042215389643472+9623017878138568
Target:
| Input:
2042215389643472+9623017878138568
Target:
[2,0,4,2,2,1,5,3,8,9,6,4,3,4,7,2] + [9,6,2,3,0,1,7,8,7,8,1,3,8,5,6,8] , A=[] , C=0 , 2+8+0=10 , A->0 , C->1
[2,0,4,2,2,1,5,3,8,9,6,4,3,4,7] + [9,6,2,3,0,1,7,8,7,8,1,3,8,5,6] , A=[0] , C=1 , 7+6+1=14 , A->4 , C->1
[2,0,4,2,2,1,5,3,8,9,6,4,3,4] + [9,6,2,3,0,1,7,8,7,8,1,3,8,5] , A=[4,0] , C=1 , 4+5+1=10 , A->0 , C->1
[2,0,4,2,2,1,5,3,8,9,6,4,3] + [9,6,2,3,0,1,7,8,7,8,1,3,8] , A=[0,4,0] , C=1 , 3+8+1=12 , A->2 , C->1
[2,0,4,2,2,1,5,3,8,9,6,4] + [9,6,2,3,0,1,7,8,7,8,1,3] , A=[2,0,4,0] , C=1 , 4+3+1=8 , A->8 , C->0
[2,0,4,2,2,1,5,3,8,9,6] + [9,6,2,3,0,1,7,8,7,8,1] , A=[8,2,0,4,0] , C=0 , 6+1+0=7 , A->7 , C->0
[2,0,4,2,2,1,5,3,8,9] + [9,6,2,3,0,1,7,8,7,8] , A=[7,8,2,0,4,0] , C=0 , 9+8+0=17 , A->7 , C->1
[2,0,4,2,2,1,5,3,8] + [9,6,2,3,0,1,7,8,7] , A=[7,7,8,2,0,4,0] , C=1 , 8+7+1=16 , A->6 , C->1
[2,0,4,2,2,1,5,3] + [9,6,2,3,0,1,7,8] , A=[6,7,7,8,2,0,4,0] , C=1 , 3+8+1=12 , A->2 , C->1
[2,0,4,2,2,1,5] + [9,6,2,3,0,1,7] , A=[2,6,7,7,8,2,0,4,0] , C=1 , 5+7+1=13 , A->3 , C->1
[2,0,4,2,2,1] + [9,6,2,3,0,1] , A=[3,2,6,7,7,8,2,0,4,0] , C=1 , 1+1+1=3 , A->3 , C->0
[2,0,4,2,2] + [9,6,2,3,0] , A=[3,3,2,6,7,7,8,2,0,4,0] , C=0 , 2+0+0=2 , A->2 , C->0
[2,0,4,2] + [9,6,2,3] , A=[2,3,3,2,6,7,7,8,2,0,4,0] , C=0 , 2+3+0=5 , A->5 , C->0
[2,0,4] + [9,6,2] , A=[5,2,3,3,2,6,7,7,8,2,0,4,0] , C=0 , 4+2+0=6 , A->6 , C->0
[2,0] + [9,6] , A=[6,5,2,3,3,2,6,7,7,8,2,0,4,0] , C=0 , 0+6+0=6 , A->6 , C->0
[2] + [9] , A=[6,6,5,2,3,3,2,6,7,7,8,2,0,4,0] , C=0 , 2+9+0=11 , A->1 , C->1
[] + [] , A=[1,6,6,5,2,3,3,2,6,7,7,8,2,0,4,0] C=1 , END
</scratch>
11665233267782040
| 11665233267782040 | 16 |
Input:
9216777436374113+1446522415005960
Target:
| Input:
9216777436374113+1446522415005960
Target:
[9,2,1,6,7,7,7,4,3,6,3,7,4,1,1,3] + [1,4,4,6,5,2,2,4,1,5,0,0,5,9,6,0] , A=[] , C=0 , 3+0+0=3 , A->3 , C->0
[9,2,1,6,7,7,7,4,3,6,3,7,4,1,1] + [1,4,4,6,5,2,2,4,1,5,0,0,5,9,6] , A=[3] , C=0 , 1+6+0=7 , A->7 , C->0
[9,2,1,6,7,7,7,4,3,6,3,7,4,1] + [1,4,4,6,5,2,2,4,1,5,0,0,5,9] , A=[7,3] , C=0 , 1+9+0=10 , A->0 , C->1
[9,2,1,6,7,7,7,4,3,6,3,7,4] + [1,4,4,6,5,2,2,4,1,5,0,0,5] , A=[0,7,3] , C=1 , 4+5+1=10 , A->0 , C->1
[9,2,1,6,7,7,7,4,3,6,3,7] + [1,4,4,6,5,2,2,4,1,5,0,0] , A=[0,0,7,3] , C=1 , 7+0+1=8 , A->8 , C->0
[9,2,1,6,7,7,7,4,3,6,3] + [1,4,4,6,5,2,2,4,1,5,0] , A=[8,0,0,7,3] , C=0 , 3+0+0=3 , A->3 , C->0
[9,2,1,6,7,7,7,4,3,6] + [1,4,4,6,5,2,2,4,1,5] , A=[3,8,0,0,7,3] , C=0 , 6+5+0=11 , A->1 , C->1
[9,2,1,6,7,7,7,4,3] + [1,4,4,6,5,2,2,4,1] , A=[1,3,8,0,0,7,3] , C=1 , 3+1+1=5 , A->5 , C->0
[9,2,1,6,7,7,7,4] + [1,4,4,6,5,2,2,4] , A=[5,1,3,8,0,0,7,3] , C=0 , 4+4+0=8 , A->8 , C->0
[9,2,1,6,7,7,7] + [1,4,4,6,5,2,2] , A=[8,5,1,3,8,0,0,7,3] , C=0 , 7+2+0=9 , A->9 , C->0
[9,2,1,6,7,7] + [1,4,4,6,5,2] , A=[9,8,5,1,3,8,0,0,7,3] , C=0 , 7+2+0=9 , A->9 , C->0
[9,2,1,6,7] + [1,4,4,6,5] , A=[9,9,8,5,1,3,8,0,0,7,3] , C=0 , 7+5+0=12 , A->2 , C->1
[9,2,1,6] + [1,4,4,6] , A=[2,9,9,8,5,1,3,8,0,0,7,3] , C=1 , 6+6+1=13 , A->3 , C->1
[9,2,1] + [1,4,4] , A=[3,2,9,9,8,5,1,3,8,0,0,7,3] , C=1 , 1+4+1=6 , A->6 , C->0
[9,2] + [1,4] , A=[6,3,2,9,9,8,5,1,3,8,0,0,7,3] , C=0 , 2+4+0=6 , A->6 , C->0
[9] + [1] , A=[6,6,3,2,9,9,8,5,1,3,8,0,0,7,3] , C=0 , 9+1+0=10 , A->0 , C->1
[] + [] , A=[0,6,6,3,2,9,9,8,5,1,3,8,0,0,7,3] C=1 , END
</scratch>
10663299851380073
| 10663299851380073 | 16 |
Input:
7952700845446730+2023757074209475
Target:
| Input:
7952700845446730+2023757074209475
Target:
[7,9,5,2,7,0,0,8,4,5,4,4,6,7,3,0] + [2,0,2,3,7,5,7,0,7,4,2,0,9,4,7,5] , A=[] , C=0 , 0+5+0=5 , A->5 , C->0
[7,9,5,2,7,0,0,8,4,5,4,4,6,7,3] + [2,0,2,3,7,5,7,0,7,4,2,0,9,4,7] , A=[5] , C=0 , 3+7+0=10 , A->0 , C->1
[7,9,5,2,7,0,0,8,4,5,4,4,6,7] + [2,0,2,3,7,5,7,0,7,4,2,0,9,4] , A=[0,5] , C=1 , 7+4+1=12 , A->2 , C->1
[7,9,5,2,7,0,0,8,4,5,4,4,6] + [2,0,2,3,7,5,7,0,7,4,2,0,9] , A=[2,0,5] , C=1 , 6+9+1=16 , A->6 , C->1
[7,9,5,2,7,0,0,8,4,5,4,4] + [2,0,2,3,7,5,7,0,7,4,2,0] , A=[6,2,0,5] , C=1 , 4+0+1=5 , A->5 , C->0
[7,9,5,2,7,0,0,8,4,5,4] + [2,0,2,3,7,5,7,0,7,4,2] , A=[5,6,2,0,5] , C=0 , 4+2+0=6 , A->6 , C->0
[7,9,5,2,7,0,0,8,4,5] + [2,0,2,3,7,5,7,0,7,4] , A=[6,5,6,2,0,5] , C=0 , 5+4+0=9 , A->9 , C->0
[7,9,5,2,7,0,0,8,4] + [2,0,2,3,7,5,7,0,7] , A=[9,6,5,6,2,0,5] , C=0 , 4+7+0=11 , A->1 , C->1
[7,9,5,2,7,0,0,8] + [2,0,2,3,7,5,7,0] , A=[1,9,6,5,6,2,0,5] , C=1 , 8+0+1=9 , A->9 , C->0
[7,9,5,2,7,0,0] + [2,0,2,3,7,5,7] , A=[9,1,9,6,5,6,2,0,5] , C=0 , 0+7+0=7 , A->7 , C->0
[7,9,5,2,7,0] + [2,0,2,3,7,5] , A=[7,9,1,9,6,5,6,2,0,5] , C=0 , 0+5+0=5 , A->5 , C->0
[7,9,5,2,7] + [2,0,2,3,7] , A=[5,7,9,1,9,6,5,6,2,0,5] , C=0 , 7+7+0=14 , A->4 , C->1
[7,9,5,2] + [2,0,2,3] , A=[4,5,7,9,1,9,6,5,6,2,0,5] , C=1 , 2+3+1=6 , A->6 , C->0
[7,9,5] + [2,0,2] , A=[6,4,5,7,9,1,9,6,5,6,2,0,5] , C=0 , 5+2+0=7 , A->7 , C->0
[7,9] + [2,0] , A=[7,6,4,5,7,9,1,9,6,5,6,2,0,5] , C=0 , 9+0+0=9 , A->9 , C->0
[7] + [2] , A=[9,7,6,4,5,7,9,1,9,6,5,6,2,0,5] , C=0 , 7+2+0=9 , A->9 , C->0
[] + [] , A=[9,9,7,6,4,5,7,9,1,9,6,5,6,2,0,5] C=0 , END
</scratch>
9976457919656205
| 9976457919656205 | 16 |
Input:
4476739909790413+5406545693592936
Target:
| Input:
4476739909790413+5406545693592936
Target:
[4,4,7,6,7,3,9,9,0,9,7,9,0,4,1,3] + [5,4,0,6,5,4,5,6,9,3,5,9,2,9,3,6] , A=[] , C=0 , 3+6+0=9 , A->9 , C->0
[4,4,7,6,7,3,9,9,0,9,7,9,0,4,1] + [5,4,0,6,5,4,5,6,9,3,5,9,2,9,3] , A=[9] , C=0 , 1+3+0=4 , A->4 , C->0
[4,4,7,6,7,3,9,9,0,9,7,9,0,4] + [5,4,0,6,5,4,5,6,9,3,5,9,2,9] , A=[4,9] , C=0 , 4+9+0=13 , A->3 , C->1
[4,4,7,6,7,3,9,9,0,9,7,9,0] + [5,4,0,6,5,4,5,6,9,3,5,9,2] , A=[3,4,9] , C=1 , 0+2+1=3 , A->3 , C->0
[4,4,7,6,7,3,9,9,0,9,7,9] + [5,4,0,6,5,4,5,6,9,3,5,9] , A=[3,3,4,9] , C=0 , 9+9+0=18 , A->8 , C->1
[4,4,7,6,7,3,9,9,0,9,7] + [5,4,0,6,5,4,5,6,9,3,5] , A=[8,3,3,4,9] , C=1 , 7+5+1=13 , A->3 , C->1
[4,4,7,6,7,3,9,9,0,9] + [5,4,0,6,5,4,5,6,9,3] , A=[3,8,3,3,4,9] , C=1 , 9+3+1=13 , A->3 , C->1
[4,4,7,6,7,3,9,9,0] + [5,4,0,6,5,4,5,6,9] , A=[3,3,8,3,3,4,9] , C=1 , 0+9+1=10 , A->0 , C->1
[4,4,7,6,7,3,9,9] + [5,4,0,6,5,4,5,6] , A=[0,3,3,8,3,3,4,9] , C=1 , 9+6+1=16 , A->6 , C->1
[4,4,7,6,7,3,9] + [5,4,0,6,5,4,5] , A=[6,0,3,3,8,3,3,4,9] , C=1 , 9+5+1=15 , A->5 , C->1
[4,4,7,6,7,3] + [5,4,0,6,5,4] , A=[5,6,0,3,3,8,3,3,4,9] , C=1 , 3+4+1=8 , A->8 , C->0
[4,4,7,6,7] + [5,4,0,6,5] , A=[8,5,6,0,3,3,8,3,3,4,9] , C=0 , 7+5+0=12 , A->2 , C->1
[4,4,7,6] + [5,4,0,6] , A=[2,8,5,6,0,3,3,8,3,3,4,9] , C=1 , 6+6+1=13 , A->3 , C->1
[4,4,7] + [5,4,0] , A=[3,2,8,5,6,0,3,3,8,3,3,4,9] , C=1 , 7+0+1=8 , A->8 , C->0
[4,4] + [5,4] , A=[8,3,2,8,5,6,0,3,3,8,3,3,4,9] , C=0 , 4+4+0=8 , A->8 , C->0
[4] + [5] , A=[8,8,3,2,8,5,6,0,3,3,8,3,3,4,9] , C=0 , 4+5+0=9 , A->9 , C->0
[] + [] , A=[9,8,8,3,2,8,5,6,0,3,3,8,3,3,4,9] C=0 , END
</scratch>
9883285603383349
| 9883285603383349 | 16 |
Input:
8076892723493167+1975410581573730
Target:
| Input:
8076892723493167+1975410581573730
Target:
[8,0,7,6,8,9,2,7,2,3,4,9,3,1,6,7] + [1,9,7,5,4,1,0,5,8,1,5,7,3,7,3,0] , A=[] , C=0 , 7+0+0=7 , A->7 , C->0
[8,0,7,6,8,9,2,7,2,3,4,9,3,1,6] + [1,9,7,5,4,1,0,5,8,1,5,7,3,7,3] , A=[7] , C=0 , 6+3+0=9 , A->9 , C->0
[8,0,7,6,8,9,2,7,2,3,4,9,3,1] + [1,9,7,5,4,1,0,5,8,1,5,7,3,7] , A=[9,7] , C=0 , 1+7+0=8 , A->8 , C->0
[8,0,7,6,8,9,2,7,2,3,4,9,3] + [1,9,7,5,4,1,0,5,8,1,5,7,3] , A=[8,9,7] , C=0 , 3+3+0=6 , A->6 , C->0
[8,0,7,6,8,9,2,7,2,3,4,9] + [1,9,7,5,4,1,0,5,8,1,5,7] , A=[6,8,9,7] , C=0 , 9+7+0=16 , A->6 , C->1
[8,0,7,6,8,9,2,7,2,3,4] + [1,9,7,5,4,1,0,5,8,1,5] , A=[6,6,8,9,7] , C=1 , 4+5+1=10 , A->0 , C->1
[8,0,7,6,8,9,2,7,2,3] + [1,9,7,5,4,1,0,5,8,1] , A=[0,6,6,8,9,7] , C=1 , 3+1+1=5 , A->5 , C->0
[8,0,7,6,8,9,2,7,2] + [1,9,7,5,4,1,0,5,8] , A=[5,0,6,6,8,9,7] , C=0 , 2+8+0=10 , A->0 , C->1
[8,0,7,6,8,9,2,7] + [1,9,7,5,4,1,0,5] , A=[0,5,0,6,6,8,9,7] , C=1 , 7+5+1=13 , A->3 , C->1
[8,0,7,6,8,9,2] + [1,9,7,5,4,1,0] , A=[3,0,5,0,6,6,8,9,7] , C=1 , 2+0+1=3 , A->3 , C->0
[8,0,7,6,8,9] + [1,9,7,5,4,1] , A=[3,3,0,5,0,6,6,8,9,7] , C=0 , 9+1+0=10 , A->0 , C->1
[8,0,7,6,8] + [1,9,7,5,4] , A=[0,3,3,0,5,0,6,6,8,9,7] , C=1 , 8+4+1=13 , A->3 , C->1
[8,0,7,6] + [1,9,7,5] , A=[3,0,3,3,0,5,0,6,6,8,9,7] , C=1 , 6+5+1=12 , A->2 , C->1
[8,0,7] + [1,9,7] , A=[2,3,0,3,3,0,5,0,6,6,8,9,7] , C=1 , 7+7+1=15 , A->5 , C->1
[8,0] + [1,9] , A=[5,2,3,0,3,3,0,5,0,6,6,8,9,7] , C=1 , 0+9+1=10 , A->0 , C->1
[8] + [1] , A=[0,5,2,3,0,3,3,0,5,0,6,6,8,9,7] , C=1 , 8+1+1=10 , A->0 , C->1
[] + [] , A=[0,0,5,2,3,0,3,3,0,5,0,6,6,8,9,7] C=1 , END
</scratch>
10052303305066897
| 10052303305066897 | 16 |
Input:
8471561024397384+5063913407542150
Target:
| Input:
8471561024397384+5063913407542150
Target:
[8,4,7,1,5,6,1,0,2,4,3,9,7,3,8,4] + [5,0,6,3,9,1,3,4,0,7,5,4,2,1,5,0] , A=[] , C=0 , 4+0+0=4 , A->4 , C->0
[8,4,7,1,5,6,1,0,2,4,3,9,7,3,8] + [5,0,6,3,9,1,3,4,0,7,5,4,2,1,5] , A=[4] , C=0 , 8+5+0=13 , A->3 , C->1
[8,4,7,1,5,6,1,0,2,4,3,9,7,3] + [5,0,6,3,9,1,3,4,0,7,5,4,2,1] , A=[3,4] , C=1 , 3+1+1=5 , A->5 , C->0
[8,4,7,1,5,6,1,0,2,4,3,9,7] + [5,0,6,3,9,1,3,4,0,7,5,4,2] , A=[5,3,4] , C=0 , 7+2+0=9 , A->9 , C->0
[8,4,7,1,5,6,1,0,2,4,3,9] + [5,0,6,3,9,1,3,4,0,7,5,4] , A=[9,5,3,4] , C=0 , 9+4+0=13 , A->3 , C->1
[8,4,7,1,5,6,1,0,2,4,3] + [5,0,6,3,9,1,3,4,0,7,5] , A=[3,9,5,3,4] , C=1 , 3+5+1=9 , A->9 , C->0
[8,4,7,1,5,6,1,0,2,4] + [5,0,6,3,9,1,3,4,0,7] , A=[9,3,9,5,3,4] , C=0 , 4+7+0=11 , A->1 , C->1
[8,4,7,1,5,6,1,0,2] + [5,0,6,3,9,1,3,4,0] , A=[1,9,3,9,5,3,4] , C=1 , 2+0+1=3 , A->3 , C->0
[8,4,7,1,5,6,1,0] + [5,0,6,3,9,1,3,4] , A=[3,1,9,3,9,5,3,4] , C=0 , 0+4+0=4 , A->4 , C->0
[8,4,7,1,5,6,1] + [5,0,6,3,9,1,3] , A=[4,3,1,9,3,9,5,3,4] , C=0 , 1+3+0=4 , A->4 , C->0
[8,4,7,1,5,6] + [5,0,6,3,9,1] , A=[4,4,3,1,9,3,9,5,3,4] , C=0 , 6+1+0=7 , A->7 , C->0
[8,4,7,1,5] + [5,0,6,3,9] , A=[7,4,4,3,1,9,3,9,5,3,4] , C=0 , 5+9+0=14 , A->4 , C->1
[8,4,7,1] + [5,0,6,3] , A=[4,7,4,4,3,1,9,3,9,5,3,4] , C=1 , 1+3+1=5 , A->5 , C->0
[8,4,7] + [5,0,6] , A=[5,4,7,4,4,3,1,9,3,9,5,3,4] , C=0 , 7+6+0=13 , A->3 , C->1
[8,4] + [5,0] , A=[3,5,4,7,4,4,3,1,9,3,9,5,3,4] , C=1 , 4+0+1=5 , A->5 , C->0
[8] + [5] , A=[5,3,5,4,7,4,4,3,1,9,3,9,5,3,4] , C=0 , 8+5+0=13 , A->3 , C->1
[] + [] , A=[3,5,3,5,4,7,4,4,3,1,9,3,9,5,3,4] C=1 , END
</scratch>
13535474431939534
| 13535474431939534 | 16 |
Input:
3818631754587536+2311933314999474
Target:
| Input:
3818631754587536+2311933314999474
Target:
[3,8,1,8,6,3,1,7,5,4,5,8,7,5,3,6] + [2,3,1,1,9,3,3,3,1,4,9,9,9,4,7,4] , A=[] , C=0 , 6+4+0=10 , A->0 , C->1
[3,8,1,8,6,3,1,7,5,4,5,8,7,5,3] + [2,3,1,1,9,3,3,3,1,4,9,9,9,4,7] , A=[0] , C=1 , 3+7+1=11 , A->1 , C->1
[3,8,1,8,6,3,1,7,5,4,5,8,7,5] + [2,3,1,1,9,3,3,3,1,4,9,9,9,4] , A=[1,0] , C=1 , 5+4+1=10 , A->0 , C->1
[3,8,1,8,6,3,1,7,5,4,5,8,7] + [2,3,1,1,9,3,3,3,1,4,9,9,9] , A=[0,1,0] , C=1 , 7+9+1=17 , A->7 , C->1
[3,8,1,8,6,3,1,7,5,4,5,8] + [2,3,1,1,9,3,3,3,1,4,9,9] , A=[7,0,1,0] , C=1 , 8+9+1=18 , A->8 , C->1
[3,8,1,8,6,3,1,7,5,4,5] + [2,3,1,1,9,3,3,3,1,4,9] , A=[8,7,0,1,0] , C=1 , 5+9+1=15 , A->5 , C->1
[3,8,1,8,6,3,1,7,5,4] + [2,3,1,1,9,3,3,3,1,4] , A=[5,8,7,0,1,0] , C=1 , 4+4+1=9 , A->9 , C->0
[3,8,1,8,6,3,1,7,5] + [2,3,1,1,9,3,3,3,1] , A=[9,5,8,7,0,1,0] , C=0 , 5+1+0=6 , A->6 , C->0
[3,8,1,8,6,3,1,7] + [2,3,1,1,9,3,3,3] , A=[6,9,5,8,7,0,1,0] , C=0 , 7+3+0=10 , A->0 , C->1
[3,8,1,8,6,3,1] + [2,3,1,1,9,3,3] , A=[0,6,9,5,8,7,0,1,0] , C=1 , 1+3+1=5 , A->5 , C->0
[3,8,1,8,6,3] + [2,3,1,1,9,3] , A=[5,0,6,9,5,8,7,0,1,0] , C=0 , 3+3+0=6 , A->6 , C->0
[3,8,1,8,6] + [2,3,1,1,9] , A=[6,5,0,6,9,5,8,7,0,1,0] , C=0 , 6+9+0=15 , A->5 , C->1
[3,8,1,8] + [2,3,1,1] , A=[5,6,5,0,6,9,5,8,7,0,1,0] , C=1 , 8+1+1=10 , A->0 , C->1
[3,8,1] + [2,3,1] , A=[0,5,6,5,0,6,9,5,8,7,0,1,0] , C=1 , 1+1+1=3 , A->3 , C->0
[3,8] + [2,3] , A=[3,0,5,6,5,0,6,9,5,8,7,0,1,0] , C=0 , 8+3+0=11 , A->1 , C->1
[3] + [2] , A=[1,3,0,5,6,5,0,6,9,5,8,7,0,1,0] , C=1 , 3+2+1=6 , A->6 , C->0
[] + [] , A=[6,1,3,0,5,6,5,0,6,9,5,8,7,0,1,0] C=0 , END
</scratch>
6130565069587010
| 6130565069587010 | 16 |
Input:
8867162008871014+4681274204513195
Target:
| Input:
8867162008871014+4681274204513195
Target:
[8,8,6,7,1,6,2,0,0,8,8,7,1,0,1,4] + [4,6,8,1,2,7,4,2,0,4,5,1,3,1,9,5] , A=[] , C=0 , 4+5+0=9 , A->9 , C->0
[8,8,6,7,1,6,2,0,0,8,8,7,1,0,1] + [4,6,8,1,2,7,4,2,0,4,5,1,3,1,9] , A=[9] , C=0 , 1+9+0=10 , A->0 , C->1
[8,8,6,7,1,6,2,0,0,8,8,7,1,0] + [4,6,8,1,2,7,4,2,0,4,5,1,3,1] , A=[0,9] , C=1 , 0+1+1=2 , A->2 , C->0
[8,8,6,7,1,6,2,0,0,8,8,7,1] + [4,6,8,1,2,7,4,2,0,4,5,1,3] , A=[2,0,9] , C=0 , 1+3+0=4 , A->4 , C->0
[8,8,6,7,1,6,2,0,0,8,8,7] + [4,6,8,1,2,7,4,2,0,4,5,1] , A=[4,2,0,9] , C=0 , 7+1+0=8 , A->8 , C->0
[8,8,6,7,1,6,2,0,0,8,8] + [4,6,8,1,2,7,4,2,0,4,5] , A=[8,4,2,0,9] , C=0 , 8+5+0=13 , A->3 , C->1
[8,8,6,7,1,6,2,0,0,8] + [4,6,8,1,2,7,4,2,0,4] , A=[3,8,4,2,0,9] , C=1 , 8+4+1=13 , A->3 , C->1
[8,8,6,7,1,6,2,0,0] + [4,6,8,1,2,7,4,2,0] , A=[3,3,8,4,2,0,9] , C=1 , 0+0+1=1 , A->1 , C->0
[8,8,6,7,1,6,2,0] + [4,6,8,1,2,7,4,2] , A=[1,3,3,8,4,2,0,9] , C=0 , 0+2+0=2 , A->2 , C->0
[8,8,6,7,1,6,2] + [4,6,8,1,2,7,4] , A=[2,1,3,3,8,4,2,0,9] , C=0 , 2+4+0=6 , A->6 , C->0
[8,8,6,7,1,6] + [4,6,8,1,2,7] , A=[6,2,1,3,3,8,4,2,0,9] , C=0 , 6+7+0=13 , A->3 , C->1
[8,8,6,7,1] + [4,6,8,1,2] , A=[3,6,2,1,3,3,8,4,2,0,9] , C=1 , 1+2+1=4 , A->4 , C->0
[8,8,6,7] + [4,6,8,1] , A=[4,3,6,2,1,3,3,8,4,2,0,9] , C=0 , 7+1+0=8 , A->8 , C->0
[8,8,6] + [4,6,8] , A=[8,4,3,6,2,1,3,3,8,4,2,0,9] , C=0 , 6+8+0=14 , A->4 , C->1
[8,8] + [4,6] , A=[4,8,4,3,6,2,1,3,3,8,4,2,0,9] , C=1 , 8+6+1=15 , A->5 , C->1
[8] + [4] , A=[5,4,8,4,3,6,2,1,3,3,8,4,2,0,9] , C=1 , 8+4+1=13 , A->3 , C->1
[] + [] , A=[3,5,4,8,4,3,6,2,1,3,3,8,4,2,0,9] C=1 , END
</scratch>
13548436213384209
| 13548436213384209 | 16 |
Input:
4945757744144324+2532458109299853
Target:
| Input:
4945757744144324+2532458109299853
Target:
[4,9,4,5,7,5,7,7,4,4,1,4,4,3,2,4] + [2,5,3,2,4,5,8,1,0,9,2,9,9,8,5,3] , A=[] , C=0 , 4+3+0=7 , A->7 , C->0
[4,9,4,5,7,5,7,7,4,4,1,4,4,3,2] + [2,5,3,2,4,5,8,1,0,9,2,9,9,8,5] , A=[7] , C=0 , 2+5+0=7 , A->7 , C->0
[4,9,4,5,7,5,7,7,4,4,1,4,4,3] + [2,5,3,2,4,5,8,1,0,9,2,9,9,8] , A=[7,7] , C=0 , 3+8+0=11 , A->1 , C->1
[4,9,4,5,7,5,7,7,4,4,1,4,4] + [2,5,3,2,4,5,8,1,0,9,2,9,9] , A=[1,7,7] , C=1 , 4+9+1=14 , A->4 , C->1
[4,9,4,5,7,5,7,7,4,4,1,4] + [2,5,3,2,4,5,8,1,0,9,2,9] , A=[4,1,7,7] , C=1 , 4+9+1=14 , A->4 , C->1
[4,9,4,5,7,5,7,7,4,4,1] + [2,5,3,2,4,5,8,1,0,9,2] , A=[4,4,1,7,7] , C=1 , 1+2+1=4 , A->4 , C->0
[4,9,4,5,7,5,7,7,4,4] + [2,5,3,2,4,5,8,1,0,9] , A=[4,4,4,1,7,7] , C=0 , 4+9+0=13 , A->3 , C->1
[4,9,4,5,7,5,7,7,4] + [2,5,3,2,4,5,8,1,0] , A=[3,4,4,4,1,7,7] , C=1 , 4+0+1=5 , A->5 , C->0
[4,9,4,5,7,5,7,7] + [2,5,3,2,4,5,8,1] , A=[5,3,4,4,4,1,7,7] , C=0 , 7+1+0=8 , A->8 , C->0
[4,9,4,5,7,5,7] + [2,5,3,2,4,5,8] , A=[8,5,3,4,4,4,1,7,7] , C=0 , 7+8+0=15 , A->5 , C->1
[4,9,4,5,7,5] + [2,5,3,2,4,5] , A=[5,8,5,3,4,4,4,1,7,7] , C=1 , 5+5+1=11 , A->1 , C->1
[4,9,4,5,7] + [2,5,3,2,4] , A=[1,5,8,5,3,4,4,4,1,7,7] , C=1 , 7+4+1=12 , A->2 , C->1
[4,9,4,5] + [2,5,3,2] , A=[2,1,5,8,5,3,4,4,4,1,7,7] , C=1 , 5+2+1=8 , A->8 , C->0
[4,9,4] + [2,5,3] , A=[8,2,1,5,8,5,3,4,4,4,1,7,7] , C=0 , 4+3+0=7 , A->7 , C->0
[4,9] + [2,5] , A=[7,8,2,1,5,8,5,3,4,4,4,1,7,7] , C=0 , 9+5+0=14 , A->4 , C->1
[4] + [2] , A=[4,7,8,2,1,5,8,5,3,4,4,4,1,7,7] , C=1 , 4+2+1=7 , A->7 , C->0
[] + [] , A=[7,4,7,8,2,1,5,8,5,3,4,4,4,1,7,7] C=0 , END
</scratch>
7478215853444177
| 7478215853444177 | 16 |
Input:
5335894069801724+7741567170780575
Target:
| Input:
5335894069801724+7741567170780575
Target:
[5,3,3,5,8,9,4,0,6,9,8,0,1,7,2,4] + [7,7,4,1,5,6,7,1,7,0,7,8,0,5,7,5] , A=[] , C=0 , 4+5+0=9 , A->9 , C->0
[5,3,3,5,8,9,4,0,6,9,8,0,1,7,2] + [7,7,4,1,5,6,7,1,7,0,7,8,0,5,7] , A=[9] , C=0 , 2+7+0=9 , A->9 , C->0
[5,3,3,5,8,9,4,0,6,9,8,0,1,7] + [7,7,4,1,5,6,7,1,7,0,7,8,0,5] , A=[9,9] , C=0 , 7+5+0=12 , A->2 , C->1
[5,3,3,5,8,9,4,0,6,9,8,0,1] + [7,7,4,1,5,6,7,1,7,0,7,8,0] , A=[2,9,9] , C=1 , 1+0+1=2 , A->2 , C->0
[5,3,3,5,8,9,4,0,6,9,8,0] + [7,7,4,1,5,6,7,1,7,0,7,8] , A=[2,2,9,9] , C=0 , 0+8+0=8 , A->8 , C->0
[5,3,3,5,8,9,4,0,6,9,8] + [7,7,4,1,5,6,7,1,7,0,7] , A=[8,2,2,9,9] , C=0 , 8+7+0=15 , A->5 , C->1
[5,3,3,5,8,9,4,0,6,9] + [7,7,4,1,5,6,7,1,7,0] , A=[5,8,2,2,9,9] , C=1 , 9+0+1=10 , A->0 , C->1
[5,3,3,5,8,9,4,0,6] + [7,7,4,1,5,6,7,1,7] , A=[0,5,8,2,2,9,9] , C=1 , 6+7+1=14 , A->4 , C->1
[5,3,3,5,8,9,4,0] + [7,7,4,1,5,6,7,1] , A=[4,0,5,8,2,2,9,9] , C=1 , 0+1+1=2 , A->2 , C->0
[5,3,3,5,8,9,4] + [7,7,4,1,5,6,7] , A=[2,4,0,5,8,2,2,9,9] , C=0 , 4+7+0=11 , A->1 , C->1
[5,3,3,5,8,9] + [7,7,4,1,5,6] , A=[1,2,4,0,5,8,2,2,9,9] , C=1 , 9+6+1=16 , A->6 , C->1
[5,3,3,5,8] + [7,7,4,1,5] , A=[6,1,2,4,0,5,8,2,2,9,9] , C=1 , 8+5+1=14 , A->4 , C->1
[5,3,3,5] + [7,7,4,1] , A=[4,6,1,2,4,0,5,8,2,2,9,9] , C=1 , 5+1+1=7 , A->7 , C->0
[5,3,3] + [7,7,4] , A=[7,4,6,1,2,4,0,5,8,2,2,9,9] , C=0 , 3+4+0=7 , A->7 , C->0
[5,3] + [7,7] , A=[7,7,4,6,1,2,4,0,5,8,2,2,9,9] , C=0 , 3+7+0=10 , A->0 , C->1
[5] + [7] , A=[0,7,7,4,6,1,2,4,0,5,8,2,2,9,9] , C=1 , 5+7+1=13 , A->3 , C->1
[] + [] , A=[3,0,7,7,4,6,1,2,4,0,5,8,2,2,9,9] C=1 , END
</scratch>
13077461240582299
| 13077461240582299 | 16 |
Input:
6951265324564700+1121910876396778
Target:
| Input:
6951265324564700+1121910876396778
Target:
[6,9,5,1,2,6,5,3,2,4,5,6,4,7,0,0] + [1,1,2,1,9,1,0,8,7,6,3,9,6,7,7,8] , A=[] , C=0 , 0+8+0=8 , A->8 , C->0
[6,9,5,1,2,6,5,3,2,4,5,6,4,7,0] + [1,1,2,1,9,1,0,8,7,6,3,9,6,7,7] , A=[8] , C=0 , 0+7+0=7 , A->7 , C->0
[6,9,5,1,2,6,5,3,2,4,5,6,4,7] + [1,1,2,1,9,1,0,8,7,6,3,9,6,7] , A=[7,8] , C=0 , 7+7+0=14 , A->4 , C->1
[6,9,5,1,2,6,5,3,2,4,5,6,4] + [1,1,2,1,9,1,0,8,7,6,3,9,6] , A=[4,7,8] , C=1 , 4+6+1=11 , A->1 , C->1
[6,9,5,1,2,6,5,3,2,4,5,6] + [1,1,2,1,9,1,0,8,7,6,3,9] , A=[1,4,7,8] , C=1 , 6+9+1=16 , A->6 , C->1
[6,9,5,1,2,6,5,3,2,4,5] + [1,1,2,1,9,1,0,8,7,6,3] , A=[6,1,4,7,8] , C=1 , 5+3+1=9 , A->9 , C->0
[6,9,5,1,2,6,5,3,2,4] + [1,1,2,1,9,1,0,8,7,6] , A=[9,6,1,4,7,8] , C=0 , 4+6+0=10 , A->0 , C->1
[6,9,5,1,2,6,5,3,2] + [1,1,2,1,9,1,0,8,7] , A=[0,9,6,1,4,7,8] , C=1 , 2+7+1=10 , A->0 , C->1
[6,9,5,1,2,6,5,3] + [1,1,2,1,9,1,0,8] , A=[0,0,9,6,1,4,7,8] , C=1 , 3+8+1=12 , A->2 , C->1
[6,9,5,1,2,6,5] + [1,1,2,1,9,1,0] , A=[2,0,0,9,6,1,4,7,8] , C=1 , 5+0+1=6 , A->6 , C->0
[6,9,5,1,2,6] + [1,1,2,1,9,1] , A=[6,2,0,0,9,6,1,4,7,8] , C=0 , 6+1+0=7 , A->7 , C->0
[6,9,5,1,2] + [1,1,2,1,9] , A=[7,6,2,0,0,9,6,1,4,7,8] , C=0 , 2+9+0=11 , A->1 , C->1
[6,9,5,1] + [1,1,2,1] , A=[1,7,6,2,0,0,9,6,1,4,7,8] , C=1 , 1+1+1=3 , A->3 , C->0
[6,9,5] + [1,1,2] , A=[3,1,7,6,2,0,0,9,6,1,4,7,8] , C=0 , 5+2+0=7 , A->7 , C->0
[6,9] + [1,1] , A=[7,3,1,7,6,2,0,0,9,6,1,4,7,8] , C=0 , 9+1+0=10 , A->0 , C->1
[6] + [1] , A=[0,7,3,1,7,6,2,0,0,9,6,1,4,7,8] , C=1 , 6+1+1=8 , A->8 , C->0
[] + [] , A=[8,0,7,3,1,7,6,2,0,0,9,6,1,4,7,8] C=0 , END
</scratch>
8073176200961478
| 8073176200961478 | 16 |
Input:
9830553131666473+3563456281285225
Target:
| Input:
9830553131666473+3563456281285225
Target:
[9,8,3,0,5,5,3,1,3,1,6,6,6,4,7,3] + [3,5,6,3,4,5,6,2,8,1,2,8,5,2,2,5] , A=[] , C=0 , 3+5+0=8 , A->8 , C->0
[9,8,3,0,5,5,3,1,3,1,6,6,6,4,7] + [3,5,6,3,4,5,6,2,8,1,2,8,5,2,2] , A=[8] , C=0 , 7+2+0=9 , A->9 , C->0
[9,8,3,0,5,5,3,1,3,1,6,6,6,4] + [3,5,6,3,4,5,6,2,8,1,2,8,5,2] , A=[9,8] , C=0 , 4+2+0=6 , A->6 , C->0
[9,8,3,0,5,5,3,1,3,1,6,6,6] + [3,5,6,3,4,5,6,2,8,1,2,8,5] , A=[6,9,8] , C=0 , 6+5+0=11 , A->1 , C->1
[9,8,3,0,5,5,3,1,3,1,6,6] + [3,5,6,3,4,5,6,2,8,1,2,8] , A=[1,6,9,8] , C=1 , 6+8+1=15 , A->5 , C->1
[9,8,3,0,5,5,3,1,3,1,6] + [3,5,6,3,4,5,6,2,8,1,2] , A=[5,1,6,9,8] , C=1 , 6+2+1=9 , A->9 , C->0
[9,8,3,0,5,5,3,1,3,1] + [3,5,6,3,4,5,6,2,8,1] , A=[9,5,1,6,9,8] , C=0 , 1+1+0=2 , A->2 , C->0
[9,8,3,0,5,5,3,1,3] + [3,5,6,3,4,5,6,2,8] , A=[2,9,5,1,6,9,8] , C=0 , 3+8+0=11 , A->1 , C->1
[9,8,3,0,5,5,3,1] + [3,5,6,3,4,5,6,2] , A=[1,2,9,5,1,6,9,8] , C=1 , 1+2+1=4 , A->4 , C->0
[9,8,3,0,5,5,3] + [3,5,6,3,4,5,6] , A=[4,1,2,9,5,1,6,9,8] , C=0 , 3+6+0=9 , A->9 , C->0
[9,8,3,0,5,5] + [3,5,6,3,4,5] , A=[9,4,1,2,9,5,1,6,9,8] , C=0 , 5+5+0=10 , A->0 , C->1
[9,8,3,0,5] + [3,5,6,3,4] , A=[0,9,4,1,2,9,5,1,6,9,8] , C=1 , 5+4+1=10 , A->0 , C->1
[9,8,3,0] + [3,5,6,3] , A=[0,0,9,4,1,2,9,5,1,6,9,8] , C=1 , 0+3+1=4 , A->4 , C->0
[9,8,3] + [3,5,6] , A=[4,0,0,9,4,1,2,9,5,1,6,9,8] , C=0 , 3+6+0=9 , A->9 , C->0
[9,8] + [3,5] , A=[9,4,0,0,9,4,1,2,9,5,1,6,9,8] , C=0 , 8+5+0=13 , A->3 , C->1
[9] + [3] , A=[3,9,4,0,0,9,4,1,2,9,5,1,6,9,8] , C=1 , 9+3+1=13 , A->3 , C->1
[] + [] , A=[3,3,9,4,0,0,9,4,1,2,9,5,1,6,9,8] C=1 , END
</scratch>
13394009412951698
| 13394009412951698 | 16 |
Input:
9245846278327041+6431779748276653
Target:
| Input:
9245846278327041+6431779748276653
Target:
[9,2,4,5,8,4,6,2,7,8,3,2,7,0,4,1] + [6,4,3,1,7,7,9,7,4,8,2,7,6,6,5,3] , A=[] , C=0 , 1+3+0=4 , A->4 , C->0
[9,2,4,5,8,4,6,2,7,8,3,2,7,0,4] + [6,4,3,1,7,7,9,7,4,8,2,7,6,6,5] , A=[4] , C=0 , 4+5+0=9 , A->9 , C->0
[9,2,4,5,8,4,6,2,7,8,3,2,7,0] + [6,4,3,1,7,7,9,7,4,8,2,7,6,6] , A=[9,4] , C=0 , 0+6+0=6 , A->6 , C->0
[9,2,4,5,8,4,6,2,7,8,3,2,7] + [6,4,3,1,7,7,9,7,4,8,2,7,6] , A=[6,9,4] , C=0 , 7+6+0=13 , A->3 , C->1
[9,2,4,5,8,4,6,2,7,8,3,2] + [6,4,3,1,7,7,9,7,4,8,2,7] , A=[3,6,9,4] , C=1 , 2+7+1=10 , A->0 , C->1
[9,2,4,5,8,4,6,2,7,8,3] + [6,4,3,1,7,7,9,7,4,8,2] , A=[0,3,6,9,4] , C=1 , 3+2+1=6 , A->6 , C->0
[9,2,4,5,8,4,6,2,7,8] + [6,4,3,1,7,7,9,7,4,8] , A=[6,0,3,6,9,4] , C=0 , 8+8+0=16 , A->6 , C->1
[9,2,4,5,8,4,6,2,7] + [6,4,3,1,7,7,9,7,4] , A=[6,6,0,3,6,9,4] , C=1 , 7+4+1=12 , A->2 , C->1
[9,2,4,5,8,4,6,2] + [6,4,3,1,7,7,9,7] , A=[2,6,6,0,3,6,9,4] , C=1 , 2+7+1=10 , A->0 , C->1
[9,2,4,5,8,4,6] + [6,4,3,1,7,7,9] , A=[0,2,6,6,0,3,6,9,4] , C=1 , 6+9+1=16 , A->6 , C->1
[9,2,4,5,8,4] + [6,4,3,1,7,7] , A=[6,0,2,6,6,0,3,6,9,4] , C=1 , 4+7+1=12 , A->2 , C->1
[9,2,4,5,8] + [6,4,3,1,7] , A=[2,6,0,2,6,6,0,3,6,9,4] , C=1 , 8+7+1=16 , A->6 , C->1
[9,2,4,5] + [6,4,3,1] , A=[6,2,6,0,2,6,6,0,3,6,9,4] , C=1 , 5+1+1=7 , A->7 , C->0
[9,2,4] + [6,4,3] , A=[7,6,2,6,0,2,6,6,0,3,6,9,4] , C=0 , 4+3+0=7 , A->7 , C->0
[9,2] + [6,4] , A=[7,7,6,2,6,0,2,6,6,0,3,6,9,4] , C=0 , 2+4+0=6 , A->6 , C->0
[9] + [6] , A=[6,7,7,6,2,6,0,2,6,6,0,3,6,9,4] , C=0 , 9+6+0=15 , A->5 , C->1
[] + [] , A=[5,6,7,7,6,2,6,0,2,6,6,0,3,6,9,4] C=1 , END
</scratch>
15677626026603694
| 15677626026603694 | 16 |
Input:
6259863889412754+3852790229171155
Target:
| Input:
6259863889412754+3852790229171155
Target:
[6,2,5,9,8,6,3,8,8,9,4,1,2,7,5,4] + [3,8,5,2,7,9,0,2,2,9,1,7,1,1,5,5] , A=[] , C=0 , 4+5+0=9 , A->9 , C->0
[6,2,5,9,8,6,3,8,8,9,4,1,2,7,5] + [3,8,5,2,7,9,0,2,2,9,1,7,1,1,5] , A=[9] , C=0 , 5+5+0=10 , A->0 , C->1
[6,2,5,9,8,6,3,8,8,9,4,1,2,7] + [3,8,5,2,7,9,0,2,2,9,1,7,1,1] , A=[0,9] , C=1 , 7+1+1=9 , A->9 , C->0
[6,2,5,9,8,6,3,8,8,9,4,1,2] + [3,8,5,2,7,9,0,2,2,9,1,7,1] , A=[9,0,9] , C=0 , 2+1+0=3 , A->3 , C->0
[6,2,5,9,8,6,3,8,8,9,4,1] + [3,8,5,2,7,9,0,2,2,9,1,7] , A=[3,9,0,9] , C=0 , 1+7+0=8 , A->8 , C->0
[6,2,5,9,8,6,3,8,8,9,4] + [3,8,5,2,7,9,0,2,2,9,1] , A=[8,3,9,0,9] , C=0 , 4+1+0=5 , A->5 , C->0
[6,2,5,9,8,6,3,8,8,9] + [3,8,5,2,7,9,0,2,2,9] , A=[5,8,3,9,0,9] , C=0 , 9+9+0=18 , A->8 , C->1
[6,2,5,9,8,6,3,8,8] + [3,8,5,2,7,9,0,2,2] , A=[8,5,8,3,9,0,9] , C=1 , 8+2+1=11 , A->1 , C->1
[6,2,5,9,8,6,3,8] + [3,8,5,2,7,9,0,2] , A=[1,8,5,8,3,9,0,9] , C=1 , 8+2+1=11 , A->1 , C->1
[6,2,5,9,8,6,3] + [3,8,5,2,7,9,0] , A=[1,1,8,5,8,3,9,0,9] , C=1 , 3+0+1=4 , A->4 , C->0
[6,2,5,9,8,6] + [3,8,5,2,7,9] , A=[4,1,1,8,5,8,3,9,0,9] , C=0 , 6+9+0=15 , A->5 , C->1
[6,2,5,9,8] + [3,8,5,2,7] , A=[5,4,1,1,8,5,8,3,9,0,9] , C=1 , 8+7+1=16 , A->6 , C->1
[6,2,5,9] + [3,8,5,2] , A=[6,5,4,1,1,8,5,8,3,9,0,9] , C=1 , 9+2+1=12 , A->2 , C->1
[6,2,5] + [3,8,5] , A=[2,6,5,4,1,1,8,5,8,3,9,0,9] , C=1 , 5+5+1=11 , A->1 , C->1
[6,2] + [3,8] , A=[1,2,6,5,4,1,1,8,5,8,3,9,0,9] , C=1 , 2+8+1=11 , A->1 , C->1
[6] + [3] , A=[1,1,2,6,5,4,1,1,8,5,8,3,9,0,9] , C=1 , 6+3+1=10 , A->0 , C->1
[] + [] , A=[0,1,1,2,6,5,4,1,1,8,5,8,3,9,0,9] C=1 , END
</scratch>
10112654118583909
| 10112654118583909 | 16 |
Input:
4601472187670496+1020690445888507
Target:
| Input:
4601472187670496+1020690445888507
Target:
[4,6,0,1,4,7,2,1,8,7,6,7,0,4,9,6] + [1,0,2,0,6,9,0,4,4,5,8,8,8,5,0,7] , A=[] , C=0 , 6+7+0=13 , A->3 , C->1
[4,6,0,1,4,7,2,1,8,7,6,7,0,4,9] + [1,0,2,0,6,9,0,4,4,5,8,8,8,5,0] , A=[3] , C=1 , 9+0+1=10 , A->0 , C->1
[4,6,0,1,4,7,2,1,8,7,6,7,0,4] + [1,0,2,0,6,9,0,4,4,5,8,8,8,5] , A=[0,3] , C=1 , 4+5+1=10 , A->0 , C->1
[4,6,0,1,4,7,2,1,8,7,6,7,0] + [1,0,2,0,6,9,0,4,4,5,8,8,8] , A=[0,0,3] , C=1 , 0+8+1=9 , A->9 , C->0
[4,6,0,1,4,7,2,1,8,7,6,7] + [1,0,2,0,6,9,0,4,4,5,8,8] , A=[9,0,0,3] , C=0 , 7+8+0=15 , A->5 , C->1
[4,6,0,1,4,7,2,1,8,7,6] + [1,0,2,0,6,9,0,4,4,5,8] , A=[5,9,0,0,3] , C=1 , 6+8+1=15 , A->5 , C->1
[4,6,0,1,4,7,2,1,8,7] + [1,0,2,0,6,9,0,4,4,5] , A=[5,5,9,0,0,3] , C=1 , 7+5+1=13 , A->3 , C->1
[4,6,0,1,4,7,2,1,8] + [1,0,2,0,6,9,0,4,4] , A=[3,5,5,9,0,0,3] , C=1 , 8+4+1=13 , A->3 , C->1
[4,6,0,1,4,7,2,1] + [1,0,2,0,6,9,0,4] , A=[3,3,5,5,9,0,0,3] , C=1 , 1+4+1=6 , A->6 , C->0
[4,6,0,1,4,7,2] + [1,0,2,0,6,9,0] , A=[6,3,3,5,5,9,0,0,3] , C=0 , 2+0+0=2 , A->2 , C->0
[4,6,0,1,4,7] + [1,0,2,0,6,9] , A=[2,6,3,3,5,5,9,0,0,3] , C=0 , 7+9+0=16 , A->6 , C->1
[4,6,0,1,4] + [1,0,2,0,6] , A=[6,2,6,3,3,5,5,9,0,0,3] , C=1 , 4+6+1=11 , A->1 , C->1
[4,6,0,1] + [1,0,2,0] , A=[1,6,2,6,3,3,5,5,9,0,0,3] , C=1 , 1+0+1=2 , A->2 , C->0
[4,6,0] + [1,0,2] , A=[2,1,6,2,6,3,3,5,5,9,0,0,3] , C=0 , 0+2+0=2 , A->2 , C->0
[4,6] + [1,0] , A=[2,2,1,6,2,6,3,3,5,5,9,0,0,3] , C=0 , 6+0+0=6 , A->6 , C->0
[4] + [1] , A=[6,2,2,1,6,2,6,3,3,5,5,9,0,0,3] , C=0 , 4+1+0=5 , A->5 , C->0
[] + [] , A=[5,6,2,2,1,6,2,6,3,3,5,5,9,0,0,3] C=0 , END
</scratch>
5622162633559003
| 5622162633559003 | 16 |
Input:
7294307396272968+1670689138635213
Target:
| Input:
7294307396272968+1670689138635213
Target:
[7,2,9,4,3,0,7,3,9,6,2,7,2,9,6,8] + [1,6,7,0,6,8,9,1,3,8,6,3,5,2,1,3] , A=[] , C=0 , 8+3+0=11 , A->1 , C->1
[7,2,9,4,3,0,7,3,9,6,2,7,2,9,6] + [1,6,7,0,6,8,9,1,3,8,6,3,5,2,1] , A=[1] , C=1 , 6+1+1=8 , A->8 , C->0
[7,2,9,4,3,0,7,3,9,6,2,7,2,9] + [1,6,7,0,6,8,9,1,3,8,6,3,5,2] , A=[8,1] , C=0 , 9+2+0=11 , A->1 , C->1
[7,2,9,4,3,0,7,3,9,6,2,7,2] + [1,6,7,0,6,8,9,1,3,8,6,3,5] , A=[1,8,1] , C=1 , 2+5+1=8 , A->8 , C->0
[7,2,9,4,3,0,7,3,9,6,2,7] + [1,6,7,0,6,8,9,1,3,8,6,3] , A=[8,1,8,1] , C=0 , 7+3+0=10 , A->0 , C->1
[7,2,9,4,3,0,7,3,9,6,2] + [1,6,7,0,6,8,9,1,3,8,6] , A=[0,8,1,8,1] , C=1 , 2+6+1=9 , A->9 , C->0
[7,2,9,4,3,0,7,3,9,6] + [1,6,7,0,6,8,9,1,3,8] , A=[9,0,8,1,8,1] , C=0 , 6+8+0=14 , A->4 , C->1
[7,2,9,4,3,0,7,3,9] + [1,6,7,0,6,8,9,1,3] , A=[4,9,0,8,1,8,1] , C=1 , 9+3+1=13 , A->3 , C->1
[7,2,9,4,3,0,7,3] + [1,6,7,0,6,8,9,1] , A=[3,4,9,0,8,1,8,1] , C=1 , 3+1+1=5 , A->5 , C->0
[7,2,9,4,3,0,7] + [1,6,7,0,6,8,9] , A=[5,3,4,9,0,8,1,8,1] , C=0 , 7+9+0=16 , A->6 , C->1
[7,2,9,4,3,0] + [1,6,7,0,6,8] , A=[6,5,3,4,9,0,8,1,8,1] , C=1 , 0+8+1=9 , A->9 , C->0
[7,2,9,4,3] + [1,6,7,0,6] , A=[9,6,5,3,4,9,0,8,1,8,1] , C=0 , 3+6+0=9 , A->9 , C->0
[7,2,9,4] + [1,6,7,0] , A=[9,9,6,5,3,4,9,0,8,1,8,1] , C=0 , 4+0+0=4 , A->4 , C->0
[7,2,9] + [1,6,7] , A=[4,9,9,6,5,3,4,9,0,8,1,8,1] , C=0 , 9+7+0=16 , A->6 , C->1
[7,2] + [1,6] , A=[6,4,9,9,6,5,3,4,9,0,8,1,8,1] , C=1 , 2+6+1=9 , A->9 , C->0
[7] + [1] , A=[9,6,4,9,9,6,5,3,4,9,0,8,1,8,1] , C=0 , 7+1+0=8 , A->8 , C->0
[] + [] , A=[8,9,6,4,9,9,6,5,3,4,9,0,8,1,8,1] C=0 , END
</scratch>
8964996534908181
| 8964996534908181 | 16 |
Input:
7545909558401330+3098741591981451
Target:
| Input:
7545909558401330+3098741591981451
Target:
[7,5,4,5,9,0,9,5,5,8,4,0,1,3,3,0] + [3,0,9,8,7,4,1,5,9,1,9,8,1,4,5,1] , A=[] , C=0 , 0+1+0=1 , A->1 , C->0
[7,5,4,5,9,0,9,5,5,8,4,0,1,3,3] + [3,0,9,8,7,4,1,5,9,1,9,8,1,4,5] , A=[1] , C=0 , 3+5+0=8 , A->8 , C->0
[7,5,4,5,9,0,9,5,5,8,4,0,1,3] + [3,0,9,8,7,4,1,5,9,1,9,8,1,4] , A=[8,1] , C=0 , 3+4+0=7 , A->7 , C->0
[7,5,4,5,9,0,9,5,5,8,4,0,1] + [3,0,9,8,7,4,1,5,9,1,9,8,1] , A=[7,8,1] , C=0 , 1+1+0=2 , A->2 , C->0
[7,5,4,5,9,0,9,5,5,8,4,0] + [3,0,9,8,7,4,1,5,9,1,9,8] , A=[2,7,8,1] , C=0 , 0+8+0=8 , A->8 , C->0
[7,5,4,5,9,0,9,5,5,8,4] + [3,0,9,8,7,4,1,5,9,1,9] , A=[8,2,7,8,1] , C=0 , 4+9+0=13 , A->3 , C->1
[7,5,4,5,9,0,9,5,5,8] + [3,0,9,8,7,4,1,5,9,1] , A=[3,8,2,7,8,1] , C=1 , 8+1+1=10 , A->0 , C->1
[7,5,4,5,9,0,9,5,5] + [3,0,9,8,7,4,1,5,9] , A=[0,3,8,2,7,8,1] , C=1 , 5+9+1=15 , A->5 , C->1
[7,5,4,5,9,0,9,5] + [3,0,9,8,7,4,1,5] , A=[5,0,3,8,2,7,8,1] , C=1 , 5+5+1=11 , A->1 , C->1
[7,5,4,5,9,0,9] + [3,0,9,8,7,4,1] , A=[1,5,0,3,8,2,7,8,1] , C=1 , 9+1+1=11 , A->1 , C->1
[7,5,4,5,9,0] + [3,0,9,8,7,4] , A=[1,1,5,0,3,8,2,7,8,1] , C=1 , 0+4+1=5 , A->5 , C->0
[7,5,4,5,9] + [3,0,9,8,7] , A=[5,1,1,5,0,3,8,2,7,8,1] , C=0 , 9+7+0=16 , A->6 , C->1
[7,5,4,5] + [3,0,9,8] , A=[6,5,1,1,5,0,3,8,2,7,8,1] , C=1 , 5+8+1=14 , A->4 , C->1
[7,5,4] + [3,0,9] , A=[4,6,5,1,1,5,0,3,8,2,7,8,1] , C=1 , 4+9+1=14 , A->4 , C->1
[7,5] + [3,0] , A=[4,4,6,5,1,1,5,0,3,8,2,7,8,1] , C=1 , 5+0+1=6 , A->6 , C->0
[7] + [3] , A=[6,4,4,6,5,1,1,5,0,3,8,2,7,8,1] , C=0 , 7+3+0=10 , A->0 , C->1
[] + [] , A=[0,6,4,4,6,5,1,1,5,0,3,8,2,7,8,1] C=1 , END
</scratch>
10644651150382781
| 10644651150382781 | 16 |
Input:
5828901323290090+6839208329441536
Target:
| Input:
5828901323290090+6839208329441536
Target:
[5,8,2,8,9,0,1,3,2,3,2,9,0,0,9,0] + [6,8,3,9,2,0,8,3,2,9,4,4,1,5,3,6] , A=[] , C=0 , 0+6+0=6 , A->6 , C->0
[5,8,2,8,9,0,1,3,2,3,2,9,0,0,9] + [6,8,3,9,2,0,8,3,2,9,4,4,1,5,3] , A=[6] , C=0 , 9+3+0=12 , A->2 , C->1
[5,8,2,8,9,0,1,3,2,3,2,9,0,0] + [6,8,3,9,2,0,8,3,2,9,4,4,1,5] , A=[2,6] , C=1 , 0+5+1=6 , A->6 , C->0
[5,8,2,8,9,0,1,3,2,3,2,9,0] + [6,8,3,9,2,0,8,3,2,9,4,4,1] , A=[6,2,6] , C=0 , 0+1+0=1 , A->1 , C->0
[5,8,2,8,9,0,1,3,2,3,2,9] + [6,8,3,9,2,0,8,3,2,9,4,4] , A=[1,6,2,6] , C=0 , 9+4+0=13 , A->3 , C->1
[5,8,2,8,9,0,1,3,2,3,2] + [6,8,3,9,2,0,8,3,2,9,4] , A=[3,1,6,2,6] , C=1 , 2+4+1=7 , A->7 , C->0
[5,8,2,8,9,0,1,3,2,3] + [6,8,3,9,2,0,8,3,2,9] , A=[7,3,1,6,2,6] , C=0 , 3+9+0=12 , A->2 , C->1
[5,8,2,8,9,0,1,3,2] + [6,8,3,9,2,0,8,3,2] , A=[2,7,3,1,6,2,6] , C=1 , 2+2+1=5 , A->5 , C->0
[5,8,2,8,9,0,1,3] + [6,8,3,9,2,0,8,3] , A=[5,2,7,3,1,6,2,6] , C=0 , 3+3+0=6 , A->6 , C->0
[5,8,2,8,9,0,1] + [6,8,3,9,2,0,8] , A=[6,5,2,7,3,1,6,2,6] , C=0 , 1+8+0=9 , A->9 , C->0
[5,8,2,8,9,0] + [6,8,3,9,2,0] , A=[9,6,5,2,7,3,1,6,2,6] , C=0 , 0+0+0=0 , A->0 , C->0
[5,8,2,8,9] + [6,8,3,9,2] , A=[0,9,6,5,2,7,3,1,6,2,6] , C=0 , 9+2+0=11 , A->1 , C->1
[5,8,2,8] + [6,8,3,9] , A=[1,0,9,6,5,2,7,3,1,6,2,6] , C=1 , 8+9+1=18 , A->8 , C->1
[5,8,2] + [6,8,3] , A=[8,1,0,9,6,5,2,7,3,1,6,2,6] , C=1 , 2+3+1=6 , A->6 , C->0
[5,8] + [6,8] , A=[6,8,1,0,9,6,5,2,7,3,1,6,2,6] , C=0 , 8+8+0=16 , A->6 , C->1
[5] + [6] , A=[6,6,8,1,0,9,6,5,2,7,3,1,6,2,6] , C=1 , 5+6+1=12 , A->2 , C->1
[] + [] , A=[2,6,6,8,1,0,9,6,5,2,7,3,1,6,2,6] C=1 , END
</scratch>
12668109652731626
| 12668109652731626 | 16 |
Input:
6593486072357705+2239279692238403
Target:
| Input:
6593486072357705+2239279692238403
Target:
[6,5,9,3,4,8,6,0,7,2,3,5,7,7,0,5] + [2,2,3,9,2,7,9,6,9,2,2,3,8,4,0,3] , A=[] , C=0 , 5+3+0=8 , A->8 , C->0
[6,5,9,3,4,8,6,0,7,2,3,5,7,7,0] + [2,2,3,9,2,7,9,6,9,2,2,3,8,4,0] , A=[8] , C=0 , 0+0+0=0 , A->0 , C->0
[6,5,9,3,4,8,6,0,7,2,3,5,7,7] + [2,2,3,9,2,7,9,6,9,2,2,3,8,4] , A=[0,8] , C=0 , 7+4+0=11 , A->1 , C->1
[6,5,9,3,4,8,6,0,7,2,3,5,7] + [2,2,3,9,2,7,9,6,9,2,2,3,8] , A=[1,0,8] , C=1 , 7+8+1=16 , A->6 , C->1
[6,5,9,3,4,8,6,0,7,2,3,5] + [2,2,3,9,2,7,9,6,9,2,2,3] , A=[6,1,0,8] , C=1 , 5+3+1=9 , A->9 , C->0
[6,5,9,3,4,8,6,0,7,2,3] + [2,2,3,9,2,7,9,6,9,2,2] , A=[9,6,1,0,8] , C=0 , 3+2+0=5 , A->5 , C->0
[6,5,9,3,4,8,6,0,7,2] + [2,2,3,9,2,7,9,6,9,2] , A=[5,9,6,1,0,8] , C=0 , 2+2+0=4 , A->4 , C->0
[6,5,9,3,4,8,6,0,7] + [2,2,3,9,2,7,9,6,9] , A=[4,5,9,6,1,0,8] , C=0 , 7+9+0=16 , A->6 , C->1
[6,5,9,3,4,8,6,0] + [2,2,3,9,2,7,9,6] , A=[6,4,5,9,6,1,0,8] , C=1 , 0+6+1=7 , A->7 , C->0
[6,5,9,3,4,8,6] + [2,2,3,9,2,7,9] , A=[7,6,4,5,9,6,1,0,8] , C=0 , 6+9+0=15 , A->5 , C->1
[6,5,9,3,4,8] + [2,2,3,9,2,7] , A=[5,7,6,4,5,9,6,1,0,8] , C=1 , 8+7+1=16 , A->6 , C->1
[6,5,9,3,4] + [2,2,3,9,2] , A=[6,5,7,6,4,5,9,6,1,0,8] , C=1 , 4+2+1=7 , A->7 , C->0
[6,5,9,3] + [2,2,3,9] , A=[7,6,5,7,6,4,5,9,6,1,0,8] , C=0 , 3+9+0=12 , A->2 , C->1
[6,5,9] + [2,2,3] , A=[2,7,6,5,7,6,4,5,9,6,1,0,8] , C=1 , 9+3+1=13 , A->3 , C->1
[6,5] + [2,2] , A=[3,2,7,6,5,7,6,4,5,9,6,1,0,8] , C=1 , 5+2+1=8 , A->8 , C->0
[6] + [2] , A=[8,3,2,7,6,5,7,6,4,5,9,6,1,0,8] , C=0 , 6+2+0=8 , A->8 , C->0
[] + [] , A=[8,8,3,2,7,6,5,7,6,4,5,9,6,1,0,8] C=0 , END
</scratch>
8832765764596108
| 8832765764596108 | 16 |
Input:
4401926312302192+4730545365007561
Target:
| Input:
4401926312302192+4730545365007561
Target:
[4,4,0,1,9,2,6,3,1,2,3,0,2,1,9,2] + [4,7,3,0,5,4,5,3,6,5,0,0,7,5,6,1] , A=[] , C=0 , 2+1+0=3 , A->3 , C->0
[4,4,0,1,9,2,6,3,1,2,3,0,2,1,9] + [4,7,3,0,5,4,5,3,6,5,0,0,7,5,6] , A=[3] , C=0 , 9+6+0=15 , A->5 , C->1
[4,4,0,1,9,2,6,3,1,2,3,0,2,1] + [4,7,3,0,5,4,5,3,6,5,0,0,7,5] , A=[5,3] , C=1 , 1+5+1=7 , A->7 , C->0
[4,4,0,1,9,2,6,3,1,2,3,0,2] + [4,7,3,0,5,4,5,3,6,5,0,0,7] , A=[7,5,3] , C=0 , 2+7+0=9 , A->9 , C->0
[4,4,0,1,9,2,6,3,1,2,3,0] + [4,7,3,0,5,4,5,3,6,5,0,0] , A=[9,7,5,3] , C=0 , 0+0+0=0 , A->0 , C->0
[4,4,0,1,9,2,6,3,1,2,3] + [4,7,3,0,5,4,5,3,6,5,0] , A=[0,9,7,5,3] , C=0 , 3+0+0=3 , A->3 , C->0
[4,4,0,1,9,2,6,3,1,2] + [4,7,3,0,5,4,5,3,6,5] , A=[3,0,9,7,5,3] , C=0 , 2+5+0=7 , A->7 , C->0
[4,4,0,1,9,2,6,3,1] + [4,7,3,0,5,4,5,3,6] , A=[7,3,0,9,7,5,3] , C=0 , 1+6+0=7 , A->7 , C->0
[4,4,0,1,9,2,6,3] + [4,7,3,0,5,4,5,3] , A=[7,7,3,0,9,7,5,3] , C=0 , 3+3+0=6 , A->6 , C->0
[4,4,0,1,9,2,6] + [4,7,3,0,5,4,5] , A=[6,7,7,3,0,9,7,5,3] , C=0 , 6+5+0=11 , A->1 , C->1
[4,4,0,1,9,2] + [4,7,3,0,5,4] , A=[1,6,7,7,3,0,9,7,5,3] , C=1 , 2+4+1=7 , A->7 , C->0
[4,4,0,1,9] + [4,7,3,0,5] , A=[7,1,6,7,7,3,0,9,7,5,3] , C=0 , 9+5+0=14 , A->4 , C->1
[4,4,0,1] + [4,7,3,0] , A=[4,7,1,6,7,7,3,0,9,7,5,3] , C=1 , 1+0+1=2 , A->2 , C->0
[4,4,0] + [4,7,3] , A=[2,4,7,1,6,7,7,3,0,9,7,5,3] , C=0 , 0+3+0=3 , A->3 , C->0
[4,4] + [4,7] , A=[3,2,4,7,1,6,7,7,3,0,9,7,5,3] , C=0 , 4+7+0=11 , A->1 , C->1
[4] + [4] , A=[1,3,2,4,7,1,6,7,7,3,0,9,7,5,3] , C=1 , 4+4+1=9 , A->9 , C->0
[] + [] , A=[9,1,3,2,4,7,1,6,7,7,3,0,9,7,5,3] C=0 , END
</scratch>
9132471677309753
| 9132471677309753 | 16 |
Input:
1748170860130385+2681176294536214
Target:
| Input:
1748170860130385+2681176294536214
Target:
[1,7,4,8,1,7,0,8,6,0,1,3,0,3,8,5] + [2,6,8,1,1,7,6,2,9,4,5,3,6,2,1,4] , A=[] , C=0 , 5+4+0=9 , A->9 , C->0
[1,7,4,8,1,7,0,8,6,0,1,3,0,3,8] + [2,6,8,1,1,7,6,2,9,4,5,3,6,2,1] , A=[9] , C=0 , 8+1+0=9 , A->9 , C->0
[1,7,4,8,1,7,0,8,6,0,1,3,0,3] + [2,6,8,1,1,7,6,2,9,4,5,3,6,2] , A=[9,9] , C=0 , 3+2+0=5 , A->5 , C->0
[1,7,4,8,1,7,0,8,6,0,1,3,0] + [2,6,8,1,1,7,6,2,9,4,5,3,6] , A=[5,9,9] , C=0 , 0+6+0=6 , A->6 , C->0
[1,7,4,8,1,7,0,8,6,0,1,3] + [2,6,8,1,1,7,6,2,9,4,5,3] , A=[6,5,9,9] , C=0 , 3+3+0=6 , A->6 , C->0
[1,7,4,8,1,7,0,8,6,0,1] + [2,6,8,1,1,7,6,2,9,4,5] , A=[6,6,5,9,9] , C=0 , 1+5+0=6 , A->6 , C->0
[1,7,4,8,1,7,0,8,6,0] + [2,6,8,1,1,7,6,2,9,4] , A=[6,6,6,5,9,9] , C=0 , 0+4+0=4 , A->4 , C->0
[1,7,4,8,1,7,0,8,6] + [2,6,8,1,1,7,6,2,9] , A=[4,6,6,6,5,9,9] , C=0 , 6+9+0=15 , A->5 , C->1
[1,7,4,8,1,7,0,8] + [2,6,8,1,1,7,6,2] , A=[5,4,6,6,6,5,9,9] , C=1 , 8+2+1=11 , A->1 , C->1
[1,7,4,8,1,7,0] + [2,6,8,1,1,7,6] , A=[1,5,4,6,6,6,5,9,9] , C=1 , 0+6+1=7 , A->7 , C->0
[1,7,4,8,1,7] + [2,6,8,1,1,7] , A=[7,1,5,4,6,6,6,5,9,9] , C=0 , 7+7+0=14 , A->4 , C->1
[1,7,4,8,1] + [2,6,8,1,1] , A=[4,7,1,5,4,6,6,6,5,9,9] , C=1 , 1+1+1=3 , A->3 , C->0
[1,7,4,8] + [2,6,8,1] , A=[3,4,7,1,5,4,6,6,6,5,9,9] , C=0 , 8+1+0=9 , A->9 , C->0
[1,7,4] + [2,6,8] , A=[9,3,4,7,1,5,4,6,6,6,5,9,9] , C=0 , 4+8+0=12 , A->2 , C->1
[1,7] + [2,6] , A=[2,9,3,4,7,1,5,4,6,6,6,5,9,9] , C=1 , 7+6+1=14 , A->4 , C->1
[1] + [2] , A=[4,2,9,3,4,7,1,5,4,6,6,6,5,9,9] , C=1 , 1+2+1=4 , A->4 , C->0
[] + [] , A=[4,4,2,9,3,4,7,1,5,4,6,6,6,5,9,9] C=0 , END
</scratch>
4429347154666599
| 4429347154666599 | 16 |
Input:
9913675223112140+3662140883038522
Target:
| Input:
9913675223112140+3662140883038522
Target:
[9,9,1,3,6,7,5,2,2,3,1,1,2,1,4,0] + [3,6,6,2,1,4,0,8,8,3,0,3,8,5,2,2] , A=[] , C=0 , 0+2+0=2 , A->2 , C->0
[9,9,1,3,6,7,5,2,2,3,1,1,2,1,4] + [3,6,6,2,1,4,0,8,8,3,0,3,8,5,2] , A=[2] , C=0 , 4+2+0=6 , A->6 , C->0
[9,9,1,3,6,7,5,2,2,3,1,1,2,1] + [3,6,6,2,1,4,0,8,8,3,0,3,8,5] , A=[6,2] , C=0 , 1+5+0=6 , A->6 , C->0
[9,9,1,3,6,7,5,2,2,3,1,1,2] + [3,6,6,2,1,4,0,8,8,3,0,3,8] , A=[6,6,2] , C=0 , 2+8+0=10 , A->0 , C->1
[9,9,1,3,6,7,5,2,2,3,1,1] + [3,6,6,2,1,4,0,8,8,3,0,3] , A=[0,6,6,2] , C=1 , 1+3+1=5 , A->5 , C->0
[9,9,1,3,6,7,5,2,2,3,1] + [3,6,6,2,1,4,0,8,8,3,0] , A=[5,0,6,6,2] , C=0 , 1+0+0=1 , A->1 , C->0
[9,9,1,3,6,7,5,2,2,3] + [3,6,6,2,1,4,0,8,8,3] , A=[1,5,0,6,6,2] , C=0 , 3+3+0=6 , A->6 , C->0
[9,9,1,3,6,7,5,2,2] + [3,6,6,2,1,4,0,8,8] , A=[6,1,5,0,6,6,2] , C=0 , 2+8+0=10 , A->0 , C->1
[9,9,1,3,6,7,5,2] + [3,6,6,2,1,4,0,8] , A=[0,6,1,5,0,6,6,2] , C=1 , 2+8+1=11 , A->1 , C->1
[9,9,1,3,6,7,5] + [3,6,6,2,1,4,0] , A=[1,0,6,1,5,0,6,6,2] , C=1 , 5+0+1=6 , A->6 , C->0
[9,9,1,3,6,7] + [3,6,6,2,1,4] , A=[6,1,0,6,1,5,0,6,6,2] , C=0 , 7+4+0=11 , A->1 , C->1
[9,9,1,3,6] + [3,6,6,2,1] , A=[1,6,1,0,6,1,5,0,6,6,2] , C=1 , 6+1+1=8 , A->8 , C->0
[9,9,1,3] + [3,6,6,2] , A=[8,1,6,1,0,6,1,5,0,6,6,2] , C=0 , 3+2+0=5 , A->5 , C->0
[9,9,1] + [3,6,6] , A=[5,8,1,6,1,0,6,1,5,0,6,6,2] , C=0 , 1+6+0=7 , A->7 , C->0
[9,9] + [3,6] , A=[7,5,8,1,6,1,0,6,1,5,0,6,6,2] , C=0 , 9+6+0=15 , A->5 , C->1
[9] + [3] , A=[5,7,5,8,1,6,1,0,6,1,5,0,6,6,2] , C=1 , 9+3+1=13 , A->3 , C->1
[] + [] , A=[3,5,7,5,8,1,6,1,0,6,1,5,0,6,6,2] C=1 , END
</scratch>
13575816106150662
| 13575816106150662 | 16 |
Input:
2514928256296219+7829316818109791
Target:
| Input:
2514928256296219+7829316818109791
Target:
[2,5,1,4,9,2,8,2,5,6,2,9,6,2,1,9] + [7,8,2,9,3,1,6,8,1,8,1,0,9,7,9,1] , A=[] , C=0 , 9+1+0=10 , A->0 , C->1
[2,5,1,4,9,2,8,2,5,6,2,9,6,2,1] + [7,8,2,9,3,1,6,8,1,8,1,0,9,7,9] , A=[0] , C=1 , 1+9+1=11 , A->1 , C->1
[2,5,1,4,9,2,8,2,5,6,2,9,6,2] + [7,8,2,9,3,1,6,8,1,8,1,0,9,7] , A=[1,0] , C=1 , 2+7+1=10 , A->0 , C->1
[2,5,1,4,9,2,8,2,5,6,2,9,6] + [7,8,2,9,3,1,6,8,1,8,1,0,9] , A=[0,1,0] , C=1 , 6+9+1=16 , A->6 , C->1
[2,5,1,4,9,2,8,2,5,6,2,9] + [7,8,2,9,3,1,6,8,1,8,1,0] , A=[6,0,1,0] , C=1 , 9+0+1=10 , A->0 , C->1
[2,5,1,4,9,2,8,2,5,6,2] + [7,8,2,9,3,1,6,8,1,8,1] , A=[0,6,0,1,0] , C=1 , 2+1+1=4 , A->4 , C->0
[2,5,1,4,9,2,8,2,5,6] + [7,8,2,9,3,1,6,8,1,8] , A=[4,0,6,0,1,0] , C=0 , 6+8+0=14 , A->4 , C->1
[2,5,1,4,9,2,8,2,5] + [7,8,2,9,3,1,6,8,1] , A=[4,4,0,6,0,1,0] , C=1 , 5+1+1=7 , A->7 , C->0
[2,5,1,4,9,2,8,2] + [7,8,2,9,3,1,6,8] , A=[7,4,4,0,6,0,1,0] , C=0 , 2+8+0=10 , A->0 , C->1
[2,5,1,4,9,2,8] + [7,8,2,9,3,1,6] , A=[0,7,4,4,0,6,0,1,0] , C=1 , 8+6+1=15 , A->5 , C->1
[2,5,1,4,9,2] + [7,8,2,9,3,1] , A=[5,0,7,4,4,0,6,0,1,0] , C=1 , 2+1+1=4 , A->4 , C->0
[2,5,1,4,9] + [7,8,2,9,3] , A=[4,5,0,7,4,4,0,6,0,1,0] , C=0 , 9+3+0=12 , A->2 , C->1
[2,5,1,4] + [7,8,2,9] , A=[2,4,5,0,7,4,4,0,6,0,1,0] , C=1 , 4+9+1=14 , A->4 , C->1
[2,5,1] + [7,8,2] , A=[4,2,4,5,0,7,4,4,0,6,0,1,0] , C=1 , 1+2+1=4 , A->4 , C->0
[2,5] + [7,8] , A=[4,4,2,4,5,0,7,4,4,0,6,0,1,0] , C=0 , 5+8+0=13 , A->3 , C->1
[2] + [7] , A=[3,4,4,2,4,5,0,7,4,4,0,6,0,1,0] , C=1 , 2+7+1=10 , A->0 , C->1
[] + [] , A=[0,3,4,4,2,4,5,0,7,4,4,0,6,0,1,0] C=1 , END
</scratch>
10344245074406010
| 10344245074406010 | 16 |
Input:
2243578542935007+1831737795058346
Target:
| Input:
2243578542935007+1831737795058346
Target:
[2,2,4,3,5,7,8,5,4,2,9,3,5,0,0,7] + [1,8,3,1,7,3,7,7,9,5,0,5,8,3,4,6] , A=[] , C=0 , 7+6+0=13 , A->3 , C->1
[2,2,4,3,5,7,8,5,4,2,9,3,5,0,0] + [1,8,3,1,7,3,7,7,9,5,0,5,8,3,4] , A=[3] , C=1 , 0+4+1=5 , A->5 , C->0
[2,2,4,3,5,7,8,5,4,2,9,3,5,0] + [1,8,3,1,7,3,7,7,9,5,0,5,8,3] , A=[5,3] , C=0 , 0+3+0=3 , A->3 , C->0
[2,2,4,3,5,7,8,5,4,2,9,3,5] + [1,8,3,1,7,3,7,7,9,5,0,5,8] , A=[3,5,3] , C=0 , 5+8+0=13 , A->3 , C->1
[2,2,4,3,5,7,8,5,4,2,9,3] + [1,8,3,1,7,3,7,7,9,5,0,5] , A=[3,3,5,3] , C=1 , 3+5+1=9 , A->9 , C->0
[2,2,4,3,5,7,8,5,4,2,9] + [1,8,3,1,7,3,7,7,9,5,0] , A=[9,3,3,5,3] , C=0 , 9+0+0=9 , A->9 , C->0
[2,2,4,3,5,7,8,5,4,2] + [1,8,3,1,7,3,7,7,9,5] , A=[9,9,3,3,5,3] , C=0 , 2+5+0=7 , A->7 , C->0
[2,2,4,3,5,7,8,5,4] + [1,8,3,1,7,3,7,7,9] , A=[7,9,9,3,3,5,3] , C=0 , 4+9+0=13 , A->3 , C->1
[2,2,4,3,5,7,8,5] + [1,8,3,1,7,3,7,7] , A=[3,7,9,9,3,3,5,3] , C=1 , 5+7+1=13 , A->3 , C->1
[2,2,4,3,5,7,8] + [1,8,3,1,7,3,7] , A=[3,3,7,9,9,3,3,5,3] , C=1 , 8+7+1=16 , A->6 , C->1
[2,2,4,3,5,7] + [1,8,3,1,7,3] , A=[6,3,3,7,9,9,3,3,5,3] , C=1 , 7+3+1=11 , A->1 , C->1
[2,2,4,3,5] + [1,8,3,1,7] , A=[1,6,3,3,7,9,9,3,3,5,3] , C=1 , 5+7+1=13 , A->3 , C->1
[2,2,4,3] + [1,8,3,1] , A=[3,1,6,3,3,7,9,9,3,3,5,3] , C=1 , 3+1+1=5 , A->5 , C->0
[2,2,4] + [1,8,3] , A=[5,3,1,6,3,3,7,9,9,3,3,5,3] , C=0 , 4+3+0=7 , A->7 , C->0
[2,2] + [1,8] , A=[7,5,3,1,6,3,3,7,9,9,3,3,5,3] , C=0 , 2+8+0=10 , A->0 , C->1
[2] + [1] , A=[0,7,5,3,1,6,3,3,7,9,9,3,3,5,3] , C=1 , 2+1+1=4 , A->4 , C->0
[] + [] , A=[4,0,7,5,3,1,6,3,3,7,9,9,3,3,5,3] C=0 , END
</scratch>
4075316337993353
| 4075316337993353 | 16 |
Input:
7149226767529994+8097107513123890
Target:
| Input:
7149226767529994+8097107513123890
Target:
[7,1,4,9,2,2,6,7,6,7,5,2,9,9,9,4] + [8,0,9,7,1,0,7,5,1,3,1,2,3,8,9,0] , A=[] , C=0 , 4+0+0=4 , A->4 , C->0
[7,1,4,9,2,2,6,7,6,7,5,2,9,9,9] + [8,0,9,7,1,0,7,5,1,3,1,2,3,8,9] , A=[4] , C=0 , 9+9+0=18 , A->8 , C->1
[7,1,4,9,2,2,6,7,6,7,5,2,9,9] + [8,0,9,7,1,0,7,5,1,3,1,2,3,8] , A=[8,4] , C=1 , 9+8+1=18 , A->8 , C->1
[7,1,4,9,2,2,6,7,6,7,5,2,9] + [8,0,9,7,1,0,7,5,1,3,1,2,3] , A=[8,8,4] , C=1 , 9+3+1=13 , A->3 , C->1
[7,1,4,9,2,2,6,7,6,7,5,2] + [8,0,9,7,1,0,7,5,1,3,1,2] , A=[3,8,8,4] , C=1 , 2+2+1=5 , A->5 , C->0
[7,1,4,9,2,2,6,7,6,7,5] + [8,0,9,7,1,0,7,5,1,3,1] , A=[5,3,8,8,4] , C=0 , 5+1+0=6 , A->6 , C->0
[7,1,4,9,2,2,6,7,6,7] + [8,0,9,7,1,0,7,5,1,3] , A=[6,5,3,8,8,4] , C=0 , 7+3+0=10 , A->0 , C->1
[7,1,4,9,2,2,6,7,6] + [8,0,9,7,1,0,7,5,1] , A=[0,6,5,3,8,8,4] , C=1 , 6+1+1=8 , A->8 , C->0
[7,1,4,9,2,2,6,7] + [8,0,9,7,1,0,7,5] , A=[8,0,6,5,3,8,8,4] , C=0 , 7+5+0=12 , A->2 , C->1
[7,1,4,9,2,2,6] + [8,0,9,7,1,0,7] , A=[2,8,0,6,5,3,8,8,4] , C=1 , 6+7+1=14 , A->4 , C->1
[7,1,4,9,2,2] + [8,0,9,7,1,0] , A=[4,2,8,0,6,5,3,8,8,4] , C=1 , 2+0+1=3 , A->3 , C->0
[7,1,4,9,2] + [8,0,9,7,1] , A=[3,4,2,8,0,6,5,3,8,8,4] , C=0 , 2+1+0=3 , A->3 , C->0
[7,1,4,9] + [8,0,9,7] , A=[3,3,4,2,8,0,6,5,3,8,8,4] , C=0 , 9+7+0=16 , A->6 , C->1
[7,1,4] + [8,0,9] , A=[6,3,3,4,2,8,0,6,5,3,8,8,4] , C=1 , 4+9+1=14 , A->4 , C->1
[7,1] + [8,0] , A=[4,6,3,3,4,2,8,0,6,5,3,8,8,4] , C=1 , 1+0+1=2 , A->2 , C->0
[7] + [8] , A=[2,4,6,3,3,4,2,8,0,6,5,3,8,8,4] , C=0 , 7+8+0=15 , A->5 , C->1
[] + [] , A=[5,2,4,6,3,3,4,2,8,0,6,5,3,8,8,4] C=1 , END
</scratch>
15246334280653884
| 15246334280653884 | 16 |
Input:
3700352544018797+9382459496307075
Target:
| Input:
3700352544018797+9382459496307075
Target:
[3,7,0,0,3,5,2,5,4,4,0,1,8,7,9,7] + [9,3,8,2,4,5,9,4,9,6,3,0,7,0,7,5] , A=[] , C=0 , 7+5+0=12 , A->2 , C->1
[3,7,0,0,3,5,2,5,4,4,0,1,8,7,9] + [9,3,8,2,4,5,9,4,9,6,3,0,7,0,7] , A=[2] , C=1 , 9+7+1=17 , A->7 , C->1
[3,7,0,0,3,5,2,5,4,4,0,1,8,7] + [9,3,8,2,4,5,9,4,9,6,3,0,7,0] , A=[7,2] , C=1 , 7+0+1=8 , A->8 , C->0
[3,7,0,0,3,5,2,5,4,4,0,1,8] + [9,3,8,2,4,5,9,4,9,6,3,0,7] , A=[8,7,2] , C=0 , 8+7+0=15 , A->5 , C->1
[3,7,0,0,3,5,2,5,4,4,0,1] + [9,3,8,2,4,5,9,4,9,6,3,0] , A=[5,8,7,2] , C=1 , 1+0+1=2 , A->2 , C->0
[3,7,0,0,3,5,2,5,4,4,0] + [9,3,8,2,4,5,9,4,9,6,3] , A=[2,5,8,7,2] , C=0 , 0+3+0=3 , A->3 , C->0
[3,7,0,0,3,5,2,5,4,4] + [9,3,8,2,4,5,9,4,9,6] , A=[3,2,5,8,7,2] , C=0 , 4+6+0=10 , A->0 , C->1
[3,7,0,0,3,5,2,5,4] + [9,3,8,2,4,5,9,4,9] , A=[0,3,2,5,8,7,2] , C=1 , 4+9+1=14 , A->4 , C->1
[3,7,0,0,3,5,2,5] + [9,3,8,2,4,5,9,4] , A=[4,0,3,2,5,8,7,2] , C=1 , 5+4+1=10 , A->0 , C->1
[3,7,0,0,3,5,2] + [9,3,8,2,4,5,9] , A=[0,4,0,3,2,5,8,7,2] , C=1 , 2+9+1=12 , A->2 , C->1
[3,7,0,0,3,5] + [9,3,8,2,4,5] , A=[2,0,4,0,3,2,5,8,7,2] , C=1 , 5+5+1=11 , A->1 , C->1
[3,7,0,0,3] + [9,3,8,2,4] , A=[1,2,0,4,0,3,2,5,8,7,2] , C=1 , 3+4+1=8 , A->8 , C->0
[3,7,0,0] + [9,3,8,2] , A=[8,1,2,0,4,0,3,2,5,8,7,2] , C=0 , 0+2+0=2 , A->2 , C->0
[3,7,0] + [9,3,8] , A=[2,8,1,2,0,4,0,3,2,5,8,7,2] , C=0 , 0+8+0=8 , A->8 , C->0
[3,7] + [9,3] , A=[8,2,8,1,2,0,4,0,3,2,5,8,7,2] , C=0 , 7+3+0=10 , A->0 , C->1
[3] + [9] , A=[0,8,2,8,1,2,0,4,0,3,2,5,8,7,2] , C=1 , 3+9+1=13 , A->3 , C->1
[] + [] , A=[3,0,8,2,8,1,2,0,4,0,3,2,5,8,7,2] C=1 , END
</scratch>
13082812040325872
| 13082812040325872 | 16 |
Input:
6949014531471404+7113239997947208
Target:
| Input:
6949014531471404+7113239997947208
Target:
[6,9,4,9,0,1,4,5,3,1,4,7,1,4,0,4] + [7,1,1,3,2,3,9,9,9,7,9,4,7,2,0,8] , A=[] , C=0 , 4+8+0=12 , A->2 , C->1
[6,9,4,9,0,1,4,5,3,1,4,7,1,4,0] + [7,1,1,3,2,3,9,9,9,7,9,4,7,2,0] , A=[2] , C=1 , 0+0+1=1 , A->1 , C->0
[6,9,4,9,0,1,4,5,3,1,4,7,1,4] + [7,1,1,3,2,3,9,9,9,7,9,4,7,2] , A=[1,2] , C=0 , 4+2+0=6 , A->6 , C->0
[6,9,4,9,0,1,4,5,3,1,4,7,1] + [7,1,1,3,2,3,9,9,9,7,9,4,7] , A=[6,1,2] , C=0 , 1+7+0=8 , A->8 , C->0
[6,9,4,9,0,1,4,5,3,1,4,7] + [7,1,1,3,2,3,9,9,9,7,9,4] , A=[8,6,1,2] , C=0 , 7+4+0=11 , A->1 , C->1
[6,9,4,9,0,1,4,5,3,1,4] + [7,1,1,3,2,3,9,9,9,7,9] , A=[1,8,6,1,2] , C=1 , 4+9+1=14 , A->4 , C->1
[6,9,4,9,0,1,4,5,3,1] + [7,1,1,3,2,3,9,9,9,7] , A=[4,1,8,6,1,2] , C=1 , 1+7+1=9 , A->9 , C->0
[6,9,4,9,0,1,4,5,3] + [7,1,1,3,2,3,9,9,9] , A=[9,4,1,8,6,1,2] , C=0 , 3+9+0=12 , A->2 , C->1
[6,9,4,9,0,1,4,5] + [7,1,1,3,2,3,9,9] , A=[2,9,4,1,8,6,1,2] , C=1 , 5+9+1=15 , A->5 , C->1
[6,9,4,9,0,1,4] + [7,1,1,3,2,3,9] , A=[5,2,9,4,1,8,6,1,2] , C=1 , 4+9+1=14 , A->4 , C->1
[6,9,4,9,0,1] + [7,1,1,3,2,3] , A=[4,5,2,9,4,1,8,6,1,2] , C=1 , 1+3+1=5 , A->5 , C->0
[6,9,4,9,0] + [7,1,1,3,2] , A=[5,4,5,2,9,4,1,8,6,1,2] , C=0 , 0+2+0=2 , A->2 , C->0
[6,9,4,9] + [7,1,1,3] , A=[2,5,4,5,2,9,4,1,8,6,1,2] , C=0 , 9+3+0=12 , A->2 , C->1
[6,9,4] + [7,1,1] , A=[2,2,5,4,5,2,9,4,1,8,6,1,2] , C=1 , 4+1+1=6 , A->6 , C->0
[6,9] + [7,1] , A=[6,2,2,5,4,5,2,9,4,1,8,6,1,2] , C=0 , 9+1+0=10 , A->0 , C->1
[6] + [7] , A=[0,6,2,2,5,4,5,2,9,4,1,8,6,1,2] , C=1 , 6+7+1=14 , A->4 , C->1
[] + [] , A=[4,0,6,2,2,5,4,5,2,9,4,1,8,6,1,2] C=1 , END
</scratch>
14062254529418612
| 14062254529418612 | 16 |
Input:
4089064968982178+9570980397556656
Target:
| Input:
4089064968982178+9570980397556656
Target:
[4,0,8,9,0,6,4,9,6,8,9,8,2,1,7,8] + [9,5,7,0,9,8,0,3,9,7,5,5,6,6,5,6] , A=[] , C=0 , 8+6+0=14 , A->4 , C->1
[4,0,8,9,0,6,4,9,6,8,9,8,2,1,7] + [9,5,7,0,9,8,0,3,9,7,5,5,6,6,5] , A=[4] , C=1 , 7+5+1=13 , A->3 , C->1
[4,0,8,9,0,6,4,9,6,8,9,8,2,1] + [9,5,7,0,9,8,0,3,9,7,5,5,6,6] , A=[3,4] , C=1 , 1+6+1=8 , A->8 , C->0
[4,0,8,9,0,6,4,9,6,8,9,8,2] + [9,5,7,0,9,8,0,3,9,7,5,5,6] , A=[8,3,4] , C=0 , 2+6+0=8 , A->8 , C->0
[4,0,8,9,0,6,4,9,6,8,9,8] + [9,5,7,0,9,8,0,3,9,7,5,5] , A=[8,8,3,4] , C=0 , 8+5+0=13 , A->3 , C->1
[4,0,8,9,0,6,4,9,6,8,9] + [9,5,7,0,9,8,0,3,9,7,5] , A=[3,8,8,3,4] , C=1 , 9+5+1=15 , A->5 , C->1
[4,0,8,9,0,6,4,9,6,8] + [9,5,7,0,9,8,0,3,9,7] , A=[5,3,8,8,3,4] , C=1 , 8+7+1=16 , A->6 , C->1
[4,0,8,9,0,6,4,9,6] + [9,5,7,0,9,8,0,3,9] , A=[6,5,3,8,8,3,4] , C=1 , 6+9+1=16 , A->6 , C->1
[4,0,8,9,0,6,4,9] + [9,5,7,0,9,8,0,3] , A=[6,6,5,3,8,8,3,4] , C=1 , 9+3+1=13 , A->3 , C->1
[4,0,8,9,0,6,4] + [9,5,7,0,9,8,0] , A=[3,6,6,5,3,8,8,3,4] , C=1 , 4+0+1=5 , A->5 , C->0
[4,0,8,9,0,6] + [9,5,7,0,9,8] , A=[5,3,6,6,5,3,8,8,3,4] , C=0 , 6+8+0=14 , A->4 , C->1
[4,0,8,9,0] + [9,5,7,0,9] , A=[4,5,3,6,6,5,3,8,8,3,4] , C=1 , 0+9+1=10 , A->0 , C->1
[4,0,8,9] + [9,5,7,0] , A=[0,4,5,3,6,6,5,3,8,8,3,4] , C=1 , 9+0+1=10 , A->0 , C->1
[4,0,8] + [9,5,7] , A=[0,0,4,5,3,6,6,5,3,8,8,3,4] , C=1 , 8+7+1=16 , A->6 , C->1
[4,0] + [9,5] , A=[6,0,0,4,5,3,6,6,5,3,8,8,3,4] , C=1 , 0+5+1=6 , A->6 , C->0
[4] + [9] , A=[6,6,0,0,4,5,3,6,6,5,3,8,8,3,4] , C=0 , 4+9+0=13 , A->3 , C->1
[] + [] , A=[3,6,6,0,0,4,5,3,6,6,5,3,8,8,3,4] C=1 , END
</scratch>
13660045366538834
| 13660045366538834 | 16 |
Input:
6006778882009270+7709715427678029
Target:
| Input:
6006778882009270+7709715427678029
Target:
[6,0,0,6,7,7,8,8,8,2,0,0,9,2,7,0] + [7,7,0,9,7,1,5,4,2,7,6,7,8,0,2,9] , A=[] , C=0 , 0+9+0=9 , A->9 , C->0
[6,0,0,6,7,7,8,8,8,2,0,0,9,2,7] + [7,7,0,9,7,1,5,4,2,7,6,7,8,0,2] , A=[9] , C=0 , 7+2+0=9 , A->9 , C->0
[6,0,0,6,7,7,8,8,8,2,0,0,9,2] + [7,7,0,9,7,1,5,4,2,7,6,7,8,0] , A=[9,9] , C=0 , 2+0+0=2 , A->2 , C->0
[6,0,0,6,7,7,8,8,8,2,0,0,9] + [7,7,0,9,7,1,5,4,2,7,6,7,8] , A=[2,9,9] , C=0 , 9+8+0=17 , A->7 , C->1
[6,0,0,6,7,7,8,8,8,2,0,0] + [7,7,0,9,7,1,5,4,2,7,6,7] , A=[7,2,9,9] , C=1 , 0+7+1=8 , A->8 , C->0
[6,0,0,6,7,7,8,8,8,2,0] + [7,7,0,9,7,1,5,4,2,7,6] , A=[8,7,2,9,9] , C=0 , 0+6+0=6 , A->6 , C->0
[6,0,0,6,7,7,8,8,8,2] + [7,7,0,9,7,1,5,4,2,7] , A=[6,8,7,2,9,9] , C=0 , 2+7+0=9 , A->9 , C->0
[6,0,0,6,7,7,8,8,8] + [7,7,0,9,7,1,5,4,2] , A=[9,6,8,7,2,9,9] , C=0 , 8+2+0=10 , A->0 , C->1
[6,0,0,6,7,7,8,8] + [7,7,0,9,7,1,5,4] , A=[0,9,6,8,7,2,9,9] , C=1 , 8+4+1=13 , A->3 , C->1
[6,0,0,6,7,7,8] + [7,7,0,9,7,1,5] , A=[3,0,9,6,8,7,2,9,9] , C=1 , 8+5+1=14 , A->4 , C->1
[6,0,0,6,7,7] + [7,7,0,9,7,1] , A=[4,3,0,9,6,8,7,2,9,9] , C=1 , 7+1+1=9 , A->9 , C->0
[6,0,0,6,7] + [7,7,0,9,7] , A=[9,4,3,0,9,6,8,7,2,9,9] , C=0 , 7+7+0=14 , A->4 , C->1
[6,0,0,6] + [7,7,0,9] , A=[4,9,4,3,0,9,6,8,7,2,9,9] , C=1 , 6+9+1=16 , A->6 , C->1
[6,0,0] + [7,7,0] , A=[6,4,9,4,3,0,9,6,8,7,2,9,9] , C=1 , 0+0+1=1 , A->1 , C->0
[6,0] + [7,7] , A=[1,6,4,9,4,3,0,9,6,8,7,2,9,9] , C=0 , 0+7+0=7 , A->7 , C->0
[6] + [7] , A=[7,1,6,4,9,4,3,0,9,6,8,7,2,9,9] , C=0 , 6+7+0=13 , A->3 , C->1
[] + [] , A=[3,7,1,6,4,9,4,3,0,9,6,8,7,2,9,9] C=1 , END
</scratch>
13716494309687299
| 13716494309687299 | 16 |
Input:
5471137215905407+8339314195837946
Target:
| Input:
5471137215905407+8339314195837946
Target:
[5,4,7,1,1,3,7,2,1,5,9,0,5,4,0,7] + [8,3,3,9,3,1,4,1,9,5,8,3,7,9,4,6] , A=[] , C=0 , 7+6+0=13 , A->3 , C->1
[5,4,7,1,1,3,7,2,1,5,9,0,5,4,0] + [8,3,3,9,3,1,4,1,9,5,8,3,7,9,4] , A=[3] , C=1 , 0+4+1=5 , A->5 , C->0
[5,4,7,1,1,3,7,2,1,5,9,0,5,4] + [8,3,3,9,3,1,4,1,9,5,8,3,7,9] , A=[5,3] , C=0 , 4+9+0=13 , A->3 , C->1
[5,4,7,1,1,3,7,2,1,5,9,0,5] + [8,3,3,9,3,1,4,1,9,5,8,3,7] , A=[3,5,3] , C=1 , 5+7+1=13 , A->3 , C->1
[5,4,7,1,1,3,7,2,1,5,9,0] + [8,3,3,9,3,1,4,1,9,5,8,3] , A=[3,3,5,3] , C=1 , 0+3+1=4 , A->4 , C->0
[5,4,7,1,1,3,7,2,1,5,9] + [8,3,3,9,3,1,4,1,9,5,8] , A=[4,3,3,5,3] , C=0 , 9+8+0=17 , A->7 , C->1
[5,4,7,1,1,3,7,2,1,5] + [8,3,3,9,3,1,4,1,9,5] , A=[7,4,3,3,5,3] , C=1 , 5+5+1=11 , A->1 , C->1
[5,4,7,1,1,3,7,2,1] + [8,3,3,9,3,1,4,1,9] , A=[1,7,4,3,3,5,3] , C=1 , 1+9+1=11 , A->1 , C->1
[5,4,7,1,1,3,7,2] + [8,3,3,9,3,1,4,1] , A=[1,1,7,4,3,3,5,3] , C=1 , 2+1+1=4 , A->4 , C->0
[5,4,7,1,1,3,7] + [8,3,3,9,3,1,4] , A=[4,1,1,7,4,3,3,5,3] , C=0 , 7+4+0=11 , A->1 , C->1
[5,4,7,1,1,3] + [8,3,3,9,3,1] , A=[1,4,1,1,7,4,3,3,5,3] , C=1 , 3+1+1=5 , A->5 , C->0
[5,4,7,1,1] + [8,3,3,9,3] , A=[5,1,4,1,1,7,4,3,3,5,3] , C=0 , 1+3+0=4 , A->4 , C->0
[5,4,7,1] + [8,3,3,9] , A=[4,5,1,4,1,1,7,4,3,3,5,3] , C=0 , 1+9+0=10 , A->0 , C->1
[5,4,7] + [8,3,3] , A=[0,4,5,1,4,1,1,7,4,3,3,5,3] , C=1 , 7+3+1=11 , A->1 , C->1
[5,4] + [8,3] , A=[1,0,4,5,1,4,1,1,7,4,3,3,5,3] , C=1 , 4+3+1=8 , A->8 , C->0
[5] + [8] , A=[8,1,0,4,5,1,4,1,1,7,4,3,3,5,3] , C=0 , 5+8+0=13 , A->3 , C->1
[] + [] , A=[3,8,1,0,4,5,1,4,1,1,7,4,3,3,5,3] C=1 , END
</scratch>
13810451411743353
| 13810451411743353 | 16 |
Input:
4458022258840956+1980661548108501
Target:
| Input:
4458022258840956+1980661548108501
Target:
[4,4,5,8,0,2,2,2,5,8,8,4,0,9,5,6] + [1,9,8,0,6,6,1,5,4,8,1,0,8,5,0,1] , A=[] , C=0 , 6+1+0=7 , A->7 , C->0
[4,4,5,8,0,2,2,2,5,8,8,4,0,9,5] + [1,9,8,0,6,6,1,5,4,8,1,0,8,5,0] , A=[7] , C=0 , 5+0+0=5 , A->5 , C->0
[4,4,5,8,0,2,2,2,5,8,8,4,0,9] + [1,9,8,0,6,6,1,5,4,8,1,0,8,5] , A=[5,7] , C=0 , 9+5+0=14 , A->4 , C->1
[4,4,5,8,0,2,2,2,5,8,8,4,0] + [1,9,8,0,6,6,1,5,4,8,1,0,8] , A=[4,5,7] , C=1 , 0+8+1=9 , A->9 , C->0
[4,4,5,8,0,2,2,2,5,8,8,4] + [1,9,8,0,6,6,1,5,4,8,1,0] , A=[9,4,5,7] , C=0 , 4+0+0=4 , A->4 , C->0
[4,4,5,8,0,2,2,2,5,8,8] + [1,9,8,0,6,6,1,5,4,8,1] , A=[4,9,4,5,7] , C=0 , 8+1+0=9 , A->9 , C->0
[4,4,5,8,0,2,2,2,5,8] + [1,9,8,0,6,6,1,5,4,8] , A=[9,4,9,4,5,7] , C=0 , 8+8+0=16 , A->6 , C->1
[4,4,5,8,0,2,2,2,5] + [1,9,8,0,6,6,1,5,4] , A=[6,9,4,9,4,5,7] , C=1 , 5+4+1=10 , A->0 , C->1
[4,4,5,8,0,2,2,2] + [1,9,8,0,6,6,1,5] , A=[0,6,9,4,9,4,5,7] , C=1 , 2+5+1=8 , A->8 , C->0
[4,4,5,8,0,2,2] + [1,9,8,0,6,6,1] , A=[8,0,6,9,4,9,4,5,7] , C=0 , 2+1+0=3 , A->3 , C->0
[4,4,5,8,0,2] + [1,9,8,0,6,6] , A=[3,8,0,6,9,4,9,4,5,7] , C=0 , 2+6+0=8 , A->8 , C->0
[4,4,5,8,0] + [1,9,8,0,6] , A=[8,3,8,0,6,9,4,9,4,5,7] , C=0 , 0+6+0=6 , A->6 , C->0
[4,4,5,8] + [1,9,8,0] , A=[6,8,3,8,0,6,9,4,9,4,5,7] , C=0 , 8+0+0=8 , A->8 , C->0
[4,4,5] + [1,9,8] , A=[8,6,8,3,8,0,6,9,4,9,4,5,7] , C=0 , 5+8+0=13 , A->3 , C->1
[4,4] + [1,9] , A=[3,8,6,8,3,8,0,6,9,4,9,4,5,7] , C=1 , 4+9+1=14 , A->4 , C->1
[4] + [1] , A=[4,3,8,6,8,3,8,0,6,9,4,9,4,5,7] , C=1 , 4+1+1=6 , A->6 , C->0
[] + [] , A=[6,4,3,8,6,8,3,8,0,6,9,4,9,4,5,7] C=0 , END
</scratch>
6438683806949457
| 6438683806949457 | 16 |
Input:
6356433377035046+3209884366649941
Target:
| Input:
6356433377035046+3209884366649941
Target:
[6,3,5,6,4,3,3,3,7,7,0,3,5,0,4,6] + [3,2,0,9,8,8,4,3,6,6,6,4,9,9,4,1] , A=[] , C=0 , 6+1+0=7 , A->7 , C->0
[6,3,5,6,4,3,3,3,7,7,0,3,5,0,4] + [3,2,0,9,8,8,4,3,6,6,6,4,9,9,4] , A=[7] , C=0 , 4+4+0=8 , A->8 , C->0
[6,3,5,6,4,3,3,3,7,7,0,3,5,0] + [3,2,0,9,8,8,4,3,6,6,6,4,9,9] , A=[8,7] , C=0 , 0+9+0=9 , A->9 , C->0
[6,3,5,6,4,3,3,3,7,7,0,3,5] + [3,2,0,9,8,8,4,3,6,6,6,4,9] , A=[9,8,7] , C=0 , 5+9+0=14 , A->4 , C->1
[6,3,5,6,4,3,3,3,7,7,0,3] + [3,2,0,9,8,8,4,3,6,6,6,4] , A=[4,9,8,7] , C=1 , 3+4+1=8 , A->8 , C->0
[6,3,5,6,4,3,3,3,7,7,0] + [3,2,0,9,8,8,4,3,6,6,6] , A=[8,4,9,8,7] , C=0 , 0+6+0=6 , A->6 , C->0
[6,3,5,6,4,3,3,3,7,7] + [3,2,0,9,8,8,4,3,6,6] , A=[6,8,4,9,8,7] , C=0 , 7+6+0=13 , A->3 , C->1
[6,3,5,6,4,3,3,3,7] + [3,2,0,9,8,8,4,3,6] , A=[3,6,8,4,9,8,7] , C=1 , 7+6+1=14 , A->4 , C->1
[6,3,5,6,4,3,3,3] + [3,2,0,9,8,8,4,3] , A=[4,3,6,8,4,9,8,7] , C=1 , 3+3+1=7 , A->7 , C->0
[6,3,5,6,4,3,3] + [3,2,0,9,8,8,4] , A=[7,4,3,6,8,4,9,8,7] , C=0 , 3+4+0=7 , A->7 , C->0
[6,3,5,6,4,3] + [3,2,0,9,8,8] , A=[7,7,4,3,6,8,4,9,8,7] , C=0 , 3+8+0=11 , A->1 , C->1
[6,3,5,6,4] + [3,2,0,9,8] , A=[1,7,7,4,3,6,8,4,9,8,7] , C=1 , 4+8+1=13 , A->3 , C->1
[6,3,5,6] + [3,2,0,9] , A=[3,1,7,7,4,3,6,8,4,9,8,7] , C=1 , 6+9+1=16 , A->6 , C->1
[6,3,5] + [3,2,0] , A=[6,3,1,7,7,4,3,6,8,4,9,8,7] , C=1 , 5+0+1=6 , A->6 , C->0
[6,3] + [3,2] , A=[6,6,3,1,7,7,4,3,6,8,4,9,8,7] , C=0 , 3+2+0=5 , A->5 , C->0
[6] + [3] , A=[5,6,6,3,1,7,7,4,3,6,8,4,9,8,7] , C=0 , 6+3+0=9 , A->9 , C->0
[] + [] , A=[9,5,6,6,3,1,7,7,4,3,6,8,4,9,8,7] C=0 , END
</scratch>
9566317743684987
| 9566317743684987 | 16 |
Input:
1218569163276879+7033119249552027
Target:
| Input:
1218569163276879+7033119249552027
Target:
[1,2,1,8,5,6,9,1,6,3,2,7,6,8,7,9] + [7,0,3,3,1,1,9,2,4,9,5,5,2,0,2,7] , A=[] , C=0 , 9+7+0=16 , A->6 , C->1
[1,2,1,8,5,6,9,1,6,3,2,7,6,8,7] + [7,0,3,3,1,1,9,2,4,9,5,5,2,0,2] , A=[6] , C=1 , 7+2+1=10 , A->0 , C->1
[1,2,1,8,5,6,9,1,6,3,2,7,6,8] + [7,0,3,3,1,1,9,2,4,9,5,5,2,0] , A=[0,6] , C=1 , 8+0+1=9 , A->9 , C->0
[1,2,1,8,5,6,9,1,6,3,2,7,6] + [7,0,3,3,1,1,9,2,4,9,5,5,2] , A=[9,0,6] , C=0 , 6+2+0=8 , A->8 , C->0
[1,2,1,8,5,6,9,1,6,3,2,7] + [7,0,3,3,1,1,9,2,4,9,5,5] , A=[8,9,0,6] , C=0 , 7+5+0=12 , A->2 , C->1
[1,2,1,8,5,6,9,1,6,3,2] + [7,0,3,3,1,1,9,2,4,9,5] , A=[2,8,9,0,6] , C=1 , 2+5+1=8 , A->8 , C->0
[1,2,1,8,5,6,9,1,6,3] + [7,0,3,3,1,1,9,2,4,9] , A=[8,2,8,9,0,6] , C=0 , 3+9+0=12 , A->2 , C->1
[1,2,1,8,5,6,9,1,6] + [7,0,3,3,1,1,9,2,4] , A=[2,8,2,8,9,0,6] , C=1 , 6+4+1=11 , A->1 , C->1
[1,2,1,8,5,6,9,1] + [7,0,3,3,1,1,9,2] , A=[1,2,8,2,8,9,0,6] , C=1 , 1+2+1=4 , A->4 , C->0
[1,2,1,8,5,6,9] + [7,0,3,3,1,1,9] , A=[4,1,2,8,2,8,9,0,6] , C=0 , 9+9+0=18 , A->8 , C->1
[1,2,1,8,5,6] + [7,0,3,3,1,1] , A=[8,4,1,2,8,2,8,9,0,6] , C=1 , 6+1+1=8 , A->8 , C->0
[1,2,1,8,5] + [7,0,3,3,1] , A=[8,8,4,1,2,8,2,8,9,0,6] , C=0 , 5+1+0=6 , A->6 , C->0
[1,2,1,8] + [7,0,3,3] , A=[6,8,8,4,1,2,8,2,8,9,0,6] , C=0 , 8+3+0=11 , A->1 , C->1
[1,2,1] + [7,0,3] , A=[1,6,8,8,4,1,2,8,2,8,9,0,6] , C=1 , 1+3+1=5 , A->5 , C->0
[1,2] + [7,0] , A=[5,1,6,8,8,4,1,2,8,2,8,9,0,6] , C=0 , 2+0+0=2 , A->2 , C->0
[1] + [7] , A=[2,5,1,6,8,8,4,1,2,8,2,8,9,0,6] , C=0 , 1+7+0=8 , A->8 , C->0
[] + [] , A=[8,2,5,1,6,8,8,4,1,2,8,2,8,9,0,6] C=0 , END
</scratch>
8251688412828906
| 8251688412828906 | 16 |
Input:
9811427670231699+7345996493596127
Target:
| Input:
9811427670231699+7345996493596127
Target:
[9,8,1,1,4,2,7,6,7,0,2,3,1,6,9,9] + [7,3,4,5,9,9,6,4,9,3,5,9,6,1,2,7] , A=[] , C=0 , 9+7+0=16 , A->6 , C->1
[9,8,1,1,4,2,7,6,7,0,2,3,1,6,9] + [7,3,4,5,9,9,6,4,9,3,5,9,6,1,2] , A=[6] , C=1 , 9+2+1=12 , A->2 , C->1
[9,8,1,1,4,2,7,6,7,0,2,3,1,6] + [7,3,4,5,9,9,6,4,9,3,5,9,6,1] , A=[2,6] , C=1 , 6+1+1=8 , A->8 , C->0
[9,8,1,1,4,2,7,6,7,0,2,3,1] + [7,3,4,5,9,9,6,4,9,3,5,9,6] , A=[8,2,6] , C=0 , 1+6+0=7 , A->7 , C->0
[9,8,1,1,4,2,7,6,7,0,2,3] + [7,3,4,5,9,9,6,4,9,3,5,9] , A=[7,8,2,6] , C=0 , 3+9+0=12 , A->2 , C->1
[9,8,1,1,4,2,7,6,7,0,2] + [7,3,4,5,9,9,6,4,9,3,5] , A=[2,7,8,2,6] , C=1 , 2+5+1=8 , A->8 , C->0
[9,8,1,1,4,2,7,6,7,0] + [7,3,4,5,9,9,6,4,9,3] , A=[8,2,7,8,2,6] , C=0 , 0+3+0=3 , A->3 , C->0
[9,8,1,1,4,2,7,6,7] + [7,3,4,5,9,9,6,4,9] , A=[3,8,2,7,8,2,6] , C=0 , 7+9+0=16 , A->6 , C->1
[9,8,1,1,4,2,7,6] + [7,3,4,5,9,9,6,4] , A=[6,3,8,2,7,8,2,6] , C=1 , 6+4+1=11 , A->1 , C->1
[9,8,1,1,4,2,7] + [7,3,4,5,9,9,6] , A=[1,6,3,8,2,7,8,2,6] , C=1 , 7+6+1=14 , A->4 , C->1
[9,8,1,1,4,2] + [7,3,4,5,9,9] , A=[4,1,6,3,8,2,7,8,2,6] , C=1 , 2+9+1=12 , A->2 , C->1
[9,8,1,1,4] + [7,3,4,5,9] , A=[2,4,1,6,3,8,2,7,8,2,6] , C=1 , 4+9+1=14 , A->4 , C->1
[9,8,1,1] + [7,3,4,5] , A=[4,2,4,1,6,3,8,2,7,8,2,6] , C=1 , 1+5+1=7 , A->7 , C->0
[9,8,1] + [7,3,4] , A=[7,4,2,4,1,6,3,8,2,7,8,2,6] , C=0 , 1+4+0=5 , A->5 , C->0
[9,8] + [7,3] , A=[5,7,4,2,4,1,6,3,8,2,7,8,2,6] , C=0 , 8+3+0=11 , A->1 , C->1
[9] + [7] , A=[1,5,7,4,2,4,1,6,3,8,2,7,8,2,6] , C=1 , 9+7+1=17 , A->7 , C->1
[] + [] , A=[7,1,5,7,4,2,4,1,6,3,8,2,7,8,2,6] C=1 , END
</scratch>
17157424163827826
| 17157424163827826 | 16 |
Input:
7921128864723851+4124307394140698
Target:
| Input:
7921128864723851+4124307394140698
Target:
[7,9,2,1,1,2,8,8,6,4,7,2,3,8,5,1] + [4,1,2,4,3,0,7,3,9,4,1,4,0,6,9,8] , A=[] , C=0 , 1+8+0=9 , A->9 , C->0
[7,9,2,1,1,2,8,8,6,4,7,2,3,8,5] + [4,1,2,4,3,0,7,3,9,4,1,4,0,6,9] , A=[9] , C=0 , 5+9+0=14 , A->4 , C->1
[7,9,2,1,1,2,8,8,6,4,7,2,3,8] + [4,1,2,4,3,0,7,3,9,4,1,4,0,6] , A=[4,9] , C=1 , 8+6+1=15 , A->5 , C->1
[7,9,2,1,1,2,8,8,6,4,7,2,3] + [4,1,2,4,3,0,7,3,9,4,1,4,0] , A=[5,4,9] , C=1 , 3+0+1=4 , A->4 , C->0
[7,9,2,1,1,2,8,8,6,4,7,2] + [4,1,2,4,3,0,7,3,9,4,1,4] , A=[4,5,4,9] , C=0 , 2+4+0=6 , A->6 , C->0
[7,9,2,1,1,2,8,8,6,4,7] + [4,1,2,4,3,0,7,3,9,4,1] , A=[6,4,5,4,9] , C=0 , 7+1+0=8 , A->8 , C->0
[7,9,2,1,1,2,8,8,6,4] + [4,1,2,4,3,0,7,3,9,4] , A=[8,6,4,5,4,9] , C=0 , 4+4+0=8 , A->8 , C->0
[7,9,2,1,1,2,8,8,6] + [4,1,2,4,3,0,7,3,9] , A=[8,8,6,4,5,4,9] , C=0 , 6+9+0=15 , A->5 , C->1
[7,9,2,1,1,2,8,8] + [4,1,2,4,3,0,7,3] , A=[5,8,8,6,4,5,4,9] , C=1 , 8+3+1=12 , A->2 , C->1
[7,9,2,1,1,2,8] + [4,1,2,4,3,0,7] , A=[2,5,8,8,6,4,5,4,9] , C=1 , 8+7+1=16 , A->6 , C->1
[7,9,2,1,1,2] + [4,1,2,4,3,0] , A=[6,2,5,8,8,6,4,5,4,9] , C=1 , 2+0+1=3 , A->3 , C->0
[7,9,2,1,1] + [4,1,2,4,3] , A=[3,6,2,5,8,8,6,4,5,4,9] , C=0 , 1+3+0=4 , A->4 , C->0
[7,9,2,1] + [4,1,2,4] , A=[4,3,6,2,5,8,8,6,4,5,4,9] , C=0 , 1+4+0=5 , A->5 , C->0
[7,9,2] + [4,1,2] , A=[5,4,3,6,2,5,8,8,6,4,5,4,9] , C=0 , 2+2+0=4 , A->4 , C->0
[7,9] + [4,1] , A=[4,5,4,3,6,2,5,8,8,6,4,5,4,9] , C=0 , 9+1+0=10 , A->0 , C->1
[7] + [4] , A=[0,4,5,4,3,6,2,5,8,8,6,4,5,4,9] , C=1 , 7+4+1=12 , A->2 , C->1
[] + [] , A=[2,0,4,5,4,3,6,2,5,8,8,6,4,5,4,9] C=1 , END
</scratch>
12045436258864549
| 12045436258864549 | 16 |
Input:
1043309884591314+4328742417175490
Target:
| Input:
1043309884591314+4328742417175490
Target:
[1,0,4,3,3,0,9,8,8,4,5,9,1,3,1,4] + [4,3,2,8,7,4,2,4,1,7,1,7,5,4,9,0] , A=[] , C=0 , 4+0+0=4 , A->4 , C->0
[1,0,4,3,3,0,9,8,8,4,5,9,1,3,1] + [4,3,2,8,7,4,2,4,1,7,1,7,5,4,9] , A=[4] , C=0 , 1+9+0=10 , A->0 , C->1
[1,0,4,3,3,0,9,8,8,4,5,9,1,3] + [4,3,2,8,7,4,2,4,1,7,1,7,5,4] , A=[0,4] , C=1 , 3+4+1=8 , A->8 , C->0
[1,0,4,3,3,0,9,8,8,4,5,9,1] + [4,3,2,8,7,4,2,4,1,7,1,7,5] , A=[8,0,4] , C=0 , 1+5+0=6 , A->6 , C->0
[1,0,4,3,3,0,9,8,8,4,5,9] + [4,3,2,8,7,4,2,4,1,7,1,7] , A=[6,8,0,4] , C=0 , 9+7+0=16 , A->6 , C->1
[1,0,4,3,3,0,9,8,8,4,5] + [4,3,2,8,7,4,2,4,1,7,1] , A=[6,6,8,0,4] , C=1 , 5+1+1=7 , A->7 , C->0
[1,0,4,3,3,0,9,8,8,4] + [4,3,2,8,7,4,2,4,1,7] , A=[7,6,6,8,0,4] , C=0 , 4+7+0=11 , A->1 , C->1
[1,0,4,3,3,0,9,8,8] + [4,3,2,8,7,4,2,4,1] , A=[1,7,6,6,8,0,4] , C=1 , 8+1+1=10 , A->0 , C->1
[1,0,4,3,3,0,9,8] + [4,3,2,8,7,4,2,4] , A=[0,1,7,6,6,8,0,4] , C=1 , 8+4+1=13 , A->3 , C->1
[1,0,4,3,3,0,9] + [4,3,2,8,7,4,2] , A=[3,0,1,7,6,6,8,0,4] , C=1 , 9+2+1=12 , A->2 , C->1
[1,0,4,3,3,0] + [4,3,2,8,7,4] , A=[2,3,0,1,7,6,6,8,0,4] , C=1 , 0+4+1=5 , A->5 , C->0
[1,0,4,3,3] + [4,3,2,8,7] , A=[5,2,3,0,1,7,6,6,8,0,4] , C=0 , 3+7+0=10 , A->0 , C->1
[1,0,4,3] + [4,3,2,8] , A=[0,5,2,3,0,1,7,6,6,8,0,4] , C=1 , 3+8+1=12 , A->2 , C->1
[1,0,4] + [4,3,2] , A=[2,0,5,2,3,0,1,7,6,6,8,0,4] , C=1 , 4+2+1=7 , A->7 , C->0
[1,0] + [4,3] , A=[7,2,0,5,2,3,0,1,7,6,6,8,0,4] , C=0 , 0+3+0=3 , A->3 , C->0
[1] + [4] , A=[3,7,2,0,5,2,3,0,1,7,6,6,8,0,4] , C=0 , 1+4+0=5 , A->5 , C->0
[] + [] , A=[5,3,7,2,0,5,2,3,0,1,7,6,6,8,0,4] C=0 , END
</scratch>
5372052301766804
| 5372052301766804 | 16 |
Input:
1746925082055499+8320143959876845
Target:
| Input:
1746925082055499+8320143959876845
Target:
[1,7,4,6,9,2,5,0,8,2,0,5,5,4,9,9] + [8,3,2,0,1,4,3,9,5,9,8,7,6,8,4,5] , A=[] , C=0 , 9+5+0=14 , A->4 , C->1
[1,7,4,6,9,2,5,0,8,2,0,5,5,4,9] + [8,3,2,0,1,4,3,9,5,9,8,7,6,8,4] , A=[4] , C=1 , 9+4+1=14 , A->4 , C->1
[1,7,4,6,9,2,5,0,8,2,0,5,5,4] + [8,3,2,0,1,4,3,9,5,9,8,7,6,8] , A=[4,4] , C=1 , 4+8+1=13 , A->3 , C->1
[1,7,4,6,9,2,5,0,8,2,0,5,5] + [8,3,2,0,1,4,3,9,5,9,8,7,6] , A=[3,4,4] , C=1 , 5+6+1=12 , A->2 , C->1
[1,7,4,6,9,2,5,0,8,2,0,5] + [8,3,2,0,1,4,3,9,5,9,8,7] , A=[2,3,4,4] , C=1 , 5+7+1=13 , A->3 , C->1
[1,7,4,6,9,2,5,0,8,2,0] + [8,3,2,0,1,4,3,9,5,9,8] , A=[3,2,3,4,4] , C=1 , 0+8+1=9 , A->9 , C->0
[1,7,4,6,9,2,5,0,8,2] + [8,3,2,0,1,4,3,9,5,9] , A=[9,3,2,3,4,4] , C=0 , 2+9+0=11 , A->1 , C->1
[1,7,4,6,9,2,5,0,8] + [8,3,2,0,1,4,3,9,5] , A=[1,9,3,2,3,4,4] , C=1 , 8+5+1=14 , A->4 , C->1
[1,7,4,6,9,2,5,0] + [8,3,2,0,1,4,3,9] , A=[4,1,9,3,2,3,4,4] , C=1 , 0+9+1=10 , A->0 , C->1
[1,7,4,6,9,2,5] + [8,3,2,0,1,4,3] , A=[0,4,1,9,3,2,3,4,4] , C=1 , 5+3+1=9 , A->9 , C->0
[1,7,4,6,9,2] + [8,3,2,0,1,4] , A=[9,0,4,1,9,3,2,3,4,4] , C=0 , 2+4+0=6 , A->6 , C->0
[1,7,4,6,9] + [8,3,2,0,1] , A=[6,9,0,4,1,9,3,2,3,4,4] , C=0 , 9+1+0=10 , A->0 , C->1
[1,7,4,6] + [8,3,2,0] , A=[0,6,9,0,4,1,9,3,2,3,4,4] , C=1 , 6+0+1=7 , A->7 , C->0
[1,7,4] + [8,3,2] , A=[7,0,6,9,0,4,1,9,3,2,3,4,4] , C=0 , 4+2+0=6 , A->6 , C->0
[1,7] + [8,3] , A=[6,7,0,6,9,0,4,1,9,3,2,3,4,4] , C=0 , 7+3+0=10 , A->0 , C->1
[1] + [8] , A=[0,6,7,0,6,9,0,4,1,9,3,2,3,4,4] , C=1 , 1+8+1=10 , A->0 , C->1
[] + [] , A=[0,0,6,7,0,6,9,0,4,1,9,3,2,3,4,4] C=1 , END
</scratch>
10067069041932344
| 10067069041932344 | 16 |
Input:
4283791182408020+5328487232147855
Target:
| Input:
4283791182408020+5328487232147855
Target:
[4,2,8,3,7,9,1,1,8,2,4,0,8,0,2,0] + [5,3,2,8,4,8,7,2,3,2,1,4,7,8,5,5] , A=[] , C=0 , 0+5+0=5 , A->5 , C->0
[4,2,8,3,7,9,1,1,8,2,4,0,8,0,2] + [5,3,2,8,4,8,7,2,3,2,1,4,7,8,5] , A=[5] , C=0 , 2+5+0=7 , A->7 , C->0
[4,2,8,3,7,9,1,1,8,2,4,0,8,0] + [5,3,2,8,4,8,7,2,3,2,1,4,7,8] , A=[7,5] , C=0 , 0+8+0=8 , A->8 , C->0
[4,2,8,3,7,9,1,1,8,2,4,0,8] + [5,3,2,8,4,8,7,2,3,2,1,4,7] , A=[8,7,5] , C=0 , 8+7+0=15 , A->5 , C->1
[4,2,8,3,7,9,1,1,8,2,4,0] + [5,3,2,8,4,8,7,2,3,2,1,4] , A=[5,8,7,5] , C=1 , 0+4+1=5 , A->5 , C->0
[4,2,8,3,7,9,1,1,8,2,4] + [5,3,2,8,4,8,7,2,3,2,1] , A=[5,5,8,7,5] , C=0 , 4+1+0=5 , A->5 , C->0
[4,2,8,3,7,9,1,1,8,2] + [5,3,2,8,4,8,7,2,3,2] , A=[5,5,5,8,7,5] , C=0 , 2+2+0=4 , A->4 , C->0
[4,2,8,3,7,9,1,1,8] + [5,3,2,8,4,8,7,2,3] , A=[4,5,5,5,8,7,5] , C=0 , 8+3+0=11 , A->1 , C->1
[4,2,8,3,7,9,1,1] + [5,3,2,8,4,8,7,2] , A=[1,4,5,5,5,8,7,5] , C=1 , 1+2+1=4 , A->4 , C->0
[4,2,8,3,7,9,1] + [5,3,2,8,4,8,7] , A=[4,1,4,5,5,5,8,7,5] , C=0 , 1+7+0=8 , A->8 , C->0
[4,2,8,3,7,9] + [5,3,2,8,4,8] , A=[8,4,1,4,5,5,5,8,7,5] , C=0 , 9+8+0=17 , A->7 , C->1
[4,2,8,3,7] + [5,3,2,8,4] , A=[7,8,4,1,4,5,5,5,8,7,5] , C=1 , 7+4+1=12 , A->2 , C->1
[4,2,8,3] + [5,3,2,8] , A=[2,7,8,4,1,4,5,5,5,8,7,5] , C=1 , 3+8+1=12 , A->2 , C->1
[4,2,8] + [5,3,2] , A=[2,2,7,8,4,1,4,5,5,5,8,7,5] , C=1 , 8+2+1=11 , A->1 , C->1
[4,2] + [5,3] , A=[1,2,2,7,8,4,1,4,5,5,5,8,7,5] , C=1 , 2+3+1=6 , A->6 , C->0
[4] + [5] , A=[6,1,2,2,7,8,4,1,4,5,5,5,8,7,5] , C=0 , 4+5+0=9 , A->9 , C->0
[] + [] , A=[9,6,1,2,2,7,8,4,1,4,5,5,5,8,7,5] C=0 , END
</scratch>
9612278414555875
| 9612278414555875 | 16 |
Input:
7489771623712410+6949097385688460
Target:
| Input:
7489771623712410+6949097385688460
Target:
[7,4,8,9,7,7,1,6,2,3,7,1,2,4,1,0] + [6,9,4,9,0,9,7,3,8,5,6,8,8,4,6,0] , A=[] , C=0 , 0+0+0=0 , A->0 , C->0
[7,4,8,9,7,7,1,6,2,3,7,1,2,4,1] + [6,9,4,9,0,9,7,3,8,5,6,8,8,4,6] , A=[0] , C=0 , 1+6+0=7 , A->7 , C->0
[7,4,8,9,7,7,1,6,2,3,7,1,2,4] + [6,9,4,9,0,9,7,3,8,5,6,8,8,4] , A=[7,0] , C=0 , 4+4+0=8 , A->8 , C->0
[7,4,8,9,7,7,1,6,2,3,7,1,2] + [6,9,4,9,0,9,7,3,8,5,6,8,8] , A=[8,7,0] , C=0 , 2+8+0=10 , A->0 , C->1
[7,4,8,9,7,7,1,6,2,3,7,1] + [6,9,4,9,0,9,7,3,8,5,6,8] , A=[0,8,7,0] , C=1 , 1+8+1=10 , A->0 , C->1
[7,4,8,9,7,7,1,6,2,3,7] + [6,9,4,9,0,9,7,3,8,5,6] , A=[0,0,8,7,0] , C=1 , 7+6+1=14 , A->4 , C->1
[7,4,8,9,7,7,1,6,2,3] + [6,9,4,9,0,9,7,3,8,5] , A=[4,0,0,8,7,0] , C=1 , 3+5+1=9 , A->9 , C->0
[7,4,8,9,7,7,1,6,2] + [6,9,4,9,0,9,7,3,8] , A=[9,4,0,0,8,7,0] , C=0 , 2+8+0=10 , A->0 , C->1
[7,4,8,9,7,7,1,6] + [6,9,4,9,0,9,7,3] , A=[0,9,4,0,0,8,7,0] , C=1 , 6+3+1=10 , A->0 , C->1
[7,4,8,9,7,7,1] + [6,9,4,9,0,9,7] , A=[0,0,9,4,0,0,8,7,0] , C=1 , 1+7+1=9 , A->9 , C->0
[7,4,8,9,7,7] + [6,9,4,9,0,9] , A=[9,0,0,9,4,0,0,8,7,0] , C=0 , 7+9+0=16 , A->6 , C->1
[7,4,8,9,7] + [6,9,4,9,0] , A=[6,9,0,0,9,4,0,0,8,7,0] , C=1 , 7+0+1=8 , A->8 , C->0
[7,4,8,9] + [6,9,4,9] , A=[8,6,9,0,0,9,4,0,0,8,7,0] , C=0 , 9+9+0=18 , A->8 , C->1
[7,4,8] + [6,9,4] , A=[8,8,6,9,0,0,9,4,0,0,8,7,0] , C=1 , 8+4+1=13 , A->3 , C->1
[7,4] + [6,9] , A=[3,8,8,6,9,0,0,9,4,0,0,8,7,0] , C=1 , 4+9+1=14 , A->4 , C->1
[7] + [6] , A=[4,3,8,8,6,9,0,0,9,4,0,0,8,7,0] , C=1 , 7+6+1=14 , A->4 , C->1
[] + [] , A=[4,4,3,8,8,6,9,0,0,9,4,0,0,8,7,0] C=1 , END
</scratch>
14438869009400870
| 14438869009400870 | 16 |
Input:
9567356253154104+6026096201413976
Target:
| Input:
9567356253154104+6026096201413976
Target:
[9,5,6,7,3,5,6,2,5,3,1,5,4,1,0,4] + [6,0,2,6,0,9,6,2,0,1,4,1,3,9,7,6] , A=[] , C=0 , 4+6+0=10 , A->0 , C->1
[9,5,6,7,3,5,6,2,5,3,1,5,4,1,0] + [6,0,2,6,0,9,6,2,0,1,4,1,3,9,7] , A=[0] , C=1 , 0+7+1=8 , A->8 , C->0
[9,5,6,7,3,5,6,2,5,3,1,5,4,1] + [6,0,2,6,0,9,6,2,0,1,4,1,3,9] , A=[8,0] , C=0 , 1+9+0=10 , A->0 , C->1
[9,5,6,7,3,5,6,2,5,3,1,5,4] + [6,0,2,6,0,9,6,2,0,1,4,1,3] , A=[0,8,0] , C=1 , 4+3+1=8 , A->8 , C->0
[9,5,6,7,3,5,6,2,5,3,1,5] + [6,0,2,6,0,9,6,2,0,1,4,1] , A=[8,0,8,0] , C=0 , 5+1+0=6 , A->6 , C->0
[9,5,6,7,3,5,6,2,5,3,1] + [6,0,2,6,0,9,6,2,0,1,4] , A=[6,8,0,8,0] , C=0 , 1+4+0=5 , A->5 , C->0
[9,5,6,7,3,5,6,2,5,3] + [6,0,2,6,0,9,6,2,0,1] , A=[5,6,8,0,8,0] , C=0 , 3+1+0=4 , A->4 , C->0
[9,5,6,7,3,5,6,2,5] + [6,0,2,6,0,9,6,2,0] , A=[4,5,6,8,0,8,0] , C=0 , 5+0+0=5 , A->5 , C->0
[9,5,6,7,3,5,6,2] + [6,0,2,6,0,9,6,2] , A=[5,4,5,6,8,0,8,0] , C=0 , 2+2+0=4 , A->4 , C->0
[9,5,6,7,3,5,6] + [6,0,2,6,0,9,6] , A=[4,5,4,5,6,8,0,8,0] , C=0 , 6+6+0=12 , A->2 , C->1
[9,5,6,7,3,5] + [6,0,2,6,0,9] , A=[2,4,5,4,5,6,8,0,8,0] , C=1 , 5+9+1=15 , A->5 , C->1
[9,5,6,7,3] + [6,0,2,6,0] , A=[5,2,4,5,4,5,6,8,0,8,0] , C=1 , 3+0+1=4 , A->4 , C->0
[9,5,6,7] + [6,0,2,6] , A=[4,5,2,4,5,4,5,6,8,0,8,0] , C=0 , 7+6+0=13 , A->3 , C->1
[9,5,6] + [6,0,2] , A=[3,4,5,2,4,5,4,5,6,8,0,8,0] , C=1 , 6+2+1=9 , A->9 , C->0
[9,5] + [6,0] , A=[9,3,4,5,2,4,5,4,5,6,8,0,8,0] , C=0 , 5+0+0=5 , A->5 , C->0
[9] + [6] , A=[5,9,3,4,5,2,4,5,4,5,6,8,0,8,0] , C=0 , 9+6+0=15 , A->5 , C->1
[] + [] , A=[5,5,9,3,4,5,2,4,5,4,5,6,8,0,8,0] C=1 , END
</scratch>
15593452454568080
| 15593452454568080 | 16 |
Input:
2040943489804475+5136564348519442
Target:
| Input:
2040943489804475+5136564348519442
Target:
[2,0,4,0,9,4,3,4,8,9,8,0,4,4,7,5] + [5,1,3,6,5,6,4,3,4,8,5,1,9,4,4,2] , A=[] , C=0 , 5+2+0=7 , A->7 , C->0
[2,0,4,0,9,4,3,4,8,9,8,0,4,4,7] + [5,1,3,6,5,6,4,3,4,8,5,1,9,4,4] , A=[7] , C=0 , 7+4+0=11 , A->1 , C->1
[2,0,4,0,9,4,3,4,8,9,8,0,4,4] + [5,1,3,6,5,6,4,3,4,8,5,1,9,4] , A=[1,7] , C=1 , 4+4+1=9 , A->9 , C->0
[2,0,4,0,9,4,3,4,8,9,8,0,4] + [5,1,3,6,5,6,4,3,4,8,5,1,9] , A=[9,1,7] , C=0 , 4+9+0=13 , A->3 , C->1
[2,0,4,0,9,4,3,4,8,9,8,0] + [5,1,3,6,5,6,4,3,4,8,5,1] , A=[3,9,1,7] , C=1 , 0+1+1=2 , A->2 , C->0
[2,0,4,0,9,4,3,4,8,9,8] + [5,1,3,6,5,6,4,3,4,8,5] , A=[2,3,9,1,7] , C=0 , 8+5+0=13 , A->3 , C->1
[2,0,4,0,9,4,3,4,8,9] + [5,1,3,6,5,6,4,3,4,8] , A=[3,2,3,9,1,7] , C=1 , 9+8+1=18 , A->8 , C->1
[2,0,4,0,9,4,3,4,8] + [5,1,3,6,5,6,4,3,4] , A=[8,3,2,3,9,1,7] , C=1 , 8+4+1=13 , A->3 , C->1
[2,0,4,0,9,4,3,4] + [5,1,3,6,5,6,4,3] , A=[3,8,3,2,3,9,1,7] , C=1 , 4+3+1=8 , A->8 , C->0
[2,0,4,0,9,4,3] + [5,1,3,6,5,6,4] , A=[8,3,8,3,2,3,9,1,7] , C=0 , 3+4+0=7 , A->7 , C->0
[2,0,4,0,9,4] + [5,1,3,6,5,6] , A=[7,8,3,8,3,2,3,9,1,7] , C=0 , 4+6+0=10 , A->0 , C->1
[2,0,4,0,9] + [5,1,3,6,5] , A=[0,7,8,3,8,3,2,3,9,1,7] , C=1 , 9+5+1=15 , A->5 , C->1
[2,0,4,0] + [5,1,3,6] , A=[5,0,7,8,3,8,3,2,3,9,1,7] , C=1 , 0+6+1=7 , A->7 , C->0
[2,0,4] + [5,1,3] , A=[7,5,0,7,8,3,8,3,2,3,9,1,7] , C=0 , 4+3+0=7 , A->7 , C->0
[2,0] + [5,1] , A=[7,7,5,0,7,8,3,8,3,2,3,9,1,7] , C=0 , 0+1+0=1 , A->1 , C->0
[2] + [5] , A=[1,7,7,5,0,7,8,3,8,3,2,3,9,1,7] , C=0 , 2+5+0=7 , A->7 , C->0
[] + [] , A=[7,1,7,7,5,0,7,8,3,8,3,2,3,9,1,7] C=0 , END
</scratch>
7177507838323917
| 7177507838323917 | 16 |
Input:
3384465478687033+7935056997368780
Target:
| Input:
3384465478687033+7935056997368780
Target:
[3,3,8,4,4,6,5,4,7,8,6,8,7,0,3,3] + [7,9,3,5,0,5,6,9,9,7,3,6,8,7,8,0] , A=[] , C=0 , 3+0+0=3 , A->3 , C->0
[3,3,8,4,4,6,5,4,7,8,6,8,7,0,3] + [7,9,3,5,0,5,6,9,9,7,3,6,8,7,8] , A=[3] , C=0 , 3+8+0=11 , A->1 , C->1
[3,3,8,4,4,6,5,4,7,8,6,8,7,0] + [7,9,3,5,0,5,6,9,9,7,3,6,8,7] , A=[1,3] , C=1 , 0+7+1=8 , A->8 , C->0
[3,3,8,4,4,6,5,4,7,8,6,8,7] + [7,9,3,5,0,5,6,9,9,7,3,6,8] , A=[8,1,3] , C=0 , 7+8+0=15 , A->5 , C->1
[3,3,8,4,4,6,5,4,7,8,6,8] + [7,9,3,5,0,5,6,9,9,7,3,6] , A=[5,8,1,3] , C=1 , 8+6+1=15 , A->5 , C->1
[3,3,8,4,4,6,5,4,7,8,6] + [7,9,3,5,0,5,6,9,9,7,3] , A=[5,5,8,1,3] , C=1 , 6+3+1=10 , A->0 , C->1
[3,3,8,4,4,6,5,4,7,8] + [7,9,3,5,0,5,6,9,9,7] , A=[0,5,5,8,1,3] , C=1 , 8+7+1=16 , A->6 , C->1
[3,3,8,4,4,6,5,4,7] + [7,9,3,5,0,5,6,9,9] , A=[6,0,5,5,8,1,3] , C=1 , 7+9+1=17 , A->7 , C->1
[3,3,8,4,4,6,5,4] + [7,9,3,5,0,5,6,9] , A=[7,6,0,5,5,8,1,3] , C=1 , 4+9+1=14 , A->4 , C->1
[3,3,8,4,4,6,5] + [7,9,3,5,0,5,6] , A=[4,7,6,0,5,5,8,1,3] , C=1 , 5+6+1=12 , A->2 , C->1
[3,3,8,4,4,6] + [7,9,3,5,0,5] , A=[2,4,7,6,0,5,5,8,1,3] , C=1 , 6+5+1=12 , A->2 , C->1
[3,3,8,4,4] + [7,9,3,5,0] , A=[2,2,4,7,6,0,5,5,8,1,3] , C=1 , 4+0+1=5 , A->5 , C->0
[3,3,8,4] + [7,9,3,5] , A=[5,2,2,4,7,6,0,5,5,8,1,3] , C=0 , 4+5+0=9 , A->9 , C->0
[3,3,8] + [7,9,3] , A=[9,5,2,2,4,7,6,0,5,5,8,1,3] , C=0 , 8+3+0=11 , A->1 , C->1
[3,3] + [7,9] , A=[1,9,5,2,2,4,7,6,0,5,5,8,1,3] , C=1 , 3+9+1=13 , A->3 , C->1
[3] + [7] , A=[3,1,9,5,2,2,4,7,6,0,5,5,8,1,3] , C=1 , 3+7+1=11 , A->1 , C->1
[] + [] , A=[1,3,1,9,5,2,2,4,7,6,0,5,5,8,1,3] C=1 , END
</scratch>
11319522476055813
| 11319522476055813 | 16 |
Input:
9390687527824833+5586379080673824
Target:
| Input:
9390687527824833+5586379080673824
Target:
[9,3,9,0,6,8,7,5,2,7,8,2,4,8,3,3] + [5,5,8,6,3,7,9,0,8,0,6,7,3,8,2,4] , A=[] , C=0 , 3+4+0=7 , A->7 , C->0
[9,3,9,0,6,8,7,5,2,7,8,2,4,8,3] + [5,5,8,6,3,7,9,0,8,0,6,7,3,8,2] , A=[7] , C=0 , 3+2+0=5 , A->5 , C->0
[9,3,9,0,6,8,7,5,2,7,8,2,4,8] + [5,5,8,6,3,7,9,0,8,0,6,7,3,8] , A=[5,7] , C=0 , 8+8+0=16 , A->6 , C->1
[9,3,9,0,6,8,7,5,2,7,8,2,4] + [5,5,8,6,3,7,9,0,8,0,6,7,3] , A=[6,5,7] , C=1 , 4+3+1=8 , A->8 , C->0
[9,3,9,0,6,8,7,5,2,7,8,2] + [5,5,8,6,3,7,9,0,8,0,6,7] , A=[8,6,5,7] , C=0 , 2+7+0=9 , A->9 , C->0
[9,3,9,0,6,8,7,5,2,7,8] + [5,5,8,6,3,7,9,0,8,0,6] , A=[9,8,6,5,7] , C=0 , 8+6+0=14 , A->4 , C->1
[9,3,9,0,6,8,7,5,2,7] + [5,5,8,6,3,7,9,0,8,0] , A=[4,9,8,6,5,7] , C=1 , 7+0+1=8 , A->8 , C->0
[9,3,9,0,6,8,7,5,2] + [5,5,8,6,3,7,9,0,8] , A=[8,4,9,8,6,5,7] , C=0 , 2+8+0=10 , A->0 , C->1
[9,3,9,0,6,8,7,5] + [5,5,8,6,3,7,9,0] , A=[0,8,4,9,8,6,5,7] , C=1 , 5+0+1=6 , A->6 , C->0
[9,3,9,0,6,8,7] + [5,5,8,6,3,7,9] , A=[6,0,8,4,9,8,6,5,7] , C=0 , 7+9+0=16 , A->6 , C->1
[9,3,9,0,6,8] + [5,5,8,6,3,7] , A=[6,6,0,8,4,9,8,6,5,7] , C=1 , 8+7+1=16 , A->6 , C->1
[9,3,9,0,6] + [5,5,8,6,3] , A=[6,6,6,0,8,4,9,8,6,5,7] , C=1 , 6+3+1=10 , A->0 , C->1
[9,3,9,0] + [5,5,8,6] , A=[0,6,6,6,0,8,4,9,8,6,5,7] , C=1 , 0+6+1=7 , A->7 , C->0
[9,3,9] + [5,5,8] , A=[7,0,6,6,6,0,8,4,9,8,6,5,7] , C=0 , 9+8+0=17 , A->7 , C->1
[9,3] + [5,5] , A=[7,7,0,6,6,6,0,8,4,9,8,6,5,7] , C=1 , 3+5+1=9 , A->9 , C->0
[9] + [5] , A=[9,7,7,0,6,6,6,0,8,4,9,8,6,5,7] , C=0 , 9+5+0=14 , A->4 , C->1
[] + [] , A=[4,9,7,7,0,6,6,6,0,8,4,9,8,6,5,7] C=1 , END
</scratch>
14977066608498657
| 14977066608498657 | 16 |
Input:
3399567279368778+9479857520208907
Target:
| Input:
3399567279368778+9479857520208907
Target:
[3,3,9,9,5,6,7,2,7,9,3,6,8,7,7,8] + [9,4,7,9,8,5,7,5,2,0,2,0,8,9,0,7] , A=[] , C=0 , 8+7+0=15 , A->5 , C->1
[3,3,9,9,5,6,7,2,7,9,3,6,8,7,7] + [9,4,7,9,8,5,7,5,2,0,2,0,8,9,0] , A=[5] , C=1 , 7+0+1=8 , A->8 , C->0
[3,3,9,9,5,6,7,2,7,9,3,6,8,7] + [9,4,7,9,8,5,7,5,2,0,2,0,8,9] , A=[8,5] , C=0 , 7+9+0=16 , A->6 , C->1
[3,3,9,9,5,6,7,2,7,9,3,6,8] + [9,4,7,9,8,5,7,5,2,0,2,0,8] , A=[6,8,5] , C=1 , 8+8+1=17 , A->7 , C->1
[3,3,9,9,5,6,7,2,7,9,3,6] + [9,4,7,9,8,5,7,5,2,0,2,0] , A=[7,6,8,5] , C=1 , 6+0+1=7 , A->7 , C->0
[3,3,9,9,5,6,7,2,7,9,3] + [9,4,7,9,8,5,7,5,2,0,2] , A=[7,7,6,8,5] , C=0 , 3+2+0=5 , A->5 , C->0
[3,3,9,9,5,6,7,2,7,9] + [9,4,7,9,8,5,7,5,2,0] , A=[5,7,7,6,8,5] , C=0 , 9+0+0=9 , A->9 , C->0
[3,3,9,9,5,6,7,2,7] + [9,4,7,9,8,5,7,5,2] , A=[9,5,7,7,6,8,5] , C=0 , 7+2+0=9 , A->9 , C->0
[3,3,9,9,5,6,7,2] + [9,4,7,9,8,5,7,5] , A=[9,9,5,7,7,6,8,5] , C=0 , 2+5+0=7 , A->7 , C->0
[3,3,9,9,5,6,7] + [9,4,7,9,8,5,7] , A=[7,9,9,5,7,7,6,8,5] , C=0 , 7+7+0=14 , A->4 , C->1
[3,3,9,9,5,6] + [9,4,7,9,8,5] , A=[4,7,9,9,5,7,7,6,8,5] , C=1 , 6+5+1=12 , A->2 , C->1
[3,3,9,9,5] + [9,4,7,9,8] , A=[2,4,7,9,9,5,7,7,6,8,5] , C=1 , 5+8+1=14 , A->4 , C->1
[3,3,9,9] + [9,4,7,9] , A=[4,2,4,7,9,9,5,7,7,6,8,5] , C=1 , 9+9+1=19 , A->9 , C->1
[3,3,9] + [9,4,7] , A=[9,4,2,4,7,9,9,5,7,7,6,8,5] , C=1 , 9+7+1=17 , A->7 , C->1
[3,3] + [9,4] , A=[7,9,4,2,4,7,9,9,5,7,7,6,8,5] , C=1 , 3+4+1=8 , A->8 , C->0
[3] + [9] , A=[8,7,9,4,2,4,7,9,9,5,7,7,6,8,5] , C=0 , 3+9+0=12 , A->2 , C->1
[] + [] , A=[2,8,7,9,4,2,4,7,9,9,5,7,7,6,8,5] C=1 , END
</scratch>
12879424799577685
| 12879424799577685 | 16 |
Input:
4115330546667421+4284938386733162
Target:
| Input:
4115330546667421+4284938386733162
Target:
[4,1,1,5,3,3,0,5,4,6,6,6,7,4,2,1] + [4,2,8,4,9,3,8,3,8,6,7,3,3,1,6,2] , A=[] , C=0 , 1+2+0=3 , A->3 , C->0
[4,1,1,5,3,3,0,5,4,6,6,6,7,4,2] + [4,2,8,4,9,3,8,3,8,6,7,3,3,1,6] , A=[3] , C=0 , 2+6+0=8 , A->8 , C->0
[4,1,1,5,3,3,0,5,4,6,6,6,7,4] + [4,2,8,4,9,3,8,3,8,6,7,3,3,1] , A=[8,3] , C=0 , 4+1+0=5 , A->5 , C->0
[4,1,1,5,3,3,0,5,4,6,6,6,7] + [4,2,8,4,9,3,8,3,8,6,7,3,3] , A=[5,8,3] , C=0 , 7+3+0=10 , A->0 , C->1
[4,1,1,5,3,3,0,5,4,6,6,6] + [4,2,8,4,9,3,8,3,8,6,7,3] , A=[0,5,8,3] , C=1 , 6+3+1=10 , A->0 , C->1
[4,1,1,5,3,3,0,5,4,6,6] + [4,2,8,4,9,3,8,3,8,6,7] , A=[0,0,5,8,3] , C=1 , 6+7+1=14 , A->4 , C->1
[4,1,1,5,3,3,0,5,4,6] + [4,2,8,4,9,3,8,3,8,6] , A=[4,0,0,5,8,3] , C=1 , 6+6+1=13 , A->3 , C->1
[4,1,1,5,3,3,0,5,4] + [4,2,8,4,9,3,8,3,8] , A=[3,4,0,0,5,8,3] , C=1 , 4+8+1=13 , A->3 , C->1
[4,1,1,5,3,3,0,5] + [4,2,8,4,9,3,8,3] , A=[3,3,4,0,0,5,8,3] , C=1 , 5+3+1=9 , A->9 , C->0
[4,1,1,5,3,3,0] + [4,2,8,4,9,3,8] , A=[9,3,3,4,0,0,5,8,3] , C=0 , 0+8+0=8 , A->8 , C->0
[4,1,1,5,3,3] + [4,2,8,4,9,3] , A=[8,9,3,3,4,0,0,5,8,3] , C=0 , 3+3+0=6 , A->6 , C->0
[4,1,1,5,3] + [4,2,8,4,9] , A=[6,8,9,3,3,4,0,0,5,8,3] , C=0 , 3+9+0=12 , A->2 , C->1
[4,1,1,5] + [4,2,8,4] , A=[2,6,8,9,3,3,4,0,0,5,8,3] , C=1 , 5+4+1=10 , A->0 , C->1
[4,1,1] + [4,2,8] , A=[0,2,6,8,9,3,3,4,0,0,5,8,3] , C=1 , 1+8+1=10 , A->0 , C->1
[4,1] + [4,2] , A=[0,0,2,6,8,9,3,3,4,0,0,5,8,3] , C=1 , 1+2+1=4 , A->4 , C->0
[4] + [4] , A=[4,0,0,2,6,8,9,3,3,4,0,0,5,8,3] , C=0 , 4+4+0=8 , A->8 , C->0
[] + [] , A=[8,4,0,0,2,6,8,9,3,3,4,0,0,5,8,3] C=0 , END
</scratch>
8400268933400583
| 8400268933400583 | 16 |
Input:
5343851160679101+7310934876663645
Target:
| Input:
5343851160679101+7310934876663645
Target:
[5,3,4,3,8,5,1,1,6,0,6,7,9,1,0,1] + [7,3,1,0,9,3,4,8,7,6,6,6,3,6,4,5] , A=[] , C=0 , 1+5+0=6 , A->6 , C->0
[5,3,4,3,8,5,1,1,6,0,6,7,9,1,0] + [7,3,1,0,9,3,4,8,7,6,6,6,3,6,4] , A=[6] , C=0 , 0+4+0=4 , A->4 , C->0
[5,3,4,3,8,5,1,1,6,0,6,7,9,1] + [7,3,1,0,9,3,4,8,7,6,6,6,3,6] , A=[4,6] , C=0 , 1+6+0=7 , A->7 , C->0
[5,3,4,3,8,5,1,1,6,0,6,7,9] + [7,3,1,0,9,3,4,8,7,6,6,6,3] , A=[7,4,6] , C=0 , 9+3+0=12 , A->2 , C->1
[5,3,4,3,8,5,1,1,6,0,6,7] + [7,3,1,0,9,3,4,8,7,6,6,6] , A=[2,7,4,6] , C=1 , 7+6+1=14 , A->4 , C->1
[5,3,4,3,8,5,1,1,6,0,6] + [7,3,1,0,9,3,4,8,7,6,6] , A=[4,2,7,4,6] , C=1 , 6+6+1=13 , A->3 , C->1
[5,3,4,3,8,5,1,1,6,0] + [7,3,1,0,9,3,4,8,7,6] , A=[3,4,2,7,4,6] , C=1 , 0+6+1=7 , A->7 , C->0
[5,3,4,3,8,5,1,1,6] + [7,3,1,0,9,3,4,8,7] , A=[7,3,4,2,7,4,6] , C=0 , 6+7+0=13 , A->3 , C->1
[5,3,4,3,8,5,1,1] + [7,3,1,0,9,3,4,8] , A=[3,7,3,4,2,7,4,6] , C=1 , 1+8+1=10 , A->0 , C->1
[5,3,4,3,8,5,1] + [7,3,1,0,9,3,4] , A=[0,3,7,3,4,2,7,4,6] , C=1 , 1+4+1=6 , A->6 , C->0
[5,3,4,3,8,5] + [7,3,1,0,9,3] , A=[6,0,3,7,3,4,2,7,4,6] , C=0 , 5+3+0=8 , A->8 , C->0
[5,3,4,3,8] + [7,3,1,0,9] , A=[8,6,0,3,7,3,4,2,7,4,6] , C=0 , 8+9+0=17 , A->7 , C->1
[5,3,4,3] + [7,3,1,0] , A=[7,8,6,0,3,7,3,4,2,7,4,6] , C=1 , 3+0+1=4 , A->4 , C->0
[5,3,4] + [7,3,1] , A=[4,7,8,6,0,3,7,3,4,2,7,4,6] , C=0 , 4+1+0=5 , A->5 , C->0
[5,3] + [7,3] , A=[5,4,7,8,6,0,3,7,3,4,2,7,4,6] , C=0 , 3+3+0=6 , A->6 , C->0
[5] + [7] , A=[6,5,4,7,8,6,0,3,7,3,4,2,7,4,6] , C=0 , 5+7+0=12 , A->2 , C->1
[] + [] , A=[2,6,5,4,7,8,6,0,3,7,3,4,2,7,4,6] C=1 , END
</scratch>
12654786037342746
| 12654786037342746 | 16 |
Input:
1092674502933903+9825338172299564
Target:
| Input:
1092674502933903+9825338172299564
Target:
[1,0,9,2,6,7,4,5,0,2,9,3,3,9,0,3] + [9,8,2,5,3,3,8,1,7,2,2,9,9,5,6,4] , A=[] , C=0 , 3+4+0=7 , A->7 , C->0
[1,0,9,2,6,7,4,5,0,2,9,3,3,9,0] + [9,8,2,5,3,3,8,1,7,2,2,9,9,5,6] , A=[7] , C=0 , 0+6+0=6 , A->6 , C->0
[1,0,9,2,6,7,4,5,0,2,9,3,3,9] + [9,8,2,5,3,3,8,1,7,2,2,9,9,5] , A=[6,7] , C=0 , 9+5+0=14 , A->4 , C->1
[1,0,9,2,6,7,4,5,0,2,9,3,3] + [9,8,2,5,3,3,8,1,7,2,2,9,9] , A=[4,6,7] , C=1 , 3+9+1=13 , A->3 , C->1
[1,0,9,2,6,7,4,5,0,2,9,3] + [9,8,2,5,3,3,8,1,7,2,2,9] , A=[3,4,6,7] , C=1 , 3+9+1=13 , A->3 , C->1
[1,0,9,2,6,7,4,5,0,2,9] + [9,8,2,5,3,3,8,1,7,2,2] , A=[3,3,4,6,7] , C=1 , 9+2+1=12 , A->2 , C->1
[1,0,9,2,6,7,4,5,0,2] + [9,8,2,5,3,3,8,1,7,2] , A=[2,3,3,4,6,7] , C=1 , 2+2+1=5 , A->5 , C->0
[1,0,9,2,6,7,4,5,0] + [9,8,2,5,3,3,8,1,7] , A=[5,2,3,3,4,6,7] , C=0 , 0+7+0=7 , A->7 , C->0
[1,0,9,2,6,7,4,5] + [9,8,2,5,3,3,8,1] , A=[7,5,2,3,3,4,6,7] , C=0 , 5+1+0=6 , A->6 , C->0
[1,0,9,2,6,7,4] + [9,8,2,5,3,3,8] , A=[6,7,5,2,3,3,4,6,7] , C=0 , 4+8+0=12 , A->2 , C->1
[1,0,9,2,6,7] + [9,8,2,5,3,3] , A=[2,6,7,5,2,3,3,4,6,7] , C=1 , 7+3+1=11 , A->1 , C->1
[1,0,9,2,6] + [9,8,2,5,3] , A=[1,2,6,7,5,2,3,3,4,6,7] , C=1 , 6+3+1=10 , A->0 , C->1
[1,0,9,2] + [9,8,2,5] , A=[0,1,2,6,7,5,2,3,3,4,6,7] , C=1 , 2+5+1=8 , A->8 , C->0
[1,0,9] + [9,8,2] , A=[8,0,1,2,6,7,5,2,3,3,4,6,7] , C=0 , 9+2+0=11 , A->1 , C->1
[1,0] + [9,8] , A=[1,8,0,1,2,6,7,5,2,3,3,4,6,7] , C=1 , 0+8+1=9 , A->9 , C->0
[1] + [9] , A=[9,1,8,0,1,2,6,7,5,2,3,3,4,6,7] , C=0 , 1+9+0=10 , A->0 , C->1
[] + [] , A=[0,9,1,8,0,1,2,6,7,5,2,3,3,4,6,7] C=1 , END
</scratch>
10918012675233467
| 10918012675233467 | 16 |
Input:
1160628765181003+8294902175764025
Target:
| Input:
1160628765181003+8294902175764025
Target:
[1,1,6,0,6,2,8,7,6,5,1,8,1,0,0,3] + [8,2,9,4,9,0,2,1,7,5,7,6,4,0,2,5] , A=[] , C=0 , 3+5+0=8 , A->8 , C->0
[1,1,6,0,6,2,8,7,6,5,1,8,1,0,0] + [8,2,9,4,9,0,2,1,7,5,7,6,4,0,2] , A=[8] , C=0 , 0+2+0=2 , A->2 , C->0
[1,1,6,0,6,2,8,7,6,5,1,8,1,0] + [8,2,9,4,9,0,2,1,7,5,7,6,4,0] , A=[2,8] , C=0 , 0+0+0=0 , A->0 , C->0
[1,1,6,0,6,2,8,7,6,5,1,8,1] + [8,2,9,4,9,0,2,1,7,5,7,6,4] , A=[0,2,8] , C=0 , 1+4+0=5 , A->5 , C->0
[1,1,6,0,6,2,8,7,6,5,1,8] + [8,2,9,4,9,0,2,1,7,5,7,6] , A=[5,0,2,8] , C=0 , 8+6+0=14 , A->4 , C->1
[1,1,6,0,6,2,8,7,6,5,1] + [8,2,9,4,9,0,2,1,7,5,7] , A=[4,5,0,2,8] , C=1 , 1+7+1=9 , A->9 , C->0
[1,1,6,0,6,2,8,7,6,5] + [8,2,9,4,9,0,2,1,7,5] , A=[9,4,5,0,2,8] , C=0 , 5+5+0=10 , A->0 , C->1
[1,1,6,0,6,2,8,7,6] + [8,2,9,4,9,0,2,1,7] , A=[0,9,4,5,0,2,8] , C=1 , 6+7+1=14 , A->4 , C->1
[1,1,6,0,6,2,8,7] + [8,2,9,4,9,0,2,1] , A=[4,0,9,4,5,0,2,8] , C=1 , 7+1+1=9 , A->9 , C->0
[1,1,6,0,6,2,8] + [8,2,9,4,9,0,2] , A=[9,4,0,9,4,5,0,2,8] , C=0 , 8+2+0=10 , A->0 , C->1
[1,1,6,0,6,2] + [8,2,9,4,9,0] , A=[0,9,4,0,9,4,5,0,2,8] , C=1 , 2+0+1=3 , A->3 , C->0
[1,1,6,0,6] + [8,2,9,4,9] , A=[3,0,9,4,0,9,4,5,0,2,8] , C=0 , 6+9+0=15 , A->5 , C->1
[1,1,6,0] + [8,2,9,4] , A=[5,3,0,9,4,0,9,4,5,0,2,8] , C=1 , 0+4+1=5 , A->5 , C->0
[1,1,6] + [8,2,9] , A=[5,5,3,0,9,4,0,9,4,5,0,2,8] , C=0 , 6+9+0=15 , A->5 , C->1
[1,1] + [8,2] , A=[5,5,5,3,0,9,4,0,9,4,5,0,2,8] , C=1 , 1+2+1=4 , A->4 , C->0
[1] + [8] , A=[4,5,5,5,3,0,9,4,0,9,4,5,0,2,8] , C=0 , 1+8+0=9 , A->9 , C->0
[] + [] , A=[9,4,5,5,5,3,0,9,4,0,9,4,5,0,2,8] C=0 , END
</scratch>
9455530940945028
| 9455530940945028 | 16 |
Input:
1961909905305871+2773875971064586
Target:
| Input:
1961909905305871+2773875971064586
Target:
[1,9,6,1,9,0,9,9,0,5,3,0,5,8,7,1] + [2,7,7,3,8,7,5,9,7,1,0,6,4,5,8,6] , A=[] , C=0 , 1+6+0=7 , A->7 , C->0
[1,9,6,1,9,0,9,9,0,5,3,0,5,8,7] + [2,7,7,3,8,7,5,9,7,1,0,6,4,5,8] , A=[7] , C=0 , 7+8+0=15 , A->5 , C->1
[1,9,6,1,9,0,9,9,0,5,3,0,5,8] + [2,7,7,3,8,7,5,9,7,1,0,6,4,5] , A=[5,7] , C=1 , 8+5+1=14 , A->4 , C->1
[1,9,6,1,9,0,9,9,0,5,3,0,5] + [2,7,7,3,8,7,5,9,7,1,0,6,4] , A=[4,5,7] , C=1 , 5+4+1=10 , A->0 , C->1
[1,9,6,1,9,0,9,9,0,5,3,0] + [2,7,7,3,8,7,5,9,7,1,0,6] , A=[0,4,5,7] , C=1 , 0+6+1=7 , A->7 , C->0
[1,9,6,1,9,0,9,9,0,5,3] + [2,7,7,3,8,7,5,9,7,1,0] , A=[7,0,4,5,7] , C=0 , 3+0+0=3 , A->3 , C->0
[1,9,6,1,9,0,9,9,0,5] + [2,7,7,3,8,7,5,9,7,1] , A=[3,7,0,4,5,7] , C=0 , 5+1+0=6 , A->6 , C->0
[1,9,6,1,9,0,9,9,0] + [2,7,7,3,8,7,5,9,7] , A=[6,3,7,0,4,5,7] , C=0 , 0+7+0=7 , A->7 , C->0
[1,9,6,1,9,0,9,9] + [2,7,7,3,8,7,5,9] , A=[7,6,3,7,0,4,5,7] , C=0 , 9+9+0=18 , A->8 , C->1
[1,9,6,1,9,0,9] + [2,7,7,3,8,7,5] , A=[8,7,6,3,7,0,4,5,7] , C=1 , 9+5+1=15 , A->5 , C->1
[1,9,6,1,9,0] + [2,7,7,3,8,7] , A=[5,8,7,6,3,7,0,4,5,7] , C=1 , 0+7+1=8 , A->8 , C->0
[1,9,6,1,9] + [2,7,7,3,8] , A=[8,5,8,7,6,3,7,0,4,5,7] , C=0 , 9+8+0=17 , A->7 , C->1
[1,9,6,1] + [2,7,7,3] , A=[7,8,5,8,7,6,3,7,0,4,5,7] , C=1 , 1+3+1=5 , A->5 , C->0
[1,9,6] + [2,7,7] , A=[5,7,8,5,8,7,6,3,7,0,4,5,7] , C=0 , 6+7+0=13 , A->3 , C->1
[1,9] + [2,7] , A=[3,5,7,8,5,8,7,6,3,7,0,4,5,7] , C=1 , 9+7+1=17 , A->7 , C->1
[1] + [2] , A=[7,3,5,7,8,5,8,7,6,3,7,0,4,5,7] , C=1 , 1+2+1=4 , A->4 , C->0
[] + [] , A=[4,7,3,5,7,8,5,8,7,6,3,7,0,4,5,7] C=0 , END
</scratch>
4735785876370457
| 4735785876370457 | 16 |
Input:
6016262029155634+7526968009106727
Target:
| Input:
6016262029155634+7526968009106727
Target:
[6,0,1,6,2,6,2,0,2,9,1,5,5,6,3,4] + [7,5,2,6,9,6,8,0,0,9,1,0,6,7,2,7] , A=[] , C=0 , 4+7+0=11 , A->1 , C->1
[6,0,1,6,2,6,2,0,2,9,1,5,5,6,3] + [7,5,2,6,9,6,8,0,0,9,1,0,6,7,2] , A=[1] , C=1 , 3+2+1=6 , A->6 , C->0
[6,0,1,6,2,6,2,0,2,9,1,5,5,6] + [7,5,2,6,9,6,8,0,0,9,1,0,6,7] , A=[6,1] , C=0 , 6+7+0=13 , A->3 , C->1
[6,0,1,6,2,6,2,0,2,9,1,5,5] + [7,5,2,6,9,6,8,0,0,9,1,0,6] , A=[3,6,1] , C=1 , 5+6+1=12 , A->2 , C->1
[6,0,1,6,2,6,2,0,2,9,1,5] + [7,5,2,6,9,6,8,0,0,9,1,0] , A=[2,3,6,1] , C=1 , 5+0+1=6 , A->6 , C->0
[6,0,1,6,2,6,2,0,2,9,1] + [7,5,2,6,9,6,8,0,0,9,1] , A=[6,2,3,6,1] , C=0 , 1+1+0=2 , A->2 , C->0
[6,0,1,6,2,6,2,0,2,9] + [7,5,2,6,9,6,8,0,0,9] , A=[2,6,2,3,6,1] , C=0 , 9+9+0=18 , A->8 , C->1
[6,0,1,6,2,6,2,0,2] + [7,5,2,6,9,6,8,0,0] , A=[8,2,6,2,3,6,1] , C=1 , 2+0+1=3 , A->3 , C->0
[6,0,1,6,2,6,2,0] + [7,5,2,6,9,6,8,0] , A=[3,8,2,6,2,3,6,1] , C=0 , 0+0+0=0 , A->0 , C->0
[6,0,1,6,2,6,2] + [7,5,2,6,9,6,8] , A=[0,3,8,2,6,2,3,6,1] , C=0 , 2+8+0=10 , A->0 , C->1
[6,0,1,6,2,6] + [7,5,2,6,9,6] , A=[0,0,3,8,2,6,2,3,6,1] , C=1 , 6+6+1=13 , A->3 , C->1
[6,0,1,6,2] + [7,5,2,6,9] , A=[3,0,0,3,8,2,6,2,3,6,1] , C=1 , 2+9+1=12 , A->2 , C->1
[6,0,1,6] + [7,5,2,6] , A=[2,3,0,0,3,8,2,6,2,3,6,1] , C=1 , 6+6+1=13 , A->3 , C->1
[6,0,1] + [7,5,2] , A=[3,2,3,0,0,3,8,2,6,2,3,6,1] , C=1 , 1+2+1=4 , A->4 , C->0
[6,0] + [7,5] , A=[4,3,2,3,0,0,3,8,2,6,2,3,6,1] , C=0 , 0+5+0=5 , A->5 , C->0
[6] + [7] , A=[5,4,3,2,3,0,0,3,8,2,6,2,3,6,1] , C=0 , 6+7+0=13 , A->3 , C->1
[] + [] , A=[3,5,4,3,2,3,0,0,3,8,2,6,2,3,6,1] C=1 , END
</scratch>
13543230038262361
| 13543230038262361 | 16 |
Input:
3253191882046629+5616384895166762
Target:
| Input:
3253191882046629+5616384895166762
Target:
[3,2,5,3,1,9,1,8,8,2,0,4,6,6,2,9] + [5,6,1,6,3,8,4,8,9,5,1,6,6,7,6,2] , A=[] , C=0 , 9+2+0=11 , A->1 , C->1
[3,2,5,3,1,9,1,8,8,2,0,4,6,6,2] + [5,6,1,6,3,8,4,8,9,5,1,6,6,7,6] , A=[1] , C=1 , 2+6+1=9 , A->9 , C->0
[3,2,5,3,1,9,1,8,8,2,0,4,6,6] + [5,6,1,6,3,8,4,8,9,5,1,6,6,7] , A=[9,1] , C=0 , 6+7+0=13 , A->3 , C->1
[3,2,5,3,1,9,1,8,8,2,0,4,6] + [5,6,1,6,3,8,4,8,9,5,1,6,6] , A=[3,9,1] , C=1 , 6+6+1=13 , A->3 , C->1
[3,2,5,3,1,9,1,8,8,2,0,4] + [5,6,1,6,3,8,4,8,9,5,1,6] , A=[3,3,9,1] , C=1 , 4+6+1=11 , A->1 , C->1
[3,2,5,3,1,9,1,8,8,2,0] + [5,6,1,6,3,8,4,8,9,5,1] , A=[1,3,3,9,1] , C=1 , 0+1+1=2 , A->2 , C->0
[3,2,5,3,1,9,1,8,8,2] + [5,6,1,6,3,8,4,8,9,5] , A=[2,1,3,3,9,1] , C=0 , 2+5+0=7 , A->7 , C->0
[3,2,5,3,1,9,1,8,8] + [5,6,1,6,3,8,4,8,9] , A=[7,2,1,3,3,9,1] , C=0 , 8+9+0=17 , A->7 , C->1
[3,2,5,3,1,9,1,8] + [5,6,1,6,3,8,4,8] , A=[7,7,2,1,3,3,9,1] , C=1 , 8+8+1=17 , A->7 , C->1
[3,2,5,3,1,9,1] + [5,6,1,6,3,8,4] , A=[7,7,7,2,1,3,3,9,1] , C=1 , 1+4+1=6 , A->6 , C->0
[3,2,5,3,1,9] + [5,6,1,6,3,8] , A=[6,7,7,7,2,1,3,3,9,1] , C=0 , 9+8+0=17 , A->7 , C->1
[3,2,5,3,1] + [5,6,1,6,3] , A=[7,6,7,7,7,2,1,3,3,9,1] , C=1 , 1+3+1=5 , A->5 , C->0
[3,2,5,3] + [5,6,1,6] , A=[5,7,6,7,7,7,2,1,3,3,9,1] , C=0 , 3+6+0=9 , A->9 , C->0
[3,2,5] + [5,6,1] , A=[9,5,7,6,7,7,7,2,1,3,3,9,1] , C=0 , 5+1+0=6 , A->6 , C->0
[3,2] + [5,6] , A=[6,9,5,7,6,7,7,7,2,1,3,3,9,1] , C=0 , 2+6+0=8 , A->8 , C->0
[3] + [5] , A=[8,6,9,5,7,6,7,7,7,2,1,3,3,9,1] , C=0 , 3+5+0=8 , A->8 , C->0
[] + [] , A=[8,8,6,9,5,7,6,7,7,7,2,1,3,3,9,1] C=0 , END
</scratch>
8869576777213391
| 8869576777213391 | 16 |
Input:
7637353688186866+2657383011701537
Target:
| Input:
7637353688186866+2657383011701537
Target:
[7,6,3,7,3,5,3,6,8,8,1,8,6,8,6,6] + [2,6,5,7,3,8,3,0,1,1,7,0,1,5,3,7] , A=[] , C=0 , 6+7+0=13 , A->3 , C->1
[7,6,3,7,3,5,3,6,8,8,1,8,6,8,6] + [2,6,5,7,3,8,3,0,1,1,7,0,1,5,3] , A=[3] , C=1 , 6+3+1=10 , A->0 , C->1
[7,6,3,7,3,5,3,6,8,8,1,8,6,8] + [2,6,5,7,3,8,3,0,1,1,7,0,1,5] , A=[0,3] , C=1 , 8+5+1=14 , A->4 , C->1
[7,6,3,7,3,5,3,6,8,8,1,8,6] + [2,6,5,7,3,8,3,0,1,1,7,0,1] , A=[4,0,3] , C=1 , 6+1+1=8 , A->8 , C->0
[7,6,3,7,3,5,3,6,8,8,1,8] + [2,6,5,7,3,8,3,0,1,1,7,0] , A=[8,4,0,3] , C=0 , 8+0+0=8 , A->8 , C->0
[7,6,3,7,3,5,3,6,8,8,1] + [2,6,5,7,3,8,3,0,1,1,7] , A=[8,8,4,0,3] , C=0 , 1+7+0=8 , A->8 , C->0
[7,6,3,7,3,5,3,6,8,8] + [2,6,5,7,3,8,3,0,1,1] , A=[8,8,8,4,0,3] , C=0 , 8+1+0=9 , A->9 , C->0
[7,6,3,7,3,5,3,6,8] + [2,6,5,7,3,8,3,0,1] , A=[9,8,8,8,4,0,3] , C=0 , 8+1+0=9 , A->9 , C->0
[7,6,3,7,3,5,3,6] + [2,6,5,7,3,8,3,0] , A=[9,9,8,8,8,4,0,3] , C=0 , 6+0+0=6 , A->6 , C->0
[7,6,3,7,3,5,3] + [2,6,5,7,3,8,3] , A=[6,9,9,8,8,8,4,0,3] , C=0 , 3+3+0=6 , A->6 , C->0
[7,6,3,7,3,5] + [2,6,5,7,3,8] , A=[6,6,9,9,8,8,8,4,0,3] , C=0 , 5+8+0=13 , A->3 , C->1
[7,6,3,7,3] + [2,6,5,7,3] , A=[3,6,6,9,9,8,8,8,4,0,3] , C=1 , 3+3+1=7 , A->7 , C->0
[7,6,3,7] + [2,6,5,7] , A=[7,3,6,6,9,9,8,8,8,4,0,3] , C=0 , 7+7+0=14 , A->4 , C->1
[7,6,3] + [2,6,5] , A=[4,7,3,6,6,9,9,8,8,8,4,0,3] , C=1 , 3+5+1=9 , A->9 , C->0
[7,6] + [2,6] , A=[9,4,7,3,6,6,9,9,8,8,8,4,0,3] , C=0 , 6+6+0=12 , A->2 , C->1
[7] + [2] , A=[2,9,4,7,3,6,6,9,9,8,8,8,4,0,3] , C=1 , 7+2+1=10 , A->0 , C->1
[] + [] , A=[0,2,9,4,7,3,6,6,9,9,8,8,8,4,0,3] C=1 , END
</scratch>
10294736699888403
| 10294736699888403 | 16 |
Input:
7707040366793712+4439637117448462
Target:
| Input:
7707040366793712+4439637117448462
Target:
[7,7,0,7,0,4,0,3,6,6,7,9,3,7,1,2] + [4,4,3,9,6,3,7,1,1,7,4,4,8,4,6,2] , A=[] , C=0 , 2+2+0=4 , A->4 , C->0
[7,7,0,7,0,4,0,3,6,6,7,9,3,7,1] + [4,4,3,9,6,3,7,1,1,7,4,4,8,4,6] , A=[4] , C=0 , 1+6+0=7 , A->7 , C->0
[7,7,0,7,0,4,0,3,6,6,7,9,3,7] + [4,4,3,9,6,3,7,1,1,7,4,4,8,4] , A=[7,4] , C=0 , 7+4+0=11 , A->1 , C->1
[7,7,0,7,0,4,0,3,6,6,7,9,3] + [4,4,3,9,6,3,7,1,1,7,4,4,8] , A=[1,7,4] , C=1 , 3+8+1=12 , A->2 , C->1
[7,7,0,7,0,4,0,3,6,6,7,9] + [4,4,3,9,6,3,7,1,1,7,4,4] , A=[2,1,7,4] , C=1 , 9+4+1=14 , A->4 , C->1
[7,7,0,7,0,4,0,3,6,6,7] + [4,4,3,9,6,3,7,1,1,7,4] , A=[4,2,1,7,4] , C=1 , 7+4+1=12 , A->2 , C->1
[7,7,0,7,0,4,0,3,6,6] + [4,4,3,9,6,3,7,1,1,7] , A=[2,4,2,1,7,4] , C=1 , 6+7+1=14 , A->4 , C->1
[7,7,0,7,0,4,0,3,6] + [4,4,3,9,6,3,7,1,1] , A=[4,2,4,2,1,7,4] , C=1 , 6+1+1=8 , A->8 , C->0
[7,7,0,7,0,4,0,3] + [4,4,3,9,6,3,7,1] , A=[8,4,2,4,2,1,7,4] , C=0 , 3+1+0=4 , A->4 , C->0
[7,7,0,7,0,4,0] + [4,4,3,9,6,3,7] , A=[4,8,4,2,4,2,1,7,4] , C=0 , 0+7+0=7 , A->7 , C->0
[7,7,0,7,0,4] + [4,4,3,9,6,3] , A=[7,4,8,4,2,4,2,1,7,4] , C=0 , 4+3+0=7 , A->7 , C->0
[7,7,0,7,0] + [4,4,3,9,6] , A=[7,7,4,8,4,2,4,2,1,7,4] , C=0 , 0+6+0=6 , A->6 , C->0
[7,7,0,7] + [4,4,3,9] , A=[6,7,7,4,8,4,2,4,2,1,7,4] , C=0 , 7+9+0=16 , A->6 , C->1
[7,7,0] + [4,4,3] , A=[6,6,7,7,4,8,4,2,4,2,1,7,4] , C=1 , 0+3+1=4 , A->4 , C->0
[7,7] + [4,4] , A=[4,6,6,7,7,4,8,4,2,4,2,1,7,4] , C=0 , 7+4+0=11 , A->1 , C->1
[7] + [4] , A=[1,4,6,6,7,7,4,8,4,2,4,2,1,7,4] , C=1 , 7+4+1=12 , A->2 , C->1
[] + [] , A=[2,1,4,6,6,7,7,4,8,4,2,4,2,1,7,4] C=1 , END
</scratch>
12146677484242174
| 12146677484242174 | 16 |
Input:
1617952211371780+5516873504649482
Target:
| Input:
1617952211371780+5516873504649482
Target:
[1,6,1,7,9,5,2,2,1,1,3,7,1,7,8,0] + [5,5,1,6,8,7,3,5,0,4,6,4,9,4,8,2] , A=[] , C=0 , 0+2+0=2 , A->2 , C->0
[1,6,1,7,9,5,2,2,1,1,3,7,1,7,8] + [5,5,1,6,8,7,3,5,0,4,6,4,9,4,8] , A=[2] , C=0 , 8+8+0=16 , A->6 , C->1
[1,6,1,7,9,5,2,2,1,1,3,7,1,7] + [5,5,1,6,8,7,3,5,0,4,6,4,9,4] , A=[6,2] , C=1 , 7+4+1=12 , A->2 , C->1
[1,6,1,7,9,5,2,2,1,1,3,7,1] + [5,5,1,6,8,7,3,5,0,4,6,4,9] , A=[2,6,2] , C=1 , 1+9+1=11 , A->1 , C->1
[1,6,1,7,9,5,2,2,1,1,3,7] + [5,5,1,6,8,7,3,5,0,4,6,4] , A=[1,2,6,2] , C=1 , 7+4+1=12 , A->2 , C->1
[1,6,1,7,9,5,2,2,1,1,3] + [5,5,1,6,8,7,3,5,0,4,6] , A=[2,1,2,6,2] , C=1 , 3+6+1=10 , A->0 , C->1
[1,6,1,7,9,5,2,2,1,1] + [5,5,1,6,8,7,3,5,0,4] , A=[0,2,1,2,6,2] , C=1 , 1+4+1=6 , A->6 , C->0
[1,6,1,7,9,5,2,2,1] + [5,5,1,6,8,7,3,5,0] , A=[6,0,2,1,2,6,2] , C=0 , 1+0+0=1 , A->1 , C->0
[1,6,1,7,9,5,2,2] + [5,5,1,6,8,7,3,5] , A=[1,6,0,2,1,2,6,2] , C=0 , 2+5+0=7 , A->7 , C->0
[1,6,1,7,9,5,2] + [5,5,1,6,8,7,3] , A=[7,1,6,0,2,1,2,6,2] , C=0 , 2+3+0=5 , A->5 , C->0
[1,6,1,7,9,5] + [5,5,1,6,8,7] , A=[5,7,1,6,0,2,1,2,6,2] , C=0 , 5+7+0=12 , A->2 , C->1
[1,6,1,7,9] + [5,5,1,6,8] , A=[2,5,7,1,6,0,2,1,2,6,2] , C=1 , 9+8+1=18 , A->8 , C->1
[1,6,1,7] + [5,5,1,6] , A=[8,2,5,7,1,6,0,2,1,2,6,2] , C=1 , 7+6+1=14 , A->4 , C->1
[1,6,1] + [5,5,1] , A=[4,8,2,5,7,1,6,0,2,1,2,6,2] , C=1 , 1+1+1=3 , A->3 , C->0
[1,6] + [5,5] , A=[3,4,8,2,5,7,1,6,0,2,1,2,6,2] , C=0 , 6+5+0=11 , A->1 , C->1
[1] + [5] , A=[1,3,4,8,2,5,7,1,6,0,2,1,2,6,2] , C=1 , 1+5+1=7 , A->7 , C->0
[] + [] , A=[7,1,3,4,8,2,5,7,1,6,0,2,1,2,6,2] C=0 , END
</scratch>
7134825716021262
| 7134825716021262 | 16 |
Input:
5324059713356761+6205544568665032
Target:
| Input:
5324059713356761+6205544568665032
Target:
[5,3,2,4,0,5,9,7,1,3,3,5,6,7,6,1] + [6,2,0,5,5,4,4,5,6,8,6,6,5,0,3,2] , A=[] , C=0 , 1+2+0=3 , A->3 , C->0
[5,3,2,4,0,5,9,7,1,3,3,5,6,7,6] + [6,2,0,5,5,4,4,5,6,8,6,6,5,0,3] , A=[3] , C=0 , 6+3+0=9 , A->9 , C->0
[5,3,2,4,0,5,9,7,1,3,3,5,6,7] + [6,2,0,5,5,4,4,5,6,8,6,6,5,0] , A=[9,3] , C=0 , 7+0+0=7 , A->7 , C->0
[5,3,2,4,0,5,9,7,1,3,3,5,6] + [6,2,0,5,5,4,4,5,6,8,6,6,5] , A=[7,9,3] , C=0 , 6+5+0=11 , A->1 , C->1
[5,3,2,4,0,5,9,7,1,3,3,5] + [6,2,0,5,5,4,4,5,6,8,6,6] , A=[1,7,9,3] , C=1 , 5+6+1=12 , A->2 , C->1
[5,3,2,4,0,5,9,7,1,3,3] + [6,2,0,5,5,4,4,5,6,8,6] , A=[2,1,7,9,3] , C=1 , 3+6+1=10 , A->0 , C->1
[5,3,2,4,0,5,9,7,1,3] + [6,2,0,5,5,4,4,5,6,8] , A=[0,2,1,7,9,3] , C=1 , 3+8+1=12 , A->2 , C->1
[5,3,2,4,0,5,9,7,1] + [6,2,0,5,5,4,4,5,6] , A=[2,0,2,1,7,9,3] , C=1 , 1+6+1=8 , A->8 , C->0
[5,3,2,4,0,5,9,7] + [6,2,0,5,5,4,4,5] , A=[8,2,0,2,1,7,9,3] , C=0 , 7+5+0=12 , A->2 , C->1
[5,3,2,4,0,5,9] + [6,2,0,5,5,4,4] , A=[2,8,2,0,2,1,7,9,3] , C=1 , 9+4+1=14 , A->4 , C->1
[5,3,2,4,0,5] + [6,2,0,5,5,4] , A=[4,2,8,2,0,2,1,7,9,3] , C=1 , 5+4+1=10 , A->0 , C->1
[5,3,2,4,0] + [6,2,0,5,5] , A=[0,4,2,8,2,0,2,1,7,9,3] , C=1 , 0+5+1=6 , A->6 , C->0
[5,3,2,4] + [6,2,0,5] , A=[6,0,4,2,8,2,0,2,1,7,9,3] , C=0 , 4+5+0=9 , A->9 , C->0
[5,3,2] + [6,2,0] , A=[9,6,0,4,2,8,2,0,2,1,7,9,3] , C=0 , 2+0+0=2 , A->2 , C->0
[5,3] + [6,2] , A=[2,9,6,0,4,2,8,2,0,2,1,7,9,3] , C=0 , 3+2+0=5 , A->5 , C->0
[5] + [6] , A=[5,2,9,6,0,4,2,8,2,0,2,1,7,9,3] , C=0 , 5+6+0=11 , A->1 , C->1
[] + [] , A=[1,5,2,9,6,0,4,2,8,2,0,2,1,7,9,3] C=1 , END
</scratch>
11529604282021793
| 11529604282021793 | 16 |
Input:
7988885578219249+3965361781193294
Target:
| Input:
7988885578219249+3965361781193294
Target:
[7,9,8,8,8,8,5,5,7,8,2,1,9,2,4,9] + [3,9,6,5,3,6,1,7,8,1,1,9,3,2,9,4] , A=[] , C=0 , 9+4+0=13 , A->3 , C->1
[7,9,8,8,8,8,5,5,7,8,2,1,9,2,4] + [3,9,6,5,3,6,1,7,8,1,1,9,3,2,9] , A=[3] , C=1 , 4+9+1=14 , A->4 , C->1
[7,9,8,8,8,8,5,5,7,8,2,1,9,2] + [3,9,6,5,3,6,1,7,8,1,1,9,3,2] , A=[4,3] , C=1 , 2+2+1=5 , A->5 , C->0
[7,9,8,8,8,8,5,5,7,8,2,1,9] + [3,9,6,5,3,6,1,7,8,1,1,9,3] , A=[5,4,3] , C=0 , 9+3+0=12 , A->2 , C->1
[7,9,8,8,8,8,5,5,7,8,2,1] + [3,9,6,5,3,6,1,7,8,1,1,9] , A=[2,5,4,3] , C=1 , 1+9+1=11 , A->1 , C->1
[7,9,8,8,8,8,5,5,7,8,2] + [3,9,6,5,3,6,1,7,8,1,1] , A=[1,2,5,4,3] , C=1 , 2+1+1=4 , A->4 , C->0
[7,9,8,8,8,8,5,5,7,8] + [3,9,6,5,3,6,1,7,8,1] , A=[4,1,2,5,4,3] , C=0 , 8+1+0=9 , A->9 , C->0
[7,9,8,8,8,8,5,5,7] + [3,9,6,5,3,6,1,7,8] , A=[9,4,1,2,5,4,3] , C=0 , 7+8+0=15 , A->5 , C->1
[7,9,8,8,8,8,5,5] + [3,9,6,5,3,6,1,7] , A=[5,9,4,1,2,5,4,3] , C=1 , 5+7+1=13 , A->3 , C->1
[7,9,8,8,8,8,5] + [3,9,6,5,3,6,1] , A=[3,5,9,4,1,2,5,4,3] , C=1 , 5+1+1=7 , A->7 , C->0
[7,9,8,8,8,8] + [3,9,6,5,3,6] , A=[7,3,5,9,4,1,2,5,4,3] , C=0 , 8+6+0=14 , A->4 , C->1
[7,9,8,8,8] + [3,9,6,5,3] , A=[4,7,3,5,9,4,1,2,5,4,3] , C=1 , 8+3+1=12 , A->2 , C->1
[7,9,8,8] + [3,9,6,5] , A=[2,4,7,3,5,9,4,1,2,5,4,3] , C=1 , 8+5+1=14 , A->4 , C->1
[7,9,8] + [3,9,6] , A=[4,2,4,7,3,5,9,4,1,2,5,4,3] , C=1 , 8+6+1=15 , A->5 , C->1
[7,9] + [3,9] , A=[5,4,2,4,7,3,5,9,4,1,2,5,4,3] , C=1 , 9+9+1=19 , A->9 , C->1
[7] + [3] , A=[9,5,4,2,4,7,3,5,9,4,1,2,5,4,3] , C=1 , 7+3+1=11 , A->1 , C->1
[] + [] , A=[1,9,5,4,2,4,7,3,5,9,4,1,2,5,4,3] C=1 , END
</scratch>
11954247359412543
| 11954247359412543 | 16 |
Input:
6304314598027991+5305511682954212
Target:
| Input:
6304314598027991+5305511682954212
Target:
[6,3,0,4,3,1,4,5,9,8,0,2,7,9,9,1] + [5,3,0,5,5,1,1,6,8,2,9,5,4,2,1,2] , A=[] , C=0 , 1+2+0=3 , A->3 , C->0
[6,3,0,4,3,1,4,5,9,8,0,2,7,9,9] + [5,3,0,5,5,1,1,6,8,2,9,5,4,2,1] , A=[3] , C=0 , 9+1+0=10 , A->0 , C->1
[6,3,0,4,3,1,4,5,9,8,0,2,7,9] + [5,3,0,5,5,1,1,6,8,2,9,5,4,2] , A=[0,3] , C=1 , 9+2+1=12 , A->2 , C->1
[6,3,0,4,3,1,4,5,9,8,0,2,7] + [5,3,0,5,5,1,1,6,8,2,9,5,4] , A=[2,0,3] , C=1 , 7+4+1=12 , A->2 , C->1
[6,3,0,4,3,1,4,5,9,8,0,2] + [5,3,0,5,5,1,1,6,8,2,9,5] , A=[2,2,0,3] , C=1 , 2+5+1=8 , A->8 , C->0
[6,3,0,4,3,1,4,5,9,8,0] + [5,3,0,5,5,1,1,6,8,2,9] , A=[8,2,2,0,3] , C=0 , 0+9+0=9 , A->9 , C->0
[6,3,0,4,3,1,4,5,9,8] + [5,3,0,5,5,1,1,6,8,2] , A=[9,8,2,2,0,3] , C=0 , 8+2+0=10 , A->0 , C->1
[6,3,0,4,3,1,4,5,9] + [5,3,0,5,5,1,1,6,8] , A=[0,9,8,2,2,0,3] , C=1 , 9+8+1=18 , A->8 , C->1
[6,3,0,4,3,1,4,5] + [5,3,0,5,5,1,1,6] , A=[8,0,9,8,2,2,0,3] , C=1 , 5+6+1=12 , A->2 , C->1
[6,3,0,4,3,1,4] + [5,3,0,5,5,1,1] , A=[2,8,0,9,8,2,2,0,3] , C=1 , 4+1+1=6 , A->6 , C->0
[6,3,0,4,3,1] + [5,3,0,5,5,1] , A=[6,2,8,0,9,8,2,2,0,3] , C=0 , 1+1+0=2 , A->2 , C->0
[6,3,0,4,3] + [5,3,0,5,5] , A=[2,6,2,8,0,9,8,2,2,0,3] , C=0 , 3+5+0=8 , A->8 , C->0
[6,3,0,4] + [5,3,0,5] , A=[8,2,6,2,8,0,9,8,2,2,0,3] , C=0 , 4+5+0=9 , A->9 , C->0
[6,3,0] + [5,3,0] , A=[9,8,2,6,2,8,0,9,8,2,2,0,3] , C=0 , 0+0+0=0 , A->0 , C->0
[6,3] + [5,3] , A=[0,9,8,2,6,2,8,0,9,8,2,2,0,3] , C=0 , 3+3+0=6 , A->6 , C->0
[6] + [5] , A=[6,0,9,8,2,6,2,8,0,9,8,2,2,0,3] , C=0 , 6+5+0=11 , A->1 , C->1
[] + [] , A=[1,6,0,9,8,2,6,2,8,0,9,8,2,2,0,3] C=1 , END
</scratch>
11609826280982203
| 11609826280982203 | 16 |
Input:
5378579728414261+6203553878654774
Target:
| Input:
5378579728414261+6203553878654774
Target:
[5,3,7,8,5,7,9,7,2,8,4,1,4,2,6,1] + [6,2,0,3,5,5,3,8,7,8,6,5,4,7,7,4] , A=[] , C=0 , 1+4+0=5 , A->5 , C->0
[5,3,7,8,5,7,9,7,2,8,4,1,4,2,6] + [6,2,0,3,5,5,3,8,7,8,6,5,4,7,7] , A=[5] , C=0 , 6+7+0=13 , A->3 , C->1
[5,3,7,8,5,7,9,7,2,8,4,1,4,2] + [6,2,0,3,5,5,3,8,7,8,6,5,4,7] , A=[3,5] , C=1 , 2+7+1=10 , A->0 , C->1
[5,3,7,8,5,7,9,7,2,8,4,1,4] + [6,2,0,3,5,5,3,8,7,8,6,5,4] , A=[0,3,5] , C=1 , 4+4+1=9 , A->9 , C->0
[5,3,7,8,5,7,9,7,2,8,4,1] + [6,2,0,3,5,5,3,8,7,8,6,5] , A=[9,0,3,5] , C=0 , 1+5+0=6 , A->6 , C->0
[5,3,7,8,5,7,9,7,2,8,4] + [6,2,0,3,5,5,3,8,7,8,6] , A=[6,9,0,3,5] , C=0 , 4+6+0=10 , A->0 , C->1
[5,3,7,8,5,7,9,7,2,8] + [6,2,0,3,5,5,3,8,7,8] , A=[0,6,9,0,3,5] , C=1 , 8+8+1=17 , A->7 , C->1
[5,3,7,8,5,7,9,7,2] + [6,2,0,3,5,5,3,8,7] , A=[7,0,6,9,0,3,5] , C=1 , 2+7+1=10 , A->0 , C->1
[5,3,7,8,5,7,9,7] + [6,2,0,3,5,5,3,8] , A=[0,7,0,6,9,0,3,5] , C=1 , 7+8+1=16 , A->6 , C->1
[5,3,7,8,5,7,9] + [6,2,0,3,5,5,3] , A=[6,0,7,0,6,9,0,3,5] , C=1 , 9+3+1=13 , A->3 , C->1
[5,3,7,8,5,7] + [6,2,0,3,5,5] , A=[3,6,0,7,0,6,9,0,3,5] , C=1 , 7+5+1=13 , A->3 , C->1
[5,3,7,8,5] + [6,2,0,3,5] , A=[3,3,6,0,7,0,6,9,0,3,5] , C=1 , 5+5+1=11 , A->1 , C->1
[5,3,7,8] + [6,2,0,3] , A=[1,3,3,6,0,7,0,6,9,0,3,5] , C=1 , 8+3+1=12 , A->2 , C->1
[5,3,7] + [6,2,0] , A=[2,1,3,3,6,0,7,0,6,9,0,3,5] , C=1 , 7+0+1=8 , A->8 , C->0
[5,3] + [6,2] , A=[8,2,1,3,3,6,0,7,0,6,9,0,3,5] , C=0 , 3+2+0=5 , A->5 , C->0
[5] + [6] , A=[5,8,2,1,3,3,6,0,7,0,6,9,0,3,5] , C=0 , 5+6+0=11 , A->1 , C->1
[] + [] , A=[1,5,8,2,1,3,3,6,0,7,0,6,9,0,3,5] C=1 , END
</scratch>
11582133607069035
| 11582133607069035 | 16 |
Input:
1597888188211596+8512772005576367
Target:
| Input:
1597888188211596+8512772005576367
Target:
[1,5,9,7,8,8,8,1,8,8,2,1,1,5,9,6] + [8,5,1,2,7,7,2,0,0,5,5,7,6,3,6,7] , A=[] , C=0 , 6+7+0=13 , A->3 , C->1
[1,5,9,7,8,8,8,1,8,8,2,1,1,5,9] + [8,5,1,2,7,7,2,0,0,5,5,7,6,3,6] , A=[3] , C=1 , 9+6+1=16 , A->6 , C->1
[1,5,9,7,8,8,8,1,8,8,2,1,1,5] + [8,5,1,2,7,7,2,0,0,5,5,7,6,3] , A=[6,3] , C=1 , 5+3+1=9 , A->9 , C->0
[1,5,9,7,8,8,8,1,8,8,2,1,1] + [8,5,1,2,7,7,2,0,0,5,5,7,6] , A=[9,6,3] , C=0 , 1+6+0=7 , A->7 , C->0
[1,5,9,7,8,8,8,1,8,8,2,1] + [8,5,1,2,7,7,2,0,0,5,5,7] , A=[7,9,6,3] , C=0 , 1+7+0=8 , A->8 , C->0
[1,5,9,7,8,8,8,1,8,8,2] + [8,5,1,2,7,7,2,0,0,5,5] , A=[8,7,9,6,3] , C=0 , 2+5+0=7 , A->7 , C->0
[1,5,9,7,8,8,8,1,8,8] + [8,5,1,2,7,7,2,0,0,5] , A=[7,8,7,9,6,3] , C=0 , 8+5+0=13 , A->3 , C->1
[1,5,9,7,8,8,8,1,8] + [8,5,1,2,7,7,2,0,0] , A=[3,7,8,7,9,6,3] , C=1 , 8+0+1=9 , A->9 , C->0
[1,5,9,7,8,8,8,1] + [8,5,1,2,7,7,2,0] , A=[9,3,7,8,7,9,6,3] , C=0 , 1+0+0=1 , A->1 , C->0
[1,5,9,7,8,8,8] + [8,5,1,2,7,7,2] , A=[1,9,3,7,8,7,9,6,3] , C=0 , 8+2+0=10 , A->0 , C->1
[1,5,9,7,8,8] + [8,5,1,2,7,7] , A=[0,1,9,3,7,8,7,9,6,3] , C=1 , 8+7+1=16 , A->6 , C->1
[1,5,9,7,8] + [8,5,1,2,7] , A=[6,0,1,9,3,7,8,7,9,6,3] , C=1 , 8+7+1=16 , A->6 , C->1
[1,5,9,7] + [8,5,1,2] , A=[6,6,0,1,9,3,7,8,7,9,6,3] , C=1 , 7+2+1=10 , A->0 , C->1
[1,5,9] + [8,5,1] , A=[0,6,6,0,1,9,3,7,8,7,9,6,3] , C=1 , 9+1+1=11 , A->1 , C->1
[1,5] + [8,5] , A=[1,0,6,6,0,1,9,3,7,8,7,9,6,3] , C=1 , 5+5+1=11 , A->1 , C->1
[1] + [8] , A=[1,1,0,6,6,0,1,9,3,7,8,7,9,6,3] , C=1 , 1+8+1=10 , A->0 , C->1
[] + [] , A=[0,1,1,0,6,6,0,1,9,3,7,8,7,9,6,3] C=1 , END
</scratch>
10110660193787963
| 10110660193787963 | 16 |
Input:
2945908873240994+7186257715459516
Target:
| Input:
2945908873240994+7186257715459516
Target:
[2,9,4,5,9,0,8,8,7,3,2,4,0,9,9,4] + [7,1,8,6,2,5,7,7,1,5,4,5,9,5,1,6] , A=[] , C=0 , 4+6+0=10 , A->0 , C->1
[2,9,4,5,9,0,8,8,7,3,2,4,0,9,9] + [7,1,8,6,2,5,7,7,1,5,4,5,9,5,1] , A=[0] , C=1 , 9+1+1=11 , A->1 , C->1
[2,9,4,5,9,0,8,8,7,3,2,4,0,9] + [7,1,8,6,2,5,7,7,1,5,4,5,9,5] , A=[1,0] , C=1 , 9+5+1=15 , A->5 , C->1
[2,9,4,5,9,0,8,8,7,3,2,4,0] + [7,1,8,6,2,5,7,7,1,5,4,5,9] , A=[5,1,0] , C=1 , 0+9+1=10 , A->0 , C->1
[2,9,4,5,9,0,8,8,7,3,2,4] + [7,1,8,6,2,5,7,7,1,5,4,5] , A=[0,5,1,0] , C=1 , 4+5+1=10 , A->0 , C->1
[2,9,4,5,9,0,8,8,7,3,2] + [7,1,8,6,2,5,7,7,1,5,4] , A=[0,0,5,1,0] , C=1 , 2+4+1=7 , A->7 , C->0
[2,9,4,5,9,0,8,8,7,3] + [7,1,8,6,2,5,7,7,1,5] , A=[7,0,0,5,1,0] , C=0 , 3+5+0=8 , A->8 , C->0
[2,9,4,5,9,0,8,8,7] + [7,1,8,6,2,5,7,7,1] , A=[8,7,0,0,5,1,0] , C=0 , 7+1+0=8 , A->8 , C->0
[2,9,4,5,9,0,8,8] + [7,1,8,6,2,5,7,7] , A=[8,8,7,0,0,5,1,0] , C=0 , 8+7+0=15 , A->5 , C->1
[2,9,4,5,9,0,8] + [7,1,8,6,2,5,7] , A=[5,8,8,7,0,0,5,1,0] , C=1 , 8+7+1=16 , A->6 , C->1
[2,9,4,5,9,0] + [7,1,8,6,2,5] , A=[6,5,8,8,7,0,0,5,1,0] , C=1 , 0+5+1=6 , A->6 , C->0
[2,9,4,5,9] + [7,1,8,6,2] , A=[6,6,5,8,8,7,0,0,5,1,0] , C=0 , 9+2+0=11 , A->1 , C->1
[2,9,4,5] + [7,1,8,6] , A=[1,6,6,5,8,8,7,0,0,5,1,0] , C=1 , 5+6+1=12 , A->2 , C->1
[2,9,4] + [7,1,8] , A=[2,1,6,6,5,8,8,7,0,0,5,1,0] , C=1 , 4+8+1=13 , A->3 , C->1
[2,9] + [7,1] , A=[3,2,1,6,6,5,8,8,7,0,0,5,1,0] , C=1 , 9+1+1=11 , A->1 , C->1
[2] + [7] , A=[1,3,2,1,6,6,5,8,8,7,0,0,5,1,0] , C=1 , 2+7+1=10 , A->0 , C->1
[] + [] , A=[0,1,3,2,1,6,6,5,8,8,7,0,0,5,1,0] C=1 , END
</scratch>
10132166588700510
| 10132166588700510 | 16 |
Input:
8668128757787031+6469482661920706
Target:
| Input:
8668128757787031+6469482661920706
Target:
[8,6,6,8,1,2,8,7,5,7,7,8,7,0,3,1] + [6,4,6,9,4,8,2,6,6,1,9,2,0,7,0,6] , A=[] , C=0 , 1+6+0=7 , A->7 , C->0
[8,6,6,8,1,2,8,7,5,7,7,8,7,0,3] + [6,4,6,9,4,8,2,6,6,1,9,2,0,7,0] , A=[7] , C=0 , 3+0+0=3 , A->3 , C->0
[8,6,6,8,1,2,8,7,5,7,7,8,7,0] + [6,4,6,9,4,8,2,6,6,1,9,2,0,7] , A=[3,7] , C=0 , 0+7+0=7 , A->7 , C->0
[8,6,6,8,1,2,8,7,5,7,7,8,7] + [6,4,6,9,4,8,2,6,6,1,9,2,0] , A=[7,3,7] , C=0 , 7+0+0=7 , A->7 , C->0
[8,6,6,8,1,2,8,7,5,7,7,8] + [6,4,6,9,4,8,2,6,6,1,9,2] , A=[7,7,3,7] , C=0 , 8+2+0=10 , A->0 , C->1
[8,6,6,8,1,2,8,7,5,7,7] + [6,4,6,9,4,8,2,6,6,1,9] , A=[0,7,7,3,7] , C=1 , 7+9+1=17 , A->7 , C->1
[8,6,6,8,1,2,8,7,5,7] + [6,4,6,9,4,8,2,6,6,1] , A=[7,0,7,7,3,7] , C=1 , 7+1+1=9 , A->9 , C->0
[8,6,6,8,1,2,8,7,5] + [6,4,6,9,4,8,2,6,6] , A=[9,7,0,7,7,3,7] , C=0 , 5+6+0=11 , A->1 , C->1
[8,6,6,8,1,2,8,7] + [6,4,6,9,4,8,2,6] , A=[1,9,7,0,7,7,3,7] , C=1 , 7+6+1=14 , A->4 , C->1
[8,6,6,8,1,2,8] + [6,4,6,9,4,8,2] , A=[4,1,9,7,0,7,7,3,7] , C=1 , 8+2+1=11 , A->1 , C->1
[8,6,6,8,1,2] + [6,4,6,9,4,8] , A=[1,4,1,9,7,0,7,7,3,7] , C=1 , 2+8+1=11 , A->1 , C->1
[8,6,6,8,1] + [6,4,6,9,4] , A=[1,1,4,1,9,7,0,7,7,3,7] , C=1 , 1+4+1=6 , A->6 , C->0
[8,6,6,8] + [6,4,6,9] , A=[6,1,1,4,1,9,7,0,7,7,3,7] , C=0 , 8+9+0=17 , A->7 , C->1
[8,6,6] + [6,4,6] , A=[7,6,1,1,4,1,9,7,0,7,7,3,7] , C=1 , 6+6+1=13 , A->3 , C->1
[8,6] + [6,4] , A=[3,7,6,1,1,4,1,9,7,0,7,7,3,7] , C=1 , 6+4+1=11 , A->1 , C->1
[8] + [6] , A=[1,3,7,6,1,1,4,1,9,7,0,7,7,3,7] , C=1 , 8+6+1=15 , A->5 , C->1
[] + [] , A=[5,1,3,7,6,1,1,4,1,9,7,0,7,7,3,7] C=1 , END
</scratch>
15137611419707737
| 15137611419707737 | 16 |
Input:
3240489771986673+7351764124719854
Target:
| Input:
3240489771986673+7351764124719854
Target:
[3,2,4,0,4,8,9,7,7,1,9,8,6,6,7,3] + [7,3,5,1,7,6,4,1,2,4,7,1,9,8,5,4] , A=[] , C=0 , 3+4+0=7 , A->7 , C->0
[3,2,4,0,4,8,9,7,7,1,9,8,6,6,7] + [7,3,5,1,7,6,4,1,2,4,7,1,9,8,5] , A=[7] , C=0 , 7+5+0=12 , A->2 , C->1
[3,2,4,0,4,8,9,7,7,1,9,8,6,6] + [7,3,5,1,7,6,4,1,2,4,7,1,9,8] , A=[2,7] , C=1 , 6+8+1=15 , A->5 , C->1
[3,2,4,0,4,8,9,7,7,1,9,8,6] + [7,3,5,1,7,6,4,1,2,4,7,1,9] , A=[5,2,7] , C=1 , 6+9+1=16 , A->6 , C->1
[3,2,4,0,4,8,9,7,7,1,9,8] + [7,3,5,1,7,6,4,1,2,4,7,1] , A=[6,5,2,7] , C=1 , 8+1+1=10 , A->0 , C->1
[3,2,4,0,4,8,9,7,7,1,9] + [7,3,5,1,7,6,4,1,2,4,7] , A=[0,6,5,2,7] , C=1 , 9+7+1=17 , A->7 , C->1
[3,2,4,0,4,8,9,7,7,1] + [7,3,5,1,7,6,4,1,2,4] , A=[7,0,6,5,2,7] , C=1 , 1+4+1=6 , A->6 , C->0
[3,2,4,0,4,8,9,7,7] + [7,3,5,1,7,6,4,1,2] , A=[6,7,0,6,5,2,7] , C=0 , 7+2+0=9 , A->9 , C->0
[3,2,4,0,4,8,9,7] + [7,3,5,1,7,6,4,1] , A=[9,6,7,0,6,5,2,7] , C=0 , 7+1+0=8 , A->8 , C->0
[3,2,4,0,4,8,9] + [7,3,5,1,7,6,4] , A=[8,9,6,7,0,6,5,2,7] , C=0 , 9+4+0=13 , A->3 , C->1
[3,2,4,0,4,8] + [7,3,5,1,7,6] , A=[3,8,9,6,7,0,6,5,2,7] , C=1 , 8+6+1=15 , A->5 , C->1
[3,2,4,0,4] + [7,3,5,1,7] , A=[5,3,8,9,6,7,0,6,5,2,7] , C=1 , 4+7+1=12 , A->2 , C->1
[3,2,4,0] + [7,3,5,1] , A=[2,5,3,8,9,6,7,0,6,5,2,7] , C=1 , 0+1+1=2 , A->2 , C->0
[3,2,4] + [7,3,5] , A=[2,2,5,3,8,9,6,7,0,6,5,2,7] , C=0 , 4+5+0=9 , A->9 , C->0
[3,2] + [7,3] , A=[9,2,2,5,3,8,9,6,7,0,6,5,2,7] , C=0 , 2+3+0=5 , A->5 , C->0
[3] + [7] , A=[5,9,2,2,5,3,8,9,6,7,0,6,5,2,7] , C=0 , 3+7+0=10 , A->0 , C->1
[] + [] , A=[0,5,9,2,2,5,3,8,9,6,7,0,6,5,2,7] C=1 , END
</scratch>
10592253896706527
| 10592253896706527 | 16 |
Input:
6260133311568036+6362379718179132
Target:
| Input:
6260133311568036+6362379718179132
Target:
[6,2,6,0,1,3,3,3,1,1,5,6,8,0,3,6] + [6,3,6,2,3,7,9,7,1,8,1,7,9,1,3,2] , A=[] , C=0 , 6+2+0=8 , A->8 , C->0
[6,2,6,0,1,3,3,3,1,1,5,6,8,0,3] + [6,3,6,2,3,7,9,7,1,8,1,7,9,1,3] , A=[8] , C=0 , 3+3+0=6 , A->6 , C->0
[6,2,6,0,1,3,3,3,1,1,5,6,8,0] + [6,3,6,2,3,7,9,7,1,8,1,7,9,1] , A=[6,8] , C=0 , 0+1+0=1 , A->1 , C->0
[6,2,6,0,1,3,3,3,1,1,5,6,8] + [6,3,6,2,3,7,9,7,1,8,1,7,9] , A=[1,6,8] , C=0 , 8+9+0=17 , A->7 , C->1
[6,2,6,0,1,3,3,3,1,1,5,6] + [6,3,6,2,3,7,9,7,1,8,1,7] , A=[7,1,6,8] , C=1 , 6+7+1=14 , A->4 , C->1
[6,2,6,0,1,3,3,3,1,1,5] + [6,3,6,2,3,7,9,7,1,8,1] , A=[4,7,1,6,8] , C=1 , 5+1+1=7 , A->7 , C->0
[6,2,6,0,1,3,3,3,1,1] + [6,3,6,2,3,7,9,7,1,8] , A=[7,4,7,1,6,8] , C=0 , 1+8+0=9 , A->9 , C->0
[6,2,6,0,1,3,3,3,1] + [6,3,6,2,3,7,9,7,1] , A=[9,7,4,7,1,6,8] , C=0 , 1+1+0=2 , A->2 , C->0
[6,2,6,0,1,3,3,3] + [6,3,6,2,3,7,9,7] , A=[2,9,7,4,7,1,6,8] , C=0 , 3+7+0=10 , A->0 , C->1
[6,2,6,0,1,3,3] + [6,3,6,2,3,7,9] , A=[0,2,9,7,4,7,1,6,8] , C=1 , 3+9+1=13 , A->3 , C->1
[6,2,6,0,1,3] + [6,3,6,2,3,7] , A=[3,0,2,9,7,4,7,1,6,8] , C=1 , 3+7+1=11 , A->1 , C->1
[6,2,6,0,1] + [6,3,6,2,3] , A=[1,3,0,2,9,7,4,7,1,6,8] , C=1 , 1+3+1=5 , A->5 , C->0
[6,2,6,0] + [6,3,6,2] , A=[5,1,3,0,2,9,7,4,7,1,6,8] , C=0 , 0+2+0=2 , A->2 , C->0
[6,2,6] + [6,3,6] , A=[2,5,1,3,0,2,9,7,4,7,1,6,8] , C=0 , 6+6+0=12 , A->2 , C->1
[6,2] + [6,3] , A=[2,2,5,1,3,0,2,9,7,4,7,1,6,8] , C=1 , 2+3+1=6 , A->6 , C->0
[6] + [6] , A=[6,2,2,5,1,3,0,2,9,7,4,7,1,6,8] , C=0 , 6+6+0=12 , A->2 , C->1
[] + [] , A=[2,6,2,2,5,1,3,0,2,9,7,4,7,1,6,8] C=1 , END
</scratch>
12622513029747168
| 12622513029747168 | 16 |
Input:
3537330482978105+6531259406147758
Target:
| Input:
3537330482978105+6531259406147758
Target:
[3,5,3,7,3,3,0,4,8,2,9,7,8,1,0,5] + [6,5,3,1,2,5,9,4,0,6,1,4,7,7,5,8] , A=[] , C=0 , 5+8+0=13 , A->3 , C->1
[3,5,3,7,3,3,0,4,8,2,9,7,8,1,0] + [6,5,3,1,2,5,9,4,0,6,1,4,7,7,5] , A=[3] , C=1 , 0+5+1=6 , A->6 , C->0
[3,5,3,7,3,3,0,4,8,2,9,7,8,1] + [6,5,3,1,2,5,9,4,0,6,1,4,7,7] , A=[6,3] , C=0 , 1+7+0=8 , A->8 , C->0
[3,5,3,7,3,3,0,4,8,2,9,7,8] + [6,5,3,1,2,5,9,4,0,6,1,4,7] , A=[8,6,3] , C=0 , 8+7+0=15 , A->5 , C->1
[3,5,3,7,3,3,0,4,8,2,9,7] + [6,5,3,1,2,5,9,4,0,6,1,4] , A=[5,8,6,3] , C=1 , 7+4+1=12 , A->2 , C->1
[3,5,3,7,3,3,0,4,8,2,9] + [6,5,3,1,2,5,9,4,0,6,1] , A=[2,5,8,6,3] , C=1 , 9+1+1=11 , A->1 , C->1
[3,5,3,7,3,3,0,4,8,2] + [6,5,3,1,2,5,9,4,0,6] , A=[1,2,5,8,6,3] , C=1 , 2+6+1=9 , A->9 , C->0
[3,5,3,7,3,3,0,4,8] + [6,5,3,1,2,5,9,4,0] , A=[9,1,2,5,8,6,3] , C=0 , 8+0+0=8 , A->8 , C->0
[3,5,3,7,3,3,0,4] + [6,5,3,1,2,5,9,4] , A=[8,9,1,2,5,8,6,3] , C=0 , 4+4+0=8 , A->8 , C->0
[3,5,3,7,3,3,0] + [6,5,3,1,2,5,9] , A=[8,8,9,1,2,5,8,6,3] , C=0 , 0+9+0=9 , A->9 , C->0
[3,5,3,7,3,3] + [6,5,3,1,2,5] , A=[9,8,8,9,1,2,5,8,6,3] , C=0 , 3+5+0=8 , A->8 , C->0
[3,5,3,7,3] + [6,5,3,1,2] , A=[8,9,8,8,9,1,2,5,8,6,3] , C=0 , 3+2+0=5 , A->5 , C->0
[3,5,3,7] + [6,5,3,1] , A=[5,8,9,8,8,9,1,2,5,8,6,3] , C=0 , 7+1+0=8 , A->8 , C->0
[3,5,3] + [6,5,3] , A=[8,5,8,9,8,8,9,1,2,5,8,6,3] , C=0 , 3+3+0=6 , A->6 , C->0
[3,5] + [6,5] , A=[6,8,5,8,9,8,8,9,1,2,5,8,6,3] , C=0 , 5+5+0=10 , A->0 , C->1
[3] + [6] , A=[0,6,8,5,8,9,8,8,9,1,2,5,8,6,3] , C=1 , 3+6+1=10 , A->0 , C->1
[] + [] , A=[0,0,6,8,5,8,9,8,8,9,1,2,5,8,6,3] C=1 , END
</scratch>
10068589889125863
| 10068589889125863 | 16 |
Input:
1025093493663996+9839582729673320
Target:
| Input:
1025093493663996+9839582729673320
Target:
[1,0,2,5,0,9,3,4,9,3,6,6,3,9,9,6] + [9,8,3,9,5,8,2,7,2,9,6,7,3,3,2,0] , A=[] , C=0 , 6+0+0=6 , A->6 , C->0
[1,0,2,5,0,9,3,4,9,3,6,6,3,9,9] + [9,8,3,9,5,8,2,7,2,9,6,7,3,3,2] , A=[6] , C=0 , 9+2+0=11 , A->1 , C->1
[1,0,2,5,0,9,3,4,9,3,6,6,3,9] + [9,8,3,9,5,8,2,7,2,9,6,7,3,3] , A=[1,6] , C=1 , 9+3+1=13 , A->3 , C->1
[1,0,2,5,0,9,3,4,9,3,6,6,3] + [9,8,3,9,5,8,2,7,2,9,6,7,3] , A=[3,1,6] , C=1 , 3+3+1=7 , A->7 , C->0
[1,0,2,5,0,9,3,4,9,3,6,6] + [9,8,3,9,5,8,2,7,2,9,6,7] , A=[7,3,1,6] , C=0 , 6+7+0=13 , A->3 , C->1
[1,0,2,5,0,9,3,4,9,3,6] + [9,8,3,9,5,8,2,7,2,9,6] , A=[3,7,3,1,6] , C=1 , 6+6+1=13 , A->3 , C->1
[1,0,2,5,0,9,3,4,9,3] + [9,8,3,9,5,8,2,7,2,9] , A=[3,3,7,3,1,6] , C=1 , 3+9+1=13 , A->3 , C->1
[1,0,2,5,0,9,3,4,9] + [9,8,3,9,5,8,2,7,2] , A=[3,3,3,7,3,1,6] , C=1 , 9+2+1=12 , A->2 , C->1
[1,0,2,5,0,9,3,4] + [9,8,3,9,5,8,2,7] , A=[2,3,3,3,7,3,1,6] , C=1 , 4+7+1=12 , A->2 , C->1
[1,0,2,5,0,9,3] + [9,8,3,9,5,8,2] , A=[2,2,3,3,3,7,3,1,6] , C=1 , 3+2+1=6 , A->6 , C->0
[1,0,2,5,0,9] + [9,8,3,9,5,8] , A=[6,2,2,3,3,3,7,3,1,6] , C=0 , 9+8+0=17 , A->7 , C->1
[1,0,2,5,0] + [9,8,3,9,5] , A=[7,6,2,2,3,3,3,7,3,1,6] , C=1 , 0+5+1=6 , A->6 , C->0
[1,0,2,5] + [9,8,3,9] , A=[6,7,6,2,2,3,3,3,7,3,1,6] , C=0 , 5+9+0=14 , A->4 , C->1
[1,0,2] + [9,8,3] , A=[4,6,7,6,2,2,3,3,3,7,3,1,6] , C=1 , 2+3+1=6 , A->6 , C->0
[1,0] + [9,8] , A=[6,4,6,7,6,2,2,3,3,3,7,3,1,6] , C=0 , 0+8+0=8 , A->8 , C->0
[1] + [9] , A=[8,6,4,6,7,6,2,2,3,3,3,7,3,1,6] , C=0 , 1+9+0=10 , A->0 , C->1
[] + [] , A=[0,8,6,4,6,7,6,2,2,3,3,3,7,3,1,6] C=1 , END
</scratch>
10864676223337316
| 10864676223337316 | 16 |
Input:
2956946585273614+7955573052816422
Target:
| Input:
2956946585273614+7955573052816422
Target:
[2,9,5,6,9,4,6,5,8,5,2,7,3,6,1,4] + [7,9,5,5,5,7,3,0,5,2,8,1,6,4,2,2] , A=[] , C=0 , 4+2+0=6 , A->6 , C->0
[2,9,5,6,9,4,6,5,8,5,2,7,3,6,1] + [7,9,5,5,5,7,3,0,5,2,8,1,6,4,2] , A=[6] , C=0 , 1+2+0=3 , A->3 , C->0
[2,9,5,6,9,4,6,5,8,5,2,7,3,6] + [7,9,5,5,5,7,3,0,5,2,8,1,6,4] , A=[3,6] , C=0 , 6+4+0=10 , A->0 , C->1
[2,9,5,6,9,4,6,5,8,5,2,7,3] + [7,9,5,5,5,7,3,0,5,2,8,1,6] , A=[0,3,6] , C=1 , 3+6+1=10 , A->0 , C->1
[2,9,5,6,9,4,6,5,8,5,2,7] + [7,9,5,5,5,7,3,0,5,2,8,1] , A=[0,0,3,6] , C=1 , 7+1+1=9 , A->9 , C->0
[2,9,5,6,9,4,6,5,8,5,2] + [7,9,5,5,5,7,3,0,5,2,8] , A=[9,0,0,3,6] , C=0 , 2+8+0=10 , A->0 , C->1
[2,9,5,6,9,4,6,5,8,5] + [7,9,5,5,5,7,3,0,5,2] , A=[0,9,0,0,3,6] , C=1 , 5+2+1=8 , A->8 , C->0
[2,9,5,6,9,4,6,5,8] + [7,9,5,5,5,7,3,0,5] , A=[8,0,9,0,0,3,6] , C=0 , 8+5+0=13 , A->3 , C->1
[2,9,5,6,9,4,6,5] + [7,9,5,5,5,7,3,0] , A=[3,8,0,9,0,0,3,6] , C=1 , 5+0+1=6 , A->6 , C->0
[2,9,5,6,9,4,6] + [7,9,5,5,5,7,3] , A=[6,3,8,0,9,0,0,3,6] , C=0 , 6+3+0=9 , A->9 , C->0
[2,9,5,6,9,4] + [7,9,5,5,5,7] , A=[9,6,3,8,0,9,0,0,3,6] , C=0 , 4+7+0=11 , A->1 , C->1
[2,9,5,6,9] + [7,9,5,5,5] , A=[1,9,6,3,8,0,9,0,0,3,6] , C=1 , 9+5+1=15 , A->5 , C->1
[2,9,5,6] + [7,9,5,5] , A=[5,1,9,6,3,8,0,9,0,0,3,6] , C=1 , 6+5+1=12 , A->2 , C->1
[2,9,5] + [7,9,5] , A=[2,5,1,9,6,3,8,0,9,0,0,3,6] , C=1 , 5+5+1=11 , A->1 , C->1
[2,9] + [7,9] , A=[1,2,5,1,9,6,3,8,0,9,0,0,3,6] , C=1 , 9+9+1=19 , A->9 , C->1
[2] + [7] , A=[9,1,2,5,1,9,6,3,8,0,9,0,0,3,6] , C=1 , 2+7+1=10 , A->0 , C->1
[] + [] , A=[0,9,1,2,5,1,9,6,3,8,0,9,0,0,3,6] C=1 , END
</scratch>
10912519638090036
| 10912519638090036 | 16 |
Input:
1644590620812819+6996709876817959
Target:
| Input:
1644590620812819+6996709876817959
Target:
[1,6,4,4,5,9,0,6,2,0,8,1,2,8,1,9] + [6,9,9,6,7,0,9,8,7,6,8,1,7,9,5,9] , A=[] , C=0 , 9+9+0=18 , A->8 , C->1
[1,6,4,4,5,9,0,6,2,0,8,1,2,8,1] + [6,9,9,6,7,0,9,8,7,6,8,1,7,9,5] , A=[8] , C=1 , 1+5+1=7 , A->7 , C->0
[1,6,4,4,5,9,0,6,2,0,8,1,2,8] + [6,9,9,6,7,0,9,8,7,6,8,1,7,9] , A=[7,8] , C=0 , 8+9+0=17 , A->7 , C->1
[1,6,4,4,5,9,0,6,2,0,8,1,2] + [6,9,9,6,7,0,9,8,7,6,8,1,7] , A=[7,7,8] , C=1 , 2+7+1=10 , A->0 , C->1
[1,6,4,4,5,9,0,6,2,0,8,1] + [6,9,9,6,7,0,9,8,7,6,8,1] , A=[0,7,7,8] , C=1 , 1+1+1=3 , A->3 , C->0
[1,6,4,4,5,9,0,6,2,0,8] + [6,9,9,6,7,0,9,8,7,6,8] , A=[3,0,7,7,8] , C=0 , 8+8+0=16 , A->6 , C->1
[1,6,4,4,5,9,0,6,2,0] + [6,9,9,6,7,0,9,8,7,6] , A=[6,3,0,7,7,8] , C=1 , 0+6+1=7 , A->7 , C->0
[1,6,4,4,5,9,0,6,2] + [6,9,9,6,7,0,9,8,7] , A=[7,6,3,0,7,7,8] , C=0 , 2+7+0=9 , A->9 , C->0
[1,6,4,4,5,9,0,6] + [6,9,9,6,7,0,9,8] , A=[9,7,6,3,0,7,7,8] , C=0 , 6+8+0=14 , A->4 , C->1
[1,6,4,4,5,9,0] + [6,9,9,6,7,0,9] , A=[4,9,7,6,3,0,7,7,8] , C=1 , 0+9+1=10 , A->0 , C->1
[1,6,4,4,5,9] + [6,9,9,6,7,0] , A=[0,4,9,7,6,3,0,7,7,8] , C=1 , 9+0+1=10 , A->0 , C->1
[1,6,4,4,5] + [6,9,9,6,7] , A=[0,0,4,9,7,6,3,0,7,7,8] , C=1 , 5+7+1=13 , A->3 , C->1
[1,6,4,4] + [6,9,9,6] , A=[3,0,0,4,9,7,6,3,0,7,7,8] , C=1 , 4+6+1=11 , A->1 , C->1
[1,6,4] + [6,9,9] , A=[1,3,0,0,4,9,7,6,3,0,7,7,8] , C=1 , 4+9+1=14 , A->4 , C->1
[1,6] + [6,9] , A=[4,1,3,0,0,4,9,7,6,3,0,7,7,8] , C=1 , 6+9+1=16 , A->6 , C->1
[1] + [6] , A=[6,4,1,3,0,0,4,9,7,6,3,0,7,7,8] , C=1 , 1+6+1=8 , A->8 , C->0
[] + [] , A=[8,6,4,1,3,0,0,4,9,7,6,3,0,7,7,8] C=0 , END
</scratch>
8641300497630778
| 8641300497630778 | 16 |
Input:
5949148784532608+2121617261661701
Target:
| Input:
5949148784532608+2121617261661701
Target:
[5,9,4,9,1,4,8,7,8,4,5,3,2,6,0,8] + [2,1,2,1,6,1,7,2,6,1,6,6,1,7,0,1] , A=[] , C=0 , 8+1+0=9 , A->9 , C->0
[5,9,4,9,1,4,8,7,8,4,5,3,2,6,0] + [2,1,2,1,6,1,7,2,6,1,6,6,1,7,0] , A=[9] , C=0 , 0+0+0=0 , A->0 , C->0
[5,9,4,9,1,4,8,7,8,4,5,3,2,6] + [2,1,2,1,6,1,7,2,6,1,6,6,1,7] , A=[0,9] , C=0 , 6+7+0=13 , A->3 , C->1
[5,9,4,9,1,4,8,7,8,4,5,3,2] + [2,1,2,1,6,1,7,2,6,1,6,6,1] , A=[3,0,9] , C=1 , 2+1+1=4 , A->4 , C->0
[5,9,4,9,1,4,8,7,8,4,5,3] + [2,1,2,1,6,1,7,2,6,1,6,6] , A=[4,3,0,9] , C=0 , 3+6+0=9 , A->9 , C->0
[5,9,4,9,1,4,8,7,8,4,5] + [2,1,2,1,6,1,7,2,6,1,6] , A=[9,4,3,0,9] , C=0 , 5+6+0=11 , A->1 , C->1
[5,9,4,9,1,4,8,7,8,4] + [2,1,2,1,6,1,7,2,6,1] , A=[1,9,4,3,0,9] , C=1 , 4+1+1=6 , A->6 , C->0
[5,9,4,9,1,4,8,7,8] + [2,1,2,1,6,1,7,2,6] , A=[6,1,9,4,3,0,9] , C=0 , 8+6+0=14 , A->4 , C->1
[5,9,4,9,1,4,8,7] + [2,1,2,1,6,1,7,2] , A=[4,6,1,9,4,3,0,9] , C=1 , 7+2+1=10 , A->0 , C->1
[5,9,4,9,1,4,8] + [2,1,2,1,6,1,7] , A=[0,4,6,1,9,4,3,0,9] , C=1 , 8+7+1=16 , A->6 , C->1
[5,9,4,9,1,4] + [2,1,2,1,6,1] , A=[6,0,4,6,1,9,4,3,0,9] , C=1 , 4+1+1=6 , A->6 , C->0
[5,9,4,9,1] + [2,1,2,1,6] , A=[6,6,0,4,6,1,9,4,3,0,9] , C=0 , 1+6+0=7 , A->7 , C->0
[5,9,4,9] + [2,1,2,1] , A=[7,6,6,0,4,6,1,9,4,3,0,9] , C=0 , 9+1+0=10 , A->0 , C->1
[5,9,4] + [2,1,2] , A=[0,7,6,6,0,4,6,1,9,4,3,0,9] , C=1 , 4+2+1=7 , A->7 , C->0
[5,9] + [2,1] , A=[7,0,7,6,6,0,4,6,1,9,4,3,0,9] , C=0 , 9+1+0=10 , A->0 , C->1
[5] + [2] , A=[0,7,0,7,6,6,0,4,6,1,9,4,3,0,9] , C=1 , 5+2+1=8 , A->8 , C->0
[] + [] , A=[8,0,7,0,7,6,6,0,4,6,1,9,4,3,0,9] C=0 , END
</scratch>
8070766046194309
| 8070766046194309 | 16 |
Input:
1047009135477251+2014397516503092
Target:
| Input:
1047009135477251+2014397516503092
Target:
[1,0,4,7,0,0,9,1,3,5,4,7,7,2,5,1] + [2,0,1,4,3,9,7,5,1,6,5,0,3,0,9,2] , A=[] , C=0 , 1+2+0=3 , A->3 , C->0
[1,0,4,7,0,0,9,1,3,5,4,7,7,2,5] + [2,0,1,4,3,9,7,5,1,6,5,0,3,0,9] , A=[3] , C=0 , 5+9+0=14 , A->4 , C->1
[1,0,4,7,0,0,9,1,3,5,4,7,7,2] + [2,0,1,4,3,9,7,5,1,6,5,0,3,0] , A=[4,3] , C=1 , 2+0+1=3 , A->3 , C->0
[1,0,4,7,0,0,9,1,3,5,4,7,7] + [2,0,1,4,3,9,7,5,1,6,5,0,3] , A=[3,4,3] , C=0 , 7+3+0=10 , A->0 , C->1
[1,0,4,7,0,0,9,1,3,5,4,7] + [2,0,1,4,3,9,7,5,1,6,5,0] , A=[0,3,4,3] , C=1 , 7+0+1=8 , A->8 , C->0
[1,0,4,7,0,0,9,1,3,5,4] + [2,0,1,4,3,9,7,5,1,6,5] , A=[8,0,3,4,3] , C=0 , 4+5+0=9 , A->9 , C->0
[1,0,4,7,0,0,9,1,3,5] + [2,0,1,4,3,9,7,5,1,6] , A=[9,8,0,3,4,3] , C=0 , 5+6+0=11 , A->1 , C->1
[1,0,4,7,0,0,9,1,3] + [2,0,1,4,3,9,7,5,1] , A=[1,9,8,0,3,4,3] , C=1 , 3+1+1=5 , A->5 , C->0
[1,0,4,7,0,0,9,1] + [2,0,1,4,3,9,7,5] , A=[5,1,9,8,0,3,4,3] , C=0 , 1+5+0=6 , A->6 , C->0
[1,0,4,7,0,0,9] + [2,0,1,4,3,9,7] , A=[6,5,1,9,8,0,3,4,3] , C=0 , 9+7+0=16 , A->6 , C->1
[1,0,4,7,0,0] + [2,0,1,4,3,9] , A=[6,6,5,1,9,8,0,3,4,3] , C=1 , 0+9+1=10 , A->0 , C->1
[1,0,4,7,0] + [2,0,1,4,3] , A=[0,6,6,5,1,9,8,0,3,4,3] , C=1 , 0+3+1=4 , A->4 , C->0
[1,0,4,7] + [2,0,1,4] , A=[4,0,6,6,5,1,9,8,0,3,4,3] , C=0 , 7+4+0=11 , A->1 , C->1
[1,0,4] + [2,0,1] , A=[1,4,0,6,6,5,1,9,8,0,3,4,3] , C=1 , 4+1+1=6 , A->6 , C->0
[1,0] + [2,0] , A=[6,1,4,0,6,6,5,1,9,8,0,3,4,3] , C=0 , 0+0+0=0 , A->0 , C->0
[1] + [2] , A=[0,6,1,4,0,6,6,5,1,9,8,0,3,4,3] , C=0 , 1+2+0=3 , A->3 , C->0
[] + [] , A=[3,0,6,1,4,0,6,6,5,1,9,8,0,3,4,3] C=0 , END
</scratch>
3061406651980343
| 3061406651980343 | 16 |
Input:
2672520388526297+7495383037167421
Target:
| Input:
2672520388526297+7495383037167421
Target:
[2,6,7,2,5,2,0,3,8,8,5,2,6,2,9,7] + [7,4,9,5,3,8,3,0,3,7,1,6,7,4,2,1] , A=[] , C=0 , 7+1+0=8 , A->8 , C->0
[2,6,7,2,5,2,0,3,8,8,5,2,6,2,9] + [7,4,9,5,3,8,3,0,3,7,1,6,7,4,2] , A=[8] , C=0 , 9+2+0=11 , A->1 , C->1
[2,6,7,2,5,2,0,3,8,8,5,2,6,2] + [7,4,9,5,3,8,3,0,3,7,1,6,7,4] , A=[1,8] , C=1 , 2+4+1=7 , A->7 , C->0
[2,6,7,2,5,2,0,3,8,8,5,2,6] + [7,4,9,5,3,8,3,0,3,7,1,6,7] , A=[7,1,8] , C=0 , 6+7+0=13 , A->3 , C->1
[2,6,7,2,5,2,0,3,8,8,5,2] + [7,4,9,5,3,8,3,0,3,7,1,6] , A=[3,7,1,8] , C=1 , 2+6+1=9 , A->9 , C->0
[2,6,7,2,5,2,0,3,8,8,5] + [7,4,9,5,3,8,3,0,3,7,1] , A=[9,3,7,1,8] , C=0 , 5+1+0=6 , A->6 , C->0
[2,6,7,2,5,2,0,3,8,8] + [7,4,9,5,3,8,3,0,3,7] , A=[6,9,3,7,1,8] , C=0 , 8+7+0=15 , A->5 , C->1
[2,6,7,2,5,2,0,3,8] + [7,4,9,5,3,8,3,0,3] , A=[5,6,9,3,7,1,8] , C=1 , 8+3+1=12 , A->2 , C->1
[2,6,7,2,5,2,0,3] + [7,4,9,5,3,8,3,0] , A=[2,5,6,9,3,7,1,8] , C=1 , 3+0+1=4 , A->4 , C->0
[2,6,7,2,5,2,0] + [7,4,9,5,3,8,3] , A=[4,2,5,6,9,3,7,1,8] , C=0 , 0+3+0=3 , A->3 , C->0
[2,6,7,2,5,2] + [7,4,9,5,3,8] , A=[3,4,2,5,6,9,3,7,1,8] , C=0 , 2+8+0=10 , A->0 , C->1
[2,6,7,2,5] + [7,4,9,5,3] , A=[0,3,4,2,5,6,9,3,7,1,8] , C=1 , 5+3+1=9 , A->9 , C->0
[2,6,7,2] + [7,4,9,5] , A=[9,0,3,4,2,5,6,9,3,7,1,8] , C=0 , 2+5+0=7 , A->7 , C->0
[2,6,7] + [7,4,9] , A=[7,9,0,3,4,2,5,6,9,3,7,1,8] , C=0 , 7+9+0=16 , A->6 , C->1
[2,6] + [7,4] , A=[6,7,9,0,3,4,2,5,6,9,3,7,1,8] , C=1 , 6+4+1=11 , A->1 , C->1
[2] + [7] , A=[1,6,7,9,0,3,4,2,5,6,9,3,7,1,8] , C=1 , 2+7+1=10 , A->0 , C->1
[] + [] , A=[0,1,6,7,9,0,3,4,2,5,6,9,3,7,1,8] C=1 , END
</scratch>
10167903425693718
| 10167903425693718 | 16 |