input_test
stringlengths 47
47
| scratchpad
stringlengths 1.45k
1.46k
| result_final
stringlengths 15
16
| y_digits
int64 15
15
|
---|---|---|---|
Input:
890208266679873+991199388072799
Target:
| Input:
890208266679873+991199388072799
Target:
[8,9,0,2,0,8,2,6,6,6,7,9,8,7,3] + [9,9,1,1,9,9,3,8,8,0,7,2,7,9,9] , A=[] , C=0 , 3+9+0=12 , A->2 , C->1
[8,9,0,2,0,8,2,6,6,6,7,9,8,7] + [9,9,1,1,9,9,3,8,8,0,7,2,7,9] , A=[2] , C=1 , 7+9+1=17 , A->7 , C->1
[8,9,0,2,0,8,2,6,6,6,7,9,8] + [9,9,1,1,9,9,3,8,8,0,7,2,7] , A=[7,2] , C=1 , 8+7+1=16 , A->6 , C->1
[8,9,0,2,0,8,2,6,6,6,7,9] + [9,9,1,1,9,9,3,8,8,0,7,2] , A=[6,7,2] , C=1 , 9+2+1=12 , A->2 , C->1
[8,9,0,2,0,8,2,6,6,6,7] + [9,9,1,1,9,9,3,8,8,0,7] , A=[2,6,7,2] , C=1 , 7+7+1=15 , A->5 , C->1
[8,9,0,2,0,8,2,6,6,6] + [9,9,1,1,9,9,3,8,8,0] , A=[5,2,6,7,2] , C=1 , 6+0+1=7 , A->7 , C->0
[8,9,0,2,0,8,2,6,6] + [9,9,1,1,9,9,3,8,8] , A=[7,5,2,6,7,2] , C=0 , 6+8+0=14 , A->4 , C->1
[8,9,0,2,0,8,2,6] + [9,9,1,1,9,9,3,8] , A=[4,7,5,2,6,7,2] , C=1 , 6+8+1=15 , A->5 , C->1
[8,9,0,2,0,8,2] + [9,9,1,1,9,9,3] , A=[5,4,7,5,2,6,7,2] , C=1 , 2+3+1=6 , A->6 , C->0
[8,9,0,2,0,8] + [9,9,1,1,9,9] , A=[6,5,4,7,5,2,6,7,2] , C=0 , 8+9+0=17 , A->7 , C->1
[8,9,0,2,0] + [9,9,1,1,9] , A=[7,6,5,4,7,5,2,6,7,2] , C=1 , 0+9+1=10 , A->0 , C->1
[8,9,0,2] + [9,9,1,1] , A=[0,7,6,5,4,7,5,2,6,7,2] , C=1 , 2+1+1=4 , A->4 , C->0
[8,9,0] + [9,9,1] , A=[4,0,7,6,5,4,7,5,2,6,7,2] , C=0 , 0+1+0=1 , A->1 , C->0
[8,9] + [9,9] , A=[1,4,0,7,6,5,4,7,5,2,6,7,2] , C=0 , 9+9+0=18 , A->8 , C->1
[8] + [9] , A=[8,1,4,0,7,6,5,4,7,5,2,6,7,2] , C=1 , 8+9+1=18 , A->8 , C->1
[] + [] , A=[8,8,1,4,0,7,6,5,4,7,5,2,6,7,2] C=1 , END
</scratch>
1881407654752672
| 1881407654752672 | 15 |
Input:
921398864186846+124774004715594
Target:
| Input:
921398864186846+124774004715594
Target:
[9,2,1,3,9,8,8,6,4,1,8,6,8,4,6] + [1,2,4,7,7,4,0,0,4,7,1,5,5,9,4] , A=[] , C=0 , 6+4+0=10 , A->0 , C->1
[9,2,1,3,9,8,8,6,4,1,8,6,8,4] + [1,2,4,7,7,4,0,0,4,7,1,5,5,9] , A=[0] , C=1 , 4+9+1=14 , A->4 , C->1
[9,2,1,3,9,8,8,6,4,1,8,6,8] + [1,2,4,7,7,4,0,0,4,7,1,5,5] , A=[4,0] , C=1 , 8+5+1=14 , A->4 , C->1
[9,2,1,3,9,8,8,6,4,1,8,6] + [1,2,4,7,7,4,0,0,4,7,1,5] , A=[4,4,0] , C=1 , 6+5+1=12 , A->2 , C->1
[9,2,1,3,9,8,8,6,4,1,8] + [1,2,4,7,7,4,0,0,4,7,1] , A=[2,4,4,0] , C=1 , 8+1+1=10 , A->0 , C->1
[9,2,1,3,9,8,8,6,4,1] + [1,2,4,7,7,4,0,0,4,7] , A=[0,2,4,4,0] , C=1 , 1+7+1=9 , A->9 , C->0
[9,2,1,3,9,8,8,6,4] + [1,2,4,7,7,4,0,0,4] , A=[9,0,2,4,4,0] , C=0 , 4+4+0=8 , A->8 , C->0
[9,2,1,3,9,8,8,6] + [1,2,4,7,7,4,0,0] , A=[8,9,0,2,4,4,0] , C=0 , 6+0+0=6 , A->6 , C->0
[9,2,1,3,9,8,8] + [1,2,4,7,7,4,0] , A=[6,8,9,0,2,4,4,0] , C=0 , 8+0+0=8 , A->8 , C->0
[9,2,1,3,9,8] + [1,2,4,7,7,4] , A=[8,6,8,9,0,2,4,4,0] , C=0 , 8+4+0=12 , A->2 , C->1
[9,2,1,3,9] + [1,2,4,7,7] , A=[2,8,6,8,9,0,2,4,4,0] , C=1 , 9+7+1=17 , A->7 , C->1
[9,2,1,3] + [1,2,4,7] , A=[7,2,8,6,8,9,0,2,4,4,0] , C=1 , 3+7+1=11 , A->1 , C->1
[9,2,1] + [1,2,4] , A=[1,7,2,8,6,8,9,0,2,4,4,0] , C=1 , 1+4+1=6 , A->6 , C->0
[9,2] + [1,2] , A=[6,1,7,2,8,6,8,9,0,2,4,4,0] , C=0 , 2+2+0=4 , A->4 , C->0
[9] + [1] , A=[4,6,1,7,2,8,6,8,9,0,2,4,4,0] , C=0 , 9+1+0=10 , A->0 , C->1
[] + [] , A=[0,4,6,1,7,2,8,6,8,9,0,2,4,4,0] C=1 , END
</scratch>
1046172868902440
| 1046172868902440 | 15 |
Input:
485997153561241+167638668848504
Target:
| Input:
485997153561241+167638668848504
Target:
[4,8,5,9,9,7,1,5,3,5,6,1,2,4,1] + [1,6,7,6,3,8,6,6,8,8,4,8,5,0,4] , A=[] , C=0 , 1+4+0=5 , A->5 , C->0
[4,8,5,9,9,7,1,5,3,5,6,1,2,4] + [1,6,7,6,3,8,6,6,8,8,4,8,5,0] , A=[5] , C=0 , 4+0+0=4 , A->4 , C->0
[4,8,5,9,9,7,1,5,3,5,6,1,2] + [1,6,7,6,3,8,6,6,8,8,4,8,5] , A=[4,5] , C=0 , 2+5+0=7 , A->7 , C->0
[4,8,5,9,9,7,1,5,3,5,6,1] + [1,6,7,6,3,8,6,6,8,8,4,8] , A=[7,4,5] , C=0 , 1+8+0=9 , A->9 , C->0
[4,8,5,9,9,7,1,5,3,5,6] + [1,6,7,6,3,8,6,6,8,8,4] , A=[9,7,4,5] , C=0 , 6+4+0=10 , A->0 , C->1
[4,8,5,9,9,7,1,5,3,5] + [1,6,7,6,3,8,6,6,8,8] , A=[0,9,7,4,5] , C=1 , 5+8+1=14 , A->4 , C->1
[4,8,5,9,9,7,1,5,3] + [1,6,7,6,3,8,6,6,8] , A=[4,0,9,7,4,5] , C=1 , 3+8+1=12 , A->2 , C->1
[4,8,5,9,9,7,1,5] + [1,6,7,6,3,8,6,6] , A=[2,4,0,9,7,4,5] , C=1 , 5+6+1=12 , A->2 , C->1
[4,8,5,9,9,7,1] + [1,6,7,6,3,8,6] , A=[2,2,4,0,9,7,4,5] , C=1 , 1+6+1=8 , A->8 , C->0
[4,8,5,9,9,7] + [1,6,7,6,3,8] , A=[8,2,2,4,0,9,7,4,5] , C=0 , 7+8+0=15 , A->5 , C->1
[4,8,5,9,9] + [1,6,7,6,3] , A=[5,8,2,2,4,0,9,7,4,5] , C=1 , 9+3+1=13 , A->3 , C->1
[4,8,5,9] + [1,6,7,6] , A=[3,5,8,2,2,4,0,9,7,4,5] , C=1 , 9+6+1=16 , A->6 , C->1
[4,8,5] + [1,6,7] , A=[6,3,5,8,2,2,4,0,9,7,4,5] , C=1 , 5+7+1=13 , A->3 , C->1
[4,8] + [1,6] , A=[3,6,3,5,8,2,2,4,0,9,7,4,5] , C=1 , 8+6+1=15 , A->5 , C->1
[4] + [1] , A=[5,3,6,3,5,8,2,2,4,0,9,7,4,5] , C=1 , 4+1+1=6 , A->6 , C->0
[] + [] , A=[6,5,3,6,3,5,8,2,2,4,0,9,7,4,5] C=0 , END
</scratch>
653635822409745
| 653635822409745 | 15 |
Input:
193956575653215+139581602484365
Target:
| Input:
193956575653215+139581602484365
Target:
[1,9,3,9,5,6,5,7,5,6,5,3,2,1,5] + [1,3,9,5,8,1,6,0,2,4,8,4,3,6,5] , A=[] , C=0 , 5+5+0=10 , A->0 , C->1
[1,9,3,9,5,6,5,7,5,6,5,3,2,1] + [1,3,9,5,8,1,6,0,2,4,8,4,3,6] , A=[0] , C=1 , 1+6+1=8 , A->8 , C->0
[1,9,3,9,5,6,5,7,5,6,5,3,2] + [1,3,9,5,8,1,6,0,2,4,8,4,3] , A=[8,0] , C=0 , 2+3+0=5 , A->5 , C->0
[1,9,3,9,5,6,5,7,5,6,5,3] + [1,3,9,5,8,1,6,0,2,4,8,4] , A=[5,8,0] , C=0 , 3+4+0=7 , A->7 , C->0
[1,9,3,9,5,6,5,7,5,6,5] + [1,3,9,5,8,1,6,0,2,4,8] , A=[7,5,8,0] , C=0 , 5+8+0=13 , A->3 , C->1
[1,9,3,9,5,6,5,7,5,6] + [1,3,9,5,8,1,6,0,2,4] , A=[3,7,5,8,0] , C=1 , 6+4+1=11 , A->1 , C->1
[1,9,3,9,5,6,5,7,5] + [1,3,9,5,8,1,6,0,2] , A=[1,3,7,5,8,0] , C=1 , 5+2+1=8 , A->8 , C->0
[1,9,3,9,5,6,5,7] + [1,3,9,5,8,1,6,0] , A=[8,1,3,7,5,8,0] , C=0 , 7+0+0=7 , A->7 , C->0
[1,9,3,9,5,6,5] + [1,3,9,5,8,1,6] , A=[7,8,1,3,7,5,8,0] , C=0 , 5+6+0=11 , A->1 , C->1
[1,9,3,9,5,6] + [1,3,9,5,8,1] , A=[1,7,8,1,3,7,5,8,0] , C=1 , 6+1+1=8 , A->8 , C->0
[1,9,3,9,5] + [1,3,9,5,8] , A=[8,1,7,8,1,3,7,5,8,0] , C=0 , 5+8+0=13 , A->3 , C->1
[1,9,3,9] + [1,3,9,5] , A=[3,8,1,7,8,1,3,7,5,8,0] , C=1 , 9+5+1=15 , A->5 , C->1
[1,9,3] + [1,3,9] , A=[5,3,8,1,7,8,1,3,7,5,8,0] , C=1 , 3+9+1=13 , A->3 , C->1
[1,9] + [1,3] , A=[3,5,3,8,1,7,8,1,3,7,5,8,0] , C=1 , 9+3+1=13 , A->3 , C->1
[1] + [1] , A=[3,3,5,3,8,1,7,8,1,3,7,5,8,0] , C=1 , 1+1+1=3 , A->3 , C->0
[] + [] , A=[3,3,3,5,3,8,1,7,8,1,3,7,5,8,0] C=0 , END
</scratch>
333538178137580
| 333538178137580 | 15 |
Input:
545179818105759+290618862978434
Target:
| Input:
545179818105759+290618862978434
Target:
[5,4,5,1,7,9,8,1,8,1,0,5,7,5,9] + [2,9,0,6,1,8,8,6,2,9,7,8,4,3,4] , A=[] , C=0 , 9+4+0=13 , A->3 , C->1
[5,4,5,1,7,9,8,1,8,1,0,5,7,5] + [2,9,0,6,1,8,8,6,2,9,7,8,4,3] , A=[3] , C=1 , 5+3+1=9 , A->9 , C->0
[5,4,5,1,7,9,8,1,8,1,0,5,7] + [2,9,0,6,1,8,8,6,2,9,7,8,4] , A=[9,3] , C=0 , 7+4+0=11 , A->1 , C->1
[5,4,5,1,7,9,8,1,8,1,0,5] + [2,9,0,6,1,8,8,6,2,9,7,8] , A=[1,9,3] , C=1 , 5+8+1=14 , A->4 , C->1
[5,4,5,1,7,9,8,1,8,1,0] + [2,9,0,6,1,8,8,6,2,9,7] , A=[4,1,9,3] , C=1 , 0+7+1=8 , A->8 , C->0
[5,4,5,1,7,9,8,1,8,1] + [2,9,0,6,1,8,8,6,2,9] , A=[8,4,1,9,3] , C=0 , 1+9+0=10 , A->0 , C->1
[5,4,5,1,7,9,8,1,8] + [2,9,0,6,1,8,8,6,2] , A=[0,8,4,1,9,3] , C=1 , 8+2+1=11 , A->1 , C->1
[5,4,5,1,7,9,8,1] + [2,9,0,6,1,8,8,6] , A=[1,0,8,4,1,9,3] , C=1 , 1+6+1=8 , A->8 , C->0
[5,4,5,1,7,9,8] + [2,9,0,6,1,8,8] , A=[8,1,0,8,4,1,9,3] , C=0 , 8+8+0=16 , A->6 , C->1
[5,4,5,1,7,9] + [2,9,0,6,1,8] , A=[6,8,1,0,8,4,1,9,3] , C=1 , 9+8+1=18 , A->8 , C->1
[5,4,5,1,7] + [2,9,0,6,1] , A=[8,6,8,1,0,8,4,1,9,3] , C=1 , 7+1+1=9 , A->9 , C->0
[5,4,5,1] + [2,9,0,6] , A=[9,8,6,8,1,0,8,4,1,9,3] , C=0 , 1+6+0=7 , A->7 , C->0
[5,4,5] + [2,9,0] , A=[7,9,8,6,8,1,0,8,4,1,9,3] , C=0 , 5+0+0=5 , A->5 , C->0
[5,4] + [2,9] , A=[5,7,9,8,6,8,1,0,8,4,1,9,3] , C=0 , 4+9+0=13 , A->3 , C->1
[5] + [2] , A=[3,5,7,9,8,6,8,1,0,8,4,1,9,3] , C=1 , 5+2+1=8 , A->8 , C->0
[] + [] , A=[8,3,5,7,9,8,6,8,1,0,8,4,1,9,3] C=0 , END
</scratch>
835798681084193
| 835798681084193 | 15 |
Input:
750836228467926+526896974375020
Target:
| Input:
750836228467926+526896974375020
Target:
[7,5,0,8,3,6,2,2,8,4,6,7,9,2,6] + [5,2,6,8,9,6,9,7,4,3,7,5,0,2,0] , A=[] , C=0 , 6+0+0=6 , A->6 , C->0
[7,5,0,8,3,6,2,2,8,4,6,7,9,2] + [5,2,6,8,9,6,9,7,4,3,7,5,0,2] , A=[6] , C=0 , 2+2+0=4 , A->4 , C->0
[7,5,0,8,3,6,2,2,8,4,6,7,9] + [5,2,6,8,9,6,9,7,4,3,7,5,0] , A=[4,6] , C=0 , 9+0+0=9 , A->9 , C->0
[7,5,0,8,3,6,2,2,8,4,6,7] + [5,2,6,8,9,6,9,7,4,3,7,5] , A=[9,4,6] , C=0 , 7+5+0=12 , A->2 , C->1
[7,5,0,8,3,6,2,2,8,4,6] + [5,2,6,8,9,6,9,7,4,3,7] , A=[2,9,4,6] , C=1 , 6+7+1=14 , A->4 , C->1
[7,5,0,8,3,6,2,2,8,4] + [5,2,6,8,9,6,9,7,4,3] , A=[4,2,9,4,6] , C=1 , 4+3+1=8 , A->8 , C->0
[7,5,0,8,3,6,2,2,8] + [5,2,6,8,9,6,9,7,4] , A=[8,4,2,9,4,6] , C=0 , 8+4+0=12 , A->2 , C->1
[7,5,0,8,3,6,2,2] + [5,2,6,8,9,6,9,7] , A=[2,8,4,2,9,4,6] , C=1 , 2+7+1=10 , A->0 , C->1
[7,5,0,8,3,6,2] + [5,2,6,8,9,6,9] , A=[0,2,8,4,2,9,4,6] , C=1 , 2+9+1=12 , A->2 , C->1
[7,5,0,8,3,6] + [5,2,6,8,9,6] , A=[2,0,2,8,4,2,9,4,6] , C=1 , 6+6+1=13 , A->3 , C->1
[7,5,0,8,3] + [5,2,6,8,9] , A=[3,2,0,2,8,4,2,9,4,6] , C=1 , 3+9+1=13 , A->3 , C->1
[7,5,0,8] + [5,2,6,8] , A=[3,3,2,0,2,8,4,2,9,4,6] , C=1 , 8+8+1=17 , A->7 , C->1
[7,5,0] + [5,2,6] , A=[7,3,3,2,0,2,8,4,2,9,4,6] , C=1 , 0+6+1=7 , A->7 , C->0
[7,5] + [5,2] , A=[7,7,3,3,2,0,2,8,4,2,9,4,6] , C=0 , 5+2+0=7 , A->7 , C->0
[7] + [5] , A=[7,7,7,3,3,2,0,2,8,4,2,9,4,6] , C=0 , 7+5+0=12 , A->2 , C->1
[] + [] , A=[2,7,7,7,3,3,2,0,2,8,4,2,9,4,6] C=1 , END
</scratch>
1277733202842946
| 1277733202842946 | 15 |
Input:
513047594026576+232842334932074
Target:
| Input:
513047594026576+232842334932074
Target:
[5,1,3,0,4,7,5,9,4,0,2,6,5,7,6] + [2,3,2,8,4,2,3,3,4,9,3,2,0,7,4] , A=[] , C=0 , 6+4+0=10 , A->0 , C->1
[5,1,3,0,4,7,5,9,4,0,2,6,5,7] + [2,3,2,8,4,2,3,3,4,9,3,2,0,7] , A=[0] , C=1 , 7+7+1=15 , A->5 , C->1
[5,1,3,0,4,7,5,9,4,0,2,6,5] + [2,3,2,8,4,2,3,3,4,9,3,2,0] , A=[5,0] , C=1 , 5+0+1=6 , A->6 , C->0
[5,1,3,0,4,7,5,9,4,0,2,6] + [2,3,2,8,4,2,3,3,4,9,3,2] , A=[6,5,0] , C=0 , 6+2+0=8 , A->8 , C->0
[5,1,3,0,4,7,5,9,4,0,2] + [2,3,2,8,4,2,3,3,4,9,3] , A=[8,6,5,0] , C=0 , 2+3+0=5 , A->5 , C->0
[5,1,3,0,4,7,5,9,4,0] + [2,3,2,8,4,2,3,3,4,9] , A=[5,8,6,5,0] , C=0 , 0+9+0=9 , A->9 , C->0
[5,1,3,0,4,7,5,9,4] + [2,3,2,8,4,2,3,3,4] , A=[9,5,8,6,5,0] , C=0 , 4+4+0=8 , A->8 , C->0
[5,1,3,0,4,7,5,9] + [2,3,2,8,4,2,3,3] , A=[8,9,5,8,6,5,0] , C=0 , 9+3+0=12 , A->2 , C->1
[5,1,3,0,4,7,5] + [2,3,2,8,4,2,3] , A=[2,8,9,5,8,6,5,0] , C=1 , 5+3+1=9 , A->9 , C->0
[5,1,3,0,4,7] + [2,3,2,8,4,2] , A=[9,2,8,9,5,8,6,5,0] , C=0 , 7+2+0=9 , A->9 , C->0
[5,1,3,0,4] + [2,3,2,8,4] , A=[9,9,2,8,9,5,8,6,5,0] , C=0 , 4+4+0=8 , A->8 , C->0
[5,1,3,0] + [2,3,2,8] , A=[8,9,9,2,8,9,5,8,6,5,0] , C=0 , 0+8+0=8 , A->8 , C->0
[5,1,3] + [2,3,2] , A=[8,8,9,9,2,8,9,5,8,6,5,0] , C=0 , 3+2+0=5 , A->5 , C->0
[5,1] + [2,3] , A=[5,8,8,9,9,2,8,9,5,8,6,5,0] , C=0 , 1+3+0=4 , A->4 , C->0
[5] + [2] , A=[4,5,8,8,9,9,2,8,9,5,8,6,5,0] , C=0 , 5+2+0=7 , A->7 , C->0
[] + [] , A=[7,4,5,8,8,9,9,2,8,9,5,8,6,5,0] C=0 , END
</scratch>
745889928958650
| 745889928958650 | 15 |
Input:
212299725303864+668106873762784
Target:
| Input:
212299725303864+668106873762784
Target:
[2,1,2,2,9,9,7,2,5,3,0,3,8,6,4] + [6,6,8,1,0,6,8,7,3,7,6,2,7,8,4] , A=[] , C=0 , 4+4+0=8 , A->8 , C->0
[2,1,2,2,9,9,7,2,5,3,0,3,8,6] + [6,6,8,1,0,6,8,7,3,7,6,2,7,8] , A=[8] , C=0 , 6+8+0=14 , A->4 , C->1
[2,1,2,2,9,9,7,2,5,3,0,3,8] + [6,6,8,1,0,6,8,7,3,7,6,2,7] , A=[4,8] , C=1 , 8+7+1=16 , A->6 , C->1
[2,1,2,2,9,9,7,2,5,3,0,3] + [6,6,8,1,0,6,8,7,3,7,6,2] , A=[6,4,8] , C=1 , 3+2+1=6 , A->6 , C->0
[2,1,2,2,9,9,7,2,5,3,0] + [6,6,8,1,0,6,8,7,3,7,6] , A=[6,6,4,8] , C=0 , 0+6+0=6 , A->6 , C->0
[2,1,2,2,9,9,7,2,5,3] + [6,6,8,1,0,6,8,7,3,7] , A=[6,6,6,4,8] , C=0 , 3+7+0=10 , A->0 , C->1
[2,1,2,2,9,9,7,2,5] + [6,6,8,1,0,6,8,7,3] , A=[0,6,6,6,4,8] , C=1 , 5+3+1=9 , A->9 , C->0
[2,1,2,2,9,9,7,2] + [6,6,8,1,0,6,8,7] , A=[9,0,6,6,6,4,8] , C=0 , 2+7+0=9 , A->9 , C->0
[2,1,2,2,9,9,7] + [6,6,8,1,0,6,8] , A=[9,9,0,6,6,6,4,8] , C=0 , 7+8+0=15 , A->5 , C->1
[2,1,2,2,9,9] + [6,6,8,1,0,6] , A=[5,9,9,0,6,6,6,4,8] , C=1 , 9+6+1=16 , A->6 , C->1
[2,1,2,2,9] + [6,6,8,1,0] , A=[6,5,9,9,0,6,6,6,4,8] , C=1 , 9+0+1=10 , A->0 , C->1
[2,1,2,2] + [6,6,8,1] , A=[0,6,5,9,9,0,6,6,6,4,8] , C=1 , 2+1+1=4 , A->4 , C->0
[2,1,2] + [6,6,8] , A=[4,0,6,5,9,9,0,6,6,6,4,8] , C=0 , 2+8+0=10 , A->0 , C->1
[2,1] + [6,6] , A=[0,4,0,6,5,9,9,0,6,6,6,4,8] , C=1 , 1+6+1=8 , A->8 , C->0
[2] + [6] , A=[8,0,4,0,6,5,9,9,0,6,6,6,4,8] , C=0 , 2+6+0=8 , A->8 , C->0
[] + [] , A=[8,8,0,4,0,6,5,9,9,0,6,6,6,4,8] C=0 , END
</scratch>
880406599066648
| 880406599066648 | 15 |
Input:
636712252071462+163749451682199
Target:
| Input:
636712252071462+163749451682199
Target:
[6,3,6,7,1,2,2,5,2,0,7,1,4,6,2] + [1,6,3,7,4,9,4,5,1,6,8,2,1,9,9] , A=[] , C=0 , 2+9+0=11 , A->1 , C->1
[6,3,6,7,1,2,2,5,2,0,7,1,4,6] + [1,6,3,7,4,9,4,5,1,6,8,2,1,9] , A=[1] , C=1 , 6+9+1=16 , A->6 , C->1
[6,3,6,7,1,2,2,5,2,0,7,1,4] + [1,6,3,7,4,9,4,5,1,6,8,2,1] , A=[6,1] , C=1 , 4+1+1=6 , A->6 , C->0
[6,3,6,7,1,2,2,5,2,0,7,1] + [1,6,3,7,4,9,4,5,1,6,8,2] , A=[6,6,1] , C=0 , 1+2+0=3 , A->3 , C->0
[6,3,6,7,1,2,2,5,2,0,7] + [1,6,3,7,4,9,4,5,1,6,8] , A=[3,6,6,1] , C=0 , 7+8+0=15 , A->5 , C->1
[6,3,6,7,1,2,2,5,2,0] + [1,6,3,7,4,9,4,5,1,6] , A=[5,3,6,6,1] , C=1 , 0+6+1=7 , A->7 , C->0
[6,3,6,7,1,2,2,5,2] + [1,6,3,7,4,9,4,5,1] , A=[7,5,3,6,6,1] , C=0 , 2+1+0=3 , A->3 , C->0
[6,3,6,7,1,2,2,5] + [1,6,3,7,4,9,4,5] , A=[3,7,5,3,6,6,1] , C=0 , 5+5+0=10 , A->0 , C->1
[6,3,6,7,1,2,2] + [1,6,3,7,4,9,4] , A=[0,3,7,5,3,6,6,1] , C=1 , 2+4+1=7 , A->7 , C->0
[6,3,6,7,1,2] + [1,6,3,7,4,9] , A=[7,0,3,7,5,3,6,6,1] , C=0 , 2+9+0=11 , A->1 , C->1
[6,3,6,7,1] + [1,6,3,7,4] , A=[1,7,0,3,7,5,3,6,6,1] , C=1 , 1+4+1=6 , A->6 , C->0
[6,3,6,7] + [1,6,3,7] , A=[6,1,7,0,3,7,5,3,6,6,1] , C=0 , 7+7+0=14 , A->4 , C->1
[6,3,6] + [1,6,3] , A=[4,6,1,7,0,3,7,5,3,6,6,1] , C=1 , 6+3+1=10 , A->0 , C->1
[6,3] + [1,6] , A=[0,4,6,1,7,0,3,7,5,3,6,6,1] , C=1 , 3+6+1=10 , A->0 , C->1
[6] + [1] , A=[0,0,4,6,1,7,0,3,7,5,3,6,6,1] , C=1 , 6+1+1=8 , A->8 , C->0
[] + [] , A=[8,0,0,4,6,1,7,0,3,7,5,3,6,6,1] C=0 , END
</scratch>
800461703753661
| 800461703753661 | 15 |
Input:
557303467245733+692994372867493
Target:
| Input:
557303467245733+692994372867493
Target:
[5,5,7,3,0,3,4,6,7,2,4,5,7,3,3] + [6,9,2,9,9,4,3,7,2,8,6,7,4,9,3] , A=[] , C=0 , 3+3+0=6 , A->6 , C->0
[5,5,7,3,0,3,4,6,7,2,4,5,7,3] + [6,9,2,9,9,4,3,7,2,8,6,7,4,9] , A=[6] , C=0 , 3+9+0=12 , A->2 , C->1
[5,5,7,3,0,3,4,6,7,2,4,5,7] + [6,9,2,9,9,4,3,7,2,8,6,7,4] , A=[2,6] , C=1 , 7+4+1=12 , A->2 , C->1
[5,5,7,3,0,3,4,6,7,2,4,5] + [6,9,2,9,9,4,3,7,2,8,6,7] , A=[2,2,6] , C=1 , 5+7+1=13 , A->3 , C->1
[5,5,7,3,0,3,4,6,7,2,4] + [6,9,2,9,9,4,3,7,2,8,6] , A=[3,2,2,6] , C=1 , 4+6+1=11 , A->1 , C->1
[5,5,7,3,0,3,4,6,7,2] + [6,9,2,9,9,4,3,7,2,8] , A=[1,3,2,2,6] , C=1 , 2+8+1=11 , A->1 , C->1
[5,5,7,3,0,3,4,6,7] + [6,9,2,9,9,4,3,7,2] , A=[1,1,3,2,2,6] , C=1 , 7+2+1=10 , A->0 , C->1
[5,5,7,3,0,3,4,6] + [6,9,2,9,9,4,3,7] , A=[0,1,1,3,2,2,6] , C=1 , 6+7+1=14 , A->4 , C->1
[5,5,7,3,0,3,4] + [6,9,2,9,9,4,3] , A=[4,0,1,1,3,2,2,6] , C=1 , 4+3+1=8 , A->8 , C->0
[5,5,7,3,0,3] + [6,9,2,9,9,4] , A=[8,4,0,1,1,3,2,2,6] , C=0 , 3+4+0=7 , A->7 , C->0
[5,5,7,3,0] + [6,9,2,9,9] , A=[7,8,4,0,1,1,3,2,2,6] , C=0 , 0+9+0=9 , A->9 , C->0
[5,5,7,3] + [6,9,2,9] , A=[9,7,8,4,0,1,1,3,2,2,6] , C=0 , 3+9+0=12 , A->2 , C->1
[5,5,7] + [6,9,2] , A=[2,9,7,8,4,0,1,1,3,2,2,6] , C=1 , 7+2+1=10 , A->0 , C->1
[5,5] + [6,9] , A=[0,2,9,7,8,4,0,1,1,3,2,2,6] , C=1 , 5+9+1=15 , A->5 , C->1
[5] + [6] , A=[5,0,2,9,7,8,4,0,1,1,3,2,2,6] , C=1 , 5+6+1=12 , A->2 , C->1
[] + [] , A=[2,5,0,2,9,7,8,4,0,1,1,3,2,2,6] C=1 , END
</scratch>
1250297840113226
| 1250297840113226 | 15 |
Input:
793079720079905+566862953332451
Target:
| Input:
793079720079905+566862953332451
Target:
[7,9,3,0,7,9,7,2,0,0,7,9,9,0,5] + [5,6,6,8,6,2,9,5,3,3,3,2,4,5,1] , A=[] , C=0 , 5+1+0=6 , A->6 , C->0
[7,9,3,0,7,9,7,2,0,0,7,9,9,0] + [5,6,6,8,6,2,9,5,3,3,3,2,4,5] , A=[6] , C=0 , 0+5+0=5 , A->5 , C->0
[7,9,3,0,7,9,7,2,0,0,7,9,9] + [5,6,6,8,6,2,9,5,3,3,3,2,4] , A=[5,6] , C=0 , 9+4+0=13 , A->3 , C->1
[7,9,3,0,7,9,7,2,0,0,7,9] + [5,6,6,8,6,2,9,5,3,3,3,2] , A=[3,5,6] , C=1 , 9+2+1=12 , A->2 , C->1
[7,9,3,0,7,9,7,2,0,0,7] + [5,6,6,8,6,2,9,5,3,3,3] , A=[2,3,5,6] , C=1 , 7+3+1=11 , A->1 , C->1
[7,9,3,0,7,9,7,2,0,0] + [5,6,6,8,6,2,9,5,3,3] , A=[1,2,3,5,6] , C=1 , 0+3+1=4 , A->4 , C->0
[7,9,3,0,7,9,7,2,0] + [5,6,6,8,6,2,9,5,3] , A=[4,1,2,3,5,6] , C=0 , 0+3+0=3 , A->3 , C->0
[7,9,3,0,7,9,7,2] + [5,6,6,8,6,2,9,5] , A=[3,4,1,2,3,5,6] , C=0 , 2+5+0=7 , A->7 , C->0
[7,9,3,0,7,9,7] + [5,6,6,8,6,2,9] , A=[7,3,4,1,2,3,5,6] , C=0 , 7+9+0=16 , A->6 , C->1
[7,9,3,0,7,9] + [5,6,6,8,6,2] , A=[6,7,3,4,1,2,3,5,6] , C=1 , 9+2+1=12 , A->2 , C->1
[7,9,3,0,7] + [5,6,6,8,6] , A=[2,6,7,3,4,1,2,3,5,6] , C=1 , 7+6+1=14 , A->4 , C->1
[7,9,3,0] + [5,6,6,8] , A=[4,2,6,7,3,4,1,2,3,5,6] , C=1 , 0+8+1=9 , A->9 , C->0
[7,9,3] + [5,6,6] , A=[9,4,2,6,7,3,4,1,2,3,5,6] , C=0 , 3+6+0=9 , A->9 , C->0
[7,9] + [5,6] , A=[9,9,4,2,6,7,3,4,1,2,3,5,6] , C=0 , 9+6+0=15 , A->5 , C->1
[7] + [5] , A=[5,9,9,4,2,6,7,3,4,1,2,3,5,6] , C=1 , 7+5+1=13 , A->3 , C->1
[] + [] , A=[3,5,9,9,4,2,6,7,3,4,1,2,3,5,6] C=1 , END
</scratch>
1359942673412356
| 1359942673412356 | 15 |
Input:
939066972057320+525240782644742
Target:
| Input:
939066972057320+525240782644742
Target:
[9,3,9,0,6,6,9,7,2,0,5,7,3,2,0] + [5,2,5,2,4,0,7,8,2,6,4,4,7,4,2] , A=[] , C=0 , 0+2+0=2 , A->2 , C->0
[9,3,9,0,6,6,9,7,2,0,5,7,3,2] + [5,2,5,2,4,0,7,8,2,6,4,4,7,4] , A=[2] , C=0 , 2+4+0=6 , A->6 , C->0
[9,3,9,0,6,6,9,7,2,0,5,7,3] + [5,2,5,2,4,0,7,8,2,6,4,4,7] , A=[6,2] , C=0 , 3+7+0=10 , A->0 , C->1
[9,3,9,0,6,6,9,7,2,0,5,7] + [5,2,5,2,4,0,7,8,2,6,4,4] , A=[0,6,2] , C=1 , 7+4+1=12 , A->2 , C->1
[9,3,9,0,6,6,9,7,2,0,5] + [5,2,5,2,4,0,7,8,2,6,4] , A=[2,0,6,2] , C=1 , 5+4+1=10 , A->0 , C->1
[9,3,9,0,6,6,9,7,2,0] + [5,2,5,2,4,0,7,8,2,6] , A=[0,2,0,6,2] , C=1 , 0+6+1=7 , A->7 , C->0
[9,3,9,0,6,6,9,7,2] + [5,2,5,2,4,0,7,8,2] , A=[7,0,2,0,6,2] , C=0 , 2+2+0=4 , A->4 , C->0
[9,3,9,0,6,6,9,7] + [5,2,5,2,4,0,7,8] , A=[4,7,0,2,0,6,2] , C=0 , 7+8+0=15 , A->5 , C->1
[9,3,9,0,6,6,9] + [5,2,5,2,4,0,7] , A=[5,4,7,0,2,0,6,2] , C=1 , 9+7+1=17 , A->7 , C->1
[9,3,9,0,6,6] + [5,2,5,2,4,0] , A=[7,5,4,7,0,2,0,6,2] , C=1 , 6+0+1=7 , A->7 , C->0
[9,3,9,0,6] + [5,2,5,2,4] , A=[7,7,5,4,7,0,2,0,6,2] , C=0 , 6+4+0=10 , A->0 , C->1
[9,3,9,0] + [5,2,5,2] , A=[0,7,7,5,4,7,0,2,0,6,2] , C=1 , 0+2+1=3 , A->3 , C->0
[9,3,9] + [5,2,5] , A=[3,0,7,7,5,4,7,0,2,0,6,2] , C=0 , 9+5+0=14 , A->4 , C->1
[9,3] + [5,2] , A=[4,3,0,7,7,5,4,7,0,2,0,6,2] , C=1 , 3+2+1=6 , A->6 , C->0
[9] + [5] , A=[6,4,3,0,7,7,5,4,7,0,2,0,6,2] , C=0 , 9+5+0=14 , A->4 , C->1
[] + [] , A=[4,6,4,3,0,7,7,5,4,7,0,2,0,6,2] C=1 , END
</scratch>
1464307754702062
| 1464307754702062 | 15 |
Input:
383907882815480+546385935407626
Target:
| Input:
383907882815480+546385935407626
Target:
[3,8,3,9,0,7,8,8,2,8,1,5,4,8,0] + [5,4,6,3,8,5,9,3,5,4,0,7,6,2,6] , A=[] , C=0 , 0+6+0=6 , A->6 , C->0
[3,8,3,9,0,7,8,8,2,8,1,5,4,8] + [5,4,6,3,8,5,9,3,5,4,0,7,6,2] , A=[6] , C=0 , 8+2+0=10 , A->0 , C->1
[3,8,3,9,0,7,8,8,2,8,1,5,4] + [5,4,6,3,8,5,9,3,5,4,0,7,6] , A=[0,6] , C=1 , 4+6+1=11 , A->1 , C->1
[3,8,3,9,0,7,8,8,2,8,1,5] + [5,4,6,3,8,5,9,3,5,4,0,7] , A=[1,0,6] , C=1 , 5+7+1=13 , A->3 , C->1
[3,8,3,9,0,7,8,8,2,8,1] + [5,4,6,3,8,5,9,3,5,4,0] , A=[3,1,0,6] , C=1 , 1+0+1=2 , A->2 , C->0
[3,8,3,9,0,7,8,8,2,8] + [5,4,6,3,8,5,9,3,5,4] , A=[2,3,1,0,6] , C=0 , 8+4+0=12 , A->2 , C->1
[3,8,3,9,0,7,8,8,2] + [5,4,6,3,8,5,9,3,5] , A=[2,2,3,1,0,6] , C=1 , 2+5+1=8 , A->8 , C->0
[3,8,3,9,0,7,8,8] + [5,4,6,3,8,5,9,3] , A=[8,2,2,3,1,0,6] , C=0 , 8+3+0=11 , A->1 , C->1
[3,8,3,9,0,7,8] + [5,4,6,3,8,5,9] , A=[1,8,2,2,3,1,0,6] , C=1 , 8+9+1=18 , A->8 , C->1
[3,8,3,9,0,7] + [5,4,6,3,8,5] , A=[8,1,8,2,2,3,1,0,6] , C=1 , 7+5+1=13 , A->3 , C->1
[3,8,3,9,0] + [5,4,6,3,8] , A=[3,8,1,8,2,2,3,1,0,6] , C=1 , 0+8+1=9 , A->9 , C->0
[3,8,3,9] + [5,4,6,3] , A=[9,3,8,1,8,2,2,3,1,0,6] , C=0 , 9+3+0=12 , A->2 , C->1
[3,8,3] + [5,4,6] , A=[2,9,3,8,1,8,2,2,3,1,0,6] , C=1 , 3+6+1=10 , A->0 , C->1
[3,8] + [5,4] , A=[0,2,9,3,8,1,8,2,2,3,1,0,6] , C=1 , 8+4+1=13 , A->3 , C->1
[3] + [5] , A=[3,0,2,9,3,8,1,8,2,2,3,1,0,6] , C=1 , 3+5+1=9 , A->9 , C->0
[] + [] , A=[9,3,0,2,9,3,8,1,8,2,2,3,1,0,6] C=0 , END
</scratch>
930293818223106
| 930293818223106 | 15 |
Input:
343744820251132+666089852886583
Target:
| Input:
343744820251132+666089852886583
Target:
[3,4,3,7,4,4,8,2,0,2,5,1,1,3,2] + [6,6,6,0,8,9,8,5,2,8,8,6,5,8,3] , A=[] , C=0 , 2+3+0=5 , A->5 , C->0
[3,4,3,7,4,4,8,2,0,2,5,1,1,3] + [6,6,6,0,8,9,8,5,2,8,8,6,5,8] , A=[5] , C=0 , 3+8+0=11 , A->1 , C->1
[3,4,3,7,4,4,8,2,0,2,5,1,1] + [6,6,6,0,8,9,8,5,2,8,8,6,5] , A=[1,5] , C=1 , 1+5+1=7 , A->7 , C->0
[3,4,3,7,4,4,8,2,0,2,5,1] + [6,6,6,0,8,9,8,5,2,8,8,6] , A=[7,1,5] , C=0 , 1+6+0=7 , A->7 , C->0
[3,4,3,7,4,4,8,2,0,2,5] + [6,6,6,0,8,9,8,5,2,8,8] , A=[7,7,1,5] , C=0 , 5+8+0=13 , A->3 , C->1
[3,4,3,7,4,4,8,2,0,2] + [6,6,6,0,8,9,8,5,2,8] , A=[3,7,7,1,5] , C=1 , 2+8+1=11 , A->1 , C->1
[3,4,3,7,4,4,8,2,0] + [6,6,6,0,8,9,8,5,2] , A=[1,3,7,7,1,5] , C=1 , 0+2+1=3 , A->3 , C->0
[3,4,3,7,4,4,8,2] + [6,6,6,0,8,9,8,5] , A=[3,1,3,7,7,1,5] , C=0 , 2+5+0=7 , A->7 , C->0
[3,4,3,7,4,4,8] + [6,6,6,0,8,9,8] , A=[7,3,1,3,7,7,1,5] , C=0 , 8+8+0=16 , A->6 , C->1
[3,4,3,7,4,4] + [6,6,6,0,8,9] , A=[6,7,3,1,3,7,7,1,5] , C=1 , 4+9+1=14 , A->4 , C->1
[3,4,3,7,4] + [6,6,6,0,8] , A=[4,6,7,3,1,3,7,7,1,5] , C=1 , 4+8+1=13 , A->3 , C->1
[3,4,3,7] + [6,6,6,0] , A=[3,4,6,7,3,1,3,7,7,1,5] , C=1 , 7+0+1=8 , A->8 , C->0
[3,4,3] + [6,6,6] , A=[8,3,4,6,7,3,1,3,7,7,1,5] , C=0 , 3+6+0=9 , A->9 , C->0
[3,4] + [6,6] , A=[9,8,3,4,6,7,3,1,3,7,7,1,5] , C=0 , 4+6+0=10 , A->0 , C->1
[3] + [6] , A=[0,9,8,3,4,6,7,3,1,3,7,7,1,5] , C=1 , 3+6+1=10 , A->0 , C->1
[] + [] , A=[0,0,9,8,3,4,6,7,3,1,3,7,7,1,5] C=1 , END
</scratch>
1009834673137715
| 1009834673137715 | 15 |
Input:
765089793215254+532756621842407
Target:
| Input:
765089793215254+532756621842407
Target:
[7,6,5,0,8,9,7,9,3,2,1,5,2,5,4] + [5,3,2,7,5,6,6,2,1,8,4,2,4,0,7] , A=[] , C=0 , 4+7+0=11 , A->1 , C->1
[7,6,5,0,8,9,7,9,3,2,1,5,2,5] + [5,3,2,7,5,6,6,2,1,8,4,2,4,0] , A=[1] , C=1 , 5+0+1=6 , A->6 , C->0
[7,6,5,0,8,9,7,9,3,2,1,5,2] + [5,3,2,7,5,6,6,2,1,8,4,2,4] , A=[6,1] , C=0 , 2+4+0=6 , A->6 , C->0
[7,6,5,0,8,9,7,9,3,2,1,5] + [5,3,2,7,5,6,6,2,1,8,4,2] , A=[6,6,1] , C=0 , 5+2+0=7 , A->7 , C->0
[7,6,5,0,8,9,7,9,3,2,1] + [5,3,2,7,5,6,6,2,1,8,4] , A=[7,6,6,1] , C=0 , 1+4+0=5 , A->5 , C->0
[7,6,5,0,8,9,7,9,3,2] + [5,3,2,7,5,6,6,2,1,8] , A=[5,7,6,6,1] , C=0 , 2+8+0=10 , A->0 , C->1
[7,6,5,0,8,9,7,9,3] + [5,3,2,7,5,6,6,2,1] , A=[0,5,7,6,6,1] , C=1 , 3+1+1=5 , A->5 , C->0
[7,6,5,0,8,9,7,9] + [5,3,2,7,5,6,6,2] , A=[5,0,5,7,6,6,1] , C=0 , 9+2+0=11 , A->1 , C->1
[7,6,5,0,8,9,7] + [5,3,2,7,5,6,6] , A=[1,5,0,5,7,6,6,1] , C=1 , 7+6+1=14 , A->4 , C->1
[7,6,5,0,8,9] + [5,3,2,7,5,6] , A=[4,1,5,0,5,7,6,6,1] , C=1 , 9+6+1=16 , A->6 , C->1
[7,6,5,0,8] + [5,3,2,7,5] , A=[6,4,1,5,0,5,7,6,6,1] , C=1 , 8+5+1=14 , A->4 , C->1
[7,6,5,0] + [5,3,2,7] , A=[4,6,4,1,5,0,5,7,6,6,1] , C=1 , 0+7+1=8 , A->8 , C->0
[7,6,5] + [5,3,2] , A=[8,4,6,4,1,5,0,5,7,6,6,1] , C=0 , 5+2+0=7 , A->7 , C->0
[7,6] + [5,3] , A=[7,8,4,6,4,1,5,0,5,7,6,6,1] , C=0 , 6+3+0=9 , A->9 , C->0
[7] + [5] , A=[9,7,8,4,6,4,1,5,0,5,7,6,6,1] , C=0 , 7+5+0=12 , A->2 , C->1
[] + [] , A=[2,9,7,8,4,6,4,1,5,0,5,7,6,6,1] C=1 , END
</scratch>
1297846415057661
| 1297846415057661 | 15 |
Input:
995553563596105+361420172534584
Target:
| Input:
995553563596105+361420172534584
Target:
[9,9,5,5,5,3,5,6,3,5,9,6,1,0,5] + [3,6,1,4,2,0,1,7,2,5,3,4,5,8,4] , A=[] , C=0 , 5+4+0=9 , A->9 , C->0
[9,9,5,5,5,3,5,6,3,5,9,6,1,0] + [3,6,1,4,2,0,1,7,2,5,3,4,5,8] , A=[9] , C=0 , 0+8+0=8 , A->8 , C->0
[9,9,5,5,5,3,5,6,3,5,9,6,1] + [3,6,1,4,2,0,1,7,2,5,3,4,5] , A=[8,9] , C=0 , 1+5+0=6 , A->6 , C->0
[9,9,5,5,5,3,5,6,3,5,9,6] + [3,6,1,4,2,0,1,7,2,5,3,4] , A=[6,8,9] , C=0 , 6+4+0=10 , A->0 , C->1
[9,9,5,5,5,3,5,6,3,5,9] + [3,6,1,4,2,0,1,7,2,5,3] , A=[0,6,8,9] , C=1 , 9+3+1=13 , A->3 , C->1
[9,9,5,5,5,3,5,6,3,5] + [3,6,1,4,2,0,1,7,2,5] , A=[3,0,6,8,9] , C=1 , 5+5+1=11 , A->1 , C->1
[9,9,5,5,5,3,5,6,3] + [3,6,1,4,2,0,1,7,2] , A=[1,3,0,6,8,9] , C=1 , 3+2+1=6 , A->6 , C->0
[9,9,5,5,5,3,5,6] + [3,6,1,4,2,0,1,7] , A=[6,1,3,0,6,8,9] , C=0 , 6+7+0=13 , A->3 , C->1
[9,9,5,5,5,3,5] + [3,6,1,4,2,0,1] , A=[3,6,1,3,0,6,8,9] , C=1 , 5+1+1=7 , A->7 , C->0
[9,9,5,5,5,3] + [3,6,1,4,2,0] , A=[7,3,6,1,3,0,6,8,9] , C=0 , 3+0+0=3 , A->3 , C->0
[9,9,5,5,5] + [3,6,1,4,2] , A=[3,7,3,6,1,3,0,6,8,9] , C=0 , 5+2+0=7 , A->7 , C->0
[9,9,5,5] + [3,6,1,4] , A=[7,3,7,3,6,1,3,0,6,8,9] , C=0 , 5+4+0=9 , A->9 , C->0
[9,9,5] + [3,6,1] , A=[9,7,3,7,3,6,1,3,0,6,8,9] , C=0 , 5+1+0=6 , A->6 , C->0
[9,9] + [3,6] , A=[6,9,7,3,7,3,6,1,3,0,6,8,9] , C=0 , 9+6+0=15 , A->5 , C->1
[9] + [3] , A=[5,6,9,7,3,7,3,6,1,3,0,6,8,9] , C=1 , 9+3+1=13 , A->3 , C->1
[] + [] , A=[3,5,6,9,7,3,7,3,6,1,3,0,6,8,9] C=1 , END
</scratch>
1356973736130689
| 1356973736130689 | 15 |
Input:
825205012633223+349527674240894
Target:
| Input:
825205012633223+349527674240894
Target:
[8,2,5,2,0,5,0,1,2,6,3,3,2,2,3] + [3,4,9,5,2,7,6,7,4,2,4,0,8,9,4] , A=[] , C=0 , 3+4+0=7 , A->7 , C->0
[8,2,5,2,0,5,0,1,2,6,3,3,2,2] + [3,4,9,5,2,7,6,7,4,2,4,0,8,9] , A=[7] , C=0 , 2+9+0=11 , A->1 , C->1
[8,2,5,2,0,5,0,1,2,6,3,3,2] + [3,4,9,5,2,7,6,7,4,2,4,0,8] , A=[1,7] , C=1 , 2+8+1=11 , A->1 , C->1
[8,2,5,2,0,5,0,1,2,6,3,3] + [3,4,9,5,2,7,6,7,4,2,4,0] , A=[1,1,7] , C=1 , 3+0+1=4 , A->4 , C->0
[8,2,5,2,0,5,0,1,2,6,3] + [3,4,9,5,2,7,6,7,4,2,4] , A=[4,1,1,7] , C=0 , 3+4+0=7 , A->7 , C->0
[8,2,5,2,0,5,0,1,2,6] + [3,4,9,5,2,7,6,7,4,2] , A=[7,4,1,1,7] , C=0 , 6+2+0=8 , A->8 , C->0
[8,2,5,2,0,5,0,1,2] + [3,4,9,5,2,7,6,7,4] , A=[8,7,4,1,1,7] , C=0 , 2+4+0=6 , A->6 , C->0
[8,2,5,2,0,5,0,1] + [3,4,9,5,2,7,6,7] , A=[6,8,7,4,1,1,7] , C=0 , 1+7+0=8 , A->8 , C->0
[8,2,5,2,0,5,0] + [3,4,9,5,2,7,6] , A=[8,6,8,7,4,1,1,7] , C=0 , 0+6+0=6 , A->6 , C->0
[8,2,5,2,0,5] + [3,4,9,5,2,7] , A=[6,8,6,8,7,4,1,1,7] , C=0 , 5+7+0=12 , A->2 , C->1
[8,2,5,2,0] + [3,4,9,5,2] , A=[2,6,8,6,8,7,4,1,1,7] , C=1 , 0+2+1=3 , A->3 , C->0
[8,2,5,2] + [3,4,9,5] , A=[3,2,6,8,6,8,7,4,1,1,7] , C=0 , 2+5+0=7 , A->7 , C->0
[8,2,5] + [3,4,9] , A=[7,3,2,6,8,6,8,7,4,1,1,7] , C=0 , 5+9+0=14 , A->4 , C->1
[8,2] + [3,4] , A=[4,7,3,2,6,8,6,8,7,4,1,1,7] , C=1 , 2+4+1=7 , A->7 , C->0
[8] + [3] , A=[7,4,7,3,2,6,8,6,8,7,4,1,1,7] , C=0 , 8+3+0=11 , A->1 , C->1
[] + [] , A=[1,7,4,7,3,2,6,8,6,8,7,4,1,1,7] C=1 , END
</scratch>
1174732686874117
| 1174732686874117 | 15 |
Input:
844157840329062+189848086746416
Target:
| Input:
844157840329062+189848086746416
Target:
[8,4,4,1,5,7,8,4,0,3,2,9,0,6,2] + [1,8,9,8,4,8,0,8,6,7,4,6,4,1,6] , A=[] , C=0 , 2+6+0=8 , A->8 , C->0
[8,4,4,1,5,7,8,4,0,3,2,9,0,6] + [1,8,9,8,4,8,0,8,6,7,4,6,4,1] , A=[8] , C=0 , 6+1+0=7 , A->7 , C->0
[8,4,4,1,5,7,8,4,0,3,2,9,0] + [1,8,9,8,4,8,0,8,6,7,4,6,4] , A=[7,8] , C=0 , 0+4+0=4 , A->4 , C->0
[8,4,4,1,5,7,8,4,0,3,2,9] + [1,8,9,8,4,8,0,8,6,7,4,6] , A=[4,7,8] , C=0 , 9+6+0=15 , A->5 , C->1
[8,4,4,1,5,7,8,4,0,3,2] + [1,8,9,8,4,8,0,8,6,7,4] , A=[5,4,7,8] , C=1 , 2+4+1=7 , A->7 , C->0
[8,4,4,1,5,7,8,4,0,3] + [1,8,9,8,4,8,0,8,6,7] , A=[7,5,4,7,8] , C=0 , 3+7+0=10 , A->0 , C->1
[8,4,4,1,5,7,8,4,0] + [1,8,9,8,4,8,0,8,6] , A=[0,7,5,4,7,8] , C=1 , 0+6+1=7 , A->7 , C->0
[8,4,4,1,5,7,8,4] + [1,8,9,8,4,8,0,8] , A=[7,0,7,5,4,7,8] , C=0 , 4+8+0=12 , A->2 , C->1
[8,4,4,1,5,7,8] + [1,8,9,8,4,8,0] , A=[2,7,0,7,5,4,7,8] , C=1 , 8+0+1=9 , A->9 , C->0
[8,4,4,1,5,7] + [1,8,9,8,4,8] , A=[9,2,7,0,7,5,4,7,8] , C=0 , 7+8+0=15 , A->5 , C->1
[8,4,4,1,5] + [1,8,9,8,4] , A=[5,9,2,7,0,7,5,4,7,8] , C=1 , 5+4+1=10 , A->0 , C->1
[8,4,4,1] + [1,8,9,8] , A=[0,5,9,2,7,0,7,5,4,7,8] , C=1 , 1+8+1=10 , A->0 , C->1
[8,4,4] + [1,8,9] , A=[0,0,5,9,2,7,0,7,5,4,7,8] , C=1 , 4+9+1=14 , A->4 , C->1
[8,4] + [1,8] , A=[4,0,0,5,9,2,7,0,7,5,4,7,8] , C=1 , 4+8+1=13 , A->3 , C->1
[8] + [1] , A=[3,4,0,0,5,9,2,7,0,7,5,4,7,8] , C=1 , 8+1+1=10 , A->0 , C->1
[] + [] , A=[0,3,4,0,0,5,9,2,7,0,7,5,4,7,8] C=1 , END
</scratch>
1034005927075478
| 1034005927075478 | 15 |
Input:
541407631026956+518198209733230
Target:
| Input:
541407631026956+518198209733230
Target:
[5,4,1,4,0,7,6,3,1,0,2,6,9,5,6] + [5,1,8,1,9,8,2,0,9,7,3,3,2,3,0] , A=[] , C=0 , 6+0+0=6 , A->6 , C->0
[5,4,1,4,0,7,6,3,1,0,2,6,9,5] + [5,1,8,1,9,8,2,0,9,7,3,3,2,3] , A=[6] , C=0 , 5+3+0=8 , A->8 , C->0
[5,4,1,4,0,7,6,3,1,0,2,6,9] + [5,1,8,1,9,8,2,0,9,7,3,3,2] , A=[8,6] , C=0 , 9+2+0=11 , A->1 , C->1
[5,4,1,4,0,7,6,3,1,0,2,6] + [5,1,8,1,9,8,2,0,9,7,3,3] , A=[1,8,6] , C=1 , 6+3+1=10 , A->0 , C->1
[5,4,1,4,0,7,6,3,1,0,2] + [5,1,8,1,9,8,2,0,9,7,3] , A=[0,1,8,6] , C=1 , 2+3+1=6 , A->6 , C->0
[5,4,1,4,0,7,6,3,1,0] + [5,1,8,1,9,8,2,0,9,7] , A=[6,0,1,8,6] , C=0 , 0+7+0=7 , A->7 , C->0
[5,4,1,4,0,7,6,3,1] + [5,1,8,1,9,8,2,0,9] , A=[7,6,0,1,8,6] , C=0 , 1+9+0=10 , A->0 , C->1
[5,4,1,4,0,7,6,3] + [5,1,8,1,9,8,2,0] , A=[0,7,6,0,1,8,6] , C=1 , 3+0+1=4 , A->4 , C->0
[5,4,1,4,0,7,6] + [5,1,8,1,9,8,2] , A=[4,0,7,6,0,1,8,6] , C=0 , 6+2+0=8 , A->8 , C->0
[5,4,1,4,0,7] + [5,1,8,1,9,8] , A=[8,4,0,7,6,0,1,8,6] , C=0 , 7+8+0=15 , A->5 , C->1
[5,4,1,4,0] + [5,1,8,1,9] , A=[5,8,4,0,7,6,0,1,8,6] , C=1 , 0+9+1=10 , A->0 , C->1
[5,4,1,4] + [5,1,8,1] , A=[0,5,8,4,0,7,6,0,1,8,6] , C=1 , 4+1+1=6 , A->6 , C->0
[5,4,1] + [5,1,8] , A=[6,0,5,8,4,0,7,6,0,1,8,6] , C=0 , 1+8+0=9 , A->9 , C->0
[5,4] + [5,1] , A=[9,6,0,5,8,4,0,7,6,0,1,8,6] , C=0 , 4+1+0=5 , A->5 , C->0
[5] + [5] , A=[5,9,6,0,5,8,4,0,7,6,0,1,8,6] , C=0 , 5+5+0=10 , A->0 , C->1
[] + [] , A=[0,5,9,6,0,5,8,4,0,7,6,0,1,8,6] C=1 , END
</scratch>
1059605840760186
| 1059605840760186 | 15 |
Input:
860475629078607+715768317444369
Target:
| Input:
860475629078607+715768317444369
Target:
[8,6,0,4,7,5,6,2,9,0,7,8,6,0,7] + [7,1,5,7,6,8,3,1,7,4,4,4,3,6,9] , A=[] , C=0 , 7+9+0=16 , A->6 , C->1
[8,6,0,4,7,5,6,2,9,0,7,8,6,0] + [7,1,5,7,6,8,3,1,7,4,4,4,3,6] , A=[6] , C=1 , 0+6+1=7 , A->7 , C->0
[8,6,0,4,7,5,6,2,9,0,7,8,6] + [7,1,5,7,6,8,3,1,7,4,4,4,3] , A=[7,6] , C=0 , 6+3+0=9 , A->9 , C->0
[8,6,0,4,7,5,6,2,9,0,7,8] + [7,1,5,7,6,8,3,1,7,4,4,4] , A=[9,7,6] , C=0 , 8+4+0=12 , A->2 , C->1
[8,6,0,4,7,5,6,2,9,0,7] + [7,1,5,7,6,8,3,1,7,4,4] , A=[2,9,7,6] , C=1 , 7+4+1=12 , A->2 , C->1
[8,6,0,4,7,5,6,2,9,0] + [7,1,5,7,6,8,3,1,7,4] , A=[2,2,9,7,6] , C=1 , 0+4+1=5 , A->5 , C->0
[8,6,0,4,7,5,6,2,9] + [7,1,5,7,6,8,3,1,7] , A=[5,2,2,9,7,6] , C=0 , 9+7+0=16 , A->6 , C->1
[8,6,0,4,7,5,6,2] + [7,1,5,7,6,8,3,1] , A=[6,5,2,2,9,7,6] , C=1 , 2+1+1=4 , A->4 , C->0
[8,6,0,4,7,5,6] + [7,1,5,7,6,8,3] , A=[4,6,5,2,2,9,7,6] , C=0 , 6+3+0=9 , A->9 , C->0
[8,6,0,4,7,5] + [7,1,5,7,6,8] , A=[9,4,6,5,2,2,9,7,6] , C=0 , 5+8+0=13 , A->3 , C->1
[8,6,0,4,7] + [7,1,5,7,6] , A=[3,9,4,6,5,2,2,9,7,6] , C=1 , 7+6+1=14 , A->4 , C->1
[8,6,0,4] + [7,1,5,7] , A=[4,3,9,4,6,5,2,2,9,7,6] , C=1 , 4+7+1=12 , A->2 , C->1
[8,6,0] + [7,1,5] , A=[2,4,3,9,4,6,5,2,2,9,7,6] , C=1 , 0+5+1=6 , A->6 , C->0
[8,6] + [7,1] , A=[6,2,4,3,9,4,6,5,2,2,9,7,6] , C=0 , 6+1+0=7 , A->7 , C->0
[8] + [7] , A=[7,6,2,4,3,9,4,6,5,2,2,9,7,6] , C=0 , 8+7+0=15 , A->5 , C->1
[] + [] , A=[5,7,6,2,4,3,9,4,6,5,2,2,9,7,6] C=1 , END
</scratch>
1576243946522976
| 1576243946522976 | 15 |
Input:
191258909761523+836115529112096
Target:
| Input:
191258909761523+836115529112096
Target:
[1,9,1,2,5,8,9,0,9,7,6,1,5,2,3] + [8,3,6,1,1,5,5,2,9,1,1,2,0,9,6] , A=[] , C=0 , 3+6+0=9 , A->9 , C->0
[1,9,1,2,5,8,9,0,9,7,6,1,5,2] + [8,3,6,1,1,5,5,2,9,1,1,2,0,9] , A=[9] , C=0 , 2+9+0=11 , A->1 , C->1
[1,9,1,2,5,8,9,0,9,7,6,1,5] + [8,3,6,1,1,5,5,2,9,1,1,2,0] , A=[1,9] , C=1 , 5+0+1=6 , A->6 , C->0
[1,9,1,2,5,8,9,0,9,7,6,1] + [8,3,6,1,1,5,5,2,9,1,1,2] , A=[6,1,9] , C=0 , 1+2+0=3 , A->3 , C->0
[1,9,1,2,5,8,9,0,9,7,6] + [8,3,6,1,1,5,5,2,9,1,1] , A=[3,6,1,9] , C=0 , 6+1+0=7 , A->7 , C->0
[1,9,1,2,5,8,9,0,9,7] + [8,3,6,1,1,5,5,2,9,1] , A=[7,3,6,1,9] , C=0 , 7+1+0=8 , A->8 , C->0
[1,9,1,2,5,8,9,0,9] + [8,3,6,1,1,5,5,2,9] , A=[8,7,3,6,1,9] , C=0 , 9+9+0=18 , A->8 , C->1
[1,9,1,2,5,8,9,0] + [8,3,6,1,1,5,5,2] , A=[8,8,7,3,6,1,9] , C=1 , 0+2+1=3 , A->3 , C->0
[1,9,1,2,5,8,9] + [8,3,6,1,1,5,5] , A=[3,8,8,7,3,6,1,9] , C=0 , 9+5+0=14 , A->4 , C->1
[1,9,1,2,5,8] + [8,3,6,1,1,5] , A=[4,3,8,8,7,3,6,1,9] , C=1 , 8+5+1=14 , A->4 , C->1
[1,9,1,2,5] + [8,3,6,1,1] , A=[4,4,3,8,8,7,3,6,1,9] , C=1 , 5+1+1=7 , A->7 , C->0
[1,9,1,2] + [8,3,6,1] , A=[7,4,4,3,8,8,7,3,6,1,9] , C=0 , 2+1+0=3 , A->3 , C->0
[1,9,1] + [8,3,6] , A=[3,7,4,4,3,8,8,7,3,6,1,9] , C=0 , 1+6+0=7 , A->7 , C->0
[1,9] + [8,3] , A=[7,3,7,4,4,3,8,8,7,3,6,1,9] , C=0 , 9+3+0=12 , A->2 , C->1
[1] + [8] , A=[2,7,3,7,4,4,3,8,8,7,3,6,1,9] , C=1 , 1+8+1=10 , A->0 , C->1
[] + [] , A=[0,2,7,3,7,4,4,3,8,8,7,3,6,1,9] C=1 , END
</scratch>
1027374438873619
| 1027374438873619 | 15 |
Input:
563869446221916+241560030007244
Target:
| Input:
563869446221916+241560030007244
Target:
[5,6,3,8,6,9,4,4,6,2,2,1,9,1,6] + [2,4,1,5,6,0,0,3,0,0,0,7,2,4,4] , A=[] , C=0 , 6+4+0=10 , A->0 , C->1
[5,6,3,8,6,9,4,4,6,2,2,1,9,1] + [2,4,1,5,6,0,0,3,0,0,0,7,2,4] , A=[0] , C=1 , 1+4+1=6 , A->6 , C->0
[5,6,3,8,6,9,4,4,6,2,2,1,9] + [2,4,1,5,6,0,0,3,0,0,0,7,2] , A=[6,0] , C=0 , 9+2+0=11 , A->1 , C->1
[5,6,3,8,6,9,4,4,6,2,2,1] + [2,4,1,5,6,0,0,3,0,0,0,7] , A=[1,6,0] , C=1 , 1+7+1=9 , A->9 , C->0
[5,6,3,8,6,9,4,4,6,2,2] + [2,4,1,5,6,0,0,3,0,0,0] , A=[9,1,6,0] , C=0 , 2+0+0=2 , A->2 , C->0
[5,6,3,8,6,9,4,4,6,2] + [2,4,1,5,6,0,0,3,0,0] , A=[2,9,1,6,0] , C=0 , 2+0+0=2 , A->2 , C->0
[5,6,3,8,6,9,4,4,6] + [2,4,1,5,6,0,0,3,0] , A=[2,2,9,1,6,0] , C=0 , 6+0+0=6 , A->6 , C->0
[5,6,3,8,6,9,4,4] + [2,4,1,5,6,0,0,3] , A=[6,2,2,9,1,6,0] , C=0 , 4+3+0=7 , A->7 , C->0
[5,6,3,8,6,9,4] + [2,4,1,5,6,0,0] , A=[7,6,2,2,9,1,6,0] , C=0 , 4+0+0=4 , A->4 , C->0
[5,6,3,8,6,9] + [2,4,1,5,6,0] , A=[4,7,6,2,2,9,1,6,0] , C=0 , 9+0+0=9 , A->9 , C->0
[5,6,3,8,6] + [2,4,1,5,6] , A=[9,4,7,6,2,2,9,1,6,0] , C=0 , 6+6+0=12 , A->2 , C->1
[5,6,3,8] + [2,4,1,5] , A=[2,9,4,7,6,2,2,9,1,6,0] , C=1 , 8+5+1=14 , A->4 , C->1
[5,6,3] + [2,4,1] , A=[4,2,9,4,7,6,2,2,9,1,6,0] , C=1 , 3+1+1=5 , A->5 , C->0
[5,6] + [2,4] , A=[5,4,2,9,4,7,6,2,2,9,1,6,0] , C=0 , 6+4+0=10 , A->0 , C->1
[5] + [2] , A=[0,5,4,2,9,4,7,6,2,2,9,1,6,0] , C=1 , 5+2+1=8 , A->8 , C->0
[] + [] , A=[8,0,5,4,2,9,4,7,6,2,2,9,1,6,0] C=0 , END
</scratch>
805429476229160
| 805429476229160 | 15 |
Input:
664517480217906+806783987030768
Target:
| Input:
664517480217906+806783987030768
Target:
[6,6,4,5,1,7,4,8,0,2,1,7,9,0,6] + [8,0,6,7,8,3,9,8,7,0,3,0,7,6,8] , A=[] , C=0 , 6+8+0=14 , A->4 , C->1
[6,6,4,5,1,7,4,8,0,2,1,7,9,0] + [8,0,6,7,8,3,9,8,7,0,3,0,7,6] , A=[4] , C=1 , 0+6+1=7 , A->7 , C->0
[6,6,4,5,1,7,4,8,0,2,1,7,9] + [8,0,6,7,8,3,9,8,7,0,3,0,7] , A=[7,4] , C=0 , 9+7+0=16 , A->6 , C->1
[6,6,4,5,1,7,4,8,0,2,1,7] + [8,0,6,7,8,3,9,8,7,0,3,0] , A=[6,7,4] , C=1 , 7+0+1=8 , A->8 , C->0
[6,6,4,5,1,7,4,8,0,2,1] + [8,0,6,7,8,3,9,8,7,0,3] , A=[8,6,7,4] , C=0 , 1+3+0=4 , A->4 , C->0
[6,6,4,5,1,7,4,8,0,2] + [8,0,6,7,8,3,9,8,7,0] , A=[4,8,6,7,4] , C=0 , 2+0+0=2 , A->2 , C->0
[6,6,4,5,1,7,4,8,0] + [8,0,6,7,8,3,9,8,7] , A=[2,4,8,6,7,4] , C=0 , 0+7+0=7 , A->7 , C->0
[6,6,4,5,1,7,4,8] + [8,0,6,7,8,3,9,8] , A=[7,2,4,8,6,7,4] , C=0 , 8+8+0=16 , A->6 , C->1
[6,6,4,5,1,7,4] + [8,0,6,7,8,3,9] , A=[6,7,2,4,8,6,7,4] , C=1 , 4+9+1=14 , A->4 , C->1
[6,6,4,5,1,7] + [8,0,6,7,8,3] , A=[4,6,7,2,4,8,6,7,4] , C=1 , 7+3+1=11 , A->1 , C->1
[6,6,4,5,1] + [8,0,6,7,8] , A=[1,4,6,7,2,4,8,6,7,4] , C=1 , 1+8+1=10 , A->0 , C->1
[6,6,4,5] + [8,0,6,7] , A=[0,1,4,6,7,2,4,8,6,7,4] , C=1 , 5+7+1=13 , A->3 , C->1
[6,6,4] + [8,0,6] , A=[3,0,1,4,6,7,2,4,8,6,7,4] , C=1 , 4+6+1=11 , A->1 , C->1
[6,6] + [8,0] , A=[1,3,0,1,4,6,7,2,4,8,6,7,4] , C=1 , 6+0+1=7 , A->7 , C->0
[6] + [8] , A=[7,1,3,0,1,4,6,7,2,4,8,6,7,4] , C=0 , 6+8+0=14 , A->4 , C->1
[] + [] , A=[4,7,1,3,0,1,4,6,7,2,4,8,6,7,4] C=1 , END
</scratch>
1471301467248674
| 1471301467248674 | 15 |
Input:
163980856312123+825632169971193
Target:
| Input:
163980856312123+825632169971193
Target:
[1,6,3,9,8,0,8,5,6,3,1,2,1,2,3] + [8,2,5,6,3,2,1,6,9,9,7,1,1,9,3] , A=[] , C=0 , 3+3+0=6 , A->6 , C->0
[1,6,3,9,8,0,8,5,6,3,1,2,1,2] + [8,2,5,6,3,2,1,6,9,9,7,1,1,9] , A=[6] , C=0 , 2+9+0=11 , A->1 , C->1
[1,6,3,9,8,0,8,5,6,3,1,2,1] + [8,2,5,6,3,2,1,6,9,9,7,1,1] , A=[1,6] , C=1 , 1+1+1=3 , A->3 , C->0
[1,6,3,9,8,0,8,5,6,3,1,2] + [8,2,5,6,3,2,1,6,9,9,7,1] , A=[3,1,6] , C=0 , 2+1+0=3 , A->3 , C->0
[1,6,3,9,8,0,8,5,6,3,1] + [8,2,5,6,3,2,1,6,9,9,7] , A=[3,3,1,6] , C=0 , 1+7+0=8 , A->8 , C->0
[1,6,3,9,8,0,8,5,6,3] + [8,2,5,6,3,2,1,6,9,9] , A=[8,3,3,1,6] , C=0 , 3+9+0=12 , A->2 , C->1
[1,6,3,9,8,0,8,5,6] + [8,2,5,6,3,2,1,6,9] , A=[2,8,3,3,1,6] , C=1 , 6+9+1=16 , A->6 , C->1
[1,6,3,9,8,0,8,5] + [8,2,5,6,3,2,1,6] , A=[6,2,8,3,3,1,6] , C=1 , 5+6+1=12 , A->2 , C->1
[1,6,3,9,8,0,8] + [8,2,5,6,3,2,1] , A=[2,6,2,8,3,3,1,6] , C=1 , 8+1+1=10 , A->0 , C->1
[1,6,3,9,8,0] + [8,2,5,6,3,2] , A=[0,2,6,2,8,3,3,1,6] , C=1 , 0+2+1=3 , A->3 , C->0
[1,6,3,9,8] + [8,2,5,6,3] , A=[3,0,2,6,2,8,3,3,1,6] , C=0 , 8+3+0=11 , A->1 , C->1
[1,6,3,9] + [8,2,5,6] , A=[1,3,0,2,6,2,8,3,3,1,6] , C=1 , 9+6+1=16 , A->6 , C->1
[1,6,3] + [8,2,5] , A=[6,1,3,0,2,6,2,8,3,3,1,6] , C=1 , 3+5+1=9 , A->9 , C->0
[1,6] + [8,2] , A=[9,6,1,3,0,2,6,2,8,3,3,1,6] , C=0 , 6+2+0=8 , A->8 , C->0
[1] + [8] , A=[8,9,6,1,3,0,2,6,2,8,3,3,1,6] , C=0 , 1+8+0=9 , A->9 , C->0
[] + [] , A=[9,8,9,6,1,3,0,2,6,2,8,3,3,1,6] C=0 , END
</scratch>
989613026283316
| 989613026283316 | 15 |
Input:
706339253765830+917026079857156
Target:
| Input:
706339253765830+917026079857156
Target:
[7,0,6,3,3,9,2,5,3,7,6,5,8,3,0] + [9,1,7,0,2,6,0,7,9,8,5,7,1,5,6] , A=[] , C=0 , 0+6+0=6 , A->6 , C->0
[7,0,6,3,3,9,2,5,3,7,6,5,8,3] + [9,1,7,0,2,6,0,7,9,8,5,7,1,5] , A=[6] , C=0 , 3+5+0=8 , A->8 , C->0
[7,0,6,3,3,9,2,5,3,7,6,5,8] + [9,1,7,0,2,6,0,7,9,8,5,7,1] , A=[8,6] , C=0 , 8+1+0=9 , A->9 , C->0
[7,0,6,3,3,9,2,5,3,7,6,5] + [9,1,7,0,2,6,0,7,9,8,5,7] , A=[9,8,6] , C=0 , 5+7+0=12 , A->2 , C->1
[7,0,6,3,3,9,2,5,3,7,6] + [9,1,7,0,2,6,0,7,9,8,5] , A=[2,9,8,6] , C=1 , 6+5+1=12 , A->2 , C->1
[7,0,6,3,3,9,2,5,3,7] + [9,1,7,0,2,6,0,7,9,8] , A=[2,2,9,8,6] , C=1 , 7+8+1=16 , A->6 , C->1
[7,0,6,3,3,9,2,5,3] + [9,1,7,0,2,6,0,7,9] , A=[6,2,2,9,8,6] , C=1 , 3+9+1=13 , A->3 , C->1
[7,0,6,3,3,9,2,5] + [9,1,7,0,2,6,0,7] , A=[3,6,2,2,9,8,6] , C=1 , 5+7+1=13 , A->3 , C->1
[7,0,6,3,3,9,2] + [9,1,7,0,2,6,0] , A=[3,3,6,2,2,9,8,6] , C=1 , 2+0+1=3 , A->3 , C->0
[7,0,6,3,3,9] + [9,1,7,0,2,6] , A=[3,3,3,6,2,2,9,8,6] , C=0 , 9+6+0=15 , A->5 , C->1
[7,0,6,3,3] + [9,1,7,0,2] , A=[5,3,3,3,6,2,2,9,8,6] , C=1 , 3+2+1=6 , A->6 , C->0
[7,0,6,3] + [9,1,7,0] , A=[6,5,3,3,3,6,2,2,9,8,6] , C=0 , 3+0+0=3 , A->3 , C->0
[7,0,6] + [9,1,7] , A=[3,6,5,3,3,3,6,2,2,9,8,6] , C=0 , 6+7+0=13 , A->3 , C->1
[7,0] + [9,1] , A=[3,3,6,5,3,3,3,6,2,2,9,8,6] , C=1 , 0+1+1=2 , A->2 , C->0
[7] + [9] , A=[2,3,3,6,5,3,3,3,6,2,2,9,8,6] , C=0 , 7+9+0=16 , A->6 , C->1
[] + [] , A=[6,2,3,3,6,5,3,3,3,6,2,2,9,8,6] C=1 , END
</scratch>
1623365333622986
| 1623365333622986 | 15 |
Input:
472188006563720+966298710876937
Target:
| Input:
472188006563720+966298710876937
Target:
[4,7,2,1,8,8,0,0,6,5,6,3,7,2,0] + [9,6,6,2,9,8,7,1,0,8,7,6,9,3,7] , A=[] , C=0 , 0+7+0=7 , A->7 , C->0
[4,7,2,1,8,8,0,0,6,5,6,3,7,2] + [9,6,6,2,9,8,7,1,0,8,7,6,9,3] , A=[7] , C=0 , 2+3+0=5 , A->5 , C->0
[4,7,2,1,8,8,0,0,6,5,6,3,7] + [9,6,6,2,9,8,7,1,0,8,7,6,9] , A=[5,7] , C=0 , 7+9+0=16 , A->6 , C->1
[4,7,2,1,8,8,0,0,6,5,6,3] + [9,6,6,2,9,8,7,1,0,8,7,6] , A=[6,5,7] , C=1 , 3+6+1=10 , A->0 , C->1
[4,7,2,1,8,8,0,0,6,5,6] + [9,6,6,2,9,8,7,1,0,8,7] , A=[0,6,5,7] , C=1 , 6+7+1=14 , A->4 , C->1
[4,7,2,1,8,8,0,0,6,5] + [9,6,6,2,9,8,7,1,0,8] , A=[4,0,6,5,7] , C=1 , 5+8+1=14 , A->4 , C->1
[4,7,2,1,8,8,0,0,6] + [9,6,6,2,9,8,7,1,0] , A=[4,4,0,6,5,7] , C=1 , 6+0+1=7 , A->7 , C->0
[4,7,2,1,8,8,0,0] + [9,6,6,2,9,8,7,1] , A=[7,4,4,0,6,5,7] , C=0 , 0+1+0=1 , A->1 , C->0
[4,7,2,1,8,8,0] + [9,6,6,2,9,8,7] , A=[1,7,4,4,0,6,5,7] , C=0 , 0+7+0=7 , A->7 , C->0
[4,7,2,1,8,8] + [9,6,6,2,9,8] , A=[7,1,7,4,4,0,6,5,7] , C=0 , 8+8+0=16 , A->6 , C->1
[4,7,2,1,8] + [9,6,6,2,9] , A=[6,7,1,7,4,4,0,6,5,7] , C=1 , 8+9+1=18 , A->8 , C->1
[4,7,2,1] + [9,6,6,2] , A=[8,6,7,1,7,4,4,0,6,5,7] , C=1 , 1+2+1=4 , A->4 , C->0
[4,7,2] + [9,6,6] , A=[4,8,6,7,1,7,4,4,0,6,5,7] , C=0 , 2+6+0=8 , A->8 , C->0
[4,7] + [9,6] , A=[8,4,8,6,7,1,7,4,4,0,6,5,7] , C=0 , 7+6+0=13 , A->3 , C->1
[4] + [9] , A=[3,8,4,8,6,7,1,7,4,4,0,6,5,7] , C=1 , 4+9+1=14 , A->4 , C->1
[] + [] , A=[4,3,8,4,8,6,7,1,7,4,4,0,6,5,7] C=1 , END
</scratch>
1438486717440657
| 1438486717440657 | 15 |
Input:
779802850586367+116960040052619
Target:
| Input:
779802850586367+116960040052619
Target:
[7,7,9,8,0,2,8,5,0,5,8,6,3,6,7] + [1,1,6,9,6,0,0,4,0,0,5,2,6,1,9] , A=[] , C=0 , 7+9+0=16 , A->6 , C->1
[7,7,9,8,0,2,8,5,0,5,8,6,3,6] + [1,1,6,9,6,0,0,4,0,0,5,2,6,1] , A=[6] , C=1 , 6+1+1=8 , A->8 , C->0
[7,7,9,8,0,2,8,5,0,5,8,6,3] + [1,1,6,9,6,0,0,4,0,0,5,2,6] , A=[8,6] , C=0 , 3+6+0=9 , A->9 , C->0
[7,7,9,8,0,2,8,5,0,5,8,6] + [1,1,6,9,6,0,0,4,0,0,5,2] , A=[9,8,6] , C=0 , 6+2+0=8 , A->8 , C->0
[7,7,9,8,0,2,8,5,0,5,8] + [1,1,6,9,6,0,0,4,0,0,5] , A=[8,9,8,6] , C=0 , 8+5+0=13 , A->3 , C->1
[7,7,9,8,0,2,8,5,0,5] + [1,1,6,9,6,0,0,4,0,0] , A=[3,8,9,8,6] , C=1 , 5+0+1=6 , A->6 , C->0
[7,7,9,8,0,2,8,5,0] + [1,1,6,9,6,0,0,4,0] , A=[6,3,8,9,8,6] , C=0 , 0+0+0=0 , A->0 , C->0
[7,7,9,8,0,2,8,5] + [1,1,6,9,6,0,0,4] , A=[0,6,3,8,9,8,6] , C=0 , 5+4+0=9 , A->9 , C->0
[7,7,9,8,0,2,8] + [1,1,6,9,6,0,0] , A=[9,0,6,3,8,9,8,6] , C=0 , 8+0+0=8 , A->8 , C->0
[7,7,9,8,0,2] + [1,1,6,9,6,0] , A=[8,9,0,6,3,8,9,8,6] , C=0 , 2+0+0=2 , A->2 , C->0
[7,7,9,8,0] + [1,1,6,9,6] , A=[2,8,9,0,6,3,8,9,8,6] , C=0 , 0+6+0=6 , A->6 , C->0
[7,7,9,8] + [1,1,6,9] , A=[6,2,8,9,0,6,3,8,9,8,6] , C=0 , 8+9+0=17 , A->7 , C->1
[7,7,9] + [1,1,6] , A=[7,6,2,8,9,0,6,3,8,9,8,6] , C=1 , 9+6+1=16 , A->6 , C->1
[7,7] + [1,1] , A=[6,7,6,2,8,9,0,6,3,8,9,8,6] , C=1 , 7+1+1=9 , A->9 , C->0
[7] + [1] , A=[9,6,7,6,2,8,9,0,6,3,8,9,8,6] , C=0 , 7+1+0=8 , A->8 , C->0
[] + [] , A=[8,9,6,7,6,2,8,9,0,6,3,8,9,8,6] C=0 , END
</scratch>
896762890638986
| 896762890638986 | 15 |
Input:
215134772644740+924901511170347
Target:
| Input:
215134772644740+924901511170347
Target:
[2,1,5,1,3,4,7,7,2,6,4,4,7,4,0] + [9,2,4,9,0,1,5,1,1,1,7,0,3,4,7] , A=[] , C=0 , 0+7+0=7 , A->7 , C->0
[2,1,5,1,3,4,7,7,2,6,4,4,7,4] + [9,2,4,9,0,1,5,1,1,1,7,0,3,4] , A=[7] , C=0 , 4+4+0=8 , A->8 , C->0
[2,1,5,1,3,4,7,7,2,6,4,4,7] + [9,2,4,9,0,1,5,1,1,1,7,0,3] , A=[8,7] , C=0 , 7+3+0=10 , A->0 , C->1
[2,1,5,1,3,4,7,7,2,6,4,4] + [9,2,4,9,0,1,5,1,1,1,7,0] , A=[0,8,7] , C=1 , 4+0+1=5 , A->5 , C->0
[2,1,5,1,3,4,7,7,2,6,4] + [9,2,4,9,0,1,5,1,1,1,7] , A=[5,0,8,7] , C=0 , 4+7+0=11 , A->1 , C->1
[2,1,5,1,3,4,7,7,2,6] + [9,2,4,9,0,1,5,1,1,1] , A=[1,5,0,8,7] , C=1 , 6+1+1=8 , A->8 , C->0
[2,1,5,1,3,4,7,7,2] + [9,2,4,9,0,1,5,1,1] , A=[8,1,5,0,8,7] , C=0 , 2+1+0=3 , A->3 , C->0
[2,1,5,1,3,4,7,7] + [9,2,4,9,0,1,5,1] , A=[3,8,1,5,0,8,7] , C=0 , 7+1+0=8 , A->8 , C->0
[2,1,5,1,3,4,7] + [9,2,4,9,0,1,5] , A=[8,3,8,1,5,0,8,7] , C=0 , 7+5+0=12 , A->2 , C->1
[2,1,5,1,3,4] + [9,2,4,9,0,1] , A=[2,8,3,8,1,5,0,8,7] , C=1 , 4+1+1=6 , A->6 , C->0
[2,1,5,1,3] + [9,2,4,9,0] , A=[6,2,8,3,8,1,5,0,8,7] , C=0 , 3+0+0=3 , A->3 , C->0
[2,1,5,1] + [9,2,4,9] , A=[3,6,2,8,3,8,1,5,0,8,7] , C=0 , 1+9+0=10 , A->0 , C->1
[2,1,5] + [9,2,4] , A=[0,3,6,2,8,3,8,1,5,0,8,7] , C=1 , 5+4+1=10 , A->0 , C->1
[2,1] + [9,2] , A=[0,0,3,6,2,8,3,8,1,5,0,8,7] , C=1 , 1+2+1=4 , A->4 , C->0
[2] + [9] , A=[4,0,0,3,6,2,8,3,8,1,5,0,8,7] , C=0 , 2+9+0=11 , A->1 , C->1
[] + [] , A=[1,4,0,0,3,6,2,8,3,8,1,5,0,8,7] C=1 , END
</scratch>
1140036283815087
| 1140036283815087 | 15 |
Input:
140897434328232+733040321389802
Target:
| Input:
140897434328232+733040321389802
Target:
[1,4,0,8,9,7,4,3,4,3,2,8,2,3,2] + [7,3,3,0,4,0,3,2,1,3,8,9,8,0,2] , A=[] , C=0 , 2+2+0=4 , A->4 , C->0
[1,4,0,8,9,7,4,3,4,3,2,8,2,3] + [7,3,3,0,4,0,3,2,1,3,8,9,8,0] , A=[4] , C=0 , 3+0+0=3 , A->3 , C->0
[1,4,0,8,9,7,4,3,4,3,2,8,2] + [7,3,3,0,4,0,3,2,1,3,8,9,8] , A=[3,4] , C=0 , 2+8+0=10 , A->0 , C->1
[1,4,0,8,9,7,4,3,4,3,2,8] + [7,3,3,0,4,0,3,2,1,3,8,9] , A=[0,3,4] , C=1 , 8+9+1=18 , A->8 , C->1
[1,4,0,8,9,7,4,3,4,3,2] + [7,3,3,0,4,0,3,2,1,3,8] , A=[8,0,3,4] , C=1 , 2+8+1=11 , A->1 , C->1
[1,4,0,8,9,7,4,3,4,3] + [7,3,3,0,4,0,3,2,1,3] , A=[1,8,0,3,4] , C=1 , 3+3+1=7 , A->7 , C->0
[1,4,0,8,9,7,4,3,4] + [7,3,3,0,4,0,3,2,1] , A=[7,1,8,0,3,4] , C=0 , 4+1+0=5 , A->5 , C->0
[1,4,0,8,9,7,4,3] + [7,3,3,0,4,0,3,2] , A=[5,7,1,8,0,3,4] , C=0 , 3+2+0=5 , A->5 , C->0
[1,4,0,8,9,7,4] + [7,3,3,0,4,0,3] , A=[5,5,7,1,8,0,3,4] , C=0 , 4+3+0=7 , A->7 , C->0
[1,4,0,8,9,7] + [7,3,3,0,4,0] , A=[7,5,5,7,1,8,0,3,4] , C=0 , 7+0+0=7 , A->7 , C->0
[1,4,0,8,9] + [7,3,3,0,4] , A=[7,7,5,5,7,1,8,0,3,4] , C=0 , 9+4+0=13 , A->3 , C->1
[1,4,0,8] + [7,3,3,0] , A=[3,7,7,5,5,7,1,8,0,3,4] , C=1 , 8+0+1=9 , A->9 , C->0
[1,4,0] + [7,3,3] , A=[9,3,7,7,5,5,7,1,8,0,3,4] , C=0 , 0+3+0=3 , A->3 , C->0
[1,4] + [7,3] , A=[3,9,3,7,7,5,5,7,1,8,0,3,4] , C=0 , 4+3+0=7 , A->7 , C->0
[1] + [7] , A=[7,3,9,3,7,7,5,5,7,1,8,0,3,4] , C=0 , 1+7+0=8 , A->8 , C->0
[] + [] , A=[8,7,3,9,3,7,7,5,5,7,1,8,0,3,4] C=0 , END
</scratch>
873937755718034
| 873937755718034 | 15 |
Input:
445661349544434+826619714563406
Target:
| Input:
445661349544434+826619714563406
Target:
[4,4,5,6,6,1,3,4,9,5,4,4,4,3,4] + [8,2,6,6,1,9,7,1,4,5,6,3,4,0,6] , A=[] , C=0 , 4+6+0=10 , A->0 , C->1
[4,4,5,6,6,1,3,4,9,5,4,4,4,3] + [8,2,6,6,1,9,7,1,4,5,6,3,4,0] , A=[0] , C=1 , 3+0+1=4 , A->4 , C->0
[4,4,5,6,6,1,3,4,9,5,4,4,4] + [8,2,6,6,1,9,7,1,4,5,6,3,4] , A=[4,0] , C=0 , 4+4+0=8 , A->8 , C->0
[4,4,5,6,6,1,3,4,9,5,4,4] + [8,2,6,6,1,9,7,1,4,5,6,3] , A=[8,4,0] , C=0 , 4+3+0=7 , A->7 , C->0
[4,4,5,6,6,1,3,4,9,5,4] + [8,2,6,6,1,9,7,1,4,5,6] , A=[7,8,4,0] , C=0 , 4+6+0=10 , A->0 , C->1
[4,4,5,6,6,1,3,4,9,5] + [8,2,6,6,1,9,7,1,4,5] , A=[0,7,8,4,0] , C=1 , 5+5+1=11 , A->1 , C->1
[4,4,5,6,6,1,3,4,9] + [8,2,6,6,1,9,7,1,4] , A=[1,0,7,8,4,0] , C=1 , 9+4+1=14 , A->4 , C->1
[4,4,5,6,6,1,3,4] + [8,2,6,6,1,9,7,1] , A=[4,1,0,7,8,4,0] , C=1 , 4+1+1=6 , A->6 , C->0
[4,4,5,6,6,1,3] + [8,2,6,6,1,9,7] , A=[6,4,1,0,7,8,4,0] , C=0 , 3+7+0=10 , A->0 , C->1
[4,4,5,6,6,1] + [8,2,6,6,1,9] , A=[0,6,4,1,0,7,8,4,0] , C=1 , 1+9+1=11 , A->1 , C->1
[4,4,5,6,6] + [8,2,6,6,1] , A=[1,0,6,4,1,0,7,8,4,0] , C=1 , 6+1+1=8 , A->8 , C->0
[4,4,5,6] + [8,2,6,6] , A=[8,1,0,6,4,1,0,7,8,4,0] , C=0 , 6+6+0=12 , A->2 , C->1
[4,4,5] + [8,2,6] , A=[2,8,1,0,6,4,1,0,7,8,4,0] , C=1 , 5+6+1=12 , A->2 , C->1
[4,4] + [8,2] , A=[2,2,8,1,0,6,4,1,0,7,8,4,0] , C=1 , 4+2+1=7 , A->7 , C->0
[4] + [8] , A=[7,2,2,8,1,0,6,4,1,0,7,8,4,0] , C=0 , 4+8+0=12 , A->2 , C->1
[] + [] , A=[2,7,2,2,8,1,0,6,4,1,0,7,8,4,0] C=1 , END
</scratch>
1272281064107840
| 1272281064107840 | 15 |
Input:
687262121356841+404596302396398
Target:
| Input:
687262121356841+404596302396398
Target:
[6,8,7,2,6,2,1,2,1,3,5,6,8,4,1] + [4,0,4,5,9,6,3,0,2,3,9,6,3,9,8] , A=[] , C=0 , 1+8+0=9 , A->9 , C->0
[6,8,7,2,6,2,1,2,1,3,5,6,8,4] + [4,0,4,5,9,6,3,0,2,3,9,6,3,9] , A=[9] , C=0 , 4+9+0=13 , A->3 , C->1
[6,8,7,2,6,2,1,2,1,3,5,6,8] + [4,0,4,5,9,6,3,0,2,3,9,6,3] , A=[3,9] , C=1 , 8+3+1=12 , A->2 , C->1
[6,8,7,2,6,2,1,2,1,3,5,6] + [4,0,4,5,9,6,3,0,2,3,9,6] , A=[2,3,9] , C=1 , 6+6+1=13 , A->3 , C->1
[6,8,7,2,6,2,1,2,1,3,5] + [4,0,4,5,9,6,3,0,2,3,9] , A=[3,2,3,9] , C=1 , 5+9+1=15 , A->5 , C->1
[6,8,7,2,6,2,1,2,1,3] + [4,0,4,5,9,6,3,0,2,3] , A=[5,3,2,3,9] , C=1 , 3+3+1=7 , A->7 , C->0
[6,8,7,2,6,2,1,2,1] + [4,0,4,5,9,6,3,0,2] , A=[7,5,3,2,3,9] , C=0 , 1+2+0=3 , A->3 , C->0
[6,8,7,2,6,2,1,2] + [4,0,4,5,9,6,3,0] , A=[3,7,5,3,2,3,9] , C=0 , 2+0+0=2 , A->2 , C->0
[6,8,7,2,6,2,1] + [4,0,4,5,9,6,3] , A=[2,3,7,5,3,2,3,9] , C=0 , 1+3+0=4 , A->4 , C->0
[6,8,7,2,6,2] + [4,0,4,5,9,6] , A=[4,2,3,7,5,3,2,3,9] , C=0 , 2+6+0=8 , A->8 , C->0
[6,8,7,2,6] + [4,0,4,5,9] , A=[8,4,2,3,7,5,3,2,3,9] , C=0 , 6+9+0=15 , A->5 , C->1
[6,8,7,2] + [4,0,4,5] , A=[5,8,4,2,3,7,5,3,2,3,9] , C=1 , 2+5+1=8 , A->8 , C->0
[6,8,7] + [4,0,4] , A=[8,5,8,4,2,3,7,5,3,2,3,9] , C=0 , 7+4+0=11 , A->1 , C->1
[6,8] + [4,0] , A=[1,8,5,8,4,2,3,7,5,3,2,3,9] , C=1 , 8+0+1=9 , A->9 , C->0
[6] + [4] , A=[9,1,8,5,8,4,2,3,7,5,3,2,3,9] , C=0 , 6+4+0=10 , A->0 , C->1
[] + [] , A=[0,9,1,8,5,8,4,2,3,7,5,3,2,3,9] C=1 , END
</scratch>
1091858423753239
| 1091858423753239 | 15 |
Input:
447146315192381+542446391849255
Target:
| Input:
447146315192381+542446391849255
Target:
[4,4,7,1,4,6,3,1,5,1,9,2,3,8,1] + [5,4,2,4,4,6,3,9,1,8,4,9,2,5,5] , A=[] , C=0 , 1+5+0=6 , A->6 , C->0
[4,4,7,1,4,6,3,1,5,1,9,2,3,8] + [5,4,2,4,4,6,3,9,1,8,4,9,2,5] , A=[6] , C=0 , 8+5+0=13 , A->3 , C->1
[4,4,7,1,4,6,3,1,5,1,9,2,3] + [5,4,2,4,4,6,3,9,1,8,4,9,2] , A=[3,6] , C=1 , 3+2+1=6 , A->6 , C->0
[4,4,7,1,4,6,3,1,5,1,9,2] + [5,4,2,4,4,6,3,9,1,8,4,9] , A=[6,3,6] , C=0 , 2+9+0=11 , A->1 , C->1
[4,4,7,1,4,6,3,1,5,1,9] + [5,4,2,4,4,6,3,9,1,8,4] , A=[1,6,3,6] , C=1 , 9+4+1=14 , A->4 , C->1
[4,4,7,1,4,6,3,1,5,1] + [5,4,2,4,4,6,3,9,1,8] , A=[4,1,6,3,6] , C=1 , 1+8+1=10 , A->0 , C->1
[4,4,7,1,4,6,3,1,5] + [5,4,2,4,4,6,3,9,1] , A=[0,4,1,6,3,6] , C=1 , 5+1+1=7 , A->7 , C->0
[4,4,7,1,4,6,3,1] + [5,4,2,4,4,6,3,9] , A=[7,0,4,1,6,3,6] , C=0 , 1+9+0=10 , A->0 , C->1
[4,4,7,1,4,6,3] + [5,4,2,4,4,6,3] , A=[0,7,0,4,1,6,3,6] , C=1 , 3+3+1=7 , A->7 , C->0
[4,4,7,1,4,6] + [5,4,2,4,4,6] , A=[7,0,7,0,4,1,6,3,6] , C=0 , 6+6+0=12 , A->2 , C->1
[4,4,7,1,4] + [5,4,2,4,4] , A=[2,7,0,7,0,4,1,6,3,6] , C=1 , 4+4+1=9 , A->9 , C->0
[4,4,7,1] + [5,4,2,4] , A=[9,2,7,0,7,0,4,1,6,3,6] , C=0 , 1+4+0=5 , A->5 , C->0
[4,4,7] + [5,4,2] , A=[5,9,2,7,0,7,0,4,1,6,3,6] , C=0 , 7+2+0=9 , A->9 , C->0
[4,4] + [5,4] , A=[9,5,9,2,7,0,7,0,4,1,6,3,6] , C=0 , 4+4+0=8 , A->8 , C->0
[4] + [5] , A=[8,9,5,9,2,7,0,7,0,4,1,6,3,6] , C=0 , 4+5+0=9 , A->9 , C->0
[] + [] , A=[9,8,9,5,9,2,7,0,7,0,4,1,6,3,6] C=0 , END
</scratch>
989592707041636
| 989592707041636 | 15 |
Input:
455186708192540+688578839016973
Target:
| Input:
455186708192540+688578839016973
Target:
[4,5,5,1,8,6,7,0,8,1,9,2,5,4,0] + [6,8,8,5,7,8,8,3,9,0,1,6,9,7,3] , A=[] , C=0 , 0+3+0=3 , A->3 , C->0
[4,5,5,1,8,6,7,0,8,1,9,2,5,4] + [6,8,8,5,7,8,8,3,9,0,1,6,9,7] , A=[3] , C=0 , 4+7+0=11 , A->1 , C->1
[4,5,5,1,8,6,7,0,8,1,9,2,5] + [6,8,8,5,7,8,8,3,9,0,1,6,9] , A=[1,3] , C=1 , 5+9+1=15 , A->5 , C->1
[4,5,5,1,8,6,7,0,8,1,9,2] + [6,8,8,5,7,8,8,3,9,0,1,6] , A=[5,1,3] , C=1 , 2+6+1=9 , A->9 , C->0
[4,5,5,1,8,6,7,0,8,1,9] + [6,8,8,5,7,8,8,3,9,0,1] , A=[9,5,1,3] , C=0 , 9+1+0=10 , A->0 , C->1
[4,5,5,1,8,6,7,0,8,1] + [6,8,8,5,7,8,8,3,9,0] , A=[0,9,5,1,3] , C=1 , 1+0+1=2 , A->2 , C->0
[4,5,5,1,8,6,7,0,8] + [6,8,8,5,7,8,8,3,9] , A=[2,0,9,5,1,3] , C=0 , 8+9+0=17 , A->7 , C->1
[4,5,5,1,8,6,7,0] + [6,8,8,5,7,8,8,3] , A=[7,2,0,9,5,1,3] , C=1 , 0+3+1=4 , A->4 , C->0
[4,5,5,1,8,6,7] + [6,8,8,5,7,8,8] , A=[4,7,2,0,9,5,1,3] , C=0 , 7+8+0=15 , A->5 , C->1
[4,5,5,1,8,6] + [6,8,8,5,7,8] , A=[5,4,7,2,0,9,5,1,3] , C=1 , 6+8+1=15 , A->5 , C->1
[4,5,5,1,8] + [6,8,8,5,7] , A=[5,5,4,7,2,0,9,5,1,3] , C=1 , 8+7+1=16 , A->6 , C->1
[4,5,5,1] + [6,8,8,5] , A=[6,5,5,4,7,2,0,9,5,1,3] , C=1 , 1+5+1=7 , A->7 , C->0
[4,5,5] + [6,8,8] , A=[7,6,5,5,4,7,2,0,9,5,1,3] , C=0 , 5+8+0=13 , A->3 , C->1
[4,5] + [6,8] , A=[3,7,6,5,5,4,7,2,0,9,5,1,3] , C=1 , 5+8+1=14 , A->4 , C->1
[4] + [6] , A=[4,3,7,6,5,5,4,7,2,0,9,5,1,3] , C=1 , 4+6+1=11 , A->1 , C->1
[] + [] , A=[1,4,3,7,6,5,5,4,7,2,0,9,5,1,3] C=1 , END
</scratch>
1143765547209513
| 1143765547209513 | 15 |
Input:
225685971820273+790533687111200
Target:
| Input:
225685971820273+790533687111200
Target:
[2,2,5,6,8,5,9,7,1,8,2,0,2,7,3] + [7,9,0,5,3,3,6,8,7,1,1,1,2,0,0] , A=[] , C=0 , 3+0+0=3 , A->3 , C->0
[2,2,5,6,8,5,9,7,1,8,2,0,2,7] + [7,9,0,5,3,3,6,8,7,1,1,1,2,0] , A=[3] , C=0 , 7+0+0=7 , A->7 , C->0
[2,2,5,6,8,5,9,7,1,8,2,0,2] + [7,9,0,5,3,3,6,8,7,1,1,1,2] , A=[7,3] , C=0 , 2+2+0=4 , A->4 , C->0
[2,2,5,6,8,5,9,7,1,8,2,0] + [7,9,0,5,3,3,6,8,7,1,1,1] , A=[4,7,3] , C=0 , 0+1+0=1 , A->1 , C->0
[2,2,5,6,8,5,9,7,1,8,2] + [7,9,0,5,3,3,6,8,7,1,1] , A=[1,4,7,3] , C=0 , 2+1+0=3 , A->3 , C->0
[2,2,5,6,8,5,9,7,1,8] + [7,9,0,5,3,3,6,8,7,1] , A=[3,1,4,7,3] , C=0 , 8+1+0=9 , A->9 , C->0
[2,2,5,6,8,5,9,7,1] + [7,9,0,5,3,3,6,8,7] , A=[9,3,1,4,7,3] , C=0 , 1+7+0=8 , A->8 , C->0
[2,2,5,6,8,5,9,7] + [7,9,0,5,3,3,6,8] , A=[8,9,3,1,4,7,3] , C=0 , 7+8+0=15 , A->5 , C->1
[2,2,5,6,8,5,9] + [7,9,0,5,3,3,6] , A=[5,8,9,3,1,4,7,3] , C=1 , 9+6+1=16 , A->6 , C->1
[2,2,5,6,8,5] + [7,9,0,5,3,3] , A=[6,5,8,9,3,1,4,7,3] , C=1 , 5+3+1=9 , A->9 , C->0
[2,2,5,6,8] + [7,9,0,5,3] , A=[9,6,5,8,9,3,1,4,7,3] , C=0 , 8+3+0=11 , A->1 , C->1
[2,2,5,6] + [7,9,0,5] , A=[1,9,6,5,8,9,3,1,4,7,3] , C=1 , 6+5+1=12 , A->2 , C->1
[2,2,5] + [7,9,0] , A=[2,1,9,6,5,8,9,3,1,4,7,3] , C=1 , 5+0+1=6 , A->6 , C->0
[2,2] + [7,9] , A=[6,2,1,9,6,5,8,9,3,1,4,7,3] , C=0 , 2+9+0=11 , A->1 , C->1
[2] + [7] , A=[1,6,2,1,9,6,5,8,9,3,1,4,7,3] , C=1 , 2+7+1=10 , A->0 , C->1
[] + [] , A=[0,1,6,2,1,9,6,5,8,9,3,1,4,7,3] C=1 , END
</scratch>
1016219658931473
| 1016219658931473 | 15 |
Input:
323448058064125+110850682932262
Target:
| Input:
323448058064125+110850682932262
Target:
[3,2,3,4,4,8,0,5,8,0,6,4,1,2,5] + [1,1,0,8,5,0,6,8,2,9,3,2,2,6,2] , A=[] , C=0 , 5+2+0=7 , A->7 , C->0
[3,2,3,4,4,8,0,5,8,0,6,4,1,2] + [1,1,0,8,5,0,6,8,2,9,3,2,2,6] , A=[7] , C=0 , 2+6+0=8 , A->8 , C->0
[3,2,3,4,4,8,0,5,8,0,6,4,1] + [1,1,0,8,5,0,6,8,2,9,3,2,2] , A=[8,7] , C=0 , 1+2+0=3 , A->3 , C->0
[3,2,3,4,4,8,0,5,8,0,6,4] + [1,1,0,8,5,0,6,8,2,9,3,2] , A=[3,8,7] , C=0 , 4+2+0=6 , A->6 , C->0
[3,2,3,4,4,8,0,5,8,0,6] + [1,1,0,8,5,0,6,8,2,9,3] , A=[6,3,8,7] , C=0 , 6+3+0=9 , A->9 , C->0
[3,2,3,4,4,8,0,5,8,0] + [1,1,0,8,5,0,6,8,2,9] , A=[9,6,3,8,7] , C=0 , 0+9+0=9 , A->9 , C->0
[3,2,3,4,4,8,0,5,8] + [1,1,0,8,5,0,6,8,2] , A=[9,9,6,3,8,7] , C=0 , 8+2+0=10 , A->0 , C->1
[3,2,3,4,4,8,0,5] + [1,1,0,8,5,0,6,8] , A=[0,9,9,6,3,8,7] , C=1 , 5+8+1=14 , A->4 , C->1
[3,2,3,4,4,8,0] + [1,1,0,8,5,0,6] , A=[4,0,9,9,6,3,8,7] , C=1 , 0+6+1=7 , A->7 , C->0
[3,2,3,4,4,8] + [1,1,0,8,5,0] , A=[7,4,0,9,9,6,3,8,7] , C=0 , 8+0+0=8 , A->8 , C->0
[3,2,3,4,4] + [1,1,0,8,5] , A=[8,7,4,0,9,9,6,3,8,7] , C=0 , 4+5+0=9 , A->9 , C->0
[3,2,3,4] + [1,1,0,8] , A=[9,8,7,4,0,9,9,6,3,8,7] , C=0 , 4+8+0=12 , A->2 , C->1
[3,2,3] + [1,1,0] , A=[2,9,8,7,4,0,9,9,6,3,8,7] , C=1 , 3+0+1=4 , A->4 , C->0
[3,2] + [1,1] , A=[4,2,9,8,7,4,0,9,9,6,3,8,7] , C=0 , 2+1+0=3 , A->3 , C->0
[3] + [1] , A=[3,4,2,9,8,7,4,0,9,9,6,3,8,7] , C=0 , 3+1+0=4 , A->4 , C->0
[] + [] , A=[4,3,4,2,9,8,7,4,0,9,9,6,3,8,7] C=0 , END
</scratch>
434298740996387
| 434298740996387 | 15 |
Input:
624532089893635+969232599990578
Target:
| Input:
624532089893635+969232599990578
Target:
[6,2,4,5,3,2,0,8,9,8,9,3,6,3,5] + [9,6,9,2,3,2,5,9,9,9,9,0,5,7,8] , A=[] , C=0 , 5+8+0=13 , A->3 , C->1
[6,2,4,5,3,2,0,8,9,8,9,3,6,3] + [9,6,9,2,3,2,5,9,9,9,9,0,5,7] , A=[3] , C=1 , 3+7+1=11 , A->1 , C->1
[6,2,4,5,3,2,0,8,9,8,9,3,6] + [9,6,9,2,3,2,5,9,9,9,9,0,5] , A=[1,3] , C=1 , 6+5+1=12 , A->2 , C->1
[6,2,4,5,3,2,0,8,9,8,9,3] + [9,6,9,2,3,2,5,9,9,9,9,0] , A=[2,1,3] , C=1 , 3+0+1=4 , A->4 , C->0
[6,2,4,5,3,2,0,8,9,8,9] + [9,6,9,2,3,2,5,9,9,9,9] , A=[4,2,1,3] , C=0 , 9+9+0=18 , A->8 , C->1
[6,2,4,5,3,2,0,8,9,8] + [9,6,9,2,3,2,5,9,9,9] , A=[8,4,2,1,3] , C=1 , 8+9+1=18 , A->8 , C->1
[6,2,4,5,3,2,0,8,9] + [9,6,9,2,3,2,5,9,9] , A=[8,8,4,2,1,3] , C=1 , 9+9+1=19 , A->9 , C->1
[6,2,4,5,3,2,0,8] + [9,6,9,2,3,2,5,9] , A=[9,8,8,4,2,1,3] , C=1 , 8+9+1=18 , A->8 , C->1
[6,2,4,5,3,2,0] + [9,6,9,2,3,2,5] , A=[8,9,8,8,4,2,1,3] , C=1 , 0+5+1=6 , A->6 , C->0
[6,2,4,5,3,2] + [9,6,9,2,3,2] , A=[6,8,9,8,8,4,2,1,3] , C=0 , 2+2+0=4 , A->4 , C->0
[6,2,4,5,3] + [9,6,9,2,3] , A=[4,6,8,9,8,8,4,2,1,3] , C=0 , 3+3+0=6 , A->6 , C->0
[6,2,4,5] + [9,6,9,2] , A=[6,4,6,8,9,8,8,4,2,1,3] , C=0 , 5+2+0=7 , A->7 , C->0
[6,2,4] + [9,6,9] , A=[7,6,4,6,8,9,8,8,4,2,1,3] , C=0 , 4+9+0=13 , A->3 , C->1
[6,2] + [9,6] , A=[3,7,6,4,6,8,9,8,8,4,2,1,3] , C=1 , 2+6+1=9 , A->9 , C->0
[6] + [9] , A=[9,3,7,6,4,6,8,9,8,8,4,2,1,3] , C=0 , 6+9+0=15 , A->5 , C->1
[] + [] , A=[5,9,3,7,6,4,6,8,9,8,8,4,2,1,3] C=1 , END
</scratch>
1593764689884213
| 1593764689884213 | 15 |
Input:
584904289013878+571998508044445
Target:
| Input:
584904289013878+571998508044445
Target:
[5,8,4,9,0,4,2,8,9,0,1,3,8,7,8] + [5,7,1,9,9,8,5,0,8,0,4,4,4,4,5] , A=[] , C=0 , 8+5+0=13 , A->3 , C->1
[5,8,4,9,0,4,2,8,9,0,1,3,8,7] + [5,7,1,9,9,8,5,0,8,0,4,4,4,4] , A=[3] , C=1 , 7+4+1=12 , A->2 , C->1
[5,8,4,9,0,4,2,8,9,0,1,3,8] + [5,7,1,9,9,8,5,0,8,0,4,4,4] , A=[2,3] , C=1 , 8+4+1=13 , A->3 , C->1
[5,8,4,9,0,4,2,8,9,0,1,3] + [5,7,1,9,9,8,5,0,8,0,4,4] , A=[3,2,3] , C=1 , 3+4+1=8 , A->8 , C->0
[5,8,4,9,0,4,2,8,9,0,1] + [5,7,1,9,9,8,5,0,8,0,4] , A=[8,3,2,3] , C=0 , 1+4+0=5 , A->5 , C->0
[5,8,4,9,0,4,2,8,9,0] + [5,7,1,9,9,8,5,0,8,0] , A=[5,8,3,2,3] , C=0 , 0+0+0=0 , A->0 , C->0
[5,8,4,9,0,4,2,8,9] + [5,7,1,9,9,8,5,0,8] , A=[0,5,8,3,2,3] , C=0 , 9+8+0=17 , A->7 , C->1
[5,8,4,9,0,4,2,8] + [5,7,1,9,9,8,5,0] , A=[7,0,5,8,3,2,3] , C=1 , 8+0+1=9 , A->9 , C->0
[5,8,4,9,0,4,2] + [5,7,1,9,9,8,5] , A=[9,7,0,5,8,3,2,3] , C=0 , 2+5+0=7 , A->7 , C->0
[5,8,4,9,0,4] + [5,7,1,9,9,8] , A=[7,9,7,0,5,8,3,2,3] , C=0 , 4+8+0=12 , A->2 , C->1
[5,8,4,9,0] + [5,7,1,9,9] , A=[2,7,9,7,0,5,8,3,2,3] , C=1 , 0+9+1=10 , A->0 , C->1
[5,8,4,9] + [5,7,1,9] , A=[0,2,7,9,7,0,5,8,3,2,3] , C=1 , 9+9+1=19 , A->9 , C->1
[5,8,4] + [5,7,1] , A=[9,0,2,7,9,7,0,5,8,3,2,3] , C=1 , 4+1+1=6 , A->6 , C->0
[5,8] + [5,7] , A=[6,9,0,2,7,9,7,0,5,8,3,2,3] , C=0 , 8+7+0=15 , A->5 , C->1
[5] + [5] , A=[5,6,9,0,2,7,9,7,0,5,8,3,2,3] , C=1 , 5+5+1=11 , A->1 , C->1
[] + [] , A=[1,5,6,9,0,2,7,9,7,0,5,8,3,2,3] C=1 , END
</scratch>
1156902797058323
| 1156902797058323 | 15 |
Input:
200150608187886+937692449151029
Target:
| Input:
200150608187886+937692449151029
Target:
[2,0,0,1,5,0,6,0,8,1,8,7,8,8,6] + [9,3,7,6,9,2,4,4,9,1,5,1,0,2,9] , A=[] , C=0 , 6+9+0=15 , A->5 , C->1
[2,0,0,1,5,0,6,0,8,1,8,7,8,8] + [9,3,7,6,9,2,4,4,9,1,5,1,0,2] , A=[5] , C=1 , 8+2+1=11 , A->1 , C->1
[2,0,0,1,5,0,6,0,8,1,8,7,8] + [9,3,7,6,9,2,4,4,9,1,5,1,0] , A=[1,5] , C=1 , 8+0+1=9 , A->9 , C->0
[2,0,0,1,5,0,6,0,8,1,8,7] + [9,3,7,6,9,2,4,4,9,1,5,1] , A=[9,1,5] , C=0 , 7+1+0=8 , A->8 , C->0
[2,0,0,1,5,0,6,0,8,1,8] + [9,3,7,6,9,2,4,4,9,1,5] , A=[8,9,1,5] , C=0 , 8+5+0=13 , A->3 , C->1
[2,0,0,1,5,0,6,0,8,1] + [9,3,7,6,9,2,4,4,9,1] , A=[3,8,9,1,5] , C=1 , 1+1+1=3 , A->3 , C->0
[2,0,0,1,5,0,6,0,8] + [9,3,7,6,9,2,4,4,9] , A=[3,3,8,9,1,5] , C=0 , 8+9+0=17 , A->7 , C->1
[2,0,0,1,5,0,6,0] + [9,3,7,6,9,2,4,4] , A=[7,3,3,8,9,1,5] , C=1 , 0+4+1=5 , A->5 , C->0
[2,0,0,1,5,0,6] + [9,3,7,6,9,2,4] , A=[5,7,3,3,8,9,1,5] , C=0 , 6+4+0=10 , A->0 , C->1
[2,0,0,1,5,0] + [9,3,7,6,9,2] , A=[0,5,7,3,3,8,9,1,5] , C=1 , 0+2+1=3 , A->3 , C->0
[2,0,0,1,5] + [9,3,7,6,9] , A=[3,0,5,7,3,3,8,9,1,5] , C=0 , 5+9+0=14 , A->4 , C->1
[2,0,0,1] + [9,3,7,6] , A=[4,3,0,5,7,3,3,8,9,1,5] , C=1 , 1+6+1=8 , A->8 , C->0
[2,0,0] + [9,3,7] , A=[8,4,3,0,5,7,3,3,8,9,1,5] , C=0 , 0+7+0=7 , A->7 , C->0
[2,0] + [9,3] , A=[7,8,4,3,0,5,7,3,3,8,9,1,5] , C=0 , 0+3+0=3 , A->3 , C->0
[2] + [9] , A=[3,7,8,4,3,0,5,7,3,3,8,9,1,5] , C=0 , 2+9+0=11 , A->1 , C->1
[] + [] , A=[1,3,7,8,4,3,0,5,7,3,3,8,9,1,5] C=1 , END
</scratch>
1137843057338915
| 1137843057338915 | 15 |
Input:
890246365613253+662671626802432
Target:
| Input:
890246365613253+662671626802432
Target:
[8,9,0,2,4,6,3,6,5,6,1,3,2,5,3] + [6,6,2,6,7,1,6,2,6,8,0,2,4,3,2] , A=[] , C=0 , 3+2+0=5 , A->5 , C->0
[8,9,0,2,4,6,3,6,5,6,1,3,2,5] + [6,6,2,6,7,1,6,2,6,8,0,2,4,3] , A=[5] , C=0 , 5+3+0=8 , A->8 , C->0
[8,9,0,2,4,6,3,6,5,6,1,3,2] + [6,6,2,6,7,1,6,2,6,8,0,2,4] , A=[8,5] , C=0 , 2+4+0=6 , A->6 , C->0
[8,9,0,2,4,6,3,6,5,6,1,3] + [6,6,2,6,7,1,6,2,6,8,0,2] , A=[6,8,5] , C=0 , 3+2+0=5 , A->5 , C->0
[8,9,0,2,4,6,3,6,5,6,1] + [6,6,2,6,7,1,6,2,6,8,0] , A=[5,6,8,5] , C=0 , 1+0+0=1 , A->1 , C->0
[8,9,0,2,4,6,3,6,5,6] + [6,6,2,6,7,1,6,2,6,8] , A=[1,5,6,8,5] , C=0 , 6+8+0=14 , A->4 , C->1
[8,9,0,2,4,6,3,6,5] + [6,6,2,6,7,1,6,2,6] , A=[4,1,5,6,8,5] , C=1 , 5+6+1=12 , A->2 , C->1
[8,9,0,2,4,6,3,6] + [6,6,2,6,7,1,6,2] , A=[2,4,1,5,6,8,5] , C=1 , 6+2+1=9 , A->9 , C->0
[8,9,0,2,4,6,3] + [6,6,2,6,7,1,6] , A=[9,2,4,1,5,6,8,5] , C=0 , 3+6+0=9 , A->9 , C->0
[8,9,0,2,4,6] + [6,6,2,6,7,1] , A=[9,9,2,4,1,5,6,8,5] , C=0 , 6+1+0=7 , A->7 , C->0
[8,9,0,2,4] + [6,6,2,6,7] , A=[7,9,9,2,4,1,5,6,8,5] , C=0 , 4+7+0=11 , A->1 , C->1
[8,9,0,2] + [6,6,2,6] , A=[1,7,9,9,2,4,1,5,6,8,5] , C=1 , 2+6+1=9 , A->9 , C->0
[8,9,0] + [6,6,2] , A=[9,1,7,9,9,2,4,1,5,6,8,5] , C=0 , 0+2+0=2 , A->2 , C->0
[8,9] + [6,6] , A=[2,9,1,7,9,9,2,4,1,5,6,8,5] , C=0 , 9+6+0=15 , A->5 , C->1
[8] + [6] , A=[5,2,9,1,7,9,9,2,4,1,5,6,8,5] , C=1 , 8+6+1=15 , A->5 , C->1
[] + [] , A=[5,5,2,9,1,7,9,9,2,4,1,5,6,8,5] C=1 , END
</scratch>
1552917992415685
| 1552917992415685 | 15 |
Input:
115518056535773+906608356626917
Target:
| Input:
115518056535773+906608356626917
Target:
[1,1,5,5,1,8,0,5,6,5,3,5,7,7,3] + [9,0,6,6,0,8,3,5,6,6,2,6,9,1,7] , A=[] , C=0 , 3+7+0=10 , A->0 , C->1
[1,1,5,5,1,8,0,5,6,5,3,5,7,7] + [9,0,6,6,0,8,3,5,6,6,2,6,9,1] , A=[0] , C=1 , 7+1+1=9 , A->9 , C->0
[1,1,5,5,1,8,0,5,6,5,3,5,7] + [9,0,6,6,0,8,3,5,6,6,2,6,9] , A=[9,0] , C=0 , 7+9+0=16 , A->6 , C->1
[1,1,5,5,1,8,0,5,6,5,3,5] + [9,0,6,6,0,8,3,5,6,6,2,6] , A=[6,9,0] , C=1 , 5+6+1=12 , A->2 , C->1
[1,1,5,5,1,8,0,5,6,5,3] + [9,0,6,6,0,8,3,5,6,6,2] , A=[2,6,9,0] , C=1 , 3+2+1=6 , A->6 , C->0
[1,1,5,5,1,8,0,5,6,5] + [9,0,6,6,0,8,3,5,6,6] , A=[6,2,6,9,0] , C=0 , 5+6+0=11 , A->1 , C->1
[1,1,5,5,1,8,0,5,6] + [9,0,6,6,0,8,3,5,6] , A=[1,6,2,6,9,0] , C=1 , 6+6+1=13 , A->3 , C->1
[1,1,5,5,1,8,0,5] + [9,0,6,6,0,8,3,5] , A=[3,1,6,2,6,9,0] , C=1 , 5+5+1=11 , A->1 , C->1
[1,1,5,5,1,8,0] + [9,0,6,6,0,8,3] , A=[1,3,1,6,2,6,9,0] , C=1 , 0+3+1=4 , A->4 , C->0
[1,1,5,5,1,8] + [9,0,6,6,0,8] , A=[4,1,3,1,6,2,6,9,0] , C=0 , 8+8+0=16 , A->6 , C->1
[1,1,5,5,1] + [9,0,6,6,0] , A=[6,4,1,3,1,6,2,6,9,0] , C=1 , 1+0+1=2 , A->2 , C->0
[1,1,5,5] + [9,0,6,6] , A=[2,6,4,1,3,1,6,2,6,9,0] , C=0 , 5+6+0=11 , A->1 , C->1
[1,1,5] + [9,0,6] , A=[1,2,6,4,1,3,1,6,2,6,9,0] , C=1 , 5+6+1=12 , A->2 , C->1
[1,1] + [9,0] , A=[2,1,2,6,4,1,3,1,6,2,6,9,0] , C=1 , 1+0+1=2 , A->2 , C->0
[1] + [9] , A=[2,2,1,2,6,4,1,3,1,6,2,6,9,0] , C=0 , 1+9+0=10 , A->0 , C->1
[] + [] , A=[0,2,2,1,2,6,4,1,3,1,6,2,6,9,0] C=1 , END
</scratch>
1022126413162690
| 1022126413162690 | 15 |
Input:
238805507060794+345842030361752
Target:
| Input:
238805507060794+345842030361752
Target:
[2,3,8,8,0,5,5,0,7,0,6,0,7,9,4] + [3,4,5,8,4,2,0,3,0,3,6,1,7,5,2] , A=[] , C=0 , 4+2+0=6 , A->6 , C->0
[2,3,8,8,0,5,5,0,7,0,6,0,7,9] + [3,4,5,8,4,2,0,3,0,3,6,1,7,5] , A=[6] , C=0 , 9+5+0=14 , A->4 , C->1
[2,3,8,8,0,5,5,0,7,0,6,0,7] + [3,4,5,8,4,2,0,3,0,3,6,1,7] , A=[4,6] , C=1 , 7+7+1=15 , A->5 , C->1
[2,3,8,8,0,5,5,0,7,0,6,0] + [3,4,5,8,4,2,0,3,0,3,6,1] , A=[5,4,6] , C=1 , 0+1+1=2 , A->2 , C->0
[2,3,8,8,0,5,5,0,7,0,6] + [3,4,5,8,4,2,0,3,0,3,6] , A=[2,5,4,6] , C=0 , 6+6+0=12 , A->2 , C->1
[2,3,8,8,0,5,5,0,7,0] + [3,4,5,8,4,2,0,3,0,3] , A=[2,2,5,4,6] , C=1 , 0+3+1=4 , A->4 , C->0
[2,3,8,8,0,5,5,0,7] + [3,4,5,8,4,2,0,3,0] , A=[4,2,2,5,4,6] , C=0 , 7+0+0=7 , A->7 , C->0
[2,3,8,8,0,5,5,0] + [3,4,5,8,4,2,0,3] , A=[7,4,2,2,5,4,6] , C=0 , 0+3+0=3 , A->3 , C->0
[2,3,8,8,0,5,5] + [3,4,5,8,4,2,0] , A=[3,7,4,2,2,5,4,6] , C=0 , 5+0+0=5 , A->5 , C->0
[2,3,8,8,0,5] + [3,4,5,8,4,2] , A=[5,3,7,4,2,2,5,4,6] , C=0 , 5+2+0=7 , A->7 , C->0
[2,3,8,8,0] + [3,4,5,8,4] , A=[7,5,3,7,4,2,2,5,4,6] , C=0 , 0+4+0=4 , A->4 , C->0
[2,3,8,8] + [3,4,5,8] , A=[4,7,5,3,7,4,2,2,5,4,6] , C=0 , 8+8+0=16 , A->6 , C->1
[2,3,8] + [3,4,5] , A=[6,4,7,5,3,7,4,2,2,5,4,6] , C=1 , 8+5+1=14 , A->4 , C->1
[2,3] + [3,4] , A=[4,6,4,7,5,3,7,4,2,2,5,4,6] , C=1 , 3+4+1=8 , A->8 , C->0
[2] + [3] , A=[8,4,6,4,7,5,3,7,4,2,2,5,4,6] , C=0 , 2+3+0=5 , A->5 , C->0
[] + [] , A=[5,8,4,6,4,7,5,3,7,4,2,2,5,4,6] C=0 , END
</scratch>
584647537422546
| 584647537422546 | 15 |
Input:
611132529456396+211427663609508
Target:
| Input:
611132529456396+211427663609508
Target:
[6,1,1,1,3,2,5,2,9,4,5,6,3,9,6] + [2,1,1,4,2,7,6,6,3,6,0,9,5,0,8] , A=[] , C=0 , 6+8+0=14 , A->4 , C->1
[6,1,1,1,3,2,5,2,9,4,5,6,3,9] + [2,1,1,4,2,7,6,6,3,6,0,9,5,0] , A=[4] , C=1 , 9+0+1=10 , A->0 , C->1
[6,1,1,1,3,2,5,2,9,4,5,6,3] + [2,1,1,4,2,7,6,6,3,6,0,9,5] , A=[0,4] , C=1 , 3+5+1=9 , A->9 , C->0
[6,1,1,1,3,2,5,2,9,4,5,6] + [2,1,1,4,2,7,6,6,3,6,0,9] , A=[9,0,4] , C=0 , 6+9+0=15 , A->5 , C->1
[6,1,1,1,3,2,5,2,9,4,5] + [2,1,1,4,2,7,6,6,3,6,0] , A=[5,9,0,4] , C=1 , 5+0+1=6 , A->6 , C->0
[6,1,1,1,3,2,5,2,9,4] + [2,1,1,4,2,7,6,6,3,6] , A=[6,5,9,0,4] , C=0 , 4+6+0=10 , A->0 , C->1
[6,1,1,1,3,2,5,2,9] + [2,1,1,4,2,7,6,6,3] , A=[0,6,5,9,0,4] , C=1 , 9+3+1=13 , A->3 , C->1
[6,1,1,1,3,2,5,2] + [2,1,1,4,2,7,6,6] , A=[3,0,6,5,9,0,4] , C=1 , 2+6+1=9 , A->9 , C->0
[6,1,1,1,3,2,5] + [2,1,1,4,2,7,6] , A=[9,3,0,6,5,9,0,4] , C=0 , 5+6+0=11 , A->1 , C->1
[6,1,1,1,3,2] + [2,1,1,4,2,7] , A=[1,9,3,0,6,5,9,0,4] , C=1 , 2+7+1=10 , A->0 , C->1
[6,1,1,1,3] + [2,1,1,4,2] , A=[0,1,9,3,0,6,5,9,0,4] , C=1 , 3+2+1=6 , A->6 , C->0
[6,1,1,1] + [2,1,1,4] , A=[6,0,1,9,3,0,6,5,9,0,4] , C=0 , 1+4+0=5 , A->5 , C->0
[6,1,1] + [2,1,1] , A=[5,6,0,1,9,3,0,6,5,9,0,4] , C=0 , 1+1+0=2 , A->2 , C->0
[6,1] + [2,1] , A=[2,5,6,0,1,9,3,0,6,5,9,0,4] , C=0 , 1+1+0=2 , A->2 , C->0
[6] + [2] , A=[2,2,5,6,0,1,9,3,0,6,5,9,0,4] , C=0 , 6+2+0=8 , A->8 , C->0
[] + [] , A=[8,2,2,5,6,0,1,9,3,0,6,5,9,0,4] C=0 , END
</scratch>
822560193065904
| 822560193065904 | 15 |
Input:
824141442403290+989289177583042
Target:
| Input:
824141442403290+989289177583042
Target:
[8,2,4,1,4,1,4,4,2,4,0,3,2,9,0] + [9,8,9,2,8,9,1,7,7,5,8,3,0,4,2] , A=[] , C=0 , 0+2+0=2 , A->2 , C->0
[8,2,4,1,4,1,4,4,2,4,0,3,2,9] + [9,8,9,2,8,9,1,7,7,5,8,3,0,4] , A=[2] , C=0 , 9+4+0=13 , A->3 , C->1
[8,2,4,1,4,1,4,4,2,4,0,3,2] + [9,8,9,2,8,9,1,7,7,5,8,3,0] , A=[3,2] , C=1 , 2+0+1=3 , A->3 , C->0
[8,2,4,1,4,1,4,4,2,4,0,3] + [9,8,9,2,8,9,1,7,7,5,8,3] , A=[3,3,2] , C=0 , 3+3+0=6 , A->6 , C->0
[8,2,4,1,4,1,4,4,2,4,0] + [9,8,9,2,8,9,1,7,7,5,8] , A=[6,3,3,2] , C=0 , 0+8+0=8 , A->8 , C->0
[8,2,4,1,4,1,4,4,2,4] + [9,8,9,2,8,9,1,7,7,5] , A=[8,6,3,3,2] , C=0 , 4+5+0=9 , A->9 , C->0
[8,2,4,1,4,1,4,4,2] + [9,8,9,2,8,9,1,7,7] , A=[9,8,6,3,3,2] , C=0 , 2+7+0=9 , A->9 , C->0
[8,2,4,1,4,1,4,4] + [9,8,9,2,8,9,1,7] , A=[9,9,8,6,3,3,2] , C=0 , 4+7+0=11 , A->1 , C->1
[8,2,4,1,4,1,4] + [9,8,9,2,8,9,1] , A=[1,9,9,8,6,3,3,2] , C=1 , 4+1+1=6 , A->6 , C->0
[8,2,4,1,4,1] + [9,8,9,2,8,9] , A=[6,1,9,9,8,6,3,3,2] , C=0 , 1+9+0=10 , A->0 , C->1
[8,2,4,1,4] + [9,8,9,2,8] , A=[0,6,1,9,9,8,6,3,3,2] , C=1 , 4+8+1=13 , A->3 , C->1
[8,2,4,1] + [9,8,9,2] , A=[3,0,6,1,9,9,8,6,3,3,2] , C=1 , 1+2+1=4 , A->4 , C->0
[8,2,4] + [9,8,9] , A=[4,3,0,6,1,9,9,8,6,3,3,2] , C=0 , 4+9+0=13 , A->3 , C->1
[8,2] + [9,8] , A=[3,4,3,0,6,1,9,9,8,6,3,3,2] , C=1 , 2+8+1=11 , A->1 , C->1
[8] + [9] , A=[1,3,4,3,0,6,1,9,9,8,6,3,3,2] , C=1 , 8+9+1=18 , A->8 , C->1
[] + [] , A=[8,1,3,4,3,0,6,1,9,9,8,6,3,3,2] C=1 , END
</scratch>
1813430619986332
| 1813430619986332 | 15 |
Input:
563276030001560+188784827392452
Target:
| Input:
563276030001560+188784827392452
Target:
[5,6,3,2,7,6,0,3,0,0,0,1,5,6,0] + [1,8,8,7,8,4,8,2,7,3,9,2,4,5,2] , A=[] , C=0 , 0+2+0=2 , A->2 , C->0
[5,6,3,2,7,6,0,3,0,0,0,1,5,6] + [1,8,8,7,8,4,8,2,7,3,9,2,4,5] , A=[2] , C=0 , 6+5+0=11 , A->1 , C->1
[5,6,3,2,7,6,0,3,0,0,0,1,5] + [1,8,8,7,8,4,8,2,7,3,9,2,4] , A=[1,2] , C=1 , 5+4+1=10 , A->0 , C->1
[5,6,3,2,7,6,0,3,0,0,0,1] + [1,8,8,7,8,4,8,2,7,3,9,2] , A=[0,1,2] , C=1 , 1+2+1=4 , A->4 , C->0
[5,6,3,2,7,6,0,3,0,0,0] + [1,8,8,7,8,4,8,2,7,3,9] , A=[4,0,1,2] , C=0 , 0+9+0=9 , A->9 , C->0
[5,6,3,2,7,6,0,3,0,0] + [1,8,8,7,8,4,8,2,7,3] , A=[9,4,0,1,2] , C=0 , 0+3+0=3 , A->3 , C->0
[5,6,3,2,7,6,0,3,0] + [1,8,8,7,8,4,8,2,7] , A=[3,9,4,0,1,2] , C=0 , 0+7+0=7 , A->7 , C->0
[5,6,3,2,7,6,0,3] + [1,8,8,7,8,4,8,2] , A=[7,3,9,4,0,1,2] , C=0 , 3+2+0=5 , A->5 , C->0
[5,6,3,2,7,6,0] + [1,8,8,7,8,4,8] , A=[5,7,3,9,4,0,1,2] , C=0 , 0+8+0=8 , A->8 , C->0
[5,6,3,2,7,6] + [1,8,8,7,8,4] , A=[8,5,7,3,9,4,0,1,2] , C=0 , 6+4+0=10 , A->0 , C->1
[5,6,3,2,7] + [1,8,8,7,8] , A=[0,8,5,7,3,9,4,0,1,2] , C=1 , 7+8+1=16 , A->6 , C->1
[5,6,3,2] + [1,8,8,7] , A=[6,0,8,5,7,3,9,4,0,1,2] , C=1 , 2+7+1=10 , A->0 , C->1
[5,6,3] + [1,8,8] , A=[0,6,0,8,5,7,3,9,4,0,1,2] , C=1 , 3+8+1=12 , A->2 , C->1
[5,6] + [1,8] , A=[2,0,6,0,8,5,7,3,9,4,0,1,2] , C=1 , 6+8+1=15 , A->5 , C->1
[5] + [1] , A=[5,2,0,6,0,8,5,7,3,9,4,0,1,2] , C=1 , 5+1+1=7 , A->7 , C->0
[] + [] , A=[7,5,2,0,6,0,8,5,7,3,9,4,0,1,2] C=0 , END
</scratch>
752060857394012
| 752060857394012 | 15 |
Input:
912699531188105+408355194923646
Target:
| Input:
912699531188105+408355194923646
Target:
[9,1,2,6,9,9,5,3,1,1,8,8,1,0,5] + [4,0,8,3,5,5,1,9,4,9,2,3,6,4,6] , A=[] , C=0 , 5+6+0=11 , A->1 , C->1
[9,1,2,6,9,9,5,3,1,1,8,8,1,0] + [4,0,8,3,5,5,1,9,4,9,2,3,6,4] , A=[1] , C=1 , 0+4+1=5 , A->5 , C->0
[9,1,2,6,9,9,5,3,1,1,8,8,1] + [4,0,8,3,5,5,1,9,4,9,2,3,6] , A=[5,1] , C=0 , 1+6+0=7 , A->7 , C->0
[9,1,2,6,9,9,5,3,1,1,8,8] + [4,0,8,3,5,5,1,9,4,9,2,3] , A=[7,5,1] , C=0 , 8+3+0=11 , A->1 , C->1
[9,1,2,6,9,9,5,3,1,1,8] + [4,0,8,3,5,5,1,9,4,9,2] , A=[1,7,5,1] , C=1 , 8+2+1=11 , A->1 , C->1
[9,1,2,6,9,9,5,3,1,1] + [4,0,8,3,5,5,1,9,4,9] , A=[1,1,7,5,1] , C=1 , 1+9+1=11 , A->1 , C->1
[9,1,2,6,9,9,5,3,1] + [4,0,8,3,5,5,1,9,4] , A=[1,1,1,7,5,1] , C=1 , 1+4+1=6 , A->6 , C->0
[9,1,2,6,9,9,5,3] + [4,0,8,3,5,5,1,9] , A=[6,1,1,1,7,5,1] , C=0 , 3+9+0=12 , A->2 , C->1
[9,1,2,6,9,9,5] + [4,0,8,3,5,5,1] , A=[2,6,1,1,1,7,5,1] , C=1 , 5+1+1=7 , A->7 , C->0
[9,1,2,6,9,9] + [4,0,8,3,5,5] , A=[7,2,6,1,1,1,7,5,1] , C=0 , 9+5+0=14 , A->4 , C->1
[9,1,2,6,9] + [4,0,8,3,5] , A=[4,7,2,6,1,1,1,7,5,1] , C=1 , 9+5+1=15 , A->5 , C->1
[9,1,2,6] + [4,0,8,3] , A=[5,4,7,2,6,1,1,1,7,5,1] , C=1 , 6+3+1=10 , A->0 , C->1
[9,1,2] + [4,0,8] , A=[0,5,4,7,2,6,1,1,1,7,5,1] , C=1 , 2+8+1=11 , A->1 , C->1
[9,1] + [4,0] , A=[1,0,5,4,7,2,6,1,1,1,7,5,1] , C=1 , 1+0+1=2 , A->2 , C->0
[9] + [4] , A=[2,1,0,5,4,7,2,6,1,1,1,7,5,1] , C=0 , 9+4+0=13 , A->3 , C->1
[] + [] , A=[3,2,1,0,5,4,7,2,6,1,1,1,7,5,1] C=1 , END
</scratch>
1321054726111751
| 1321054726111751 | 15 |
Input:
609998275739496+497903889685276
Target:
| Input:
609998275739496+497903889685276
Target:
[6,0,9,9,9,8,2,7,5,7,3,9,4,9,6] + [4,9,7,9,0,3,8,8,9,6,8,5,2,7,6] , A=[] , C=0 , 6+6+0=12 , A->2 , C->1
[6,0,9,9,9,8,2,7,5,7,3,9,4,9] + [4,9,7,9,0,3,8,8,9,6,8,5,2,7] , A=[2] , C=1 , 9+7+1=17 , A->7 , C->1
[6,0,9,9,9,8,2,7,5,7,3,9,4] + [4,9,7,9,0,3,8,8,9,6,8,5,2] , A=[7,2] , C=1 , 4+2+1=7 , A->7 , C->0
[6,0,9,9,9,8,2,7,5,7,3,9] + [4,9,7,9,0,3,8,8,9,6,8,5] , A=[7,7,2] , C=0 , 9+5+0=14 , A->4 , C->1
[6,0,9,9,9,8,2,7,5,7,3] + [4,9,7,9,0,3,8,8,9,6,8] , A=[4,7,7,2] , C=1 , 3+8+1=12 , A->2 , C->1
[6,0,9,9,9,8,2,7,5,7] + [4,9,7,9,0,3,8,8,9,6] , A=[2,4,7,7,2] , C=1 , 7+6+1=14 , A->4 , C->1
[6,0,9,9,9,8,2,7,5] + [4,9,7,9,0,3,8,8,9] , A=[4,2,4,7,7,2] , C=1 , 5+9+1=15 , A->5 , C->1
[6,0,9,9,9,8,2,7] + [4,9,7,9,0,3,8,8] , A=[5,4,2,4,7,7,2] , C=1 , 7+8+1=16 , A->6 , C->1
[6,0,9,9,9,8,2] + [4,9,7,9,0,3,8] , A=[6,5,4,2,4,7,7,2] , C=1 , 2+8+1=11 , A->1 , C->1
[6,0,9,9,9,8] + [4,9,7,9,0,3] , A=[1,6,5,4,2,4,7,7,2] , C=1 , 8+3+1=12 , A->2 , C->1
[6,0,9,9,9] + [4,9,7,9,0] , A=[2,1,6,5,4,2,4,7,7,2] , C=1 , 9+0+1=10 , A->0 , C->1
[6,0,9,9] + [4,9,7,9] , A=[0,2,1,6,5,4,2,4,7,7,2] , C=1 , 9+9+1=19 , A->9 , C->1
[6,0,9] + [4,9,7] , A=[9,0,2,1,6,5,4,2,4,7,7,2] , C=1 , 9+7+1=17 , A->7 , C->1
[6,0] + [4,9] , A=[7,9,0,2,1,6,5,4,2,4,7,7,2] , C=1 , 0+9+1=10 , A->0 , C->1
[6] + [4] , A=[0,7,9,0,2,1,6,5,4,2,4,7,7,2] , C=1 , 6+4+1=11 , A->1 , C->1
[] + [] , A=[1,0,7,9,0,2,1,6,5,4,2,4,7,7,2] C=1 , END
</scratch>
1107902165424772
| 1107902165424772 | 15 |
Input:
986522134435027+387760551348928
Target:
| Input:
986522134435027+387760551348928
Target:
[9,8,6,5,2,2,1,3,4,4,3,5,0,2,7] + [3,8,7,7,6,0,5,5,1,3,4,8,9,2,8] , A=[] , C=0 , 7+8+0=15 , A->5 , C->1
[9,8,6,5,2,2,1,3,4,4,3,5,0,2] + [3,8,7,7,6,0,5,5,1,3,4,8,9,2] , A=[5] , C=1 , 2+2+1=5 , A->5 , C->0
[9,8,6,5,2,2,1,3,4,4,3,5,0] + [3,8,7,7,6,0,5,5,1,3,4,8,9] , A=[5,5] , C=0 , 0+9+0=9 , A->9 , C->0
[9,8,6,5,2,2,1,3,4,4,3,5] + [3,8,7,7,6,0,5,5,1,3,4,8] , A=[9,5,5] , C=0 , 5+8+0=13 , A->3 , C->1
[9,8,6,5,2,2,1,3,4,4,3] + [3,8,7,7,6,0,5,5,1,3,4] , A=[3,9,5,5] , C=1 , 3+4+1=8 , A->8 , C->0
[9,8,6,5,2,2,1,3,4,4] + [3,8,7,7,6,0,5,5,1,3] , A=[8,3,9,5,5] , C=0 , 4+3+0=7 , A->7 , C->0
[9,8,6,5,2,2,1,3,4] + [3,8,7,7,6,0,5,5,1] , A=[7,8,3,9,5,5] , C=0 , 4+1+0=5 , A->5 , C->0
[9,8,6,5,2,2,1,3] + [3,8,7,7,6,0,5,5] , A=[5,7,8,3,9,5,5] , C=0 , 3+5+0=8 , A->8 , C->0
[9,8,6,5,2,2,1] + [3,8,7,7,6,0,5] , A=[8,5,7,8,3,9,5,5] , C=0 , 1+5+0=6 , A->6 , C->0
[9,8,6,5,2,2] + [3,8,7,7,6,0] , A=[6,8,5,7,8,3,9,5,5] , C=0 , 2+0+0=2 , A->2 , C->0
[9,8,6,5,2] + [3,8,7,7,6] , A=[2,6,8,5,7,8,3,9,5,5] , C=0 , 2+6+0=8 , A->8 , C->0
[9,8,6,5] + [3,8,7,7] , A=[8,2,6,8,5,7,8,3,9,5,5] , C=0 , 5+7+0=12 , A->2 , C->1
[9,8,6] + [3,8,7] , A=[2,8,2,6,8,5,7,8,3,9,5,5] , C=1 , 6+7+1=14 , A->4 , C->1
[9,8] + [3,8] , A=[4,2,8,2,6,8,5,7,8,3,9,5,5] , C=1 , 8+8+1=17 , A->7 , C->1
[9] + [3] , A=[7,4,2,8,2,6,8,5,7,8,3,9,5,5] , C=1 , 9+3+1=13 , A->3 , C->1
[] + [] , A=[3,7,4,2,8,2,6,8,5,7,8,3,9,5,5] C=1 , END
</scratch>
1374282685783955
| 1374282685783955 | 15 |
Input:
493271895086731+810609422806890
Target:
| Input:
493271895086731+810609422806890
Target:
[4,9,3,2,7,1,8,9,5,0,8,6,7,3,1] + [8,1,0,6,0,9,4,2,2,8,0,6,8,9,0] , A=[] , C=0 , 1+0+0=1 , A->1 , C->0
[4,9,3,2,7,1,8,9,5,0,8,6,7,3] + [8,1,0,6,0,9,4,2,2,8,0,6,8,9] , A=[1] , C=0 , 3+9+0=12 , A->2 , C->1
[4,9,3,2,7,1,8,9,5,0,8,6,7] + [8,1,0,6,0,9,4,2,2,8,0,6,8] , A=[2,1] , C=1 , 7+8+1=16 , A->6 , C->1
[4,9,3,2,7,1,8,9,5,0,8,6] + [8,1,0,6,0,9,4,2,2,8,0,6] , A=[6,2,1] , C=1 , 6+6+1=13 , A->3 , C->1
[4,9,3,2,7,1,8,9,5,0,8] + [8,1,0,6,0,9,4,2,2,8,0] , A=[3,6,2,1] , C=1 , 8+0+1=9 , A->9 , C->0
[4,9,3,2,7,1,8,9,5,0] + [8,1,0,6,0,9,4,2,2,8] , A=[9,3,6,2,1] , C=0 , 0+8+0=8 , A->8 , C->0
[4,9,3,2,7,1,8,9,5] + [8,1,0,6,0,9,4,2,2] , A=[8,9,3,6,2,1] , C=0 , 5+2+0=7 , A->7 , C->0
[4,9,3,2,7,1,8,9] + [8,1,0,6,0,9,4,2] , A=[7,8,9,3,6,2,1] , C=0 , 9+2+0=11 , A->1 , C->1
[4,9,3,2,7,1,8] + [8,1,0,6,0,9,4] , A=[1,7,8,9,3,6,2,1] , C=1 , 8+4+1=13 , A->3 , C->1
[4,9,3,2,7,1] + [8,1,0,6,0,9] , A=[3,1,7,8,9,3,6,2,1] , C=1 , 1+9+1=11 , A->1 , C->1
[4,9,3,2,7] + [8,1,0,6,0] , A=[1,3,1,7,8,9,3,6,2,1] , C=1 , 7+0+1=8 , A->8 , C->0
[4,9,3,2] + [8,1,0,6] , A=[8,1,3,1,7,8,9,3,6,2,1] , C=0 , 2+6+0=8 , A->8 , C->0
[4,9,3] + [8,1,0] , A=[8,8,1,3,1,7,8,9,3,6,2,1] , C=0 , 3+0+0=3 , A->3 , C->0
[4,9] + [8,1] , A=[3,8,8,1,3,1,7,8,9,3,6,2,1] , C=0 , 9+1+0=10 , A->0 , C->1
[4] + [8] , A=[0,3,8,8,1,3,1,7,8,9,3,6,2,1] , C=1 , 4+8+1=13 , A->3 , C->1
[] + [] , A=[3,0,3,8,8,1,3,1,7,8,9,3,6,2,1] C=1 , END
</scratch>
1303881317893621
| 1303881317893621 | 15 |
Input:
401560322210918+638080841150997
Target:
| Input:
401560322210918+638080841150997
Target:
[4,0,1,5,6,0,3,2,2,2,1,0,9,1,8] + [6,3,8,0,8,0,8,4,1,1,5,0,9,9,7] , A=[] , C=0 , 8+7+0=15 , A->5 , C->1
[4,0,1,5,6,0,3,2,2,2,1,0,9,1] + [6,3,8,0,8,0,8,4,1,1,5,0,9,9] , A=[5] , C=1 , 1+9+1=11 , A->1 , C->1
[4,0,1,5,6,0,3,2,2,2,1,0,9] + [6,3,8,0,8,0,8,4,1,1,5,0,9] , A=[1,5] , C=1 , 9+9+1=19 , A->9 , C->1
[4,0,1,5,6,0,3,2,2,2,1,0] + [6,3,8,0,8,0,8,4,1,1,5,0] , A=[9,1,5] , C=1 , 0+0+1=1 , A->1 , C->0
[4,0,1,5,6,0,3,2,2,2,1] + [6,3,8,0,8,0,8,4,1,1,5] , A=[1,9,1,5] , C=0 , 1+5+0=6 , A->6 , C->0
[4,0,1,5,6,0,3,2,2,2] + [6,3,8,0,8,0,8,4,1,1] , A=[6,1,9,1,5] , C=0 , 2+1+0=3 , A->3 , C->0
[4,0,1,5,6,0,3,2,2] + [6,3,8,0,8,0,8,4,1] , A=[3,6,1,9,1,5] , C=0 , 2+1+0=3 , A->3 , C->0
[4,0,1,5,6,0,3,2] + [6,3,8,0,8,0,8,4] , A=[3,3,6,1,9,1,5] , C=0 , 2+4+0=6 , A->6 , C->0
[4,0,1,5,6,0,3] + [6,3,8,0,8,0,8] , A=[6,3,3,6,1,9,1,5] , C=0 , 3+8+0=11 , A->1 , C->1
[4,0,1,5,6,0] + [6,3,8,0,8,0] , A=[1,6,3,3,6,1,9,1,5] , C=1 , 0+0+1=1 , A->1 , C->0
[4,0,1,5,6] + [6,3,8,0,8] , A=[1,1,6,3,3,6,1,9,1,5] , C=0 , 6+8+0=14 , A->4 , C->1
[4,0,1,5] + [6,3,8,0] , A=[4,1,1,6,3,3,6,1,9,1,5] , C=1 , 5+0+1=6 , A->6 , C->0
[4,0,1] + [6,3,8] , A=[6,4,1,1,6,3,3,6,1,9,1,5] , C=0 , 1+8+0=9 , A->9 , C->0
[4,0] + [6,3] , A=[9,6,4,1,1,6,3,3,6,1,9,1,5] , C=0 , 0+3+0=3 , A->3 , C->0
[4] + [6] , A=[3,9,6,4,1,1,6,3,3,6,1,9,1,5] , C=0 , 4+6+0=10 , A->0 , C->1
[] + [] , A=[0,3,9,6,4,1,1,6,3,3,6,1,9,1,5] C=1 , END
</scratch>
1039641163361915
| 1039641163361915 | 15 |
Input:
719379258213120+234215885448003
Target:
| Input:
719379258213120+234215885448003
Target:
[7,1,9,3,7,9,2,5,8,2,1,3,1,2,0] + [2,3,4,2,1,5,8,8,5,4,4,8,0,0,3] , A=[] , C=0 , 0+3+0=3 , A->3 , C->0
[7,1,9,3,7,9,2,5,8,2,1,3,1,2] + [2,3,4,2,1,5,8,8,5,4,4,8,0,0] , A=[3] , C=0 , 2+0+0=2 , A->2 , C->0
[7,1,9,3,7,9,2,5,8,2,1,3,1] + [2,3,4,2,1,5,8,8,5,4,4,8,0] , A=[2,3] , C=0 , 1+0+0=1 , A->1 , C->0
[7,1,9,3,7,9,2,5,8,2,1,3] + [2,3,4,2,1,5,8,8,5,4,4,8] , A=[1,2,3] , C=0 , 3+8+0=11 , A->1 , C->1
[7,1,9,3,7,9,2,5,8,2,1] + [2,3,4,2,1,5,8,8,5,4,4] , A=[1,1,2,3] , C=1 , 1+4+1=6 , A->6 , C->0
[7,1,9,3,7,9,2,5,8,2] + [2,3,4,2,1,5,8,8,5,4] , A=[6,1,1,2,3] , C=0 , 2+4+0=6 , A->6 , C->0
[7,1,9,3,7,9,2,5,8] + [2,3,4,2,1,5,8,8,5] , A=[6,6,1,1,2,3] , C=0 , 8+5+0=13 , A->3 , C->1
[7,1,9,3,7,9,2,5] + [2,3,4,2,1,5,8,8] , A=[3,6,6,1,1,2,3] , C=1 , 5+8+1=14 , A->4 , C->1
[7,1,9,3,7,9,2] + [2,3,4,2,1,5,8] , A=[4,3,6,6,1,1,2,3] , C=1 , 2+8+1=11 , A->1 , C->1
[7,1,9,3,7,9] + [2,3,4,2,1,5] , A=[1,4,3,6,6,1,1,2,3] , C=1 , 9+5+1=15 , A->5 , C->1
[7,1,9,3,7] + [2,3,4,2,1] , A=[5,1,4,3,6,6,1,1,2,3] , C=1 , 7+1+1=9 , A->9 , C->0
[7,1,9,3] + [2,3,4,2] , A=[9,5,1,4,3,6,6,1,1,2,3] , C=0 , 3+2+0=5 , A->5 , C->0
[7,1,9] + [2,3,4] , A=[5,9,5,1,4,3,6,6,1,1,2,3] , C=0 , 9+4+0=13 , A->3 , C->1
[7,1] + [2,3] , A=[3,5,9,5,1,4,3,6,6,1,1,2,3] , C=1 , 1+3+1=5 , A->5 , C->0
[7] + [2] , A=[5,3,5,9,5,1,4,3,6,6,1,1,2,3] , C=0 , 7+2+0=9 , A->9 , C->0
[] + [] , A=[9,5,3,5,9,5,1,4,3,6,6,1,1,2,3] C=0 , END
</scratch>
953595143661123
| 953595143661123 | 15 |
Input:
645506275134683+584545234188835
Target:
| Input:
645506275134683+584545234188835
Target:
[6,4,5,5,0,6,2,7,5,1,3,4,6,8,3] + [5,8,4,5,4,5,2,3,4,1,8,8,8,3,5] , A=[] , C=0 , 3+5+0=8 , A->8 , C->0
[6,4,5,5,0,6,2,7,5,1,3,4,6,8] + [5,8,4,5,4,5,2,3,4,1,8,8,8,3] , A=[8] , C=0 , 8+3+0=11 , A->1 , C->1
[6,4,5,5,0,6,2,7,5,1,3,4,6] + [5,8,4,5,4,5,2,3,4,1,8,8,8] , A=[1,8] , C=1 , 6+8+1=15 , A->5 , C->1
[6,4,5,5,0,6,2,7,5,1,3,4] + [5,8,4,5,4,5,2,3,4,1,8,8] , A=[5,1,8] , C=1 , 4+8+1=13 , A->3 , C->1
[6,4,5,5,0,6,2,7,5,1,3] + [5,8,4,5,4,5,2,3,4,1,8] , A=[3,5,1,8] , C=1 , 3+8+1=12 , A->2 , C->1
[6,4,5,5,0,6,2,7,5,1] + [5,8,4,5,4,5,2,3,4,1] , A=[2,3,5,1,8] , C=1 , 1+1+1=3 , A->3 , C->0
[6,4,5,5,0,6,2,7,5] + [5,8,4,5,4,5,2,3,4] , A=[3,2,3,5,1,8] , C=0 , 5+4+0=9 , A->9 , C->0
[6,4,5,5,0,6,2,7] + [5,8,4,5,4,5,2,3] , A=[9,3,2,3,5,1,8] , C=0 , 7+3+0=10 , A->0 , C->1
[6,4,5,5,0,6,2] + [5,8,4,5,4,5,2] , A=[0,9,3,2,3,5,1,8] , C=1 , 2+2+1=5 , A->5 , C->0
[6,4,5,5,0,6] + [5,8,4,5,4,5] , A=[5,0,9,3,2,3,5,1,8] , C=0 , 6+5+0=11 , A->1 , C->1
[6,4,5,5,0] + [5,8,4,5,4] , A=[1,5,0,9,3,2,3,5,1,8] , C=1 , 0+4+1=5 , A->5 , C->0
[6,4,5,5] + [5,8,4,5] , A=[5,1,5,0,9,3,2,3,5,1,8] , C=0 , 5+5+0=10 , A->0 , C->1
[6,4,5] + [5,8,4] , A=[0,5,1,5,0,9,3,2,3,5,1,8] , C=1 , 5+4+1=10 , A->0 , C->1
[6,4] + [5,8] , A=[0,0,5,1,5,0,9,3,2,3,5,1,8] , C=1 , 4+8+1=13 , A->3 , C->1
[6] + [5] , A=[3,0,0,5,1,5,0,9,3,2,3,5,1,8] , C=1 , 6+5+1=12 , A->2 , C->1
[] + [] , A=[2,3,0,0,5,1,5,0,9,3,2,3,5,1,8] C=1 , END
</scratch>
1230051509323518
| 1230051509323518 | 15 |
Input:
549992229909972+942783848820315
Target:
| Input:
549992229909972+942783848820315
Target:
[5,4,9,9,9,2,2,2,9,9,0,9,9,7,2] + [9,4,2,7,8,3,8,4,8,8,2,0,3,1,5] , A=[] , C=0 , 2+5+0=7 , A->7 , C->0
[5,4,9,9,9,2,2,2,9,9,0,9,9,7] + [9,4,2,7,8,3,8,4,8,8,2,0,3,1] , A=[7] , C=0 , 7+1+0=8 , A->8 , C->0
[5,4,9,9,9,2,2,2,9,9,0,9,9] + [9,4,2,7,8,3,8,4,8,8,2,0,3] , A=[8,7] , C=0 , 9+3+0=12 , A->2 , C->1
[5,4,9,9,9,2,2,2,9,9,0,9] + [9,4,2,7,8,3,8,4,8,8,2,0] , A=[2,8,7] , C=1 , 9+0+1=10 , A->0 , C->1
[5,4,9,9,9,2,2,2,9,9,0] + [9,4,2,7,8,3,8,4,8,8,2] , A=[0,2,8,7] , C=1 , 0+2+1=3 , A->3 , C->0
[5,4,9,9,9,2,2,2,9,9] + [9,4,2,7,8,3,8,4,8,8] , A=[3,0,2,8,7] , C=0 , 9+8+0=17 , A->7 , C->1
[5,4,9,9,9,2,2,2,9] + [9,4,2,7,8,3,8,4,8] , A=[7,3,0,2,8,7] , C=1 , 9+8+1=18 , A->8 , C->1
[5,4,9,9,9,2,2,2] + [9,4,2,7,8,3,8,4] , A=[8,7,3,0,2,8,7] , C=1 , 2+4+1=7 , A->7 , C->0
[5,4,9,9,9,2,2] + [9,4,2,7,8,3,8] , A=[7,8,7,3,0,2,8,7] , C=0 , 2+8+0=10 , A->0 , C->1
[5,4,9,9,9,2] + [9,4,2,7,8,3] , A=[0,7,8,7,3,0,2,8,7] , C=1 , 2+3+1=6 , A->6 , C->0
[5,4,9,9,9] + [9,4,2,7,8] , A=[6,0,7,8,7,3,0,2,8,7] , C=0 , 9+8+0=17 , A->7 , C->1
[5,4,9,9] + [9,4,2,7] , A=[7,6,0,7,8,7,3,0,2,8,7] , C=1 , 9+7+1=17 , A->7 , C->1
[5,4,9] + [9,4,2] , A=[7,7,6,0,7,8,7,3,0,2,8,7] , C=1 , 9+2+1=12 , A->2 , C->1
[5,4] + [9,4] , A=[2,7,7,6,0,7,8,7,3,0,2,8,7] , C=1 , 4+4+1=9 , A->9 , C->0
[5] + [9] , A=[9,2,7,7,6,0,7,8,7,3,0,2,8,7] , C=0 , 5+9+0=14 , A->4 , C->1
[] + [] , A=[4,9,2,7,7,6,0,7,8,7,3,0,2,8,7] C=1 , END
</scratch>
1492776078730287
| 1492776078730287 | 15 |
Input:
398008015703859+391962009357514
Target:
| Input:
398008015703859+391962009357514
Target:
[3,9,8,0,0,8,0,1,5,7,0,3,8,5,9] + [3,9,1,9,6,2,0,0,9,3,5,7,5,1,4] , A=[] , C=0 , 9+4+0=13 , A->3 , C->1
[3,9,8,0,0,8,0,1,5,7,0,3,8,5] + [3,9,1,9,6,2,0,0,9,3,5,7,5,1] , A=[3] , C=1 , 5+1+1=7 , A->7 , C->0
[3,9,8,0,0,8,0,1,5,7,0,3,8] + [3,9,1,9,6,2,0,0,9,3,5,7,5] , A=[7,3] , C=0 , 8+5+0=13 , A->3 , C->1
[3,9,8,0,0,8,0,1,5,7,0,3] + [3,9,1,9,6,2,0,0,9,3,5,7] , A=[3,7,3] , C=1 , 3+7+1=11 , A->1 , C->1
[3,9,8,0,0,8,0,1,5,7,0] + [3,9,1,9,6,2,0,0,9,3,5] , A=[1,3,7,3] , C=1 , 0+5+1=6 , A->6 , C->0
[3,9,8,0,0,8,0,1,5,7] + [3,9,1,9,6,2,0,0,9,3] , A=[6,1,3,7,3] , C=0 , 7+3+0=10 , A->0 , C->1
[3,9,8,0,0,8,0,1,5] + [3,9,1,9,6,2,0,0,9] , A=[0,6,1,3,7,3] , C=1 , 5+9+1=15 , A->5 , C->1
[3,9,8,0,0,8,0,1] + [3,9,1,9,6,2,0,0] , A=[5,0,6,1,3,7,3] , C=1 , 1+0+1=2 , A->2 , C->0
[3,9,8,0,0,8,0] + [3,9,1,9,6,2,0] , A=[2,5,0,6,1,3,7,3] , C=0 , 0+0+0=0 , A->0 , C->0
[3,9,8,0,0,8] + [3,9,1,9,6,2] , A=[0,2,5,0,6,1,3,7,3] , C=0 , 8+2+0=10 , A->0 , C->1
[3,9,8,0,0] + [3,9,1,9,6] , A=[0,0,2,5,0,6,1,3,7,3] , C=1 , 0+6+1=7 , A->7 , C->0
[3,9,8,0] + [3,9,1,9] , A=[7,0,0,2,5,0,6,1,3,7,3] , C=0 , 0+9+0=9 , A->9 , C->0
[3,9,8] + [3,9,1] , A=[9,7,0,0,2,5,0,6,1,3,7,3] , C=0 , 8+1+0=9 , A->9 , C->0
[3,9] + [3,9] , A=[9,9,7,0,0,2,5,0,6,1,3,7,3] , C=0 , 9+9+0=18 , A->8 , C->1
[3] + [3] , A=[8,9,9,7,0,0,2,5,0,6,1,3,7,3] , C=1 , 3+3+1=7 , A->7 , C->0
[] + [] , A=[7,8,9,9,7,0,0,2,5,0,6,1,3,7,3] C=0 , END
</scratch>
789970025061373
| 789970025061373 | 15 |
Input:
859660490677972+298907042966097
Target:
| Input:
859660490677972+298907042966097
Target:
[8,5,9,6,6,0,4,9,0,6,7,7,9,7,2] + [2,9,8,9,0,7,0,4,2,9,6,6,0,9,7] , A=[] , C=0 , 2+7+0=9 , A->9 , C->0
[8,5,9,6,6,0,4,9,0,6,7,7,9,7] + [2,9,8,9,0,7,0,4,2,9,6,6,0,9] , A=[9] , C=0 , 7+9+0=16 , A->6 , C->1
[8,5,9,6,6,0,4,9,0,6,7,7,9] + [2,9,8,9,0,7,0,4,2,9,6,6,0] , A=[6,9] , C=1 , 9+0+1=10 , A->0 , C->1
[8,5,9,6,6,0,4,9,0,6,7,7] + [2,9,8,9,0,7,0,4,2,9,6,6] , A=[0,6,9] , C=1 , 7+6+1=14 , A->4 , C->1
[8,5,9,6,6,0,4,9,0,6,7] + [2,9,8,9,0,7,0,4,2,9,6] , A=[4,0,6,9] , C=1 , 7+6+1=14 , A->4 , C->1
[8,5,9,6,6,0,4,9,0,6] + [2,9,8,9,0,7,0,4,2,9] , A=[4,4,0,6,9] , C=1 , 6+9+1=16 , A->6 , C->1
[8,5,9,6,6,0,4,9,0] + [2,9,8,9,0,7,0,4,2] , A=[6,4,4,0,6,9] , C=1 , 0+2+1=3 , A->3 , C->0
[8,5,9,6,6,0,4,9] + [2,9,8,9,0,7,0,4] , A=[3,6,4,4,0,6,9] , C=0 , 9+4+0=13 , A->3 , C->1
[8,5,9,6,6,0,4] + [2,9,8,9,0,7,0] , A=[3,3,6,4,4,0,6,9] , C=1 , 4+0+1=5 , A->5 , C->0
[8,5,9,6,6,0] + [2,9,8,9,0,7] , A=[5,3,3,6,4,4,0,6,9] , C=0 , 0+7+0=7 , A->7 , C->0
[8,5,9,6,6] + [2,9,8,9,0] , A=[7,5,3,3,6,4,4,0,6,9] , C=0 , 6+0+0=6 , A->6 , C->0
[8,5,9,6] + [2,9,8,9] , A=[6,7,5,3,3,6,4,4,0,6,9] , C=0 , 6+9+0=15 , A->5 , C->1
[8,5,9] + [2,9,8] , A=[5,6,7,5,3,3,6,4,4,0,6,9] , C=1 , 9+8+1=18 , A->8 , C->1
[8,5] + [2,9] , A=[8,5,6,7,5,3,3,6,4,4,0,6,9] , C=1 , 5+9+1=15 , A->5 , C->1
[8] + [2] , A=[5,8,5,6,7,5,3,3,6,4,4,0,6,9] , C=1 , 8+2+1=11 , A->1 , C->1
[] + [] , A=[1,5,8,5,6,7,5,3,3,6,4,4,0,6,9] C=1 , END
</scratch>
1158567533644069
| 1158567533644069 | 15 |
Input:
635830403858165+776832305395674
Target:
| Input:
635830403858165+776832305395674
Target:
[6,3,5,8,3,0,4,0,3,8,5,8,1,6,5] + [7,7,6,8,3,2,3,0,5,3,9,5,6,7,4] , A=[] , C=0 , 5+4+0=9 , A->9 , C->0
[6,3,5,8,3,0,4,0,3,8,5,8,1,6] + [7,7,6,8,3,2,3,0,5,3,9,5,6,7] , A=[9] , C=0 , 6+7+0=13 , A->3 , C->1
[6,3,5,8,3,0,4,0,3,8,5,8,1] + [7,7,6,8,3,2,3,0,5,3,9,5,6] , A=[3,9] , C=1 , 1+6+1=8 , A->8 , C->0
[6,3,5,8,3,0,4,0,3,8,5,8] + [7,7,6,8,3,2,3,0,5,3,9,5] , A=[8,3,9] , C=0 , 8+5+0=13 , A->3 , C->1
[6,3,5,8,3,0,4,0,3,8,5] + [7,7,6,8,3,2,3,0,5,3,9] , A=[3,8,3,9] , C=1 , 5+9+1=15 , A->5 , C->1
[6,3,5,8,3,0,4,0,3,8] + [7,7,6,8,3,2,3,0,5,3] , A=[5,3,8,3,9] , C=1 , 8+3+1=12 , A->2 , C->1
[6,3,5,8,3,0,4,0,3] + [7,7,6,8,3,2,3,0,5] , A=[2,5,3,8,3,9] , C=1 , 3+5+1=9 , A->9 , C->0
[6,3,5,8,3,0,4,0] + [7,7,6,8,3,2,3,0] , A=[9,2,5,3,8,3,9] , C=0 , 0+0+0=0 , A->0 , C->0
[6,3,5,8,3,0,4] + [7,7,6,8,3,2,3] , A=[0,9,2,5,3,8,3,9] , C=0 , 4+3+0=7 , A->7 , C->0
[6,3,5,8,3,0] + [7,7,6,8,3,2] , A=[7,0,9,2,5,3,8,3,9] , C=0 , 0+2+0=2 , A->2 , C->0
[6,3,5,8,3] + [7,7,6,8,3] , A=[2,7,0,9,2,5,3,8,3,9] , C=0 , 3+3+0=6 , A->6 , C->0
[6,3,5,8] + [7,7,6,8] , A=[6,2,7,0,9,2,5,3,8,3,9] , C=0 , 8+8+0=16 , A->6 , C->1
[6,3,5] + [7,7,6] , A=[6,6,2,7,0,9,2,5,3,8,3,9] , C=1 , 5+6+1=12 , A->2 , C->1
[6,3] + [7,7] , A=[2,6,6,2,7,0,9,2,5,3,8,3,9] , C=1 , 3+7+1=11 , A->1 , C->1
[6] + [7] , A=[1,2,6,6,2,7,0,9,2,5,3,8,3,9] , C=1 , 6+7+1=14 , A->4 , C->1
[] + [] , A=[4,1,2,6,6,2,7,0,9,2,5,3,8,3,9] C=1 , END
</scratch>
1412662709253839
| 1412662709253839 | 15 |
Input:
236166185321472+859711387037216
Target:
| Input:
236166185321472+859711387037216
Target:
[2,3,6,1,6,6,1,8,5,3,2,1,4,7,2] + [8,5,9,7,1,1,3,8,7,0,3,7,2,1,6] , A=[] , C=0 , 2+6+0=8 , A->8 , C->0
[2,3,6,1,6,6,1,8,5,3,2,1,4,7] + [8,5,9,7,1,1,3,8,7,0,3,7,2,1] , A=[8] , C=0 , 7+1+0=8 , A->8 , C->0
[2,3,6,1,6,6,1,8,5,3,2,1,4] + [8,5,9,7,1,1,3,8,7,0,3,7,2] , A=[8,8] , C=0 , 4+2+0=6 , A->6 , C->0
[2,3,6,1,6,6,1,8,5,3,2,1] + [8,5,9,7,1,1,3,8,7,0,3,7] , A=[6,8,8] , C=0 , 1+7+0=8 , A->8 , C->0
[2,3,6,1,6,6,1,8,5,3,2] + [8,5,9,7,1,1,3,8,7,0,3] , A=[8,6,8,8] , C=0 , 2+3+0=5 , A->5 , C->0
[2,3,6,1,6,6,1,8,5,3] + [8,5,9,7,1,1,3,8,7,0] , A=[5,8,6,8,8] , C=0 , 3+0+0=3 , A->3 , C->0
[2,3,6,1,6,6,1,8,5] + [8,5,9,7,1,1,3,8,7] , A=[3,5,8,6,8,8] , C=0 , 5+7+0=12 , A->2 , C->1
[2,3,6,1,6,6,1,8] + [8,5,9,7,1,1,3,8] , A=[2,3,5,8,6,8,8] , C=1 , 8+8+1=17 , A->7 , C->1
[2,3,6,1,6,6,1] + [8,5,9,7,1,1,3] , A=[7,2,3,5,8,6,8,8] , C=1 , 1+3+1=5 , A->5 , C->0
[2,3,6,1,6,6] + [8,5,9,7,1,1] , A=[5,7,2,3,5,8,6,8,8] , C=0 , 6+1+0=7 , A->7 , C->0
[2,3,6,1,6] + [8,5,9,7,1] , A=[7,5,7,2,3,5,8,6,8,8] , C=0 , 6+1+0=7 , A->7 , C->0
[2,3,6,1] + [8,5,9,7] , A=[7,7,5,7,2,3,5,8,6,8,8] , C=0 , 1+7+0=8 , A->8 , C->0
[2,3,6] + [8,5,9] , A=[8,7,7,5,7,2,3,5,8,6,8,8] , C=0 , 6+9+0=15 , A->5 , C->1
[2,3] + [8,5] , A=[5,8,7,7,5,7,2,3,5,8,6,8,8] , C=1 , 3+5+1=9 , A->9 , C->0
[2] + [8] , A=[9,5,8,7,7,5,7,2,3,5,8,6,8,8] , C=0 , 2+8+0=10 , A->0 , C->1
[] + [] , A=[0,9,5,8,7,7,5,7,2,3,5,8,6,8,8] C=1 , END
</scratch>
1095877572358688
| 1095877572358688 | 15 |
Input:
461884804958148+273925475888893
Target:
| Input:
461884804958148+273925475888893
Target:
[4,6,1,8,8,4,8,0,4,9,5,8,1,4,8] + [2,7,3,9,2,5,4,7,5,8,8,8,8,9,3] , A=[] , C=0 , 8+3+0=11 , A->1 , C->1
[4,6,1,8,8,4,8,0,4,9,5,8,1,4] + [2,7,3,9,2,5,4,7,5,8,8,8,8,9] , A=[1] , C=1 , 4+9+1=14 , A->4 , C->1
[4,6,1,8,8,4,8,0,4,9,5,8,1] + [2,7,3,9,2,5,4,7,5,8,8,8,8] , A=[4,1] , C=1 , 1+8+1=10 , A->0 , C->1
[4,6,1,8,8,4,8,0,4,9,5,8] + [2,7,3,9,2,5,4,7,5,8,8,8] , A=[0,4,1] , C=1 , 8+8+1=17 , A->7 , C->1
[4,6,1,8,8,4,8,0,4,9,5] + [2,7,3,9,2,5,4,7,5,8,8] , A=[7,0,4,1] , C=1 , 5+8+1=14 , A->4 , C->1
[4,6,1,8,8,4,8,0,4,9] + [2,7,3,9,2,5,4,7,5,8] , A=[4,7,0,4,1] , C=1 , 9+8+1=18 , A->8 , C->1
[4,6,1,8,8,4,8,0,4] + [2,7,3,9,2,5,4,7,5] , A=[8,4,7,0,4,1] , C=1 , 4+5+1=10 , A->0 , C->1
[4,6,1,8,8,4,8,0] + [2,7,3,9,2,5,4,7] , A=[0,8,4,7,0,4,1] , C=1 , 0+7+1=8 , A->8 , C->0
[4,6,1,8,8,4,8] + [2,7,3,9,2,5,4] , A=[8,0,8,4,7,0,4,1] , C=0 , 8+4+0=12 , A->2 , C->1
[4,6,1,8,8,4] + [2,7,3,9,2,5] , A=[2,8,0,8,4,7,0,4,1] , C=1 , 4+5+1=10 , A->0 , C->1
[4,6,1,8,8] + [2,7,3,9,2] , A=[0,2,8,0,8,4,7,0,4,1] , C=1 , 8+2+1=11 , A->1 , C->1
[4,6,1,8] + [2,7,3,9] , A=[1,0,2,8,0,8,4,7,0,4,1] , C=1 , 8+9+1=18 , A->8 , C->1
[4,6,1] + [2,7,3] , A=[8,1,0,2,8,0,8,4,7,0,4,1] , C=1 , 1+3+1=5 , A->5 , C->0
[4,6] + [2,7] , A=[5,8,1,0,2,8,0,8,4,7,0,4,1] , C=0 , 6+7+0=13 , A->3 , C->1
[4] + [2] , A=[3,5,8,1,0,2,8,0,8,4,7,0,4,1] , C=1 , 4+2+1=7 , A->7 , C->0
[] + [] , A=[7,3,5,8,1,0,2,8,0,8,4,7,0,4,1] C=0 , END
</scratch>
735810280847041
| 735810280847041 | 15 |
Input:
580089471231407+642675411945561
Target:
| Input:
580089471231407+642675411945561
Target:
[5,8,0,0,8,9,4,7,1,2,3,1,4,0,7] + [6,4,2,6,7,5,4,1,1,9,4,5,5,6,1] , A=[] , C=0 , 7+1+0=8 , A->8 , C->0
[5,8,0,0,8,9,4,7,1,2,3,1,4,0] + [6,4,2,6,7,5,4,1,1,9,4,5,5,6] , A=[8] , C=0 , 0+6+0=6 , A->6 , C->0
[5,8,0,0,8,9,4,7,1,2,3,1,4] + [6,4,2,6,7,5,4,1,1,9,4,5,5] , A=[6,8] , C=0 , 4+5+0=9 , A->9 , C->0
[5,8,0,0,8,9,4,7,1,2,3,1] + [6,4,2,6,7,5,4,1,1,9,4,5] , A=[9,6,8] , C=0 , 1+5+0=6 , A->6 , C->0
[5,8,0,0,8,9,4,7,1,2,3] + [6,4,2,6,7,5,4,1,1,9,4] , A=[6,9,6,8] , C=0 , 3+4+0=7 , A->7 , C->0
[5,8,0,0,8,9,4,7,1,2] + [6,4,2,6,7,5,4,1,1,9] , A=[7,6,9,6,8] , C=0 , 2+9+0=11 , A->1 , C->1
[5,8,0,0,8,9,4,7,1] + [6,4,2,6,7,5,4,1,1] , A=[1,7,6,9,6,8] , C=1 , 1+1+1=3 , A->3 , C->0
[5,8,0,0,8,9,4,7] + [6,4,2,6,7,5,4,1] , A=[3,1,7,6,9,6,8] , C=0 , 7+1+0=8 , A->8 , C->0
[5,8,0,0,8,9,4] + [6,4,2,6,7,5,4] , A=[8,3,1,7,6,9,6,8] , C=0 , 4+4+0=8 , A->8 , C->0
[5,8,0,0,8,9] + [6,4,2,6,7,5] , A=[8,8,3,1,7,6,9,6,8] , C=0 , 9+5+0=14 , A->4 , C->1
[5,8,0,0,8] + [6,4,2,6,7] , A=[4,8,8,3,1,7,6,9,6,8] , C=1 , 8+7+1=16 , A->6 , C->1
[5,8,0,0] + [6,4,2,6] , A=[6,4,8,8,3,1,7,6,9,6,8] , C=1 , 0+6+1=7 , A->7 , C->0
[5,8,0] + [6,4,2] , A=[7,6,4,8,8,3,1,7,6,9,6,8] , C=0 , 0+2+0=2 , A->2 , C->0
[5,8] + [6,4] , A=[2,7,6,4,8,8,3,1,7,6,9,6,8] , C=0 , 8+4+0=12 , A->2 , C->1
[5] + [6] , A=[2,2,7,6,4,8,8,3,1,7,6,9,6,8] , C=1 , 5+6+1=12 , A->2 , C->1
[] + [] , A=[2,2,2,7,6,4,8,8,3,1,7,6,9,6,8] C=1 , END
</scratch>
1222764883176968
| 1222764883176968 | 15 |
Input:
503614207488876+183962279605944
Target:
| Input:
503614207488876+183962279605944
Target:
[5,0,3,6,1,4,2,0,7,4,8,8,8,7,6] + [1,8,3,9,6,2,2,7,9,6,0,5,9,4,4] , A=[] , C=0 , 6+4+0=10 , A->0 , C->1
[5,0,3,6,1,4,2,0,7,4,8,8,8,7] + [1,8,3,9,6,2,2,7,9,6,0,5,9,4] , A=[0] , C=1 , 7+4+1=12 , A->2 , C->1
[5,0,3,6,1,4,2,0,7,4,8,8,8] + [1,8,3,9,6,2,2,7,9,6,0,5,9] , A=[2,0] , C=1 , 8+9+1=18 , A->8 , C->1
[5,0,3,6,1,4,2,0,7,4,8,8] + [1,8,3,9,6,2,2,7,9,6,0,5] , A=[8,2,0] , C=1 , 8+5+1=14 , A->4 , C->1
[5,0,3,6,1,4,2,0,7,4,8] + [1,8,3,9,6,2,2,7,9,6,0] , A=[4,8,2,0] , C=1 , 8+0+1=9 , A->9 , C->0
[5,0,3,6,1,4,2,0,7,4] + [1,8,3,9,6,2,2,7,9,6] , A=[9,4,8,2,0] , C=0 , 4+6+0=10 , A->0 , C->1
[5,0,3,6,1,4,2,0,7] + [1,8,3,9,6,2,2,7,9] , A=[0,9,4,8,2,0] , C=1 , 7+9+1=17 , A->7 , C->1
[5,0,3,6,1,4,2,0] + [1,8,3,9,6,2,2,7] , A=[7,0,9,4,8,2,0] , C=1 , 0+7+1=8 , A->8 , C->0
[5,0,3,6,1,4,2] + [1,8,3,9,6,2,2] , A=[8,7,0,9,4,8,2,0] , C=0 , 2+2+0=4 , A->4 , C->0
[5,0,3,6,1,4] + [1,8,3,9,6,2] , A=[4,8,7,0,9,4,8,2,0] , C=0 , 4+2+0=6 , A->6 , C->0
[5,0,3,6,1] + [1,8,3,9,6] , A=[6,4,8,7,0,9,4,8,2,0] , C=0 , 1+6+0=7 , A->7 , C->0
[5,0,3,6] + [1,8,3,9] , A=[7,6,4,8,7,0,9,4,8,2,0] , C=0 , 6+9+0=15 , A->5 , C->1
[5,0,3] + [1,8,3] , A=[5,7,6,4,8,7,0,9,4,8,2,0] , C=1 , 3+3+1=7 , A->7 , C->0
[5,0] + [1,8] , A=[7,5,7,6,4,8,7,0,9,4,8,2,0] , C=0 , 0+8+0=8 , A->8 , C->0
[5] + [1] , A=[8,7,5,7,6,4,8,7,0,9,4,8,2,0] , C=0 , 5+1+0=6 , A->6 , C->0
[] + [] , A=[6,8,7,5,7,6,4,8,7,0,9,4,8,2,0] C=0 , END
</scratch>
687576487094820
| 687576487094820 | 15 |
Input:
301352409202380+252312653808558
Target:
| Input:
301352409202380+252312653808558
Target:
[3,0,1,3,5,2,4,0,9,2,0,2,3,8,0] + [2,5,2,3,1,2,6,5,3,8,0,8,5,5,8] , A=[] , C=0 , 0+8+0=8 , A->8 , C->0
[3,0,1,3,5,2,4,0,9,2,0,2,3,8] + [2,5,2,3,1,2,6,5,3,8,0,8,5,5] , A=[8] , C=0 , 8+5+0=13 , A->3 , C->1
[3,0,1,3,5,2,4,0,9,2,0,2,3] + [2,5,2,3,1,2,6,5,3,8,0,8,5] , A=[3,8] , C=1 , 3+5+1=9 , A->9 , C->0
[3,0,1,3,5,2,4,0,9,2,0,2] + [2,5,2,3,1,2,6,5,3,8,0,8] , A=[9,3,8] , C=0 , 2+8+0=10 , A->0 , C->1
[3,0,1,3,5,2,4,0,9,2,0] + [2,5,2,3,1,2,6,5,3,8,0] , A=[0,9,3,8] , C=1 , 0+0+1=1 , A->1 , C->0
[3,0,1,3,5,2,4,0,9,2] + [2,5,2,3,1,2,6,5,3,8] , A=[1,0,9,3,8] , C=0 , 2+8+0=10 , A->0 , C->1
[3,0,1,3,5,2,4,0,9] + [2,5,2,3,1,2,6,5,3] , A=[0,1,0,9,3,8] , C=1 , 9+3+1=13 , A->3 , C->1
[3,0,1,3,5,2,4,0] + [2,5,2,3,1,2,6,5] , A=[3,0,1,0,9,3,8] , C=1 , 0+5+1=6 , A->6 , C->0
[3,0,1,3,5,2,4] + [2,5,2,3,1,2,6] , A=[6,3,0,1,0,9,3,8] , C=0 , 4+6+0=10 , A->0 , C->1
[3,0,1,3,5,2] + [2,5,2,3,1,2] , A=[0,6,3,0,1,0,9,3,8] , C=1 , 2+2+1=5 , A->5 , C->0
[3,0,1,3,5] + [2,5,2,3,1] , A=[5,0,6,3,0,1,0,9,3,8] , C=0 , 5+1+0=6 , A->6 , C->0
[3,0,1,3] + [2,5,2,3] , A=[6,5,0,6,3,0,1,0,9,3,8] , C=0 , 3+3+0=6 , A->6 , C->0
[3,0,1] + [2,5,2] , A=[6,6,5,0,6,3,0,1,0,9,3,8] , C=0 , 1+2+0=3 , A->3 , C->0
[3,0] + [2,5] , A=[3,6,6,5,0,6,3,0,1,0,9,3,8] , C=0 , 0+5+0=5 , A->5 , C->0
[3] + [2] , A=[5,3,6,6,5,0,6,3,0,1,0,9,3,8] , C=0 , 3+2+0=5 , A->5 , C->0
[] + [] , A=[5,5,3,6,6,5,0,6,3,0,1,0,9,3,8] C=0 , END
</scratch>
553665063010938
| 553665063010938 | 15 |
Input:
840869131160922+217768848118550
Target:
| Input:
840869131160922+217768848118550
Target:
[8,4,0,8,6,9,1,3,1,1,6,0,9,2,2] + [2,1,7,7,6,8,8,4,8,1,1,8,5,5,0] , A=[] , C=0 , 2+0+0=2 , A->2 , C->0
[8,4,0,8,6,9,1,3,1,1,6,0,9,2] + [2,1,7,7,6,8,8,4,8,1,1,8,5,5] , A=[2] , C=0 , 2+5+0=7 , A->7 , C->0
[8,4,0,8,6,9,1,3,1,1,6,0,9] + [2,1,7,7,6,8,8,4,8,1,1,8,5] , A=[7,2] , C=0 , 9+5+0=14 , A->4 , C->1
[8,4,0,8,6,9,1,3,1,1,6,0] + [2,1,7,7,6,8,8,4,8,1,1,8] , A=[4,7,2] , C=1 , 0+8+1=9 , A->9 , C->0
[8,4,0,8,6,9,1,3,1,1,6] + [2,1,7,7,6,8,8,4,8,1,1] , A=[9,4,7,2] , C=0 , 6+1+0=7 , A->7 , C->0
[8,4,0,8,6,9,1,3,1,1] + [2,1,7,7,6,8,8,4,8,1] , A=[7,9,4,7,2] , C=0 , 1+1+0=2 , A->2 , C->0
[8,4,0,8,6,9,1,3,1] + [2,1,7,7,6,8,8,4,8] , A=[2,7,9,4,7,2] , C=0 , 1+8+0=9 , A->9 , C->0
[8,4,0,8,6,9,1,3] + [2,1,7,7,6,8,8,4] , A=[9,2,7,9,4,7,2] , C=0 , 3+4+0=7 , A->7 , C->0
[8,4,0,8,6,9,1] + [2,1,7,7,6,8,8] , A=[7,9,2,7,9,4,7,2] , C=0 , 1+8+0=9 , A->9 , C->0
[8,4,0,8,6,9] + [2,1,7,7,6,8] , A=[9,7,9,2,7,9,4,7,2] , C=0 , 9+8+0=17 , A->7 , C->1
[8,4,0,8,6] + [2,1,7,7,6] , A=[7,9,7,9,2,7,9,4,7,2] , C=1 , 6+6+1=13 , A->3 , C->1
[8,4,0,8] + [2,1,7,7] , A=[3,7,9,7,9,2,7,9,4,7,2] , C=1 , 8+7+1=16 , A->6 , C->1
[8,4,0] + [2,1,7] , A=[6,3,7,9,7,9,2,7,9,4,7,2] , C=1 , 0+7+1=8 , A->8 , C->0
[8,4] + [2,1] , A=[8,6,3,7,9,7,9,2,7,9,4,7,2] , C=0 , 4+1+0=5 , A->5 , C->0
[8] + [2] , A=[5,8,6,3,7,9,7,9,2,7,9,4,7,2] , C=0 , 8+2+0=10 , A->0 , C->1
[] + [] , A=[0,5,8,6,3,7,9,7,9,2,7,9,4,7,2] C=1 , END
</scratch>
1058637979279472
| 1058637979279472 | 15 |
Input:
551972946432783+904301536372721
Target:
| Input:
551972946432783+904301536372721
Target:
[5,5,1,9,7,2,9,4,6,4,3,2,7,8,3] + [9,0,4,3,0,1,5,3,6,3,7,2,7,2,1] , A=[] , C=0 , 3+1+0=4 , A->4 , C->0
[5,5,1,9,7,2,9,4,6,4,3,2,7,8] + [9,0,4,3,0,1,5,3,6,3,7,2,7,2] , A=[4] , C=0 , 8+2+0=10 , A->0 , C->1
[5,5,1,9,7,2,9,4,6,4,3,2,7] + [9,0,4,3,0,1,5,3,6,3,7,2,7] , A=[0,4] , C=1 , 7+7+1=15 , A->5 , C->1
[5,5,1,9,7,2,9,4,6,4,3,2] + [9,0,4,3,0,1,5,3,6,3,7,2] , A=[5,0,4] , C=1 , 2+2+1=5 , A->5 , C->0
[5,5,1,9,7,2,9,4,6,4,3] + [9,0,4,3,0,1,5,3,6,3,7] , A=[5,5,0,4] , C=0 , 3+7+0=10 , A->0 , C->1
[5,5,1,9,7,2,9,4,6,4] + [9,0,4,3,0,1,5,3,6,3] , A=[0,5,5,0,4] , C=1 , 4+3+1=8 , A->8 , C->0
[5,5,1,9,7,2,9,4,6] + [9,0,4,3,0,1,5,3,6] , A=[8,0,5,5,0,4] , C=0 , 6+6+0=12 , A->2 , C->1
[5,5,1,9,7,2,9,4] + [9,0,4,3,0,1,5,3] , A=[2,8,0,5,5,0,4] , C=1 , 4+3+1=8 , A->8 , C->0
[5,5,1,9,7,2,9] + [9,0,4,3,0,1,5] , A=[8,2,8,0,5,5,0,4] , C=0 , 9+5+0=14 , A->4 , C->1
[5,5,1,9,7,2] + [9,0,4,3,0,1] , A=[4,8,2,8,0,5,5,0,4] , C=1 , 2+1+1=4 , A->4 , C->0
[5,5,1,9,7] + [9,0,4,3,0] , A=[4,4,8,2,8,0,5,5,0,4] , C=0 , 7+0+0=7 , A->7 , C->0
[5,5,1,9] + [9,0,4,3] , A=[7,4,4,8,2,8,0,5,5,0,4] , C=0 , 9+3+0=12 , A->2 , C->1
[5,5,1] + [9,0,4] , A=[2,7,4,4,8,2,8,0,5,5,0,4] , C=1 , 1+4+1=6 , A->6 , C->0
[5,5] + [9,0] , A=[6,2,7,4,4,8,2,8,0,5,5,0,4] , C=0 , 5+0+0=5 , A->5 , C->0
[5] + [9] , A=[5,6,2,7,4,4,8,2,8,0,5,5,0,4] , C=0 , 5+9+0=14 , A->4 , C->1
[] + [] , A=[4,5,6,2,7,4,4,8,2,8,0,5,5,0,4] C=1 , END
</scratch>
1456274482805504
| 1456274482805504 | 15 |
Input:
438891777867268+695039638499465
Target:
| Input:
438891777867268+695039638499465
Target:
[4,3,8,8,9,1,7,7,7,8,6,7,2,6,8] + [6,9,5,0,3,9,6,3,8,4,9,9,4,6,5] , A=[] , C=0 , 8+5+0=13 , A->3 , C->1
[4,3,8,8,9,1,7,7,7,8,6,7,2,6] + [6,9,5,0,3,9,6,3,8,4,9,9,4,6] , A=[3] , C=1 , 6+6+1=13 , A->3 , C->1
[4,3,8,8,9,1,7,7,7,8,6,7,2] + [6,9,5,0,3,9,6,3,8,4,9,9,4] , A=[3,3] , C=1 , 2+4+1=7 , A->7 , C->0
[4,3,8,8,9,1,7,7,7,8,6,7] + [6,9,5,0,3,9,6,3,8,4,9,9] , A=[7,3,3] , C=0 , 7+9+0=16 , A->6 , C->1
[4,3,8,8,9,1,7,7,7,8,6] + [6,9,5,0,3,9,6,3,8,4,9] , A=[6,7,3,3] , C=1 , 6+9+1=16 , A->6 , C->1
[4,3,8,8,9,1,7,7,7,8] + [6,9,5,0,3,9,6,3,8,4] , A=[6,6,7,3,3] , C=1 , 8+4+1=13 , A->3 , C->1
[4,3,8,8,9,1,7,7,7] + [6,9,5,0,3,9,6,3,8] , A=[3,6,6,7,3,3] , C=1 , 7+8+1=16 , A->6 , C->1
[4,3,8,8,9,1,7,7] + [6,9,5,0,3,9,6,3] , A=[6,3,6,6,7,3,3] , C=1 , 7+3+1=11 , A->1 , C->1
[4,3,8,8,9,1,7] + [6,9,5,0,3,9,6] , A=[1,6,3,6,6,7,3,3] , C=1 , 7+6+1=14 , A->4 , C->1
[4,3,8,8,9,1] + [6,9,5,0,3,9] , A=[4,1,6,3,6,6,7,3,3] , C=1 , 1+9+1=11 , A->1 , C->1
[4,3,8,8,9] + [6,9,5,0,3] , A=[1,4,1,6,3,6,6,7,3,3] , C=1 , 9+3+1=13 , A->3 , C->1
[4,3,8,8] + [6,9,5,0] , A=[3,1,4,1,6,3,6,6,7,3,3] , C=1 , 8+0+1=9 , A->9 , C->0
[4,3,8] + [6,9,5] , A=[9,3,1,4,1,6,3,6,6,7,3,3] , C=0 , 8+5+0=13 , A->3 , C->1
[4,3] + [6,9] , A=[3,9,3,1,4,1,6,3,6,6,7,3,3] , C=1 , 3+9+1=13 , A->3 , C->1
[4] + [6] , A=[3,3,9,3,1,4,1,6,3,6,6,7,3,3] , C=1 , 4+6+1=11 , A->1 , C->1
[] + [] , A=[1,3,3,9,3,1,4,1,6,3,6,6,7,3,3] C=1 , END
</scratch>
1133931416366733
| 1133931416366733 | 15 |
Input:
581198772300920+402739528533935
Target:
| Input:
581198772300920+402739528533935
Target:
[5,8,1,1,9,8,7,7,2,3,0,0,9,2,0] + [4,0,2,7,3,9,5,2,8,5,3,3,9,3,5] , A=[] , C=0 , 0+5+0=5 , A->5 , C->0
[5,8,1,1,9,8,7,7,2,3,0,0,9,2] + [4,0,2,7,3,9,5,2,8,5,3,3,9,3] , A=[5] , C=0 , 2+3+0=5 , A->5 , C->0
[5,8,1,1,9,8,7,7,2,3,0,0,9] + [4,0,2,7,3,9,5,2,8,5,3,3,9] , A=[5,5] , C=0 , 9+9+0=18 , A->8 , C->1
[5,8,1,1,9,8,7,7,2,3,0,0] + [4,0,2,7,3,9,5,2,8,5,3,3] , A=[8,5,5] , C=1 , 0+3+1=4 , A->4 , C->0
[5,8,1,1,9,8,7,7,2,3,0] + [4,0,2,7,3,9,5,2,8,5,3] , A=[4,8,5,5] , C=0 , 0+3+0=3 , A->3 , C->0
[5,8,1,1,9,8,7,7,2,3] + [4,0,2,7,3,9,5,2,8,5] , A=[3,4,8,5,5] , C=0 , 3+5+0=8 , A->8 , C->0
[5,8,1,1,9,8,7,7,2] + [4,0,2,7,3,9,5,2,8] , A=[8,3,4,8,5,5] , C=0 , 2+8+0=10 , A->0 , C->1
[5,8,1,1,9,8,7,7] + [4,0,2,7,3,9,5,2] , A=[0,8,3,4,8,5,5] , C=1 , 7+2+1=10 , A->0 , C->1
[5,8,1,1,9,8,7] + [4,0,2,7,3,9,5] , A=[0,0,8,3,4,8,5,5] , C=1 , 7+5+1=13 , A->3 , C->1
[5,8,1,1,9,8] + [4,0,2,7,3,9] , A=[3,0,0,8,3,4,8,5,5] , C=1 , 8+9+1=18 , A->8 , C->1
[5,8,1,1,9] + [4,0,2,7,3] , A=[8,3,0,0,8,3,4,8,5,5] , C=1 , 9+3+1=13 , A->3 , C->1
[5,8,1,1] + [4,0,2,7] , A=[3,8,3,0,0,8,3,4,8,5,5] , C=1 , 1+7+1=9 , A->9 , C->0
[5,8,1] + [4,0,2] , A=[9,3,8,3,0,0,8,3,4,8,5,5] , C=0 , 1+2+0=3 , A->3 , C->0
[5,8] + [4,0] , A=[3,9,3,8,3,0,0,8,3,4,8,5,5] , C=0 , 8+0+0=8 , A->8 , C->0
[5] + [4] , A=[8,3,9,3,8,3,0,0,8,3,4,8,5,5] , C=0 , 5+4+0=9 , A->9 , C->0
[] + [] , A=[9,8,3,9,3,8,3,0,0,8,3,4,8,5,5] C=0 , END
</scratch>
983938300834855
| 983938300834855 | 15 |
Input:
801428785467133+813474842936377
Target:
| Input:
801428785467133+813474842936377
Target:
[8,0,1,4,2,8,7,8,5,4,6,7,1,3,3] + [8,1,3,4,7,4,8,4,2,9,3,6,3,7,7] , A=[] , C=0 , 3+7+0=10 , A->0 , C->1
[8,0,1,4,2,8,7,8,5,4,6,7,1,3] + [8,1,3,4,7,4,8,4,2,9,3,6,3,7] , A=[0] , C=1 , 3+7+1=11 , A->1 , C->1
[8,0,1,4,2,8,7,8,5,4,6,7,1] + [8,1,3,4,7,4,8,4,2,9,3,6,3] , A=[1,0] , C=1 , 1+3+1=5 , A->5 , C->0
[8,0,1,4,2,8,7,8,5,4,6,7] + [8,1,3,4,7,4,8,4,2,9,3,6] , A=[5,1,0] , C=0 , 7+6+0=13 , A->3 , C->1
[8,0,1,4,2,8,7,8,5,4,6] + [8,1,3,4,7,4,8,4,2,9,3] , A=[3,5,1,0] , C=1 , 6+3+1=10 , A->0 , C->1
[8,0,1,4,2,8,7,8,5,4] + [8,1,3,4,7,4,8,4,2,9] , A=[0,3,5,1,0] , C=1 , 4+9+1=14 , A->4 , C->1
[8,0,1,4,2,8,7,8,5] + [8,1,3,4,7,4,8,4,2] , A=[4,0,3,5,1,0] , C=1 , 5+2+1=8 , A->8 , C->0
[8,0,1,4,2,8,7,8] + [8,1,3,4,7,4,8,4] , A=[8,4,0,3,5,1,0] , C=0 , 8+4+0=12 , A->2 , C->1
[8,0,1,4,2,8,7] + [8,1,3,4,7,4,8] , A=[2,8,4,0,3,5,1,0] , C=1 , 7+8+1=16 , A->6 , C->1
[8,0,1,4,2,8] + [8,1,3,4,7,4] , A=[6,2,8,4,0,3,5,1,0] , C=1 , 8+4+1=13 , A->3 , C->1
[8,0,1,4,2] + [8,1,3,4,7] , A=[3,6,2,8,4,0,3,5,1,0] , C=1 , 2+7+1=10 , A->0 , C->1
[8,0,1,4] + [8,1,3,4] , A=[0,3,6,2,8,4,0,3,5,1,0] , C=1 , 4+4+1=9 , A->9 , C->0
[8,0,1] + [8,1,3] , A=[9,0,3,6,2,8,4,0,3,5,1,0] , C=0 , 1+3+0=4 , A->4 , C->0
[8,0] + [8,1] , A=[4,9,0,3,6,2,8,4,0,3,5,1,0] , C=0 , 0+1+0=1 , A->1 , C->0
[8] + [8] , A=[1,4,9,0,3,6,2,8,4,0,3,5,1,0] , C=0 , 8+8+0=16 , A->6 , C->1
[] + [] , A=[6,1,4,9,0,3,6,2,8,4,0,3,5,1,0] C=1 , END
</scratch>
1614903628403510
| 1614903628403510 | 15 |
Input:
764054347831793+956080576451388
Target:
| Input:
764054347831793+956080576451388
Target:
[7,6,4,0,5,4,3,4,7,8,3,1,7,9,3] + [9,5,6,0,8,0,5,7,6,4,5,1,3,8,8] , A=[] , C=0 , 3+8+0=11 , A->1 , C->1
[7,6,4,0,5,4,3,4,7,8,3,1,7,9] + [9,5,6,0,8,0,5,7,6,4,5,1,3,8] , A=[1] , C=1 , 9+8+1=18 , A->8 , C->1
[7,6,4,0,5,4,3,4,7,8,3,1,7] + [9,5,6,0,8,0,5,7,6,4,5,1,3] , A=[8,1] , C=1 , 7+3+1=11 , A->1 , C->1
[7,6,4,0,5,4,3,4,7,8,3,1] + [9,5,6,0,8,0,5,7,6,4,5,1] , A=[1,8,1] , C=1 , 1+1+1=3 , A->3 , C->0
[7,6,4,0,5,4,3,4,7,8,3] + [9,5,6,0,8,0,5,7,6,4,5] , A=[3,1,8,1] , C=0 , 3+5+0=8 , A->8 , C->0
[7,6,4,0,5,4,3,4,7,8] + [9,5,6,0,8,0,5,7,6,4] , A=[8,3,1,8,1] , C=0 , 8+4+0=12 , A->2 , C->1
[7,6,4,0,5,4,3,4,7] + [9,5,6,0,8,0,5,7,6] , A=[2,8,3,1,8,1] , C=1 , 7+6+1=14 , A->4 , C->1
[7,6,4,0,5,4,3,4] + [9,5,6,0,8,0,5,7] , A=[4,2,8,3,1,8,1] , C=1 , 4+7+1=12 , A->2 , C->1
[7,6,4,0,5,4,3] + [9,5,6,0,8,0,5] , A=[2,4,2,8,3,1,8,1] , C=1 , 3+5+1=9 , A->9 , C->0
[7,6,4,0,5,4] + [9,5,6,0,8,0] , A=[9,2,4,2,8,3,1,8,1] , C=0 , 4+0+0=4 , A->4 , C->0
[7,6,4,0,5] + [9,5,6,0,8] , A=[4,9,2,4,2,8,3,1,8,1] , C=0 , 5+8+0=13 , A->3 , C->1
[7,6,4,0] + [9,5,6,0] , A=[3,4,9,2,4,2,8,3,1,8,1] , C=1 , 0+0+1=1 , A->1 , C->0
[7,6,4] + [9,5,6] , A=[1,3,4,9,2,4,2,8,3,1,8,1] , C=0 , 4+6+0=10 , A->0 , C->1
[7,6] + [9,5] , A=[0,1,3,4,9,2,4,2,8,3,1,8,1] , C=1 , 6+5+1=12 , A->2 , C->1
[7] + [9] , A=[2,0,1,3,4,9,2,4,2,8,3,1,8,1] , C=1 , 7+9+1=17 , A->7 , C->1
[] + [] , A=[7,2,0,1,3,4,9,2,4,2,8,3,1,8,1] C=1 , END
</scratch>
1720134924283181
| 1720134924283181 | 15 |
Input:
319715150262114+431675169127821
Target:
| Input:
319715150262114+431675169127821
Target:
[3,1,9,7,1,5,1,5,0,2,6,2,1,1,4] + [4,3,1,6,7,5,1,6,9,1,2,7,8,2,1] , A=[] , C=0 , 4+1+0=5 , A->5 , C->0
[3,1,9,7,1,5,1,5,0,2,6,2,1,1] + [4,3,1,6,7,5,1,6,9,1,2,7,8,2] , A=[5] , C=0 , 1+2+0=3 , A->3 , C->0
[3,1,9,7,1,5,1,5,0,2,6,2,1] + [4,3,1,6,7,5,1,6,9,1,2,7,8] , A=[3,5] , C=0 , 1+8+0=9 , A->9 , C->0
[3,1,9,7,1,5,1,5,0,2,6,2] + [4,3,1,6,7,5,1,6,9,1,2,7] , A=[9,3,5] , C=0 , 2+7+0=9 , A->9 , C->0
[3,1,9,7,1,5,1,5,0,2,6] + [4,3,1,6,7,5,1,6,9,1,2] , A=[9,9,3,5] , C=0 , 6+2+0=8 , A->8 , C->0
[3,1,9,7,1,5,1,5,0,2] + [4,3,1,6,7,5,1,6,9,1] , A=[8,9,9,3,5] , C=0 , 2+1+0=3 , A->3 , C->0
[3,1,9,7,1,5,1,5,0] + [4,3,1,6,7,5,1,6,9] , A=[3,8,9,9,3,5] , C=0 , 0+9+0=9 , A->9 , C->0
[3,1,9,7,1,5,1,5] + [4,3,1,6,7,5,1,6] , A=[9,3,8,9,9,3,5] , C=0 , 5+6+0=11 , A->1 , C->1
[3,1,9,7,1,5,1] + [4,3,1,6,7,5,1] , A=[1,9,3,8,9,9,3,5] , C=1 , 1+1+1=3 , A->3 , C->0
[3,1,9,7,1,5] + [4,3,1,6,7,5] , A=[3,1,9,3,8,9,9,3,5] , C=0 , 5+5+0=10 , A->0 , C->1
[3,1,9,7,1] + [4,3,1,6,7] , A=[0,3,1,9,3,8,9,9,3,5] , C=1 , 1+7+1=9 , A->9 , C->0
[3,1,9,7] + [4,3,1,6] , A=[9,0,3,1,9,3,8,9,9,3,5] , C=0 , 7+6+0=13 , A->3 , C->1
[3,1,9] + [4,3,1] , A=[3,9,0,3,1,9,3,8,9,9,3,5] , C=1 , 9+1+1=11 , A->1 , C->1
[3,1] + [4,3] , A=[1,3,9,0,3,1,9,3,8,9,9,3,5] , C=1 , 1+3+1=5 , A->5 , C->0
[3] + [4] , A=[5,1,3,9,0,3,1,9,3,8,9,9,3,5] , C=0 , 3+4+0=7 , A->7 , C->0
[] + [] , A=[7,5,1,3,9,0,3,1,9,3,8,9,9,3,5] C=0 , END
</scratch>
751390319389935
| 751390319389935 | 15 |
Input:
548269378293326+827242385766407
Target:
| Input:
548269378293326+827242385766407
Target:
[5,4,8,2,6,9,3,7,8,2,9,3,3,2,6] + [8,2,7,2,4,2,3,8,5,7,6,6,4,0,7] , A=[] , C=0 , 6+7+0=13 , A->3 , C->1
[5,4,8,2,6,9,3,7,8,2,9,3,3,2] + [8,2,7,2,4,2,3,8,5,7,6,6,4,0] , A=[3] , C=1 , 2+0+1=3 , A->3 , C->0
[5,4,8,2,6,9,3,7,8,2,9,3,3] + [8,2,7,2,4,2,3,8,5,7,6,6,4] , A=[3,3] , C=0 , 3+4+0=7 , A->7 , C->0
[5,4,8,2,6,9,3,7,8,2,9,3] + [8,2,7,2,4,2,3,8,5,7,6,6] , A=[7,3,3] , C=0 , 3+6+0=9 , A->9 , C->0
[5,4,8,2,6,9,3,7,8,2,9] + [8,2,7,2,4,2,3,8,5,7,6] , A=[9,7,3,3] , C=0 , 9+6+0=15 , A->5 , C->1
[5,4,8,2,6,9,3,7,8,2] + [8,2,7,2,4,2,3,8,5,7] , A=[5,9,7,3,3] , C=1 , 2+7+1=10 , A->0 , C->1
[5,4,8,2,6,9,3,7,8] + [8,2,7,2,4,2,3,8,5] , A=[0,5,9,7,3,3] , C=1 , 8+5+1=14 , A->4 , C->1
[5,4,8,2,6,9,3,7] + [8,2,7,2,4,2,3,8] , A=[4,0,5,9,7,3,3] , C=1 , 7+8+1=16 , A->6 , C->1
[5,4,8,2,6,9,3] + [8,2,7,2,4,2,3] , A=[6,4,0,5,9,7,3,3] , C=1 , 3+3+1=7 , A->7 , C->0
[5,4,8,2,6,9] + [8,2,7,2,4,2] , A=[7,6,4,0,5,9,7,3,3] , C=0 , 9+2+0=11 , A->1 , C->1
[5,4,8,2,6] + [8,2,7,2,4] , A=[1,7,6,4,0,5,9,7,3,3] , C=1 , 6+4+1=11 , A->1 , C->1
[5,4,8,2] + [8,2,7,2] , A=[1,1,7,6,4,0,5,9,7,3,3] , C=1 , 2+2+1=5 , A->5 , C->0
[5,4,8] + [8,2,7] , A=[5,1,1,7,6,4,0,5,9,7,3,3] , C=0 , 8+7+0=15 , A->5 , C->1
[5,4] + [8,2] , A=[5,5,1,1,7,6,4,0,5,9,7,3,3] , C=1 , 4+2+1=7 , A->7 , C->0
[5] + [8] , A=[7,5,5,1,1,7,6,4,0,5,9,7,3,3] , C=0 , 5+8+0=13 , A->3 , C->1
[] + [] , A=[3,7,5,5,1,1,7,6,4,0,5,9,7,3,3] C=1 , END
</scratch>
1375511764059733
| 1375511764059733 | 15 |
Input:
539644281354848+149458101357521
Target:
| Input:
539644281354848+149458101357521
Target:
[5,3,9,6,4,4,2,8,1,3,5,4,8,4,8] + [1,4,9,4,5,8,1,0,1,3,5,7,5,2,1] , A=[] , C=0 , 8+1+0=9 , A->9 , C->0
[5,3,9,6,4,4,2,8,1,3,5,4,8,4] + [1,4,9,4,5,8,1,0,1,3,5,7,5,2] , A=[9] , C=0 , 4+2+0=6 , A->6 , C->0
[5,3,9,6,4,4,2,8,1,3,5,4,8] + [1,4,9,4,5,8,1,0,1,3,5,7,5] , A=[6,9] , C=0 , 8+5+0=13 , A->3 , C->1
[5,3,9,6,4,4,2,8,1,3,5,4] + [1,4,9,4,5,8,1,0,1,3,5,7] , A=[3,6,9] , C=1 , 4+7+1=12 , A->2 , C->1
[5,3,9,6,4,4,2,8,1,3,5] + [1,4,9,4,5,8,1,0,1,3,5] , A=[2,3,6,9] , C=1 , 5+5+1=11 , A->1 , C->1
[5,3,9,6,4,4,2,8,1,3] + [1,4,9,4,5,8,1,0,1,3] , A=[1,2,3,6,9] , C=1 , 3+3+1=7 , A->7 , C->0
[5,3,9,6,4,4,2,8,1] + [1,4,9,4,5,8,1,0,1] , A=[7,1,2,3,6,9] , C=0 , 1+1+0=2 , A->2 , C->0
[5,3,9,6,4,4,2,8] + [1,4,9,4,5,8,1,0] , A=[2,7,1,2,3,6,9] , C=0 , 8+0+0=8 , A->8 , C->0
[5,3,9,6,4,4,2] + [1,4,9,4,5,8,1] , A=[8,2,7,1,2,3,6,9] , C=0 , 2+1+0=3 , A->3 , C->0
[5,3,9,6,4,4] + [1,4,9,4,5,8] , A=[3,8,2,7,1,2,3,6,9] , C=0 , 4+8+0=12 , A->2 , C->1
[5,3,9,6,4] + [1,4,9,4,5] , A=[2,3,8,2,7,1,2,3,6,9] , C=1 , 4+5+1=10 , A->0 , C->1
[5,3,9,6] + [1,4,9,4] , A=[0,2,3,8,2,7,1,2,3,6,9] , C=1 , 6+4+1=11 , A->1 , C->1
[5,3,9] + [1,4,9] , A=[1,0,2,3,8,2,7,1,2,3,6,9] , C=1 , 9+9+1=19 , A->9 , C->1
[5,3] + [1,4] , A=[9,1,0,2,3,8,2,7,1,2,3,6,9] , C=1 , 3+4+1=8 , A->8 , C->0
[5] + [1] , A=[8,9,1,0,2,3,8,2,7,1,2,3,6,9] , C=0 , 5+1+0=6 , A->6 , C->0
[] + [] , A=[6,8,9,1,0,2,3,8,2,7,1,2,3,6,9] C=0 , END
</scratch>
689102382712369
| 689102382712369 | 15 |
Input:
396059684574443+805441322160080
Target:
| Input:
396059684574443+805441322160080
Target:
[3,9,6,0,5,9,6,8,4,5,7,4,4,4,3] + [8,0,5,4,4,1,3,2,2,1,6,0,0,8,0] , A=[] , C=0 , 3+0+0=3 , A->3 , C->0
[3,9,6,0,5,9,6,8,4,5,7,4,4,4] + [8,0,5,4,4,1,3,2,2,1,6,0,0,8] , A=[3] , C=0 , 4+8+0=12 , A->2 , C->1
[3,9,6,0,5,9,6,8,4,5,7,4,4] + [8,0,5,4,4,1,3,2,2,1,6,0,0] , A=[2,3] , C=1 , 4+0+1=5 , A->5 , C->0
[3,9,6,0,5,9,6,8,4,5,7,4] + [8,0,5,4,4,1,3,2,2,1,6,0] , A=[5,2,3] , C=0 , 4+0+0=4 , A->4 , C->0
[3,9,6,0,5,9,6,8,4,5,7] + [8,0,5,4,4,1,3,2,2,1,6] , A=[4,5,2,3] , C=0 , 7+6+0=13 , A->3 , C->1
[3,9,6,0,5,9,6,8,4,5] + [8,0,5,4,4,1,3,2,2,1] , A=[3,4,5,2,3] , C=1 , 5+1+1=7 , A->7 , C->0
[3,9,6,0,5,9,6,8,4] + [8,0,5,4,4,1,3,2,2] , A=[7,3,4,5,2,3] , C=0 , 4+2+0=6 , A->6 , C->0
[3,9,6,0,5,9,6,8] + [8,0,5,4,4,1,3,2] , A=[6,7,3,4,5,2,3] , C=0 , 8+2+0=10 , A->0 , C->1
[3,9,6,0,5,9,6] + [8,0,5,4,4,1,3] , A=[0,6,7,3,4,5,2,3] , C=1 , 6+3+1=10 , A->0 , C->1
[3,9,6,0,5,9] + [8,0,5,4,4,1] , A=[0,0,6,7,3,4,5,2,3] , C=1 , 9+1+1=11 , A->1 , C->1
[3,9,6,0,5] + [8,0,5,4,4] , A=[1,0,0,6,7,3,4,5,2,3] , C=1 , 5+4+1=10 , A->0 , C->1
[3,9,6,0] + [8,0,5,4] , A=[0,1,0,0,6,7,3,4,5,2,3] , C=1 , 0+4+1=5 , A->5 , C->0
[3,9,6] + [8,0,5] , A=[5,0,1,0,0,6,7,3,4,5,2,3] , C=0 , 6+5+0=11 , A->1 , C->1
[3,9] + [8,0] , A=[1,5,0,1,0,0,6,7,3,4,5,2,3] , C=1 , 9+0+1=10 , A->0 , C->1
[3] + [8] , A=[0,1,5,0,1,0,0,6,7,3,4,5,2,3] , C=1 , 3+8+1=12 , A->2 , C->1
[] + [] , A=[2,0,1,5,0,1,0,0,6,7,3,4,5,2,3] C=1 , END
</scratch>
1201501006734523
| 1201501006734523 | 15 |
Input:
256911289530071+959284816826497
Target:
| Input:
256911289530071+959284816826497
Target:
[2,5,6,9,1,1,2,8,9,5,3,0,0,7,1] + [9,5,9,2,8,4,8,1,6,8,2,6,4,9,7] , A=[] , C=0 , 1+7+0=8 , A->8 , C->0
[2,5,6,9,1,1,2,8,9,5,3,0,0,7] + [9,5,9,2,8,4,8,1,6,8,2,6,4,9] , A=[8] , C=0 , 7+9+0=16 , A->6 , C->1
[2,5,6,9,1,1,2,8,9,5,3,0,0] + [9,5,9,2,8,4,8,1,6,8,2,6,4] , A=[6,8] , C=1 , 0+4+1=5 , A->5 , C->0
[2,5,6,9,1,1,2,8,9,5,3,0] + [9,5,9,2,8,4,8,1,6,8,2,6] , A=[5,6,8] , C=0 , 0+6+0=6 , A->6 , C->0
[2,5,6,9,1,1,2,8,9,5,3] + [9,5,9,2,8,4,8,1,6,8,2] , A=[6,5,6,8] , C=0 , 3+2+0=5 , A->5 , C->0
[2,5,6,9,1,1,2,8,9,5] + [9,5,9,2,8,4,8,1,6,8] , A=[5,6,5,6,8] , C=0 , 5+8+0=13 , A->3 , C->1
[2,5,6,9,1,1,2,8,9] + [9,5,9,2,8,4,8,1,6] , A=[3,5,6,5,6,8] , C=1 , 9+6+1=16 , A->6 , C->1
[2,5,6,9,1,1,2,8] + [9,5,9,2,8,4,8,1] , A=[6,3,5,6,5,6,8] , C=1 , 8+1+1=10 , A->0 , C->1
[2,5,6,9,1,1,2] + [9,5,9,2,8,4,8] , A=[0,6,3,5,6,5,6,8] , C=1 , 2+8+1=11 , A->1 , C->1
[2,5,6,9,1,1] + [9,5,9,2,8,4] , A=[1,0,6,3,5,6,5,6,8] , C=1 , 1+4+1=6 , A->6 , C->0
[2,5,6,9,1] + [9,5,9,2,8] , A=[6,1,0,6,3,5,6,5,6,8] , C=0 , 1+8+0=9 , A->9 , C->0
[2,5,6,9] + [9,5,9,2] , A=[9,6,1,0,6,3,5,6,5,6,8] , C=0 , 9+2+0=11 , A->1 , C->1
[2,5,6] + [9,5,9] , A=[1,9,6,1,0,6,3,5,6,5,6,8] , C=1 , 6+9+1=16 , A->6 , C->1
[2,5] + [9,5] , A=[6,1,9,6,1,0,6,3,5,6,5,6,8] , C=1 , 5+5+1=11 , A->1 , C->1
[2] + [9] , A=[1,6,1,9,6,1,0,6,3,5,6,5,6,8] , C=1 , 2+9+1=12 , A->2 , C->1
[] + [] , A=[2,1,6,1,9,6,1,0,6,3,5,6,5,6,8] C=1 , END
</scratch>
1216196106356568
| 1216196106356568 | 15 |
Input:
776462113114831+131657141302613
Target:
| Input:
776462113114831+131657141302613
Target:
[7,7,6,4,6,2,1,1,3,1,1,4,8,3,1] + [1,3,1,6,5,7,1,4,1,3,0,2,6,1,3] , A=[] , C=0 , 1+3+0=4 , A->4 , C->0
[7,7,6,4,6,2,1,1,3,1,1,4,8,3] + [1,3,1,6,5,7,1,4,1,3,0,2,6,1] , A=[4] , C=0 , 3+1+0=4 , A->4 , C->0
[7,7,6,4,6,2,1,1,3,1,1,4,8] + [1,3,1,6,5,7,1,4,1,3,0,2,6] , A=[4,4] , C=0 , 8+6+0=14 , A->4 , C->1
[7,7,6,4,6,2,1,1,3,1,1,4] + [1,3,1,6,5,7,1,4,1,3,0,2] , A=[4,4,4] , C=1 , 4+2+1=7 , A->7 , C->0
[7,7,6,4,6,2,1,1,3,1,1] + [1,3,1,6,5,7,1,4,1,3,0] , A=[7,4,4,4] , C=0 , 1+0+0=1 , A->1 , C->0
[7,7,6,4,6,2,1,1,3,1] + [1,3,1,6,5,7,1,4,1,3] , A=[1,7,4,4,4] , C=0 , 1+3+0=4 , A->4 , C->0
[7,7,6,4,6,2,1,1,3] + [1,3,1,6,5,7,1,4,1] , A=[4,1,7,4,4,4] , C=0 , 3+1+0=4 , A->4 , C->0
[7,7,6,4,6,2,1,1] + [1,3,1,6,5,7,1,4] , A=[4,4,1,7,4,4,4] , C=0 , 1+4+0=5 , A->5 , C->0
[7,7,6,4,6,2,1] + [1,3,1,6,5,7,1] , A=[5,4,4,1,7,4,4,4] , C=0 , 1+1+0=2 , A->2 , C->0
[7,7,6,4,6,2] + [1,3,1,6,5,7] , A=[2,5,4,4,1,7,4,4,4] , C=0 , 2+7+0=9 , A->9 , C->0
[7,7,6,4,6] + [1,3,1,6,5] , A=[9,2,5,4,4,1,7,4,4,4] , C=0 , 6+5+0=11 , A->1 , C->1
[7,7,6,4] + [1,3,1,6] , A=[1,9,2,5,4,4,1,7,4,4,4] , C=1 , 4+6+1=11 , A->1 , C->1
[7,7,6] + [1,3,1] , A=[1,1,9,2,5,4,4,1,7,4,4,4] , C=1 , 6+1+1=8 , A->8 , C->0
[7,7] + [1,3] , A=[8,1,1,9,2,5,4,4,1,7,4,4,4] , C=0 , 7+3+0=10 , A->0 , C->1
[7] + [1] , A=[0,8,1,1,9,2,5,4,4,1,7,4,4,4] , C=1 , 7+1+1=9 , A->9 , C->0
[] + [] , A=[9,0,8,1,1,9,2,5,4,4,1,7,4,4,4] C=0 , END
</scratch>
908119254417444
| 908119254417444 | 15 |
Input:
685396351531904+809794052691779
Target:
| Input:
685396351531904+809794052691779
Target:
[6,8,5,3,9,6,3,5,1,5,3,1,9,0,4] + [8,0,9,7,9,4,0,5,2,6,9,1,7,7,9] , A=[] , C=0 , 4+9+0=13 , A->3 , C->1
[6,8,5,3,9,6,3,5,1,5,3,1,9,0] + [8,0,9,7,9,4,0,5,2,6,9,1,7,7] , A=[3] , C=1 , 0+7+1=8 , A->8 , C->0
[6,8,5,3,9,6,3,5,1,5,3,1,9] + [8,0,9,7,9,4,0,5,2,6,9,1,7] , A=[8,3] , C=0 , 9+7+0=16 , A->6 , C->1
[6,8,5,3,9,6,3,5,1,5,3,1] + [8,0,9,7,9,4,0,5,2,6,9,1] , A=[6,8,3] , C=1 , 1+1+1=3 , A->3 , C->0
[6,8,5,3,9,6,3,5,1,5,3] + [8,0,9,7,9,4,0,5,2,6,9] , A=[3,6,8,3] , C=0 , 3+9+0=12 , A->2 , C->1
[6,8,5,3,9,6,3,5,1,5] + [8,0,9,7,9,4,0,5,2,6] , A=[2,3,6,8,3] , C=1 , 5+6+1=12 , A->2 , C->1
[6,8,5,3,9,6,3,5,1] + [8,0,9,7,9,4,0,5,2] , A=[2,2,3,6,8,3] , C=1 , 1+2+1=4 , A->4 , C->0
[6,8,5,3,9,6,3,5] + [8,0,9,7,9,4,0,5] , A=[4,2,2,3,6,8,3] , C=0 , 5+5+0=10 , A->0 , C->1
[6,8,5,3,9,6,3] + [8,0,9,7,9,4,0] , A=[0,4,2,2,3,6,8,3] , C=1 , 3+0+1=4 , A->4 , C->0
[6,8,5,3,9,6] + [8,0,9,7,9,4] , A=[4,0,4,2,2,3,6,8,3] , C=0 , 6+4+0=10 , A->0 , C->1
[6,8,5,3,9] + [8,0,9,7,9] , A=[0,4,0,4,2,2,3,6,8,3] , C=1 , 9+9+1=19 , A->9 , C->1
[6,8,5,3] + [8,0,9,7] , A=[9,0,4,0,4,2,2,3,6,8,3] , C=1 , 3+7+1=11 , A->1 , C->1
[6,8,5] + [8,0,9] , A=[1,9,0,4,0,4,2,2,3,6,8,3] , C=1 , 5+9+1=15 , A->5 , C->1
[6,8] + [8,0] , A=[5,1,9,0,4,0,4,2,2,3,6,8,3] , C=1 , 8+0+1=9 , A->9 , C->0
[6] + [8] , A=[9,5,1,9,0,4,0,4,2,2,3,6,8,3] , C=0 , 6+8+0=14 , A->4 , C->1
[] + [] , A=[4,9,5,1,9,0,4,0,4,2,2,3,6,8,3] C=1 , END
</scratch>
1495190404223683
| 1495190404223683 | 15 |
Input:
265655163545222+597781563371882
Target:
| Input:
265655163545222+597781563371882
Target:
[2,6,5,6,5,5,1,6,3,5,4,5,2,2,2] + [5,9,7,7,8,1,5,6,3,3,7,1,8,8,2] , A=[] , C=0 , 2+2+0=4 , A->4 , C->0
[2,6,5,6,5,5,1,6,3,5,4,5,2,2] + [5,9,7,7,8,1,5,6,3,3,7,1,8,8] , A=[4] , C=0 , 2+8+0=10 , A->0 , C->1
[2,6,5,6,5,5,1,6,3,5,4,5,2] + [5,9,7,7,8,1,5,6,3,3,7,1,8] , A=[0,4] , C=1 , 2+8+1=11 , A->1 , C->1
[2,6,5,6,5,5,1,6,3,5,4,5] + [5,9,7,7,8,1,5,6,3,3,7,1] , A=[1,0,4] , C=1 , 5+1+1=7 , A->7 , C->0
[2,6,5,6,5,5,1,6,3,5,4] + [5,9,7,7,8,1,5,6,3,3,7] , A=[7,1,0,4] , C=0 , 4+7+0=11 , A->1 , C->1
[2,6,5,6,5,5,1,6,3,5] + [5,9,7,7,8,1,5,6,3,3] , A=[1,7,1,0,4] , C=1 , 5+3+1=9 , A->9 , C->0
[2,6,5,6,5,5,1,6,3] + [5,9,7,7,8,1,5,6,3] , A=[9,1,7,1,0,4] , C=0 , 3+3+0=6 , A->6 , C->0
[2,6,5,6,5,5,1,6] + [5,9,7,7,8,1,5,6] , A=[6,9,1,7,1,0,4] , C=0 , 6+6+0=12 , A->2 , C->1
[2,6,5,6,5,5,1] + [5,9,7,7,8,1,5] , A=[2,6,9,1,7,1,0,4] , C=1 , 1+5+1=7 , A->7 , C->0
[2,6,5,6,5,5] + [5,9,7,7,8,1] , A=[7,2,6,9,1,7,1,0,4] , C=0 , 5+1+0=6 , A->6 , C->0
[2,6,5,6,5] + [5,9,7,7,8] , A=[6,7,2,6,9,1,7,1,0,4] , C=0 , 5+8+0=13 , A->3 , C->1
[2,6,5,6] + [5,9,7,7] , A=[3,6,7,2,6,9,1,7,1,0,4] , C=1 , 6+7+1=14 , A->4 , C->1
[2,6,5] + [5,9,7] , A=[4,3,6,7,2,6,9,1,7,1,0,4] , C=1 , 5+7+1=13 , A->3 , C->1
[2,6] + [5,9] , A=[3,4,3,6,7,2,6,9,1,7,1,0,4] , C=1 , 6+9+1=16 , A->6 , C->1
[2] + [5] , A=[6,3,4,3,6,7,2,6,9,1,7,1,0,4] , C=1 , 2+5+1=8 , A->8 , C->0
[] + [] , A=[8,6,3,4,3,6,7,2,6,9,1,7,1,0,4] C=0 , END
</scratch>
863436726917104
| 863436726917104 | 15 |
Input:
927210227175219+205857889102064
Target:
| Input:
927210227175219+205857889102064
Target:
[9,2,7,2,1,0,2,2,7,1,7,5,2,1,9] + [2,0,5,8,5,7,8,8,9,1,0,2,0,6,4] , A=[] , C=0 , 9+4+0=13 , A->3 , C->1
[9,2,7,2,1,0,2,2,7,1,7,5,2,1] + [2,0,5,8,5,7,8,8,9,1,0,2,0,6] , A=[3] , C=1 , 1+6+1=8 , A->8 , C->0
[9,2,7,2,1,0,2,2,7,1,7,5,2] + [2,0,5,8,5,7,8,8,9,1,0,2,0] , A=[8,3] , C=0 , 2+0+0=2 , A->2 , C->0
[9,2,7,2,1,0,2,2,7,1,7,5] + [2,0,5,8,5,7,8,8,9,1,0,2] , A=[2,8,3] , C=0 , 5+2+0=7 , A->7 , C->0
[9,2,7,2,1,0,2,2,7,1,7] + [2,0,5,8,5,7,8,8,9,1,0] , A=[7,2,8,3] , C=0 , 7+0+0=7 , A->7 , C->0
[9,2,7,2,1,0,2,2,7,1] + [2,0,5,8,5,7,8,8,9,1] , A=[7,7,2,8,3] , C=0 , 1+1+0=2 , A->2 , C->0
[9,2,7,2,1,0,2,2,7] + [2,0,5,8,5,7,8,8,9] , A=[2,7,7,2,8,3] , C=0 , 7+9+0=16 , A->6 , C->1
[9,2,7,2,1,0,2,2] + [2,0,5,8,5,7,8,8] , A=[6,2,7,7,2,8,3] , C=1 , 2+8+1=11 , A->1 , C->1
[9,2,7,2,1,0,2] + [2,0,5,8,5,7,8] , A=[1,6,2,7,7,2,8,3] , C=1 , 2+8+1=11 , A->1 , C->1
[9,2,7,2,1,0] + [2,0,5,8,5,7] , A=[1,1,6,2,7,7,2,8,3] , C=1 , 0+7+1=8 , A->8 , C->0
[9,2,7,2,1] + [2,0,5,8,5] , A=[8,1,1,6,2,7,7,2,8,3] , C=0 , 1+5+0=6 , A->6 , C->0
[9,2,7,2] + [2,0,5,8] , A=[6,8,1,1,6,2,7,7,2,8,3] , C=0 , 2+8+0=10 , A->0 , C->1
[9,2,7] + [2,0,5] , A=[0,6,8,1,1,6,2,7,7,2,8,3] , C=1 , 7+5+1=13 , A->3 , C->1
[9,2] + [2,0] , A=[3,0,6,8,1,1,6,2,7,7,2,8,3] , C=1 , 2+0+1=3 , A->3 , C->0
[9] + [2] , A=[3,3,0,6,8,1,1,6,2,7,7,2,8,3] , C=0 , 9+2+0=11 , A->1 , C->1
[] + [] , A=[1,3,3,0,6,8,1,1,6,2,7,7,2,8,3] C=1 , END
</scratch>
1133068116277283
| 1133068116277283 | 15 |
Input:
443984554054096+509944182294038
Target:
| Input:
443984554054096+509944182294038
Target:
[4,4,3,9,8,4,5,5,4,0,5,4,0,9,6] + [5,0,9,9,4,4,1,8,2,2,9,4,0,3,8] , A=[] , C=0 , 6+8+0=14 , A->4 , C->1
[4,4,3,9,8,4,5,5,4,0,5,4,0,9] + [5,0,9,9,4,4,1,8,2,2,9,4,0,3] , A=[4] , C=1 , 9+3+1=13 , A->3 , C->1
[4,4,3,9,8,4,5,5,4,0,5,4,0] + [5,0,9,9,4,4,1,8,2,2,9,4,0] , A=[3,4] , C=1 , 0+0+1=1 , A->1 , C->0
[4,4,3,9,8,4,5,5,4,0,5,4] + [5,0,9,9,4,4,1,8,2,2,9,4] , A=[1,3,4] , C=0 , 4+4+0=8 , A->8 , C->0
[4,4,3,9,8,4,5,5,4,0,5] + [5,0,9,9,4,4,1,8,2,2,9] , A=[8,1,3,4] , C=0 , 5+9+0=14 , A->4 , C->1
[4,4,3,9,8,4,5,5,4,0] + [5,0,9,9,4,4,1,8,2,2] , A=[4,8,1,3,4] , C=1 , 0+2+1=3 , A->3 , C->0
[4,4,3,9,8,4,5,5,4] + [5,0,9,9,4,4,1,8,2] , A=[3,4,8,1,3,4] , C=0 , 4+2+0=6 , A->6 , C->0
[4,4,3,9,8,4,5,5] + [5,0,9,9,4,4,1,8] , A=[6,3,4,8,1,3,4] , C=0 , 5+8+0=13 , A->3 , C->1
[4,4,3,9,8,4,5] + [5,0,9,9,4,4,1] , A=[3,6,3,4,8,1,3,4] , C=1 , 5+1+1=7 , A->7 , C->0
[4,4,3,9,8,4] + [5,0,9,9,4,4] , A=[7,3,6,3,4,8,1,3,4] , C=0 , 4+4+0=8 , A->8 , C->0
[4,4,3,9,8] + [5,0,9,9,4] , A=[8,7,3,6,3,4,8,1,3,4] , C=0 , 8+4+0=12 , A->2 , C->1
[4,4,3,9] + [5,0,9,9] , A=[2,8,7,3,6,3,4,8,1,3,4] , C=1 , 9+9+1=19 , A->9 , C->1
[4,4,3] + [5,0,9] , A=[9,2,8,7,3,6,3,4,8,1,3,4] , C=1 , 3+9+1=13 , A->3 , C->1
[4,4] + [5,0] , A=[3,9,2,8,7,3,6,3,4,8,1,3,4] , C=1 , 4+0+1=5 , A->5 , C->0
[4] + [5] , A=[5,3,9,2,8,7,3,6,3,4,8,1,3,4] , C=0 , 4+5+0=9 , A->9 , C->0
[] + [] , A=[9,5,3,9,2,8,7,3,6,3,4,8,1,3,4] C=0 , END
</scratch>
953928736348134
| 953928736348134 | 15 |
Input:
166649846546991+692466123301370
Target:
| Input:
166649846546991+692466123301370
Target:
[1,6,6,6,4,9,8,4,6,5,4,6,9,9,1] + [6,9,2,4,6,6,1,2,3,3,0,1,3,7,0] , A=[] , C=0 , 1+0+0=1 , A->1 , C->0
[1,6,6,6,4,9,8,4,6,5,4,6,9,9] + [6,9,2,4,6,6,1,2,3,3,0,1,3,7] , A=[1] , C=0 , 9+7+0=16 , A->6 , C->1
[1,6,6,6,4,9,8,4,6,5,4,6,9] + [6,9,2,4,6,6,1,2,3,3,0,1,3] , A=[6,1] , C=1 , 9+3+1=13 , A->3 , C->1
[1,6,6,6,4,9,8,4,6,5,4,6] + [6,9,2,4,6,6,1,2,3,3,0,1] , A=[3,6,1] , C=1 , 6+1+1=8 , A->8 , C->0
[1,6,6,6,4,9,8,4,6,5,4] + [6,9,2,4,6,6,1,2,3,3,0] , A=[8,3,6,1] , C=0 , 4+0+0=4 , A->4 , C->0
[1,6,6,6,4,9,8,4,6,5] + [6,9,2,4,6,6,1,2,3,3] , A=[4,8,3,6,1] , C=0 , 5+3+0=8 , A->8 , C->0
[1,6,6,6,4,9,8,4,6] + [6,9,2,4,6,6,1,2,3] , A=[8,4,8,3,6,1] , C=0 , 6+3+0=9 , A->9 , C->0
[1,6,6,6,4,9,8,4] + [6,9,2,4,6,6,1,2] , A=[9,8,4,8,3,6,1] , C=0 , 4+2+0=6 , A->6 , C->0
[1,6,6,6,4,9,8] + [6,9,2,4,6,6,1] , A=[6,9,8,4,8,3,6,1] , C=0 , 8+1+0=9 , A->9 , C->0
[1,6,6,6,4,9] + [6,9,2,4,6,6] , A=[9,6,9,8,4,8,3,6,1] , C=0 , 9+6+0=15 , A->5 , C->1
[1,6,6,6,4] + [6,9,2,4,6] , A=[5,9,6,9,8,4,8,3,6,1] , C=1 , 4+6+1=11 , A->1 , C->1
[1,6,6,6] + [6,9,2,4] , A=[1,5,9,6,9,8,4,8,3,6,1] , C=1 , 6+4+1=11 , A->1 , C->1
[1,6,6] + [6,9,2] , A=[1,1,5,9,6,9,8,4,8,3,6,1] , C=1 , 6+2+1=9 , A->9 , C->0
[1,6] + [6,9] , A=[9,1,1,5,9,6,9,8,4,8,3,6,1] , C=0 , 6+9+0=15 , A->5 , C->1
[1] + [6] , A=[5,9,1,1,5,9,6,9,8,4,8,3,6,1] , C=1 , 1+6+1=8 , A->8 , C->0
[] + [] , A=[8,5,9,1,1,5,9,6,9,8,4,8,3,6,1] C=0 , END
</scratch>
859115969848361
| 859115969848361 | 15 |
Input:
436757029029158+429753279118687
Target:
| Input:
436757029029158+429753279118687
Target:
[4,3,6,7,5,7,0,2,9,0,2,9,1,5,8] + [4,2,9,7,5,3,2,7,9,1,1,8,6,8,7] , A=[] , C=0 , 8+7+0=15 , A->5 , C->1
[4,3,6,7,5,7,0,2,9,0,2,9,1,5] + [4,2,9,7,5,3,2,7,9,1,1,8,6,8] , A=[5] , C=1 , 5+8+1=14 , A->4 , C->1
[4,3,6,7,5,7,0,2,9,0,2,9,1] + [4,2,9,7,5,3,2,7,9,1,1,8,6] , A=[4,5] , C=1 , 1+6+1=8 , A->8 , C->0
[4,3,6,7,5,7,0,2,9,0,2,9] + [4,2,9,7,5,3,2,7,9,1,1,8] , A=[8,4,5] , C=0 , 9+8+0=17 , A->7 , C->1
[4,3,6,7,5,7,0,2,9,0,2] + [4,2,9,7,5,3,2,7,9,1,1] , A=[7,8,4,5] , C=1 , 2+1+1=4 , A->4 , C->0
[4,3,6,7,5,7,0,2,9,0] + [4,2,9,7,5,3,2,7,9,1] , A=[4,7,8,4,5] , C=0 , 0+1+0=1 , A->1 , C->0
[4,3,6,7,5,7,0,2,9] + [4,2,9,7,5,3,2,7,9] , A=[1,4,7,8,4,5] , C=0 , 9+9+0=18 , A->8 , C->1
[4,3,6,7,5,7,0,2] + [4,2,9,7,5,3,2,7] , A=[8,1,4,7,8,4,5] , C=1 , 2+7+1=10 , A->0 , C->1
[4,3,6,7,5,7,0] + [4,2,9,7,5,3,2] , A=[0,8,1,4,7,8,4,5] , C=1 , 0+2+1=3 , A->3 , C->0
[4,3,6,7,5,7] + [4,2,9,7,5,3] , A=[3,0,8,1,4,7,8,4,5] , C=0 , 7+3+0=10 , A->0 , C->1
[4,3,6,7,5] + [4,2,9,7,5] , A=[0,3,0,8,1,4,7,8,4,5] , C=1 , 5+5+1=11 , A->1 , C->1
[4,3,6,7] + [4,2,9,7] , A=[1,0,3,0,8,1,4,7,8,4,5] , C=1 , 7+7+1=15 , A->5 , C->1
[4,3,6] + [4,2,9] , A=[5,1,0,3,0,8,1,4,7,8,4,5] , C=1 , 6+9+1=16 , A->6 , C->1
[4,3] + [4,2] , A=[6,5,1,0,3,0,8,1,4,7,8,4,5] , C=1 , 3+2+1=6 , A->6 , C->0
[4] + [4] , A=[6,6,5,1,0,3,0,8,1,4,7,8,4,5] , C=0 , 4+4+0=8 , A->8 , C->0
[] + [] , A=[8,6,6,5,1,0,3,0,8,1,4,7,8,4,5] C=0 , END
</scratch>
866510308147845
| 866510308147845 | 15 |
Input:
219066976017425+194483271459480
Target:
| Input:
219066976017425+194483271459480
Target:
[2,1,9,0,6,6,9,7,6,0,1,7,4,2,5] + [1,9,4,4,8,3,2,7,1,4,5,9,4,8,0] , A=[] , C=0 , 5+0+0=5 , A->5 , C->0
[2,1,9,0,6,6,9,7,6,0,1,7,4,2] + [1,9,4,4,8,3,2,7,1,4,5,9,4,8] , A=[5] , C=0 , 2+8+0=10 , A->0 , C->1
[2,1,9,0,6,6,9,7,6,0,1,7,4] + [1,9,4,4,8,3,2,7,1,4,5,9,4] , A=[0,5] , C=1 , 4+4+1=9 , A->9 , C->0
[2,1,9,0,6,6,9,7,6,0,1,7] + [1,9,4,4,8,3,2,7,1,4,5,9] , A=[9,0,5] , C=0 , 7+9+0=16 , A->6 , C->1
[2,1,9,0,6,6,9,7,6,0,1] + [1,9,4,4,8,3,2,7,1,4,5] , A=[6,9,0,5] , C=1 , 1+5+1=7 , A->7 , C->0
[2,1,9,0,6,6,9,7,6,0] + [1,9,4,4,8,3,2,7,1,4] , A=[7,6,9,0,5] , C=0 , 0+4+0=4 , A->4 , C->0
[2,1,9,0,6,6,9,7,6] + [1,9,4,4,8,3,2,7,1] , A=[4,7,6,9,0,5] , C=0 , 6+1+0=7 , A->7 , C->0
[2,1,9,0,6,6,9,7] + [1,9,4,4,8,3,2,7] , A=[7,4,7,6,9,0,5] , C=0 , 7+7+0=14 , A->4 , C->1
[2,1,9,0,6,6,9] + [1,9,4,4,8,3,2] , A=[4,7,4,7,6,9,0,5] , C=1 , 9+2+1=12 , A->2 , C->1
[2,1,9,0,6,6] + [1,9,4,4,8,3] , A=[2,4,7,4,7,6,9,0,5] , C=1 , 6+3+1=10 , A->0 , C->1
[2,1,9,0,6] + [1,9,4,4,8] , A=[0,2,4,7,4,7,6,9,0,5] , C=1 , 6+8+1=15 , A->5 , C->1
[2,1,9,0] + [1,9,4,4] , A=[5,0,2,4,7,4,7,6,9,0,5] , C=1 , 0+4+1=5 , A->5 , C->0
[2,1,9] + [1,9,4] , A=[5,5,0,2,4,7,4,7,6,9,0,5] , C=0 , 9+4+0=13 , A->3 , C->1
[2,1] + [1,9] , A=[3,5,5,0,2,4,7,4,7,6,9,0,5] , C=1 , 1+9+1=11 , A->1 , C->1
[2] + [1] , A=[1,3,5,5,0,2,4,7,4,7,6,9,0,5] , C=1 , 2+1+1=4 , A->4 , C->0
[] + [] , A=[4,1,3,5,5,0,2,4,7,4,7,6,9,0,5] C=0 , END
</scratch>
413550247476905
| 413550247476905 | 15 |
Input:
677880205476587+493018631009946
Target:
| Input:
677880205476587+493018631009946
Target:
[6,7,7,8,8,0,2,0,5,4,7,6,5,8,7] + [4,9,3,0,1,8,6,3,1,0,0,9,9,4,6] , A=[] , C=0 , 7+6+0=13 , A->3 , C->1
[6,7,7,8,8,0,2,0,5,4,7,6,5,8] + [4,9,3,0,1,8,6,3,1,0,0,9,9,4] , A=[3] , C=1 , 8+4+1=13 , A->3 , C->1
[6,7,7,8,8,0,2,0,5,4,7,6,5] + [4,9,3,0,1,8,6,3,1,0,0,9,9] , A=[3,3] , C=1 , 5+9+1=15 , A->5 , C->1
[6,7,7,8,8,0,2,0,5,4,7,6] + [4,9,3,0,1,8,6,3,1,0,0,9] , A=[5,3,3] , C=1 , 6+9+1=16 , A->6 , C->1
[6,7,7,8,8,0,2,0,5,4,7] + [4,9,3,0,1,8,6,3,1,0,0] , A=[6,5,3,3] , C=1 , 7+0+1=8 , A->8 , C->0
[6,7,7,8,8,0,2,0,5,4] + [4,9,3,0,1,8,6,3,1,0] , A=[8,6,5,3,3] , C=0 , 4+0+0=4 , A->4 , C->0
[6,7,7,8,8,0,2,0,5] + [4,9,3,0,1,8,6,3,1] , A=[4,8,6,5,3,3] , C=0 , 5+1+0=6 , A->6 , C->0
[6,7,7,8,8,0,2,0] + [4,9,3,0,1,8,6,3] , A=[6,4,8,6,5,3,3] , C=0 , 0+3+0=3 , A->3 , C->0
[6,7,7,8,8,0,2] + [4,9,3,0,1,8,6] , A=[3,6,4,8,6,5,3,3] , C=0 , 2+6+0=8 , A->8 , C->0
[6,7,7,8,8,0] + [4,9,3,0,1,8] , A=[8,3,6,4,8,6,5,3,3] , C=0 , 0+8+0=8 , A->8 , C->0
[6,7,7,8,8] + [4,9,3,0,1] , A=[8,8,3,6,4,8,6,5,3,3] , C=0 , 8+1+0=9 , A->9 , C->0
[6,7,7,8] + [4,9,3,0] , A=[9,8,8,3,6,4,8,6,5,3,3] , C=0 , 8+0+0=8 , A->8 , C->0
[6,7,7] + [4,9,3] , A=[8,9,8,8,3,6,4,8,6,5,3,3] , C=0 , 7+3+0=10 , A->0 , C->1
[6,7] + [4,9] , A=[0,8,9,8,8,3,6,4,8,6,5,3,3] , C=1 , 7+9+1=17 , A->7 , C->1
[6] + [4] , A=[7,0,8,9,8,8,3,6,4,8,6,5,3,3] , C=1 , 6+4+1=11 , A->1 , C->1
[] + [] , A=[1,7,0,8,9,8,8,3,6,4,8,6,5,3,3] C=1 , END
</scratch>
1170898836486533
| 1170898836486533 | 15 |
Input:
678153908003073+478042575688682
Target:
| Input:
678153908003073+478042575688682
Target:
[6,7,8,1,5,3,9,0,8,0,0,3,0,7,3] + [4,7,8,0,4,2,5,7,5,6,8,8,6,8,2] , A=[] , C=0 , 3+2+0=5 , A->5 , C->0
[6,7,8,1,5,3,9,0,8,0,0,3,0,7] + [4,7,8,0,4,2,5,7,5,6,8,8,6,8] , A=[5] , C=0 , 7+8+0=15 , A->5 , C->1
[6,7,8,1,5,3,9,0,8,0,0,3,0] + [4,7,8,0,4,2,5,7,5,6,8,8,6] , A=[5,5] , C=1 , 0+6+1=7 , A->7 , C->0
[6,7,8,1,5,3,9,0,8,0,0,3] + [4,7,8,0,4,2,5,7,5,6,8,8] , A=[7,5,5] , C=0 , 3+8+0=11 , A->1 , C->1
[6,7,8,1,5,3,9,0,8,0,0] + [4,7,8,0,4,2,5,7,5,6,8] , A=[1,7,5,5] , C=1 , 0+8+1=9 , A->9 , C->0
[6,7,8,1,5,3,9,0,8,0] + [4,7,8,0,4,2,5,7,5,6] , A=[9,1,7,5,5] , C=0 , 0+6+0=6 , A->6 , C->0
[6,7,8,1,5,3,9,0,8] + [4,7,8,0,4,2,5,7,5] , A=[6,9,1,7,5,5] , C=0 , 8+5+0=13 , A->3 , C->1
[6,7,8,1,5,3,9,0] + [4,7,8,0,4,2,5,7] , A=[3,6,9,1,7,5,5] , C=1 , 0+7+1=8 , A->8 , C->0
[6,7,8,1,5,3,9] + [4,7,8,0,4,2,5] , A=[8,3,6,9,1,7,5,5] , C=0 , 9+5+0=14 , A->4 , C->1
[6,7,8,1,5,3] + [4,7,8,0,4,2] , A=[4,8,3,6,9,1,7,5,5] , C=1 , 3+2+1=6 , A->6 , C->0
[6,7,8,1,5] + [4,7,8,0,4] , A=[6,4,8,3,6,9,1,7,5,5] , C=0 , 5+4+0=9 , A->9 , C->0
[6,7,8,1] + [4,7,8,0] , A=[9,6,4,8,3,6,9,1,7,5,5] , C=0 , 1+0+0=1 , A->1 , C->0
[6,7,8] + [4,7,8] , A=[1,9,6,4,8,3,6,9,1,7,5,5] , C=0 , 8+8+0=16 , A->6 , C->1
[6,7] + [4,7] , A=[6,1,9,6,4,8,3,6,9,1,7,5,5] , C=1 , 7+7+1=15 , A->5 , C->1
[6] + [4] , A=[5,6,1,9,6,4,8,3,6,9,1,7,5,5] , C=1 , 6+4+1=11 , A->1 , C->1
[] + [] , A=[1,5,6,1,9,6,4,8,3,6,9,1,7,5,5] C=1 , END
</scratch>
1156196483691755
| 1156196483691755 | 15 |
Input:
612151147480340+106988568100743
Target:
| Input:
612151147480340+106988568100743
Target:
[6,1,2,1,5,1,1,4,7,4,8,0,3,4,0] + [1,0,6,9,8,8,5,6,8,1,0,0,7,4,3] , A=[] , C=0 , 0+3+0=3 , A->3 , C->0
[6,1,2,1,5,1,1,4,7,4,8,0,3,4] + [1,0,6,9,8,8,5,6,8,1,0,0,7,4] , A=[3] , C=0 , 4+4+0=8 , A->8 , C->0
[6,1,2,1,5,1,1,4,7,4,8,0,3] + [1,0,6,9,8,8,5,6,8,1,0,0,7] , A=[8,3] , C=0 , 3+7+0=10 , A->0 , C->1
[6,1,2,1,5,1,1,4,7,4,8,0] + [1,0,6,9,8,8,5,6,8,1,0,0] , A=[0,8,3] , C=1 , 0+0+1=1 , A->1 , C->0
[6,1,2,1,5,1,1,4,7,4,8] + [1,0,6,9,8,8,5,6,8,1,0] , A=[1,0,8,3] , C=0 , 8+0+0=8 , A->8 , C->0
[6,1,2,1,5,1,1,4,7,4] + [1,0,6,9,8,8,5,6,8,1] , A=[8,1,0,8,3] , C=0 , 4+1+0=5 , A->5 , C->0
[6,1,2,1,5,1,1,4,7] + [1,0,6,9,8,8,5,6,8] , A=[5,8,1,0,8,3] , C=0 , 7+8+0=15 , A->5 , C->1
[6,1,2,1,5,1,1,4] + [1,0,6,9,8,8,5,6] , A=[5,5,8,1,0,8,3] , C=1 , 4+6+1=11 , A->1 , C->1
[6,1,2,1,5,1,1] + [1,0,6,9,8,8,5] , A=[1,5,5,8,1,0,8,3] , C=1 , 1+5+1=7 , A->7 , C->0
[6,1,2,1,5,1] + [1,0,6,9,8,8] , A=[7,1,5,5,8,1,0,8,3] , C=0 , 1+8+0=9 , A->9 , C->0
[6,1,2,1,5] + [1,0,6,9,8] , A=[9,7,1,5,5,8,1,0,8,3] , C=0 , 5+8+0=13 , A->3 , C->1
[6,1,2,1] + [1,0,6,9] , A=[3,9,7,1,5,5,8,1,0,8,3] , C=1 , 1+9+1=11 , A->1 , C->1
[6,1,2] + [1,0,6] , A=[1,3,9,7,1,5,5,8,1,0,8,3] , C=1 , 2+6+1=9 , A->9 , C->0
[6,1] + [1,0] , A=[9,1,3,9,7,1,5,5,8,1,0,8,3] , C=0 , 1+0+0=1 , A->1 , C->0
[6] + [1] , A=[1,9,1,3,9,7,1,5,5,8,1,0,8,3] , C=0 , 6+1+0=7 , A->7 , C->0
[] + [] , A=[7,1,9,1,3,9,7,1,5,5,8,1,0,8,3] C=0 , END
</scratch>
719139715581083
| 719139715581083 | 15 |
Input:
431795466010206+925718295657778
Target:
| Input:
431795466010206+925718295657778
Target:
[4,3,1,7,9,5,4,6,6,0,1,0,2,0,6] + [9,2,5,7,1,8,2,9,5,6,5,7,7,7,8] , A=[] , C=0 , 6+8+0=14 , A->4 , C->1
[4,3,1,7,9,5,4,6,6,0,1,0,2,0] + [9,2,5,7,1,8,2,9,5,6,5,7,7,7] , A=[4] , C=1 , 0+7+1=8 , A->8 , C->0
[4,3,1,7,9,5,4,6,6,0,1,0,2] + [9,2,5,7,1,8,2,9,5,6,5,7,7] , A=[8,4] , C=0 , 2+7+0=9 , A->9 , C->0
[4,3,1,7,9,5,4,6,6,0,1,0] + [9,2,5,7,1,8,2,9,5,6,5,7] , A=[9,8,4] , C=0 , 0+7+0=7 , A->7 , C->0
[4,3,1,7,9,5,4,6,6,0,1] + [9,2,5,7,1,8,2,9,5,6,5] , A=[7,9,8,4] , C=0 , 1+5+0=6 , A->6 , C->0
[4,3,1,7,9,5,4,6,6,0] + [9,2,5,7,1,8,2,9,5,6] , A=[6,7,9,8,4] , C=0 , 0+6+0=6 , A->6 , C->0
[4,3,1,7,9,5,4,6,6] + [9,2,5,7,1,8,2,9,5] , A=[6,6,7,9,8,4] , C=0 , 6+5+0=11 , A->1 , C->1
[4,3,1,7,9,5,4,6] + [9,2,5,7,1,8,2,9] , A=[1,6,6,7,9,8,4] , C=1 , 6+9+1=16 , A->6 , C->1
[4,3,1,7,9,5,4] + [9,2,5,7,1,8,2] , A=[6,1,6,6,7,9,8,4] , C=1 , 4+2+1=7 , A->7 , C->0
[4,3,1,7,9,5] + [9,2,5,7,1,8] , A=[7,6,1,6,6,7,9,8,4] , C=0 , 5+8+0=13 , A->3 , C->1
[4,3,1,7,9] + [9,2,5,7,1] , A=[3,7,6,1,6,6,7,9,8,4] , C=1 , 9+1+1=11 , A->1 , C->1
[4,3,1,7] + [9,2,5,7] , A=[1,3,7,6,1,6,6,7,9,8,4] , C=1 , 7+7+1=15 , A->5 , C->1
[4,3,1] + [9,2,5] , A=[5,1,3,7,6,1,6,6,7,9,8,4] , C=1 , 1+5+1=7 , A->7 , C->0
[4,3] + [9,2] , A=[7,5,1,3,7,6,1,6,6,7,9,8,4] , C=0 , 3+2+0=5 , A->5 , C->0
[4] + [9] , A=[5,7,5,1,3,7,6,1,6,6,7,9,8,4] , C=0 , 4+9+0=13 , A->3 , C->1
[] + [] , A=[3,5,7,5,1,3,7,6,1,6,6,7,9,8,4] C=1 , END
</scratch>
1357513761667984
| 1357513761667984 | 15 |
Input:
864014217827118+653346047566340
Target:
| Input:
864014217827118+653346047566340
Target:
[8,6,4,0,1,4,2,1,7,8,2,7,1,1,8] + [6,5,3,3,4,6,0,4,7,5,6,6,3,4,0] , A=[] , C=0 , 8+0+0=8 , A->8 , C->0
[8,6,4,0,1,4,2,1,7,8,2,7,1,1] + [6,5,3,3,4,6,0,4,7,5,6,6,3,4] , A=[8] , C=0 , 1+4+0=5 , A->5 , C->0
[8,6,4,0,1,4,2,1,7,8,2,7,1] + [6,5,3,3,4,6,0,4,7,5,6,6,3] , A=[5,8] , C=0 , 1+3+0=4 , A->4 , C->0
[8,6,4,0,1,4,2,1,7,8,2,7] + [6,5,3,3,4,6,0,4,7,5,6,6] , A=[4,5,8] , C=0 , 7+6+0=13 , A->3 , C->1
[8,6,4,0,1,4,2,1,7,8,2] + [6,5,3,3,4,6,0,4,7,5,6] , A=[3,4,5,8] , C=1 , 2+6+1=9 , A->9 , C->0
[8,6,4,0,1,4,2,1,7,8] + [6,5,3,3,4,6,0,4,7,5] , A=[9,3,4,5,8] , C=0 , 8+5+0=13 , A->3 , C->1
[8,6,4,0,1,4,2,1,7] + [6,5,3,3,4,6,0,4,7] , A=[3,9,3,4,5,8] , C=1 , 7+7+1=15 , A->5 , C->1
[8,6,4,0,1,4,2,1] + [6,5,3,3,4,6,0,4] , A=[5,3,9,3,4,5,8] , C=1 , 1+4+1=6 , A->6 , C->0
[8,6,4,0,1,4,2] + [6,5,3,3,4,6,0] , A=[6,5,3,9,3,4,5,8] , C=0 , 2+0+0=2 , A->2 , C->0
[8,6,4,0,1,4] + [6,5,3,3,4,6] , A=[2,6,5,3,9,3,4,5,8] , C=0 , 4+6+0=10 , A->0 , C->1
[8,6,4,0,1] + [6,5,3,3,4] , A=[0,2,6,5,3,9,3,4,5,8] , C=1 , 1+4+1=6 , A->6 , C->0
[8,6,4,0] + [6,5,3,3] , A=[6,0,2,6,5,3,9,3,4,5,8] , C=0 , 0+3+0=3 , A->3 , C->0
[8,6,4] + [6,5,3] , A=[3,6,0,2,6,5,3,9,3,4,5,8] , C=0 , 4+3+0=7 , A->7 , C->0
[8,6] + [6,5] , A=[7,3,6,0,2,6,5,3,9,3,4,5,8] , C=0 , 6+5+0=11 , A->1 , C->1
[8] + [6] , A=[1,7,3,6,0,2,6,5,3,9,3,4,5,8] , C=1 , 8+6+1=15 , A->5 , C->1
[] + [] , A=[5,1,7,3,6,0,2,6,5,3,9,3,4,5,8] C=1 , END
</scratch>
1517360265393458
| 1517360265393458 | 15 |
Input:
787756430683114+107757252524538
Target:
| Input:
787756430683114+107757252524538
Target:
[7,8,7,7,5,6,4,3,0,6,8,3,1,1,4] + [1,0,7,7,5,7,2,5,2,5,2,4,5,3,8] , A=[] , C=0 , 4+8+0=12 , A->2 , C->1
[7,8,7,7,5,6,4,3,0,6,8,3,1,1] + [1,0,7,7,5,7,2,5,2,5,2,4,5,3] , A=[2] , C=1 , 1+3+1=5 , A->5 , C->0
[7,8,7,7,5,6,4,3,0,6,8,3,1] + [1,0,7,7,5,7,2,5,2,5,2,4,5] , A=[5,2] , C=0 , 1+5+0=6 , A->6 , C->0
[7,8,7,7,5,6,4,3,0,6,8,3] + [1,0,7,7,5,7,2,5,2,5,2,4] , A=[6,5,2] , C=0 , 3+4+0=7 , A->7 , C->0
[7,8,7,7,5,6,4,3,0,6,8] + [1,0,7,7,5,7,2,5,2,5,2] , A=[7,6,5,2] , C=0 , 8+2+0=10 , A->0 , C->1
[7,8,7,7,5,6,4,3,0,6] + [1,0,7,7,5,7,2,5,2,5] , A=[0,7,6,5,2] , C=1 , 6+5+1=12 , A->2 , C->1
[7,8,7,7,5,6,4,3,0] + [1,0,7,7,5,7,2,5,2] , A=[2,0,7,6,5,2] , C=1 , 0+2+1=3 , A->3 , C->0
[7,8,7,7,5,6,4,3] + [1,0,7,7,5,7,2,5] , A=[3,2,0,7,6,5,2] , C=0 , 3+5+0=8 , A->8 , C->0
[7,8,7,7,5,6,4] + [1,0,7,7,5,7,2] , A=[8,3,2,0,7,6,5,2] , C=0 , 4+2+0=6 , A->6 , C->0
[7,8,7,7,5,6] + [1,0,7,7,5,7] , A=[6,8,3,2,0,7,6,5,2] , C=0 , 6+7+0=13 , A->3 , C->1
[7,8,7,7,5] + [1,0,7,7,5] , A=[3,6,8,3,2,0,7,6,5,2] , C=1 , 5+5+1=11 , A->1 , C->1
[7,8,7,7] + [1,0,7,7] , A=[1,3,6,8,3,2,0,7,6,5,2] , C=1 , 7+7+1=15 , A->5 , C->1
[7,8,7] + [1,0,7] , A=[5,1,3,6,8,3,2,0,7,6,5,2] , C=1 , 7+7+1=15 , A->5 , C->1
[7,8] + [1,0] , A=[5,5,1,3,6,8,3,2,0,7,6,5,2] , C=1 , 8+0+1=9 , A->9 , C->0
[7] + [1] , A=[9,5,5,1,3,6,8,3,2,0,7,6,5,2] , C=0 , 7+1+0=8 , A->8 , C->0
[] + [] , A=[8,9,5,5,1,3,6,8,3,2,0,7,6,5,2] C=0 , END
</scratch>
895513683207652
| 895513683207652 | 15 |
Input:
338891803934885+957185163615538
Target:
| Input:
338891803934885+957185163615538
Target:
[3,3,8,8,9,1,8,0,3,9,3,4,8,8,5] + [9,5,7,1,8,5,1,6,3,6,1,5,5,3,8] , A=[] , C=0 , 5+8+0=13 , A->3 , C->1
[3,3,8,8,9,1,8,0,3,9,3,4,8,8] + [9,5,7,1,8,5,1,6,3,6,1,5,5,3] , A=[3] , C=1 , 8+3+1=12 , A->2 , C->1
[3,3,8,8,9,1,8,0,3,9,3,4,8] + [9,5,7,1,8,5,1,6,3,6,1,5,5] , A=[2,3] , C=1 , 8+5+1=14 , A->4 , C->1
[3,3,8,8,9,1,8,0,3,9,3,4] + [9,5,7,1,8,5,1,6,3,6,1,5] , A=[4,2,3] , C=1 , 4+5+1=10 , A->0 , C->1
[3,3,8,8,9,1,8,0,3,9,3] + [9,5,7,1,8,5,1,6,3,6,1] , A=[0,4,2,3] , C=1 , 3+1+1=5 , A->5 , C->0
[3,3,8,8,9,1,8,0,3,9] + [9,5,7,1,8,5,1,6,3,6] , A=[5,0,4,2,3] , C=0 , 9+6+0=15 , A->5 , C->1
[3,3,8,8,9,1,8,0,3] + [9,5,7,1,8,5,1,6,3] , A=[5,5,0,4,2,3] , C=1 , 3+3+1=7 , A->7 , C->0
[3,3,8,8,9,1,8,0] + [9,5,7,1,8,5,1,6] , A=[7,5,5,0,4,2,3] , C=0 , 0+6+0=6 , A->6 , C->0
[3,3,8,8,9,1,8] + [9,5,7,1,8,5,1] , A=[6,7,5,5,0,4,2,3] , C=0 , 8+1+0=9 , A->9 , C->0
[3,3,8,8,9,1] + [9,5,7,1,8,5] , A=[9,6,7,5,5,0,4,2,3] , C=0 , 1+5+0=6 , A->6 , C->0
[3,3,8,8,9] + [9,5,7,1,8] , A=[6,9,6,7,5,5,0,4,2,3] , C=0 , 9+8+0=17 , A->7 , C->1
[3,3,8,8] + [9,5,7,1] , A=[7,6,9,6,7,5,5,0,4,2,3] , C=1 , 8+1+1=10 , A->0 , C->1
[3,3,8] + [9,5,7] , A=[0,7,6,9,6,7,5,5,0,4,2,3] , C=1 , 8+7+1=16 , A->6 , C->1
[3,3] + [9,5] , A=[6,0,7,6,9,6,7,5,5,0,4,2,3] , C=1 , 3+5+1=9 , A->9 , C->0
[3] + [9] , A=[9,6,0,7,6,9,6,7,5,5,0,4,2,3] , C=0 , 3+9+0=12 , A->2 , C->1
[] + [] , A=[2,9,6,0,7,6,9,6,7,5,5,0,4,2,3] C=1 , END
</scratch>
1296076967550423
| 1296076967550423 | 15 |
Input:
626303514139224+207296103085120
Target:
| Input:
626303514139224+207296103085120
Target:
[6,2,6,3,0,3,5,1,4,1,3,9,2,2,4] + [2,0,7,2,9,6,1,0,3,0,8,5,1,2,0] , A=[] , C=0 , 4+0+0=4 , A->4 , C->0
[6,2,6,3,0,3,5,1,4,1,3,9,2,2] + [2,0,7,2,9,6,1,0,3,0,8,5,1,2] , A=[4] , C=0 , 2+2+0=4 , A->4 , C->0
[6,2,6,3,0,3,5,1,4,1,3,9,2] + [2,0,7,2,9,6,1,0,3,0,8,5,1] , A=[4,4] , C=0 , 2+1+0=3 , A->3 , C->0
[6,2,6,3,0,3,5,1,4,1,3,9] + [2,0,7,2,9,6,1,0,3,0,8,5] , A=[3,4,4] , C=0 , 9+5+0=14 , A->4 , C->1
[6,2,6,3,0,3,5,1,4,1,3] + [2,0,7,2,9,6,1,0,3,0,8] , A=[4,3,4,4] , C=1 , 3+8+1=12 , A->2 , C->1
[6,2,6,3,0,3,5,1,4,1] + [2,0,7,2,9,6,1,0,3,0] , A=[2,4,3,4,4] , C=1 , 1+0+1=2 , A->2 , C->0
[6,2,6,3,0,3,5,1,4] + [2,0,7,2,9,6,1,0,3] , A=[2,2,4,3,4,4] , C=0 , 4+3+0=7 , A->7 , C->0
[6,2,6,3,0,3,5,1] + [2,0,7,2,9,6,1,0] , A=[7,2,2,4,3,4,4] , C=0 , 1+0+0=1 , A->1 , C->0
[6,2,6,3,0,3,5] + [2,0,7,2,9,6,1] , A=[1,7,2,2,4,3,4,4] , C=0 , 5+1+0=6 , A->6 , C->0
[6,2,6,3,0,3] + [2,0,7,2,9,6] , A=[6,1,7,2,2,4,3,4,4] , C=0 , 3+6+0=9 , A->9 , C->0
[6,2,6,3,0] + [2,0,7,2,9] , A=[9,6,1,7,2,2,4,3,4,4] , C=0 , 0+9+0=9 , A->9 , C->0
[6,2,6,3] + [2,0,7,2] , A=[9,9,6,1,7,2,2,4,3,4,4] , C=0 , 3+2+0=5 , A->5 , C->0
[6,2,6] + [2,0,7] , A=[5,9,9,6,1,7,2,2,4,3,4,4] , C=0 , 6+7+0=13 , A->3 , C->1
[6,2] + [2,0] , A=[3,5,9,9,6,1,7,2,2,4,3,4,4] , C=1 , 2+0+1=3 , A->3 , C->0
[6] + [2] , A=[3,3,5,9,9,6,1,7,2,2,4,3,4,4] , C=0 , 6+2+0=8 , A->8 , C->0
[] + [] , A=[8,3,3,5,9,9,6,1,7,2,2,4,3,4,4] C=0 , END
</scratch>
833599617224344
| 833599617224344 | 15 |
Input:
958404198177709+459236715841636
Target:
| Input:
958404198177709+459236715841636
Target:
[9,5,8,4,0,4,1,9,8,1,7,7,7,0,9] + [4,5,9,2,3,6,7,1,5,8,4,1,6,3,6] , A=[] , C=0 , 9+6+0=15 , A->5 , C->1
[9,5,8,4,0,4,1,9,8,1,7,7,7,0] + [4,5,9,2,3,6,7,1,5,8,4,1,6,3] , A=[5] , C=1 , 0+3+1=4 , A->4 , C->0
[9,5,8,4,0,4,1,9,8,1,7,7,7] + [4,5,9,2,3,6,7,1,5,8,4,1,6] , A=[4,5] , C=0 , 7+6+0=13 , A->3 , C->1
[9,5,8,4,0,4,1,9,8,1,7,7] + [4,5,9,2,3,6,7,1,5,8,4,1] , A=[3,4,5] , C=1 , 7+1+1=9 , A->9 , C->0
[9,5,8,4,0,4,1,9,8,1,7] + [4,5,9,2,3,6,7,1,5,8,4] , A=[9,3,4,5] , C=0 , 7+4+0=11 , A->1 , C->1
[9,5,8,4,0,4,1,9,8,1] + [4,5,9,2,3,6,7,1,5,8] , A=[1,9,3,4,5] , C=1 , 1+8+1=10 , A->0 , C->1
[9,5,8,4,0,4,1,9,8] + [4,5,9,2,3,6,7,1,5] , A=[0,1,9,3,4,5] , C=1 , 8+5+1=14 , A->4 , C->1
[9,5,8,4,0,4,1,9] + [4,5,9,2,3,6,7,1] , A=[4,0,1,9,3,4,5] , C=1 , 9+1+1=11 , A->1 , C->1
[9,5,8,4,0,4,1] + [4,5,9,2,3,6,7] , A=[1,4,0,1,9,3,4,5] , C=1 , 1+7+1=9 , A->9 , C->0
[9,5,8,4,0,4] + [4,5,9,2,3,6] , A=[9,1,4,0,1,9,3,4,5] , C=0 , 4+6+0=10 , A->0 , C->1
[9,5,8,4,0] + [4,5,9,2,3] , A=[0,9,1,4,0,1,9,3,4,5] , C=1 , 0+3+1=4 , A->4 , C->0
[9,5,8,4] + [4,5,9,2] , A=[4,0,9,1,4,0,1,9,3,4,5] , C=0 , 4+2+0=6 , A->6 , C->0
[9,5,8] + [4,5,9] , A=[6,4,0,9,1,4,0,1,9,3,4,5] , C=0 , 8+9+0=17 , A->7 , C->1
[9,5] + [4,5] , A=[7,6,4,0,9,1,4,0,1,9,3,4,5] , C=1 , 5+5+1=11 , A->1 , C->1
[9] + [4] , A=[1,7,6,4,0,9,1,4,0,1,9,3,4,5] , C=1 , 9+4+1=14 , A->4 , C->1
[] + [] , A=[4,1,7,6,4,0,9,1,4,0,1,9,3,4,5] C=1 , END
</scratch>
1417640914019345
| 1417640914019345 | 15 |
Input:
275903611036495+419116149402684
Target:
| Input:
275903611036495+419116149402684
Target:
[2,7,5,9,0,3,6,1,1,0,3,6,4,9,5] + [4,1,9,1,1,6,1,4,9,4,0,2,6,8,4] , A=[] , C=0 , 5+4+0=9 , A->9 , C->0
[2,7,5,9,0,3,6,1,1,0,3,6,4,9] + [4,1,9,1,1,6,1,4,9,4,0,2,6,8] , A=[9] , C=0 , 9+8+0=17 , A->7 , C->1
[2,7,5,9,0,3,6,1,1,0,3,6,4] + [4,1,9,1,1,6,1,4,9,4,0,2,6] , A=[7,9] , C=1 , 4+6+1=11 , A->1 , C->1
[2,7,5,9,0,3,6,1,1,0,3,6] + [4,1,9,1,1,6,1,4,9,4,0,2] , A=[1,7,9] , C=1 , 6+2+1=9 , A->9 , C->0
[2,7,5,9,0,3,6,1,1,0,3] + [4,1,9,1,1,6,1,4,9,4,0] , A=[9,1,7,9] , C=0 , 3+0+0=3 , A->3 , C->0
[2,7,5,9,0,3,6,1,1,0] + [4,1,9,1,1,6,1,4,9,4] , A=[3,9,1,7,9] , C=0 , 0+4+0=4 , A->4 , C->0
[2,7,5,9,0,3,6,1,1] + [4,1,9,1,1,6,1,4,9] , A=[4,3,9,1,7,9] , C=0 , 1+9+0=10 , A->0 , C->1
[2,7,5,9,0,3,6,1] + [4,1,9,1,1,6,1,4] , A=[0,4,3,9,1,7,9] , C=1 , 1+4+1=6 , A->6 , C->0
[2,7,5,9,0,3,6] + [4,1,9,1,1,6,1] , A=[6,0,4,3,9,1,7,9] , C=0 , 6+1+0=7 , A->7 , C->0
[2,7,5,9,0,3] + [4,1,9,1,1,6] , A=[7,6,0,4,3,9,1,7,9] , C=0 , 3+6+0=9 , A->9 , C->0
[2,7,5,9,0] + [4,1,9,1,1] , A=[9,7,6,0,4,3,9,1,7,9] , C=0 , 0+1+0=1 , A->1 , C->0
[2,7,5,9] + [4,1,9,1] , A=[1,9,7,6,0,4,3,9,1,7,9] , C=0 , 9+1+0=10 , A->0 , C->1
[2,7,5] + [4,1,9] , A=[0,1,9,7,6,0,4,3,9,1,7,9] , C=1 , 5+9+1=15 , A->5 , C->1
[2,7] + [4,1] , A=[5,0,1,9,7,6,0,4,3,9,1,7,9] , C=1 , 7+1+1=9 , A->9 , C->0
[2] + [4] , A=[9,5,0,1,9,7,6,0,4,3,9,1,7,9] , C=0 , 2+4+0=6 , A->6 , C->0
[] + [] , A=[6,9,5,0,1,9,7,6,0,4,3,9,1,7,9] C=0 , END
</scratch>
695019760439179
| 695019760439179 | 15 |
Input:
212477754205623+605914217437969
Target:
| Input:
212477754205623+605914217437969
Target:
[2,1,2,4,7,7,7,5,4,2,0,5,6,2,3] + [6,0,5,9,1,4,2,1,7,4,3,7,9,6,9] , A=[] , C=0 , 3+9+0=12 , A->2 , C->1
[2,1,2,4,7,7,7,5,4,2,0,5,6,2] + [6,0,5,9,1,4,2,1,7,4,3,7,9,6] , A=[2] , C=1 , 2+6+1=9 , A->9 , C->0
[2,1,2,4,7,7,7,5,4,2,0,5,6] + [6,0,5,9,1,4,2,1,7,4,3,7,9] , A=[9,2] , C=0 , 6+9+0=15 , A->5 , C->1
[2,1,2,4,7,7,7,5,4,2,0,5] + [6,0,5,9,1,4,2,1,7,4,3,7] , A=[5,9,2] , C=1 , 5+7+1=13 , A->3 , C->1
[2,1,2,4,7,7,7,5,4,2,0] + [6,0,5,9,1,4,2,1,7,4,3] , A=[3,5,9,2] , C=1 , 0+3+1=4 , A->4 , C->0
[2,1,2,4,7,7,7,5,4,2] + [6,0,5,9,1,4,2,1,7,4] , A=[4,3,5,9,2] , C=0 , 2+4+0=6 , A->6 , C->0
[2,1,2,4,7,7,7,5,4] + [6,0,5,9,1,4,2,1,7] , A=[6,4,3,5,9,2] , C=0 , 4+7+0=11 , A->1 , C->1
[2,1,2,4,7,7,7,5] + [6,0,5,9,1,4,2,1] , A=[1,6,4,3,5,9,2] , C=1 , 5+1+1=7 , A->7 , C->0
[2,1,2,4,7,7,7] + [6,0,5,9,1,4,2] , A=[7,1,6,4,3,5,9,2] , C=0 , 7+2+0=9 , A->9 , C->0
[2,1,2,4,7,7] + [6,0,5,9,1,4] , A=[9,7,1,6,4,3,5,9,2] , C=0 , 7+4+0=11 , A->1 , C->1
[2,1,2,4,7] + [6,0,5,9,1] , A=[1,9,7,1,6,4,3,5,9,2] , C=1 , 7+1+1=9 , A->9 , C->0
[2,1,2,4] + [6,0,5,9] , A=[9,1,9,7,1,6,4,3,5,9,2] , C=0 , 4+9+0=13 , A->3 , C->1
[2,1,2] + [6,0,5] , A=[3,9,1,9,7,1,6,4,3,5,9,2] , C=1 , 2+5+1=8 , A->8 , C->0
[2,1] + [6,0] , A=[8,3,9,1,9,7,1,6,4,3,5,9,2] , C=0 , 1+0+0=1 , A->1 , C->0
[2] + [6] , A=[1,8,3,9,1,9,7,1,6,4,3,5,9,2] , C=0 , 2+6+0=8 , A->8 , C->0
[] + [] , A=[8,1,8,3,9,1,9,7,1,6,4,3,5,9,2] C=0 , END
</scratch>
818391971643592
| 818391971643592 | 15 |
Input:
485039862204947+274955246152319
Target:
| Input:
485039862204947+274955246152319
Target:
[4,8,5,0,3,9,8,6,2,2,0,4,9,4,7] + [2,7,4,9,5,5,2,4,6,1,5,2,3,1,9] , A=[] , C=0 , 7+9+0=16 , A->6 , C->1
[4,8,5,0,3,9,8,6,2,2,0,4,9,4] + [2,7,4,9,5,5,2,4,6,1,5,2,3,1] , A=[6] , C=1 , 4+1+1=6 , A->6 , C->0
[4,8,5,0,3,9,8,6,2,2,0,4,9] + [2,7,4,9,5,5,2,4,6,1,5,2,3] , A=[6,6] , C=0 , 9+3+0=12 , A->2 , C->1
[4,8,5,0,3,9,8,6,2,2,0,4] + [2,7,4,9,5,5,2,4,6,1,5,2] , A=[2,6,6] , C=1 , 4+2+1=7 , A->7 , C->0
[4,8,5,0,3,9,8,6,2,2,0] + [2,7,4,9,5,5,2,4,6,1,5] , A=[7,2,6,6] , C=0 , 0+5+0=5 , A->5 , C->0
[4,8,5,0,3,9,8,6,2,2] + [2,7,4,9,5,5,2,4,6,1] , A=[5,7,2,6,6] , C=0 , 2+1+0=3 , A->3 , C->0
[4,8,5,0,3,9,8,6,2] + [2,7,4,9,5,5,2,4,6] , A=[3,5,7,2,6,6] , C=0 , 2+6+0=8 , A->8 , C->0
[4,8,5,0,3,9,8,6] + [2,7,4,9,5,5,2,4] , A=[8,3,5,7,2,6,6] , C=0 , 6+4+0=10 , A->0 , C->1
[4,8,5,0,3,9,8] + [2,7,4,9,5,5,2] , A=[0,8,3,5,7,2,6,6] , C=1 , 8+2+1=11 , A->1 , C->1
[4,8,5,0,3,9] + [2,7,4,9,5,5] , A=[1,0,8,3,5,7,2,6,6] , C=1 , 9+5+1=15 , A->5 , C->1
[4,8,5,0,3] + [2,7,4,9,5] , A=[5,1,0,8,3,5,7,2,6,6] , C=1 , 3+5+1=9 , A->9 , C->0
[4,8,5,0] + [2,7,4,9] , A=[9,5,1,0,8,3,5,7,2,6,6] , C=0 , 0+9+0=9 , A->9 , C->0
[4,8,5] + [2,7,4] , A=[9,9,5,1,0,8,3,5,7,2,6,6] , C=0 , 5+4+0=9 , A->9 , C->0
[4,8] + [2,7] , A=[9,9,9,5,1,0,8,3,5,7,2,6,6] , C=0 , 8+7+0=15 , A->5 , C->1
[4] + [2] , A=[5,9,9,9,5,1,0,8,3,5,7,2,6,6] , C=1 , 4+2+1=7 , A->7 , C->0
[] + [] , A=[7,5,9,9,9,5,1,0,8,3,5,7,2,6,6] C=0 , END
</scratch>
759995108357266
| 759995108357266 | 15 |
Input:
104244393545113+378642097664728
Target:
| Input:
104244393545113+378642097664728
Target:
[1,0,4,2,4,4,3,9,3,5,4,5,1,1,3] + [3,7,8,6,4,2,0,9,7,6,6,4,7,2,8] , A=[] , C=0 , 3+8+0=11 , A->1 , C->1
[1,0,4,2,4,4,3,9,3,5,4,5,1,1] + [3,7,8,6,4,2,0,9,7,6,6,4,7,2] , A=[1] , C=1 , 1+2+1=4 , A->4 , C->0
[1,0,4,2,4,4,3,9,3,5,4,5,1] + [3,7,8,6,4,2,0,9,7,6,6,4,7] , A=[4,1] , C=0 , 1+7+0=8 , A->8 , C->0
[1,0,4,2,4,4,3,9,3,5,4,5] + [3,7,8,6,4,2,0,9,7,6,6,4] , A=[8,4,1] , C=0 , 5+4+0=9 , A->9 , C->0
[1,0,4,2,4,4,3,9,3,5,4] + [3,7,8,6,4,2,0,9,7,6,6] , A=[9,8,4,1] , C=0 , 4+6+0=10 , A->0 , C->1
[1,0,4,2,4,4,3,9,3,5] + [3,7,8,6,4,2,0,9,7,6] , A=[0,9,8,4,1] , C=1 , 5+6+1=12 , A->2 , C->1
[1,0,4,2,4,4,3,9,3] + [3,7,8,6,4,2,0,9,7] , A=[2,0,9,8,4,1] , C=1 , 3+7+1=11 , A->1 , C->1
[1,0,4,2,4,4,3,9] + [3,7,8,6,4,2,0,9] , A=[1,2,0,9,8,4,1] , C=1 , 9+9+1=19 , A->9 , C->1
[1,0,4,2,4,4,3] + [3,7,8,6,4,2,0] , A=[9,1,2,0,9,8,4,1] , C=1 , 3+0+1=4 , A->4 , C->0
[1,0,4,2,4,4] + [3,7,8,6,4,2] , A=[4,9,1,2,0,9,8,4,1] , C=0 , 4+2+0=6 , A->6 , C->0
[1,0,4,2,4] + [3,7,8,6,4] , A=[6,4,9,1,2,0,9,8,4,1] , C=0 , 4+4+0=8 , A->8 , C->0
[1,0,4,2] + [3,7,8,6] , A=[8,6,4,9,1,2,0,9,8,4,1] , C=0 , 2+6+0=8 , A->8 , C->0
[1,0,4] + [3,7,8] , A=[8,8,6,4,9,1,2,0,9,8,4,1] , C=0 , 4+8+0=12 , A->2 , C->1
[1,0] + [3,7] , A=[2,8,8,6,4,9,1,2,0,9,8,4,1] , C=1 , 0+7+1=8 , A->8 , C->0
[1] + [3] , A=[8,2,8,8,6,4,9,1,2,0,9,8,4,1] , C=0 , 1+3+0=4 , A->4 , C->0
[] + [] , A=[4,8,2,8,8,6,4,9,1,2,0,9,8,4,1] C=0 , END
</scratch>
482886491209841
| 482886491209841 | 15 |
Input:
894013964225766+262836597678437
Target:
| Input:
894013964225766+262836597678437
Target:
[8,9,4,0,1,3,9,6,4,2,2,5,7,6,6] + [2,6,2,8,3,6,5,9,7,6,7,8,4,3,7] , A=[] , C=0 , 6+7+0=13 , A->3 , C->1
[8,9,4,0,1,3,9,6,4,2,2,5,7,6] + [2,6,2,8,3,6,5,9,7,6,7,8,4,3] , A=[3] , C=1 , 6+3+1=10 , A->0 , C->1
[8,9,4,0,1,3,9,6,4,2,2,5,7] + [2,6,2,8,3,6,5,9,7,6,7,8,4] , A=[0,3] , C=1 , 7+4+1=12 , A->2 , C->1
[8,9,4,0,1,3,9,6,4,2,2,5] + [2,6,2,8,3,6,5,9,7,6,7,8] , A=[2,0,3] , C=1 , 5+8+1=14 , A->4 , C->1
[8,9,4,0,1,3,9,6,4,2,2] + [2,6,2,8,3,6,5,9,7,6,7] , A=[4,2,0,3] , C=1 , 2+7+1=10 , A->0 , C->1
[8,9,4,0,1,3,9,6,4,2] + [2,6,2,8,3,6,5,9,7,6] , A=[0,4,2,0,3] , C=1 , 2+6+1=9 , A->9 , C->0
[8,9,4,0,1,3,9,6,4] + [2,6,2,8,3,6,5,9,7] , A=[9,0,4,2,0,3] , C=0 , 4+7+0=11 , A->1 , C->1
[8,9,4,0,1,3,9,6] + [2,6,2,8,3,6,5,9] , A=[1,9,0,4,2,0,3] , C=1 , 6+9+1=16 , A->6 , C->1
[8,9,4,0,1,3,9] + [2,6,2,8,3,6,5] , A=[6,1,9,0,4,2,0,3] , C=1 , 9+5+1=15 , A->5 , C->1
[8,9,4,0,1,3] + [2,6,2,8,3,6] , A=[5,6,1,9,0,4,2,0,3] , C=1 , 3+6+1=10 , A->0 , C->1
[8,9,4,0,1] + [2,6,2,8,3] , A=[0,5,6,1,9,0,4,2,0,3] , C=1 , 1+3+1=5 , A->5 , C->0
[8,9,4,0] + [2,6,2,8] , A=[5,0,5,6,1,9,0,4,2,0,3] , C=0 , 0+8+0=8 , A->8 , C->0
[8,9,4] + [2,6,2] , A=[8,5,0,5,6,1,9,0,4,2,0,3] , C=0 , 4+2+0=6 , A->6 , C->0
[8,9] + [2,6] , A=[6,8,5,0,5,6,1,9,0,4,2,0,3] , C=0 , 9+6+0=15 , A->5 , C->1
[8] + [2] , A=[5,6,8,5,0,5,6,1,9,0,4,2,0,3] , C=1 , 8+2+1=11 , A->1 , C->1
[] + [] , A=[1,5,6,8,5,0,5,6,1,9,0,4,2,0,3] C=1 , END
</scratch>
1156850561904203
| 1156850561904203 | 15 |
Input:
346103978058591+473854698711410
Target:
| Input:
346103978058591+473854698711410
Target:
[3,4,6,1,0,3,9,7,8,0,5,8,5,9,1] + [4,7,3,8,5,4,6,9,8,7,1,1,4,1,0] , A=[] , C=0 , 1+0+0=1 , A->1 , C->0
[3,4,6,1,0,3,9,7,8,0,5,8,5,9] + [4,7,3,8,5,4,6,9,8,7,1,1,4,1] , A=[1] , C=0 , 9+1+0=10 , A->0 , C->1
[3,4,6,1,0,3,9,7,8,0,5,8,5] + [4,7,3,8,5,4,6,9,8,7,1,1,4] , A=[0,1] , C=1 , 5+4+1=10 , A->0 , C->1
[3,4,6,1,0,3,9,7,8,0,5,8] + [4,7,3,8,5,4,6,9,8,7,1,1] , A=[0,0,1] , C=1 , 8+1+1=10 , A->0 , C->1
[3,4,6,1,0,3,9,7,8,0,5] + [4,7,3,8,5,4,6,9,8,7,1] , A=[0,0,0,1] , C=1 , 5+1+1=7 , A->7 , C->0
[3,4,6,1,0,3,9,7,8,0] + [4,7,3,8,5,4,6,9,8,7] , A=[7,0,0,0,1] , C=0 , 0+7+0=7 , A->7 , C->0
[3,4,6,1,0,3,9,7,8] + [4,7,3,8,5,4,6,9,8] , A=[7,7,0,0,0,1] , C=0 , 8+8+0=16 , A->6 , C->1
[3,4,6,1,0,3,9,7] + [4,7,3,8,5,4,6,9] , A=[6,7,7,0,0,0,1] , C=1 , 7+9+1=17 , A->7 , C->1
[3,4,6,1,0,3,9] + [4,7,3,8,5,4,6] , A=[7,6,7,7,0,0,0,1] , C=1 , 9+6+1=16 , A->6 , C->1
[3,4,6,1,0,3] + [4,7,3,8,5,4] , A=[6,7,6,7,7,0,0,0,1] , C=1 , 3+4+1=8 , A->8 , C->0
[3,4,6,1,0] + [4,7,3,8,5] , A=[8,6,7,6,7,7,0,0,0,1] , C=0 , 0+5+0=5 , A->5 , C->0
[3,4,6,1] + [4,7,3,8] , A=[5,8,6,7,6,7,7,0,0,0,1] , C=0 , 1+8+0=9 , A->9 , C->0
[3,4,6] + [4,7,3] , A=[9,5,8,6,7,6,7,7,0,0,0,1] , C=0 , 6+3+0=9 , A->9 , C->0
[3,4] + [4,7] , A=[9,9,5,8,6,7,6,7,7,0,0,0,1] , C=0 , 4+7+0=11 , A->1 , C->1
[3] + [4] , A=[1,9,9,5,8,6,7,6,7,7,0,0,0,1] , C=1 , 3+4+1=8 , A->8 , C->0
[] + [] , A=[8,1,9,9,5,8,6,7,6,7,7,0,0,0,1] C=0 , END
</scratch>
819958676770001
| 819958676770001 | 15 |
Input:
492110364131786+198868738477687
Target:
| Input:
492110364131786+198868738477687
Target:
[4,9,2,1,1,0,3,6,4,1,3,1,7,8,6] + [1,9,8,8,6,8,7,3,8,4,7,7,6,8,7] , A=[] , C=0 , 6+7+0=13 , A->3 , C->1
[4,9,2,1,1,0,3,6,4,1,3,1,7,8] + [1,9,8,8,6,8,7,3,8,4,7,7,6,8] , A=[3] , C=1 , 8+8+1=17 , A->7 , C->1
[4,9,2,1,1,0,3,6,4,1,3,1,7] + [1,9,8,8,6,8,7,3,8,4,7,7,6] , A=[7,3] , C=1 , 7+6+1=14 , A->4 , C->1
[4,9,2,1,1,0,3,6,4,1,3,1] + [1,9,8,8,6,8,7,3,8,4,7,7] , A=[4,7,3] , C=1 , 1+7+1=9 , A->9 , C->0
[4,9,2,1,1,0,3,6,4,1,3] + [1,9,8,8,6,8,7,3,8,4,7] , A=[9,4,7,3] , C=0 , 3+7+0=10 , A->0 , C->1
[4,9,2,1,1,0,3,6,4,1] + [1,9,8,8,6,8,7,3,8,4] , A=[0,9,4,7,3] , C=1 , 1+4+1=6 , A->6 , C->0
[4,9,2,1,1,0,3,6,4] + [1,9,8,8,6,8,7,3,8] , A=[6,0,9,4,7,3] , C=0 , 4+8+0=12 , A->2 , C->1
[4,9,2,1,1,0,3,6] + [1,9,8,8,6,8,7,3] , A=[2,6,0,9,4,7,3] , C=1 , 6+3+1=10 , A->0 , C->1
[4,9,2,1,1,0,3] + [1,9,8,8,6,8,7] , A=[0,2,6,0,9,4,7,3] , C=1 , 3+7+1=11 , A->1 , C->1
[4,9,2,1,1,0] + [1,9,8,8,6,8] , A=[1,0,2,6,0,9,4,7,3] , C=1 , 0+8+1=9 , A->9 , C->0
[4,9,2,1,1] + [1,9,8,8,6] , A=[9,1,0,2,6,0,9,4,7,3] , C=0 , 1+6+0=7 , A->7 , C->0
[4,9,2,1] + [1,9,8,8] , A=[7,9,1,0,2,6,0,9,4,7,3] , C=0 , 1+8+0=9 , A->9 , C->0
[4,9,2] + [1,9,8] , A=[9,7,9,1,0,2,6,0,9,4,7,3] , C=0 , 2+8+0=10 , A->0 , C->1
[4,9] + [1,9] , A=[0,9,7,9,1,0,2,6,0,9,4,7,3] , C=1 , 9+9+1=19 , A->9 , C->1
[4] + [1] , A=[9,0,9,7,9,1,0,2,6,0,9,4,7,3] , C=1 , 4+1+1=6 , A->6 , C->0
[] + [] , A=[6,9,0,9,7,9,1,0,2,6,0,9,4,7,3] C=0 , END
</scratch>
690979102609473
| 690979102609473 | 15 |
Input:
503653840319097+937048458968011
Target:
| Input:
503653840319097+937048458968011
Target:
[5,0,3,6,5,3,8,4,0,3,1,9,0,9,7] + [9,3,7,0,4,8,4,5,8,9,6,8,0,1,1] , A=[] , C=0 , 7+1+0=8 , A->8 , C->0
[5,0,3,6,5,3,8,4,0,3,1,9,0,9] + [9,3,7,0,4,8,4,5,8,9,6,8,0,1] , A=[8] , C=0 , 9+1+0=10 , A->0 , C->1
[5,0,3,6,5,3,8,4,0,3,1,9,0] + [9,3,7,0,4,8,4,5,8,9,6,8,0] , A=[0,8] , C=1 , 0+0+1=1 , A->1 , C->0
[5,0,3,6,5,3,8,4,0,3,1,9] + [9,3,7,0,4,8,4,5,8,9,6,8] , A=[1,0,8] , C=0 , 9+8+0=17 , A->7 , C->1
[5,0,3,6,5,3,8,4,0,3,1] + [9,3,7,0,4,8,4,5,8,9,6] , A=[7,1,0,8] , C=1 , 1+6+1=8 , A->8 , C->0
[5,0,3,6,5,3,8,4,0,3] + [9,3,7,0,4,8,4,5,8,9] , A=[8,7,1,0,8] , C=0 , 3+9+0=12 , A->2 , C->1
[5,0,3,6,5,3,8,4,0] + [9,3,7,0,4,8,4,5,8] , A=[2,8,7,1,0,8] , C=1 , 0+8+1=9 , A->9 , C->0
[5,0,3,6,5,3,8,4] + [9,3,7,0,4,8,4,5] , A=[9,2,8,7,1,0,8] , C=0 , 4+5+0=9 , A->9 , C->0
[5,0,3,6,5,3,8] + [9,3,7,0,4,8,4] , A=[9,9,2,8,7,1,0,8] , C=0 , 8+4+0=12 , A->2 , C->1
[5,0,3,6,5,3] + [9,3,7,0,4,8] , A=[2,9,9,2,8,7,1,0,8] , C=1 , 3+8+1=12 , A->2 , C->1
[5,0,3,6,5] + [9,3,7,0,4] , A=[2,2,9,9,2,8,7,1,0,8] , C=1 , 5+4+1=10 , A->0 , C->1
[5,0,3,6] + [9,3,7,0] , A=[0,2,2,9,9,2,8,7,1,0,8] , C=1 , 6+0+1=7 , A->7 , C->0
[5,0,3] + [9,3,7] , A=[7,0,2,2,9,9,2,8,7,1,0,8] , C=0 , 3+7+0=10 , A->0 , C->1
[5,0] + [9,3] , A=[0,7,0,2,2,9,9,2,8,7,1,0,8] , C=1 , 0+3+1=4 , A->4 , C->0
[5] + [9] , A=[4,0,7,0,2,2,9,9,2,8,7,1,0,8] , C=0 , 5+9+0=14 , A->4 , C->1
[] + [] , A=[4,4,0,7,0,2,2,9,9,2,8,7,1,0,8] C=1 , END
</scratch>
1440702299287108
| 1440702299287108 | 15 |
Input:
794961318992832+831727664266696
Target:
| Input:
794961318992832+831727664266696
Target:
[7,9,4,9,6,1,3,1,8,9,9,2,8,3,2] + [8,3,1,7,2,7,6,6,4,2,6,6,6,9,6] , A=[] , C=0 , 2+6+0=8 , A->8 , C->0
[7,9,4,9,6,1,3,1,8,9,9,2,8,3] + [8,3,1,7,2,7,6,6,4,2,6,6,6,9] , A=[8] , C=0 , 3+9+0=12 , A->2 , C->1
[7,9,4,9,6,1,3,1,8,9,9,2,8] + [8,3,1,7,2,7,6,6,4,2,6,6,6] , A=[2,8] , C=1 , 8+6+1=15 , A->5 , C->1
[7,9,4,9,6,1,3,1,8,9,9,2] + [8,3,1,7,2,7,6,6,4,2,6,6] , A=[5,2,8] , C=1 , 2+6+1=9 , A->9 , C->0
[7,9,4,9,6,1,3,1,8,9,9] + [8,3,1,7,2,7,6,6,4,2,6] , A=[9,5,2,8] , C=0 , 9+6+0=15 , A->5 , C->1
[7,9,4,9,6,1,3,1,8,9] + [8,3,1,7,2,7,6,6,4,2] , A=[5,9,5,2,8] , C=1 , 9+2+1=12 , A->2 , C->1
[7,9,4,9,6,1,3,1,8] + [8,3,1,7,2,7,6,6,4] , A=[2,5,9,5,2,8] , C=1 , 8+4+1=13 , A->3 , C->1
[7,9,4,9,6,1,3,1] + [8,3,1,7,2,7,6,6] , A=[3,2,5,9,5,2,8] , C=1 , 1+6+1=8 , A->8 , C->0
[7,9,4,9,6,1,3] + [8,3,1,7,2,7,6] , A=[8,3,2,5,9,5,2,8] , C=0 , 3+6+0=9 , A->9 , C->0
[7,9,4,9,6,1] + [8,3,1,7,2,7] , A=[9,8,3,2,5,9,5,2,8] , C=0 , 1+7+0=8 , A->8 , C->0
[7,9,4,9,6] + [8,3,1,7,2] , A=[8,9,8,3,2,5,9,5,2,8] , C=0 , 6+2+0=8 , A->8 , C->0
[7,9,4,9] + [8,3,1,7] , A=[8,8,9,8,3,2,5,9,5,2,8] , C=0 , 9+7+0=16 , A->6 , C->1
[7,9,4] + [8,3,1] , A=[6,8,8,9,8,3,2,5,9,5,2,8] , C=1 , 4+1+1=6 , A->6 , C->0
[7,9] + [8,3] , A=[6,6,8,8,9,8,3,2,5,9,5,2,8] , C=0 , 9+3+0=12 , A->2 , C->1
[7] + [8] , A=[2,6,6,8,8,9,8,3,2,5,9,5,2,8] , C=1 , 7+8+1=16 , A->6 , C->1
[] + [] , A=[6,2,6,6,8,8,9,8,3,2,5,9,5,2,8] C=1 , END
</scratch>
1626688983259528
| 1626688983259528 | 15 |
Input:
205490515412648+399996744063763
Target:
| Input:
205490515412648+399996744063763
Target:
[2,0,5,4,9,0,5,1,5,4,1,2,6,4,8] + [3,9,9,9,9,6,7,4,4,0,6,3,7,6,3] , A=[] , C=0 , 8+3+0=11 , A->1 , C->1
[2,0,5,4,9,0,5,1,5,4,1,2,6,4] + [3,9,9,9,9,6,7,4,4,0,6,3,7,6] , A=[1] , C=1 , 4+6+1=11 , A->1 , C->1
[2,0,5,4,9,0,5,1,5,4,1,2,6] + [3,9,9,9,9,6,7,4,4,0,6,3,7] , A=[1,1] , C=1 , 6+7+1=14 , A->4 , C->1
[2,0,5,4,9,0,5,1,5,4,1,2] + [3,9,9,9,9,6,7,4,4,0,6,3] , A=[4,1,1] , C=1 , 2+3+1=6 , A->6 , C->0
[2,0,5,4,9,0,5,1,5,4,1] + [3,9,9,9,9,6,7,4,4,0,6] , A=[6,4,1,1] , C=0 , 1+6+0=7 , A->7 , C->0
[2,0,5,4,9,0,5,1,5,4] + [3,9,9,9,9,6,7,4,4,0] , A=[7,6,4,1,1] , C=0 , 4+0+0=4 , A->4 , C->0
[2,0,5,4,9,0,5,1,5] + [3,9,9,9,9,6,7,4,4] , A=[4,7,6,4,1,1] , C=0 , 5+4+0=9 , A->9 , C->0
[2,0,5,4,9,0,5,1] + [3,9,9,9,9,6,7,4] , A=[9,4,7,6,4,1,1] , C=0 , 1+4+0=5 , A->5 , C->0
[2,0,5,4,9,0,5] + [3,9,9,9,9,6,7] , A=[5,9,4,7,6,4,1,1] , C=0 , 5+7+0=12 , A->2 , C->1
[2,0,5,4,9,0] + [3,9,9,9,9,6] , A=[2,5,9,4,7,6,4,1,1] , C=1 , 0+6+1=7 , A->7 , C->0
[2,0,5,4,9] + [3,9,9,9,9] , A=[7,2,5,9,4,7,6,4,1,1] , C=0 , 9+9+0=18 , A->8 , C->1
[2,0,5,4] + [3,9,9,9] , A=[8,7,2,5,9,4,7,6,4,1,1] , C=1 , 4+9+1=14 , A->4 , C->1
[2,0,5] + [3,9,9] , A=[4,8,7,2,5,9,4,7,6,4,1,1] , C=1 , 5+9+1=15 , A->5 , C->1
[2,0] + [3,9] , A=[5,4,8,7,2,5,9,4,7,6,4,1,1] , C=1 , 0+9+1=10 , A->0 , C->1
[2] + [3] , A=[0,5,4,8,7,2,5,9,4,7,6,4,1,1] , C=1 , 2+3+1=6 , A->6 , C->0
[] + [] , A=[6,0,5,4,8,7,2,5,9,4,7,6,4,1,1] C=0 , END
</scratch>
605487259476411
| 605487259476411 | 15 |
Input:
882849715889150+239432877164390
Target:
| Input:
882849715889150+239432877164390
Target:
[8,8,2,8,4,9,7,1,5,8,8,9,1,5,0] + [2,3,9,4,3,2,8,7,7,1,6,4,3,9,0] , A=[] , C=0 , 0+0+0=0 , A->0 , C->0
[8,8,2,8,4,9,7,1,5,8,8,9,1,5] + [2,3,9,4,3,2,8,7,7,1,6,4,3,9] , A=[0] , C=0 , 5+9+0=14 , A->4 , C->1
[8,8,2,8,4,9,7,1,5,8,8,9,1] + [2,3,9,4,3,2,8,7,7,1,6,4,3] , A=[4,0] , C=1 , 1+3+1=5 , A->5 , C->0
[8,8,2,8,4,9,7,1,5,8,8,9] + [2,3,9,4,3,2,8,7,7,1,6,4] , A=[5,4,0] , C=0 , 9+4+0=13 , A->3 , C->1
[8,8,2,8,4,9,7,1,5,8,8] + [2,3,9,4,3,2,8,7,7,1,6] , A=[3,5,4,0] , C=1 , 8+6+1=15 , A->5 , C->1
[8,8,2,8,4,9,7,1,5,8] + [2,3,9,4,3,2,8,7,7,1] , A=[5,3,5,4,0] , C=1 , 8+1+1=10 , A->0 , C->1
[8,8,2,8,4,9,7,1,5] + [2,3,9,4,3,2,8,7,7] , A=[0,5,3,5,4,0] , C=1 , 5+7+1=13 , A->3 , C->1
[8,8,2,8,4,9,7,1] + [2,3,9,4,3,2,8,7] , A=[3,0,5,3,5,4,0] , C=1 , 1+7+1=9 , A->9 , C->0
[8,8,2,8,4,9,7] + [2,3,9,4,3,2,8] , A=[9,3,0,5,3,5,4,0] , C=0 , 7+8+0=15 , A->5 , C->1
[8,8,2,8,4,9] + [2,3,9,4,3,2] , A=[5,9,3,0,5,3,5,4,0] , C=1 , 9+2+1=12 , A->2 , C->1
[8,8,2,8,4] + [2,3,9,4,3] , A=[2,5,9,3,0,5,3,5,4,0] , C=1 , 4+3+1=8 , A->8 , C->0
[8,8,2,8] + [2,3,9,4] , A=[8,2,5,9,3,0,5,3,5,4,0] , C=0 , 8+4+0=12 , A->2 , C->1
[8,8,2] + [2,3,9] , A=[2,8,2,5,9,3,0,5,3,5,4,0] , C=1 , 2+9+1=12 , A->2 , C->1
[8,8] + [2,3] , A=[2,2,8,2,5,9,3,0,5,3,5,4,0] , C=1 , 8+3+1=12 , A->2 , C->1
[8] + [2] , A=[2,2,2,8,2,5,9,3,0,5,3,5,4,0] , C=1 , 8+2+1=11 , A->1 , C->1
[] + [] , A=[1,2,2,2,8,2,5,9,3,0,5,3,5,4,0] C=1 , END
</scratch>
1122282593053540
| 1122282593053540 | 15 |
Input:
753151995674343+234593931533993
Target:
| Input:
753151995674343+234593931533993
Target:
[7,5,3,1,5,1,9,9,5,6,7,4,3,4,3] + [2,3,4,5,9,3,9,3,1,5,3,3,9,9,3] , A=[] , C=0 , 3+3+0=6 , A->6 , C->0
[7,5,3,1,5,1,9,9,5,6,7,4,3,4] + [2,3,4,5,9,3,9,3,1,5,3,3,9,9] , A=[6] , C=0 , 4+9+0=13 , A->3 , C->1
[7,5,3,1,5,1,9,9,5,6,7,4,3] + [2,3,4,5,9,3,9,3,1,5,3,3,9] , A=[3,6] , C=1 , 3+9+1=13 , A->3 , C->1
[7,5,3,1,5,1,9,9,5,6,7,4] + [2,3,4,5,9,3,9,3,1,5,3,3] , A=[3,3,6] , C=1 , 4+3+1=8 , A->8 , C->0
[7,5,3,1,5,1,9,9,5,6,7] + [2,3,4,5,9,3,9,3,1,5,3] , A=[8,3,3,6] , C=0 , 7+3+0=10 , A->0 , C->1
[7,5,3,1,5,1,9,9,5,6] + [2,3,4,5,9,3,9,3,1,5] , A=[0,8,3,3,6] , C=1 , 6+5+1=12 , A->2 , C->1
[7,5,3,1,5,1,9,9,5] + [2,3,4,5,9,3,9,3,1] , A=[2,0,8,3,3,6] , C=1 , 5+1+1=7 , A->7 , C->0
[7,5,3,1,5,1,9,9] + [2,3,4,5,9,3,9,3] , A=[7,2,0,8,3,3,6] , C=0 , 9+3+0=12 , A->2 , C->1
[7,5,3,1,5,1,9] + [2,3,4,5,9,3,9] , A=[2,7,2,0,8,3,3,6] , C=1 , 9+9+1=19 , A->9 , C->1
[7,5,3,1,5,1] + [2,3,4,5,9,3] , A=[9,2,7,2,0,8,3,3,6] , C=1 , 1+3+1=5 , A->5 , C->0
[7,5,3,1,5] + [2,3,4,5,9] , A=[5,9,2,7,2,0,8,3,3,6] , C=0 , 5+9+0=14 , A->4 , C->1
[7,5,3,1] + [2,3,4,5] , A=[4,5,9,2,7,2,0,8,3,3,6] , C=1 , 1+5+1=7 , A->7 , C->0
[7,5,3] + [2,3,4] , A=[7,4,5,9,2,7,2,0,8,3,3,6] , C=0 , 3+4+0=7 , A->7 , C->0
[7,5] + [2,3] , A=[7,7,4,5,9,2,7,2,0,8,3,3,6] , C=0 , 5+3+0=8 , A->8 , C->0
[7] + [2] , A=[8,7,7,4,5,9,2,7,2,0,8,3,3,6] , C=0 , 7+2+0=9 , A->9 , C->0
[] + [] , A=[9,8,7,7,4,5,9,2,7,2,0,8,3,3,6] C=0 , END
</scratch>
987745927208336
| 987745927208336 | 15 |