input_test
stringlengths 47
47
| scratchpad
stringlengths 1.45k
1.46k
| result_final
stringlengths 15
16
| y_digits
int64 15
15
|
---|---|---|---|
Input:
985206886212125+451124387840860
Target:
| Input:
985206886212125+451124387840860
Target:
[9,8,5,2,0,6,8,8,6,2,1,2,1,2,5] + [4,5,1,1,2,4,3,8,7,8,4,0,8,6,0] , A=[] , C=0 , 5+0+0=5 , A->5 , C->0
[9,8,5,2,0,6,8,8,6,2,1,2,1,2] + [4,5,1,1,2,4,3,8,7,8,4,0,8,6] , A=[5] , C=0 , 2+6+0=8 , A->8 , C->0
[9,8,5,2,0,6,8,8,6,2,1,2,1] + [4,5,1,1,2,4,3,8,7,8,4,0,8] , A=[8,5] , C=0 , 1+8+0=9 , A->9 , C->0
[9,8,5,2,0,6,8,8,6,2,1,2] + [4,5,1,1,2,4,3,8,7,8,4,0] , A=[9,8,5] , C=0 , 2+0+0=2 , A->2 , C->0
[9,8,5,2,0,6,8,8,6,2,1] + [4,5,1,1,2,4,3,8,7,8,4] , A=[2,9,8,5] , C=0 , 1+4+0=5 , A->5 , C->0
[9,8,5,2,0,6,8,8,6,2] + [4,5,1,1,2,4,3,8,7,8] , A=[5,2,9,8,5] , C=0 , 2+8+0=10 , A->0 , C->1
[9,8,5,2,0,6,8,8,6] + [4,5,1,1,2,4,3,8,7] , A=[0,5,2,9,8,5] , C=1 , 6+7+1=14 , A->4 , C->1
[9,8,5,2,0,6,8,8] + [4,5,1,1,2,4,3,8] , A=[4,0,5,2,9,8,5] , C=1 , 8+8+1=17 , A->7 , C->1
[9,8,5,2,0,6,8] + [4,5,1,1,2,4,3] , A=[7,4,0,5,2,9,8,5] , C=1 , 8+3+1=12 , A->2 , C->1
[9,8,5,2,0,6] + [4,5,1,1,2,4] , A=[2,7,4,0,5,2,9,8,5] , C=1 , 6+4+1=11 , A->1 , C->1
[9,8,5,2,0] + [4,5,1,1,2] , A=[1,2,7,4,0,5,2,9,8,5] , C=1 , 0+2+1=3 , A->3 , C->0
[9,8,5,2] + [4,5,1,1] , A=[3,1,2,7,4,0,5,2,9,8,5] , C=0 , 2+1+0=3 , A->3 , C->0
[9,8,5] + [4,5,1] , A=[3,3,1,2,7,4,0,5,2,9,8,5] , C=0 , 5+1+0=6 , A->6 , C->0
[9,8] + [4,5] , A=[6,3,3,1,2,7,4,0,5,2,9,8,5] , C=0 , 8+5+0=13 , A->3 , C->1
[9] + [4] , A=[3,6,3,3,1,2,7,4,0,5,2,9,8,5] , C=1 , 9+4+1=14 , A->4 , C->1
[] + [] , A=[4,3,6,3,3,1,2,7,4,0,5,2,9,8,5] C=1 , END
</scratch>
1436331274052985
| 1436331274052985 | 15 |
Input:
549822688595679+183047145188589
Target:
| Input:
549822688595679+183047145188589
Target:
[5,4,9,8,2,2,6,8,8,5,9,5,6,7,9] + [1,8,3,0,4,7,1,4,5,1,8,8,5,8,9] , A=[] , C=0 , 9+9+0=18 , A->8 , C->1
[5,4,9,8,2,2,6,8,8,5,9,5,6,7] + [1,8,3,0,4,7,1,4,5,1,8,8,5,8] , A=[8] , C=1 , 7+8+1=16 , A->6 , C->1
[5,4,9,8,2,2,6,8,8,5,9,5,6] + [1,8,3,0,4,7,1,4,5,1,8,8,5] , A=[6,8] , C=1 , 6+5+1=12 , A->2 , C->1
[5,4,9,8,2,2,6,8,8,5,9,5] + [1,8,3,0,4,7,1,4,5,1,8,8] , A=[2,6,8] , C=1 , 5+8+1=14 , A->4 , C->1
[5,4,9,8,2,2,6,8,8,5,9] + [1,8,3,0,4,7,1,4,5,1,8] , A=[4,2,6,8] , C=1 , 9+8+1=18 , A->8 , C->1
[5,4,9,8,2,2,6,8,8,5] + [1,8,3,0,4,7,1,4,5,1] , A=[8,4,2,6,8] , C=1 , 5+1+1=7 , A->7 , C->0
[5,4,9,8,2,2,6,8,8] + [1,8,3,0,4,7,1,4,5] , A=[7,8,4,2,6,8] , C=0 , 8+5+0=13 , A->3 , C->1
[5,4,9,8,2,2,6,8] + [1,8,3,0,4,7,1,4] , A=[3,7,8,4,2,6,8] , C=1 , 8+4+1=13 , A->3 , C->1
[5,4,9,8,2,2,6] + [1,8,3,0,4,7,1] , A=[3,3,7,8,4,2,6,8] , C=1 , 6+1+1=8 , A->8 , C->0
[5,4,9,8,2,2] + [1,8,3,0,4,7] , A=[8,3,3,7,8,4,2,6,8] , C=0 , 2+7+0=9 , A->9 , C->0
[5,4,9,8,2] + [1,8,3,0,4] , A=[9,8,3,3,7,8,4,2,6,8] , C=0 , 2+4+0=6 , A->6 , C->0
[5,4,9,8] + [1,8,3,0] , A=[6,9,8,3,3,7,8,4,2,6,8] , C=0 , 8+0+0=8 , A->8 , C->0
[5,4,9] + [1,8,3] , A=[8,6,9,8,3,3,7,8,4,2,6,8] , C=0 , 9+3+0=12 , A->2 , C->1
[5,4] + [1,8] , A=[2,8,6,9,8,3,3,7,8,4,2,6,8] , C=1 , 4+8+1=13 , A->3 , C->1
[5] + [1] , A=[3,2,8,6,9,8,3,3,7,8,4,2,6,8] , C=1 , 5+1+1=7 , A->7 , C->0
[] + [] , A=[7,3,2,8,6,9,8,3,3,7,8,4,2,6,8] C=0 , END
</scratch>
732869833784268
| 732869833784268 | 15 |
Input:
724918450555500+887986708537648
Target:
| Input:
724918450555500+887986708537648
Target:
[7,2,4,9,1,8,4,5,0,5,5,5,5,0,0] + [8,8,7,9,8,6,7,0,8,5,3,7,6,4,8] , A=[] , C=0 , 0+8+0=8 , A->8 , C->0
[7,2,4,9,1,8,4,5,0,5,5,5,5,0] + [8,8,7,9,8,6,7,0,8,5,3,7,6,4] , A=[8] , C=0 , 0+4+0=4 , A->4 , C->0
[7,2,4,9,1,8,4,5,0,5,5,5,5] + [8,8,7,9,8,6,7,0,8,5,3,7,6] , A=[4,8] , C=0 , 5+6+0=11 , A->1 , C->1
[7,2,4,9,1,8,4,5,0,5,5,5] + [8,8,7,9,8,6,7,0,8,5,3,7] , A=[1,4,8] , C=1 , 5+7+1=13 , A->3 , C->1
[7,2,4,9,1,8,4,5,0,5,5] + [8,8,7,9,8,6,7,0,8,5,3] , A=[3,1,4,8] , C=1 , 5+3+1=9 , A->9 , C->0
[7,2,4,9,1,8,4,5,0,5] + [8,8,7,9,8,6,7,0,8,5] , A=[9,3,1,4,8] , C=0 , 5+5+0=10 , A->0 , C->1
[7,2,4,9,1,8,4,5,0] + [8,8,7,9,8,6,7,0,8] , A=[0,9,3,1,4,8] , C=1 , 0+8+1=9 , A->9 , C->0
[7,2,4,9,1,8,4,5] + [8,8,7,9,8,6,7,0] , A=[9,0,9,3,1,4,8] , C=0 , 5+0+0=5 , A->5 , C->0
[7,2,4,9,1,8,4] + [8,8,7,9,8,6,7] , A=[5,9,0,9,3,1,4,8] , C=0 , 4+7+0=11 , A->1 , C->1
[7,2,4,9,1,8] + [8,8,7,9,8,6] , A=[1,5,9,0,9,3,1,4,8] , C=1 , 8+6+1=15 , A->5 , C->1
[7,2,4,9,1] + [8,8,7,9,8] , A=[5,1,5,9,0,9,3,1,4,8] , C=1 , 1+8+1=10 , A->0 , C->1
[7,2,4,9] + [8,8,7,9] , A=[0,5,1,5,9,0,9,3,1,4,8] , C=1 , 9+9+1=19 , A->9 , C->1
[7,2,4] + [8,8,7] , A=[9,0,5,1,5,9,0,9,3,1,4,8] , C=1 , 4+7+1=12 , A->2 , C->1
[7,2] + [8,8] , A=[2,9,0,5,1,5,9,0,9,3,1,4,8] , C=1 , 2+8+1=11 , A->1 , C->1
[7] + [8] , A=[1,2,9,0,5,1,5,9,0,9,3,1,4,8] , C=1 , 7+8+1=16 , A->6 , C->1
[] + [] , A=[6,1,2,9,0,5,1,5,9,0,9,3,1,4,8] C=1 , END
</scratch>
1612905159093148
| 1612905159093148 | 15 |
Input:
413317799378195+873488137638872
Target:
| Input:
413317799378195+873488137638872
Target:
[4,1,3,3,1,7,7,9,9,3,7,8,1,9,5] + [8,7,3,4,8,8,1,3,7,6,3,8,8,7,2] , A=[] , C=0 , 5+2+0=7 , A->7 , C->0
[4,1,3,3,1,7,7,9,9,3,7,8,1,9] + [8,7,3,4,8,8,1,3,7,6,3,8,8,7] , A=[7] , C=0 , 9+7+0=16 , A->6 , C->1
[4,1,3,3,1,7,7,9,9,3,7,8,1] + [8,7,3,4,8,8,1,3,7,6,3,8,8] , A=[6,7] , C=1 , 1+8+1=10 , A->0 , C->1
[4,1,3,3,1,7,7,9,9,3,7,8] + [8,7,3,4,8,8,1,3,7,6,3,8] , A=[0,6,7] , C=1 , 8+8+1=17 , A->7 , C->1
[4,1,3,3,1,7,7,9,9,3,7] + [8,7,3,4,8,8,1,3,7,6,3] , A=[7,0,6,7] , C=1 , 7+3+1=11 , A->1 , C->1
[4,1,3,3,1,7,7,9,9,3] + [8,7,3,4,8,8,1,3,7,6] , A=[1,7,0,6,7] , C=1 , 3+6+1=10 , A->0 , C->1
[4,1,3,3,1,7,7,9,9] + [8,7,3,4,8,8,1,3,7] , A=[0,1,7,0,6,7] , C=1 , 9+7+1=17 , A->7 , C->1
[4,1,3,3,1,7,7,9] + [8,7,3,4,8,8,1,3] , A=[7,0,1,7,0,6,7] , C=1 , 9+3+1=13 , A->3 , C->1
[4,1,3,3,1,7,7] + [8,7,3,4,8,8,1] , A=[3,7,0,1,7,0,6,7] , C=1 , 7+1+1=9 , A->9 , C->0
[4,1,3,3,1,7] + [8,7,3,4,8,8] , A=[9,3,7,0,1,7,0,6,7] , C=0 , 7+8+0=15 , A->5 , C->1
[4,1,3,3,1] + [8,7,3,4,8] , A=[5,9,3,7,0,1,7,0,6,7] , C=1 , 1+8+1=10 , A->0 , C->1
[4,1,3,3] + [8,7,3,4] , A=[0,5,9,3,7,0,1,7,0,6,7] , C=1 , 3+4+1=8 , A->8 , C->0
[4,1,3] + [8,7,3] , A=[8,0,5,9,3,7,0,1,7,0,6,7] , C=0 , 3+3+0=6 , A->6 , C->0
[4,1] + [8,7] , A=[6,8,0,5,9,3,7,0,1,7,0,6,7] , C=0 , 1+7+0=8 , A->8 , C->0
[4] + [8] , A=[8,6,8,0,5,9,3,7,0,1,7,0,6,7] , C=0 , 4+8+0=12 , A->2 , C->1
[] + [] , A=[2,8,6,8,0,5,9,3,7,0,1,7,0,6,7] C=1 , END
</scratch>
1286805937017067
| 1286805937017067 | 15 |
Input:
234030597584301+443837459405394
Target:
| Input:
234030597584301+443837459405394
Target:
[2,3,4,0,3,0,5,9,7,5,8,4,3,0,1] + [4,4,3,8,3,7,4,5,9,4,0,5,3,9,4] , A=[] , C=0 , 1+4+0=5 , A->5 , C->0
[2,3,4,0,3,0,5,9,7,5,8,4,3,0] + [4,4,3,8,3,7,4,5,9,4,0,5,3,9] , A=[5] , C=0 , 0+9+0=9 , A->9 , C->0
[2,3,4,0,3,0,5,9,7,5,8,4,3] + [4,4,3,8,3,7,4,5,9,4,0,5,3] , A=[9,5] , C=0 , 3+3+0=6 , A->6 , C->0
[2,3,4,0,3,0,5,9,7,5,8,4] + [4,4,3,8,3,7,4,5,9,4,0,5] , A=[6,9,5] , C=0 , 4+5+0=9 , A->9 , C->0
[2,3,4,0,3,0,5,9,7,5,8] + [4,4,3,8,3,7,4,5,9,4,0] , A=[9,6,9,5] , C=0 , 8+0+0=8 , A->8 , C->0
[2,3,4,0,3,0,5,9,7,5] + [4,4,3,8,3,7,4,5,9,4] , A=[8,9,6,9,5] , C=0 , 5+4+0=9 , A->9 , C->0
[2,3,4,0,3,0,5,9,7] + [4,4,3,8,3,7,4,5,9] , A=[9,8,9,6,9,5] , C=0 , 7+9+0=16 , A->6 , C->1
[2,3,4,0,3,0,5,9] + [4,4,3,8,3,7,4,5] , A=[6,9,8,9,6,9,5] , C=1 , 9+5+1=15 , A->5 , C->1
[2,3,4,0,3,0,5] + [4,4,3,8,3,7,4] , A=[5,6,9,8,9,6,9,5] , C=1 , 5+4+1=10 , A->0 , C->1
[2,3,4,0,3,0] + [4,4,3,8,3,7] , A=[0,5,6,9,8,9,6,9,5] , C=1 , 0+7+1=8 , A->8 , C->0
[2,3,4,0,3] + [4,4,3,8,3] , A=[8,0,5,6,9,8,9,6,9,5] , C=0 , 3+3+0=6 , A->6 , C->0
[2,3,4,0] + [4,4,3,8] , A=[6,8,0,5,6,9,8,9,6,9,5] , C=0 , 0+8+0=8 , A->8 , C->0
[2,3,4] + [4,4,3] , A=[8,6,8,0,5,6,9,8,9,6,9,5] , C=0 , 4+3+0=7 , A->7 , C->0
[2,3] + [4,4] , A=[7,8,6,8,0,5,6,9,8,9,6,9,5] , C=0 , 3+4+0=7 , A->7 , C->0
[2] + [4] , A=[7,7,8,6,8,0,5,6,9,8,9,6,9,5] , C=0 , 2+4+0=6 , A->6 , C->0
[] + [] , A=[6,7,7,8,6,8,0,5,6,9,8,9,6,9,5] C=0 , END
</scratch>
677868056989695
| 677868056989695 | 15 |
Input:
784848212582916+426539007890967
Target:
| Input:
784848212582916+426539007890967
Target:
[7,8,4,8,4,8,2,1,2,5,8,2,9,1,6] + [4,2,6,5,3,9,0,0,7,8,9,0,9,6,7] , A=[] , C=0 , 6+7+0=13 , A->3 , C->1
[7,8,4,8,4,8,2,1,2,5,8,2,9,1] + [4,2,6,5,3,9,0,0,7,8,9,0,9,6] , A=[3] , C=1 , 1+6+1=8 , A->8 , C->0
[7,8,4,8,4,8,2,1,2,5,8,2,9] + [4,2,6,5,3,9,0,0,7,8,9,0,9] , A=[8,3] , C=0 , 9+9+0=18 , A->8 , C->1
[7,8,4,8,4,8,2,1,2,5,8,2] + [4,2,6,5,3,9,0,0,7,8,9,0] , A=[8,8,3] , C=1 , 2+0+1=3 , A->3 , C->0
[7,8,4,8,4,8,2,1,2,5,8] + [4,2,6,5,3,9,0,0,7,8,9] , A=[3,8,8,3] , C=0 , 8+9+0=17 , A->7 , C->1
[7,8,4,8,4,8,2,1,2,5] + [4,2,6,5,3,9,0,0,7,8] , A=[7,3,8,8,3] , C=1 , 5+8+1=14 , A->4 , C->1
[7,8,4,8,4,8,2,1,2] + [4,2,6,5,3,9,0,0,7] , A=[4,7,3,8,8,3] , C=1 , 2+7+1=10 , A->0 , C->1
[7,8,4,8,4,8,2,1] + [4,2,6,5,3,9,0,0] , A=[0,4,7,3,8,8,3] , C=1 , 1+0+1=2 , A->2 , C->0
[7,8,4,8,4,8,2] + [4,2,6,5,3,9,0] , A=[2,0,4,7,3,8,8,3] , C=0 , 2+0+0=2 , A->2 , C->0
[7,8,4,8,4,8] + [4,2,6,5,3,9] , A=[2,2,0,4,7,3,8,8,3] , C=0 , 8+9+0=17 , A->7 , C->1
[7,8,4,8,4] + [4,2,6,5,3] , A=[7,2,2,0,4,7,3,8,8,3] , C=1 , 4+3+1=8 , A->8 , C->0
[7,8,4,8] + [4,2,6,5] , A=[8,7,2,2,0,4,7,3,8,8,3] , C=0 , 8+5+0=13 , A->3 , C->1
[7,8,4] + [4,2,6] , A=[3,8,7,2,2,0,4,7,3,8,8,3] , C=1 , 4+6+1=11 , A->1 , C->1
[7,8] + [4,2] , A=[1,3,8,7,2,2,0,4,7,3,8,8,3] , C=1 , 8+2+1=11 , A->1 , C->1
[7] + [4] , A=[1,1,3,8,7,2,2,0,4,7,3,8,8,3] , C=1 , 7+4+1=12 , A->2 , C->1
[] + [] , A=[2,1,1,3,8,7,2,2,0,4,7,3,8,8,3] C=1 , END
</scratch>
1211387220473883
| 1211387220473883 | 15 |
Input:
134950773649270+976154446335679
Target:
| Input:
134950773649270+976154446335679
Target:
[1,3,4,9,5,0,7,7,3,6,4,9,2,7,0] + [9,7,6,1,5,4,4,4,6,3,3,5,6,7,9] , A=[] , C=0 , 0+9+0=9 , A->9 , C->0
[1,3,4,9,5,0,7,7,3,6,4,9,2,7] + [9,7,6,1,5,4,4,4,6,3,3,5,6,7] , A=[9] , C=0 , 7+7+0=14 , A->4 , C->1
[1,3,4,9,5,0,7,7,3,6,4,9,2] + [9,7,6,1,5,4,4,4,6,3,3,5,6] , A=[4,9] , C=1 , 2+6+1=9 , A->9 , C->0
[1,3,4,9,5,0,7,7,3,6,4,9] + [9,7,6,1,5,4,4,4,6,3,3,5] , A=[9,4,9] , C=0 , 9+5+0=14 , A->4 , C->1
[1,3,4,9,5,0,7,7,3,6,4] + [9,7,6,1,5,4,4,4,6,3,3] , A=[4,9,4,9] , C=1 , 4+3+1=8 , A->8 , C->0
[1,3,4,9,5,0,7,7,3,6] + [9,7,6,1,5,4,4,4,6,3] , A=[8,4,9,4,9] , C=0 , 6+3+0=9 , A->9 , C->0
[1,3,4,9,5,0,7,7,3] + [9,7,6,1,5,4,4,4,6] , A=[9,8,4,9,4,9] , C=0 , 3+6+0=9 , A->9 , C->0
[1,3,4,9,5,0,7,7] + [9,7,6,1,5,4,4,4] , A=[9,9,8,4,9,4,9] , C=0 , 7+4+0=11 , A->1 , C->1
[1,3,4,9,5,0,7] + [9,7,6,1,5,4,4] , A=[1,9,9,8,4,9,4,9] , C=1 , 7+4+1=12 , A->2 , C->1
[1,3,4,9,5,0] + [9,7,6,1,5,4] , A=[2,1,9,9,8,4,9,4,9] , C=1 , 0+4+1=5 , A->5 , C->0
[1,3,4,9,5] + [9,7,6,1,5] , A=[5,2,1,9,9,8,4,9,4,9] , C=0 , 5+5+0=10 , A->0 , C->1
[1,3,4,9] + [9,7,6,1] , A=[0,5,2,1,9,9,8,4,9,4,9] , C=1 , 9+1+1=11 , A->1 , C->1
[1,3,4] + [9,7,6] , A=[1,0,5,2,1,9,9,8,4,9,4,9] , C=1 , 4+6+1=11 , A->1 , C->1
[1,3] + [9,7] , A=[1,1,0,5,2,1,9,9,8,4,9,4,9] , C=1 , 3+7+1=11 , A->1 , C->1
[1] + [9] , A=[1,1,1,0,5,2,1,9,9,8,4,9,4,9] , C=1 , 1+9+1=11 , A->1 , C->1
[] + [] , A=[1,1,1,1,0,5,2,1,9,9,8,4,9,4,9] C=1 , END
</scratch>
1111105219984949
| 1111105219984949 | 15 |
Input:
970312012793009+182785442688262
Target:
| Input:
970312012793009+182785442688262
Target:
[9,7,0,3,1,2,0,1,2,7,9,3,0,0,9] + [1,8,2,7,8,5,4,4,2,6,8,8,2,6,2] , A=[] , C=0 , 9+2+0=11 , A->1 , C->1
[9,7,0,3,1,2,0,1,2,7,9,3,0,0] + [1,8,2,7,8,5,4,4,2,6,8,8,2,6] , A=[1] , C=1 , 0+6+1=7 , A->7 , C->0
[9,7,0,3,1,2,0,1,2,7,9,3,0] + [1,8,2,7,8,5,4,4,2,6,8,8,2] , A=[7,1] , C=0 , 0+2+0=2 , A->2 , C->0
[9,7,0,3,1,2,0,1,2,7,9,3] + [1,8,2,7,8,5,4,4,2,6,8,8] , A=[2,7,1] , C=0 , 3+8+0=11 , A->1 , C->1
[9,7,0,3,1,2,0,1,2,7,9] + [1,8,2,7,8,5,4,4,2,6,8] , A=[1,2,7,1] , C=1 , 9+8+1=18 , A->8 , C->1
[9,7,0,3,1,2,0,1,2,7] + [1,8,2,7,8,5,4,4,2,6] , A=[8,1,2,7,1] , C=1 , 7+6+1=14 , A->4 , C->1
[9,7,0,3,1,2,0,1,2] + [1,8,2,7,8,5,4,4,2] , A=[4,8,1,2,7,1] , C=1 , 2+2+1=5 , A->5 , C->0
[9,7,0,3,1,2,0,1] + [1,8,2,7,8,5,4,4] , A=[5,4,8,1,2,7,1] , C=0 , 1+4+0=5 , A->5 , C->0
[9,7,0,3,1,2,0] + [1,8,2,7,8,5,4] , A=[5,5,4,8,1,2,7,1] , C=0 , 0+4+0=4 , A->4 , C->0
[9,7,0,3,1,2] + [1,8,2,7,8,5] , A=[4,5,5,4,8,1,2,7,1] , C=0 , 2+5+0=7 , A->7 , C->0
[9,7,0,3,1] + [1,8,2,7,8] , A=[7,4,5,5,4,8,1,2,7,1] , C=0 , 1+8+0=9 , A->9 , C->0
[9,7,0,3] + [1,8,2,7] , A=[9,7,4,5,5,4,8,1,2,7,1] , C=0 , 3+7+0=10 , A->0 , C->1
[9,7,0] + [1,8,2] , A=[0,9,7,4,5,5,4,8,1,2,7,1] , C=1 , 0+2+1=3 , A->3 , C->0
[9,7] + [1,8] , A=[3,0,9,7,4,5,5,4,8,1,2,7,1] , C=0 , 7+8+0=15 , A->5 , C->1
[9] + [1] , A=[5,3,0,9,7,4,5,5,4,8,1,2,7,1] , C=1 , 9+1+1=11 , A->1 , C->1
[] + [] , A=[1,5,3,0,9,7,4,5,5,4,8,1,2,7,1] C=1 , END
</scratch>
1153097455481271
| 1153097455481271 | 15 |
Input:
497231697160484+147681474862337
Target:
| Input:
497231697160484+147681474862337
Target:
[4,9,7,2,3,1,6,9,7,1,6,0,4,8,4] + [1,4,7,6,8,1,4,7,4,8,6,2,3,3,7] , A=[] , C=0 , 4+7+0=11 , A->1 , C->1
[4,9,7,2,3,1,6,9,7,1,6,0,4,8] + [1,4,7,6,8,1,4,7,4,8,6,2,3,3] , A=[1] , C=1 , 8+3+1=12 , A->2 , C->1
[4,9,7,2,3,1,6,9,7,1,6,0,4] + [1,4,7,6,8,1,4,7,4,8,6,2,3] , A=[2,1] , C=1 , 4+3+1=8 , A->8 , C->0
[4,9,7,2,3,1,6,9,7,1,6,0] + [1,4,7,6,8,1,4,7,4,8,6,2] , A=[8,2,1] , C=0 , 0+2+0=2 , A->2 , C->0
[4,9,7,2,3,1,6,9,7,1,6] + [1,4,7,6,8,1,4,7,4,8,6] , A=[2,8,2,1] , C=0 , 6+6+0=12 , A->2 , C->1
[4,9,7,2,3,1,6,9,7,1] + [1,4,7,6,8,1,4,7,4,8] , A=[2,2,8,2,1] , C=1 , 1+8+1=10 , A->0 , C->1
[4,9,7,2,3,1,6,9,7] + [1,4,7,6,8,1,4,7,4] , A=[0,2,2,8,2,1] , C=1 , 7+4+1=12 , A->2 , C->1
[4,9,7,2,3,1,6,9] + [1,4,7,6,8,1,4,7] , A=[2,0,2,2,8,2,1] , C=1 , 9+7+1=17 , A->7 , C->1
[4,9,7,2,3,1,6] + [1,4,7,6,8,1,4] , A=[7,2,0,2,2,8,2,1] , C=1 , 6+4+1=11 , A->1 , C->1
[4,9,7,2,3,1] + [1,4,7,6,8,1] , A=[1,7,2,0,2,2,8,2,1] , C=1 , 1+1+1=3 , A->3 , C->0
[4,9,7,2,3] + [1,4,7,6,8] , A=[3,1,7,2,0,2,2,8,2,1] , C=0 , 3+8+0=11 , A->1 , C->1
[4,9,7,2] + [1,4,7,6] , A=[1,3,1,7,2,0,2,2,8,2,1] , C=1 , 2+6+1=9 , A->9 , C->0
[4,9,7] + [1,4,7] , A=[9,1,3,1,7,2,0,2,2,8,2,1] , C=0 , 7+7+0=14 , A->4 , C->1
[4,9] + [1,4] , A=[4,9,1,3,1,7,2,0,2,2,8,2,1] , C=1 , 9+4+1=14 , A->4 , C->1
[4] + [1] , A=[4,4,9,1,3,1,7,2,0,2,2,8,2,1] , C=1 , 4+1+1=6 , A->6 , C->0
[] + [] , A=[6,4,4,9,1,3,1,7,2,0,2,2,8,2,1] C=0 , END
</scratch>
644913172022821
| 644913172022821 | 15 |
Input:
795118100974206+285704103083575
Target:
| Input:
795118100974206+285704103083575
Target:
[7,9,5,1,1,8,1,0,0,9,7,4,2,0,6] + [2,8,5,7,0,4,1,0,3,0,8,3,5,7,5] , A=[] , C=0 , 6+5+0=11 , A->1 , C->1
[7,9,5,1,1,8,1,0,0,9,7,4,2,0] + [2,8,5,7,0,4,1,0,3,0,8,3,5,7] , A=[1] , C=1 , 0+7+1=8 , A->8 , C->0
[7,9,5,1,1,8,1,0,0,9,7,4,2] + [2,8,5,7,0,4,1,0,3,0,8,3,5] , A=[8,1] , C=0 , 2+5+0=7 , A->7 , C->0
[7,9,5,1,1,8,1,0,0,9,7,4] + [2,8,5,7,0,4,1,0,3,0,8,3] , A=[7,8,1] , C=0 , 4+3+0=7 , A->7 , C->0
[7,9,5,1,1,8,1,0,0,9,7] + [2,8,5,7,0,4,1,0,3,0,8] , A=[7,7,8,1] , C=0 , 7+8+0=15 , A->5 , C->1
[7,9,5,1,1,8,1,0,0,9] + [2,8,5,7,0,4,1,0,3,0] , A=[5,7,7,8,1] , C=1 , 9+0+1=10 , A->0 , C->1
[7,9,5,1,1,8,1,0,0] + [2,8,5,7,0,4,1,0,3] , A=[0,5,7,7,8,1] , C=1 , 0+3+1=4 , A->4 , C->0
[7,9,5,1,1,8,1,0] + [2,8,5,7,0,4,1,0] , A=[4,0,5,7,7,8,1] , C=0 , 0+0+0=0 , A->0 , C->0
[7,9,5,1,1,8,1] + [2,8,5,7,0,4,1] , A=[0,4,0,5,7,7,8,1] , C=0 , 1+1+0=2 , A->2 , C->0
[7,9,5,1,1,8] + [2,8,5,7,0,4] , A=[2,0,4,0,5,7,7,8,1] , C=0 , 8+4+0=12 , A->2 , C->1
[7,9,5,1,1] + [2,8,5,7,0] , A=[2,2,0,4,0,5,7,7,8,1] , C=1 , 1+0+1=2 , A->2 , C->0
[7,9,5,1] + [2,8,5,7] , A=[2,2,2,0,4,0,5,7,7,8,1] , C=0 , 1+7+0=8 , A->8 , C->0
[7,9,5] + [2,8,5] , A=[8,2,2,2,0,4,0,5,7,7,8,1] , C=0 , 5+5+0=10 , A->0 , C->1
[7,9] + [2,8] , A=[0,8,2,2,2,0,4,0,5,7,7,8,1] , C=1 , 9+8+1=18 , A->8 , C->1
[7] + [2] , A=[8,0,8,2,2,2,0,4,0,5,7,7,8,1] , C=1 , 7+2+1=10 , A->0 , C->1
[] + [] , A=[0,8,0,8,2,2,2,0,4,0,5,7,7,8,1] C=1 , END
</scratch>
1080822204057781
| 1080822204057781 | 15 |
Input:
113869837433534+428443201181428
Target:
| Input:
113869837433534+428443201181428
Target:
[1,1,3,8,6,9,8,3,7,4,3,3,5,3,4] + [4,2,8,4,4,3,2,0,1,1,8,1,4,2,8] , A=[] , C=0 , 4+8+0=12 , A->2 , C->1
[1,1,3,8,6,9,8,3,7,4,3,3,5,3] + [4,2,8,4,4,3,2,0,1,1,8,1,4,2] , A=[2] , C=1 , 3+2+1=6 , A->6 , C->0
[1,1,3,8,6,9,8,3,7,4,3,3,5] + [4,2,8,4,4,3,2,0,1,1,8,1,4] , A=[6,2] , C=0 , 5+4+0=9 , A->9 , C->0
[1,1,3,8,6,9,8,3,7,4,3,3] + [4,2,8,4,4,3,2,0,1,1,8,1] , A=[9,6,2] , C=0 , 3+1+0=4 , A->4 , C->0
[1,1,3,8,6,9,8,3,7,4,3] + [4,2,8,4,4,3,2,0,1,1,8] , A=[4,9,6,2] , C=0 , 3+8+0=11 , A->1 , C->1
[1,1,3,8,6,9,8,3,7,4] + [4,2,8,4,4,3,2,0,1,1] , A=[1,4,9,6,2] , C=1 , 4+1+1=6 , A->6 , C->0
[1,1,3,8,6,9,8,3,7] + [4,2,8,4,4,3,2,0,1] , A=[6,1,4,9,6,2] , C=0 , 7+1+0=8 , A->8 , C->0
[1,1,3,8,6,9,8,3] + [4,2,8,4,4,3,2,0] , A=[8,6,1,4,9,6,2] , C=0 , 3+0+0=3 , A->3 , C->0
[1,1,3,8,6,9,8] + [4,2,8,4,4,3,2] , A=[3,8,6,1,4,9,6,2] , C=0 , 8+2+0=10 , A->0 , C->1
[1,1,3,8,6,9] + [4,2,8,4,4,3] , A=[0,3,8,6,1,4,9,6,2] , C=1 , 9+3+1=13 , A->3 , C->1
[1,1,3,8,6] + [4,2,8,4,4] , A=[3,0,3,8,6,1,4,9,6,2] , C=1 , 6+4+1=11 , A->1 , C->1
[1,1,3,8] + [4,2,8,4] , A=[1,3,0,3,8,6,1,4,9,6,2] , C=1 , 8+4+1=13 , A->3 , C->1
[1,1,3] + [4,2,8] , A=[3,1,3,0,3,8,6,1,4,9,6,2] , C=1 , 3+8+1=12 , A->2 , C->1
[1,1] + [4,2] , A=[2,3,1,3,0,3,8,6,1,4,9,6,2] , C=1 , 1+2+1=4 , A->4 , C->0
[1] + [4] , A=[4,2,3,1,3,0,3,8,6,1,4,9,6,2] , C=0 , 1+4+0=5 , A->5 , C->0
[] + [] , A=[5,4,2,3,1,3,0,3,8,6,1,4,9,6,2] C=0 , END
</scratch>
542313038614962
| 542313038614962 | 15 |
Input:
486165672963230+770517246436790
Target:
| Input:
486165672963230+770517246436790
Target:
[4,8,6,1,6,5,6,7,2,9,6,3,2,3,0] + [7,7,0,5,1,7,2,4,6,4,3,6,7,9,0] , A=[] , C=0 , 0+0+0=0 , A->0 , C->0
[4,8,6,1,6,5,6,7,2,9,6,3,2,3] + [7,7,0,5,1,7,2,4,6,4,3,6,7,9] , A=[0] , C=0 , 3+9+0=12 , A->2 , C->1
[4,8,6,1,6,5,6,7,2,9,6,3,2] + [7,7,0,5,1,7,2,4,6,4,3,6,7] , A=[2,0] , C=1 , 2+7+1=10 , A->0 , C->1
[4,8,6,1,6,5,6,7,2,9,6,3] + [7,7,0,5,1,7,2,4,6,4,3,6] , A=[0,2,0] , C=1 , 3+6+1=10 , A->0 , C->1
[4,8,6,1,6,5,6,7,2,9,6] + [7,7,0,5,1,7,2,4,6,4,3] , A=[0,0,2,0] , C=1 , 6+3+1=10 , A->0 , C->1
[4,8,6,1,6,5,6,7,2,9] + [7,7,0,5,1,7,2,4,6,4] , A=[0,0,0,2,0] , C=1 , 9+4+1=14 , A->4 , C->1
[4,8,6,1,6,5,6,7,2] + [7,7,0,5,1,7,2,4,6] , A=[4,0,0,0,2,0] , C=1 , 2+6+1=9 , A->9 , C->0
[4,8,6,1,6,5,6,7] + [7,7,0,5,1,7,2,4] , A=[9,4,0,0,0,2,0] , C=0 , 7+4+0=11 , A->1 , C->1
[4,8,6,1,6,5,6] + [7,7,0,5,1,7,2] , A=[1,9,4,0,0,0,2,0] , C=1 , 6+2+1=9 , A->9 , C->0
[4,8,6,1,6,5] + [7,7,0,5,1,7] , A=[9,1,9,4,0,0,0,2,0] , C=0 , 5+7+0=12 , A->2 , C->1
[4,8,6,1,6] + [7,7,0,5,1] , A=[2,9,1,9,4,0,0,0,2,0] , C=1 , 6+1+1=8 , A->8 , C->0
[4,8,6,1] + [7,7,0,5] , A=[8,2,9,1,9,4,0,0,0,2,0] , C=0 , 1+5+0=6 , A->6 , C->0
[4,8,6] + [7,7,0] , A=[6,8,2,9,1,9,4,0,0,0,2,0] , C=0 , 6+0+0=6 , A->6 , C->0
[4,8] + [7,7] , A=[6,6,8,2,9,1,9,4,0,0,0,2,0] , C=0 , 8+7+0=15 , A->5 , C->1
[4] + [7] , A=[5,6,6,8,2,9,1,9,4,0,0,0,2,0] , C=1 , 4+7+1=12 , A->2 , C->1
[] + [] , A=[2,5,6,6,8,2,9,1,9,4,0,0,0,2,0] C=1 , END
</scratch>
1256682919400020
| 1256682919400020 | 15 |
Input:
149021970790223+516854284359383
Target:
| Input:
149021970790223+516854284359383
Target:
[1,4,9,0,2,1,9,7,0,7,9,0,2,2,3] + [5,1,6,8,5,4,2,8,4,3,5,9,3,8,3] , A=[] , C=0 , 3+3+0=6 , A->6 , C->0
[1,4,9,0,2,1,9,7,0,7,9,0,2,2] + [5,1,6,8,5,4,2,8,4,3,5,9,3,8] , A=[6] , C=0 , 2+8+0=10 , A->0 , C->1
[1,4,9,0,2,1,9,7,0,7,9,0,2] + [5,1,6,8,5,4,2,8,4,3,5,9,3] , A=[0,6] , C=1 , 2+3+1=6 , A->6 , C->0
[1,4,9,0,2,1,9,7,0,7,9,0] + [5,1,6,8,5,4,2,8,4,3,5,9] , A=[6,0,6] , C=0 , 0+9+0=9 , A->9 , C->0
[1,4,9,0,2,1,9,7,0,7,9] + [5,1,6,8,5,4,2,8,4,3,5] , A=[9,6,0,6] , C=0 , 9+5+0=14 , A->4 , C->1
[1,4,9,0,2,1,9,7,0,7] + [5,1,6,8,5,4,2,8,4,3] , A=[4,9,6,0,6] , C=1 , 7+3+1=11 , A->1 , C->1
[1,4,9,0,2,1,9,7,0] + [5,1,6,8,5,4,2,8,4] , A=[1,4,9,6,0,6] , C=1 , 0+4+1=5 , A->5 , C->0
[1,4,9,0,2,1,9,7] + [5,1,6,8,5,4,2,8] , A=[5,1,4,9,6,0,6] , C=0 , 7+8+0=15 , A->5 , C->1
[1,4,9,0,2,1,9] + [5,1,6,8,5,4,2] , A=[5,5,1,4,9,6,0,6] , C=1 , 9+2+1=12 , A->2 , C->1
[1,4,9,0,2,1] + [5,1,6,8,5,4] , A=[2,5,5,1,4,9,6,0,6] , C=1 , 1+4+1=6 , A->6 , C->0
[1,4,9,0,2] + [5,1,6,8,5] , A=[6,2,5,5,1,4,9,6,0,6] , C=0 , 2+5+0=7 , A->7 , C->0
[1,4,9,0] + [5,1,6,8] , A=[7,6,2,5,5,1,4,9,6,0,6] , C=0 , 0+8+0=8 , A->8 , C->0
[1,4,9] + [5,1,6] , A=[8,7,6,2,5,5,1,4,9,6,0,6] , C=0 , 9+6+0=15 , A->5 , C->1
[1,4] + [5,1] , A=[5,8,7,6,2,5,5,1,4,9,6,0,6] , C=1 , 4+1+1=6 , A->6 , C->0
[1] + [5] , A=[6,5,8,7,6,2,5,5,1,4,9,6,0,6] , C=0 , 1+5+0=6 , A->6 , C->0
[] + [] , A=[6,6,5,8,7,6,2,5,5,1,4,9,6,0,6] C=0 , END
</scratch>
665876255149606
| 665876255149606 | 15 |
Input:
815925890583345+415502742505468
Target:
| Input:
815925890583345+415502742505468
Target:
[8,1,5,9,2,5,8,9,0,5,8,3,3,4,5] + [4,1,5,5,0,2,7,4,2,5,0,5,4,6,8] , A=[] , C=0 , 5+8+0=13 , A->3 , C->1
[8,1,5,9,2,5,8,9,0,5,8,3,3,4] + [4,1,5,5,0,2,7,4,2,5,0,5,4,6] , A=[3] , C=1 , 4+6+1=11 , A->1 , C->1
[8,1,5,9,2,5,8,9,0,5,8,3,3] + [4,1,5,5,0,2,7,4,2,5,0,5,4] , A=[1,3] , C=1 , 3+4+1=8 , A->8 , C->0
[8,1,5,9,2,5,8,9,0,5,8,3] + [4,1,5,5,0,2,7,4,2,5,0,5] , A=[8,1,3] , C=0 , 3+5+0=8 , A->8 , C->0
[8,1,5,9,2,5,8,9,0,5,8] + [4,1,5,5,0,2,7,4,2,5,0] , A=[8,8,1,3] , C=0 , 8+0+0=8 , A->8 , C->0
[8,1,5,9,2,5,8,9,0,5] + [4,1,5,5,0,2,7,4,2,5] , A=[8,8,8,1,3] , C=0 , 5+5+0=10 , A->0 , C->1
[8,1,5,9,2,5,8,9,0] + [4,1,5,5,0,2,7,4,2] , A=[0,8,8,8,1,3] , C=1 , 0+2+1=3 , A->3 , C->0
[8,1,5,9,2,5,8,9] + [4,1,5,5,0,2,7,4] , A=[3,0,8,8,8,1,3] , C=0 , 9+4+0=13 , A->3 , C->1
[8,1,5,9,2,5,8] + [4,1,5,5,0,2,7] , A=[3,3,0,8,8,8,1,3] , C=1 , 8+7+1=16 , A->6 , C->1
[8,1,5,9,2,5] + [4,1,5,5,0,2] , A=[6,3,3,0,8,8,8,1,3] , C=1 , 5+2+1=8 , A->8 , C->0
[8,1,5,9,2] + [4,1,5,5,0] , A=[8,6,3,3,0,8,8,8,1,3] , C=0 , 2+0+0=2 , A->2 , C->0
[8,1,5,9] + [4,1,5,5] , A=[2,8,6,3,3,0,8,8,8,1,3] , C=0 , 9+5+0=14 , A->4 , C->1
[8,1,5] + [4,1,5] , A=[4,2,8,6,3,3,0,8,8,8,1,3] , C=1 , 5+5+1=11 , A->1 , C->1
[8,1] + [4,1] , A=[1,4,2,8,6,3,3,0,8,8,8,1,3] , C=1 , 1+1+1=3 , A->3 , C->0
[8] + [4] , A=[3,1,4,2,8,6,3,3,0,8,8,8,1,3] , C=0 , 8+4+0=12 , A->2 , C->1
[] + [] , A=[2,3,1,4,2,8,6,3,3,0,8,8,8,1,3] C=1 , END
</scratch>
1231428633088813
| 1231428633088813 | 15 |
Input:
867371700679215+238207605465797
Target:
| Input:
867371700679215+238207605465797
Target:
[8,6,7,3,7,1,7,0,0,6,7,9,2,1,5] + [2,3,8,2,0,7,6,0,5,4,6,5,7,9,7] , A=[] , C=0 , 5+7+0=12 , A->2 , C->1
[8,6,7,3,7,1,7,0,0,6,7,9,2,1] + [2,3,8,2,0,7,6,0,5,4,6,5,7,9] , A=[2] , C=1 , 1+9+1=11 , A->1 , C->1
[8,6,7,3,7,1,7,0,0,6,7,9,2] + [2,3,8,2,0,7,6,0,5,4,6,5,7] , A=[1,2] , C=1 , 2+7+1=10 , A->0 , C->1
[8,6,7,3,7,1,7,0,0,6,7,9] + [2,3,8,2,0,7,6,0,5,4,6,5] , A=[0,1,2] , C=1 , 9+5+1=15 , A->5 , C->1
[8,6,7,3,7,1,7,0,0,6,7] + [2,3,8,2,0,7,6,0,5,4,6] , A=[5,0,1,2] , C=1 , 7+6+1=14 , A->4 , C->1
[8,6,7,3,7,1,7,0,0,6] + [2,3,8,2,0,7,6,0,5,4] , A=[4,5,0,1,2] , C=1 , 6+4+1=11 , A->1 , C->1
[8,6,7,3,7,1,7,0,0] + [2,3,8,2,0,7,6,0,5] , A=[1,4,5,0,1,2] , C=1 , 0+5+1=6 , A->6 , C->0
[8,6,7,3,7,1,7,0] + [2,3,8,2,0,7,6,0] , A=[6,1,4,5,0,1,2] , C=0 , 0+0+0=0 , A->0 , C->0
[8,6,7,3,7,1,7] + [2,3,8,2,0,7,6] , A=[0,6,1,4,5,0,1,2] , C=0 , 7+6+0=13 , A->3 , C->1
[8,6,7,3,7,1] + [2,3,8,2,0,7] , A=[3,0,6,1,4,5,0,1,2] , C=1 , 1+7+1=9 , A->9 , C->0
[8,6,7,3,7] + [2,3,8,2,0] , A=[9,3,0,6,1,4,5,0,1,2] , C=0 , 7+0+0=7 , A->7 , C->0
[8,6,7,3] + [2,3,8,2] , A=[7,9,3,0,6,1,4,5,0,1,2] , C=0 , 3+2+0=5 , A->5 , C->0
[8,6,7] + [2,3,8] , A=[5,7,9,3,0,6,1,4,5,0,1,2] , C=0 , 7+8+0=15 , A->5 , C->1
[8,6] + [2,3] , A=[5,5,7,9,3,0,6,1,4,5,0,1,2] , C=1 , 6+3+1=10 , A->0 , C->1
[8] + [2] , A=[0,5,5,7,9,3,0,6,1,4,5,0,1,2] , C=1 , 8+2+1=11 , A->1 , C->1
[] + [] , A=[1,0,5,5,7,9,3,0,6,1,4,5,0,1,2] C=1 , END
</scratch>
1105579306145012
| 1105579306145012 | 15 |
Input:
826598726643785+713772132592759
Target:
| Input:
826598726643785+713772132592759
Target:
[8,2,6,5,9,8,7,2,6,6,4,3,7,8,5] + [7,1,3,7,7,2,1,3,2,5,9,2,7,5,9] , A=[] , C=0 , 5+9+0=14 , A->4 , C->1
[8,2,6,5,9,8,7,2,6,6,4,3,7,8] + [7,1,3,7,7,2,1,3,2,5,9,2,7,5] , A=[4] , C=1 , 8+5+1=14 , A->4 , C->1
[8,2,6,5,9,8,7,2,6,6,4,3,7] + [7,1,3,7,7,2,1,3,2,5,9,2,7] , A=[4,4] , C=1 , 7+7+1=15 , A->5 , C->1
[8,2,6,5,9,8,7,2,6,6,4,3] + [7,1,3,7,7,2,1,3,2,5,9,2] , A=[5,4,4] , C=1 , 3+2+1=6 , A->6 , C->0
[8,2,6,5,9,8,7,2,6,6,4] + [7,1,3,7,7,2,1,3,2,5,9] , A=[6,5,4,4] , C=0 , 4+9+0=13 , A->3 , C->1
[8,2,6,5,9,8,7,2,6,6] + [7,1,3,7,7,2,1,3,2,5] , A=[3,6,5,4,4] , C=1 , 6+5+1=12 , A->2 , C->1
[8,2,6,5,9,8,7,2,6] + [7,1,3,7,7,2,1,3,2] , A=[2,3,6,5,4,4] , C=1 , 6+2+1=9 , A->9 , C->0
[8,2,6,5,9,8,7,2] + [7,1,3,7,7,2,1,3] , A=[9,2,3,6,5,4,4] , C=0 , 2+3+0=5 , A->5 , C->0
[8,2,6,5,9,8,7] + [7,1,3,7,7,2,1] , A=[5,9,2,3,6,5,4,4] , C=0 , 7+1+0=8 , A->8 , C->0
[8,2,6,5,9,8] + [7,1,3,7,7,2] , A=[8,5,9,2,3,6,5,4,4] , C=0 , 8+2+0=10 , A->0 , C->1
[8,2,6,5,9] + [7,1,3,7,7] , A=[0,8,5,9,2,3,6,5,4,4] , C=1 , 9+7+1=17 , A->7 , C->1
[8,2,6,5] + [7,1,3,7] , A=[7,0,8,5,9,2,3,6,5,4,4] , C=1 , 5+7+1=13 , A->3 , C->1
[8,2,6] + [7,1,3] , A=[3,7,0,8,5,9,2,3,6,5,4,4] , C=1 , 6+3+1=10 , A->0 , C->1
[8,2] + [7,1] , A=[0,3,7,0,8,5,9,2,3,6,5,4,4] , C=1 , 2+1+1=4 , A->4 , C->0
[8] + [7] , A=[4,0,3,7,0,8,5,9,2,3,6,5,4,4] , C=0 , 8+7+0=15 , A->5 , C->1
[] + [] , A=[5,4,0,3,7,0,8,5,9,2,3,6,5,4,4] C=1 , END
</scratch>
1540370859236544
| 1540370859236544 | 15 |
Input:
862727880320941+297401267671779
Target:
| Input:
862727880320941+297401267671779
Target:
[8,6,2,7,2,7,8,8,0,3,2,0,9,4,1] + [2,9,7,4,0,1,2,6,7,6,7,1,7,7,9] , A=[] , C=0 , 1+9+0=10 , A->0 , C->1
[8,6,2,7,2,7,8,8,0,3,2,0,9,4] + [2,9,7,4,0,1,2,6,7,6,7,1,7,7] , A=[0] , C=1 , 4+7+1=12 , A->2 , C->1
[8,6,2,7,2,7,8,8,0,3,2,0,9] + [2,9,7,4,0,1,2,6,7,6,7,1,7] , A=[2,0] , C=1 , 9+7+1=17 , A->7 , C->1
[8,6,2,7,2,7,8,8,0,3,2,0] + [2,9,7,4,0,1,2,6,7,6,7,1] , A=[7,2,0] , C=1 , 0+1+1=2 , A->2 , C->0
[8,6,2,7,2,7,8,8,0,3,2] + [2,9,7,4,0,1,2,6,7,6,7] , A=[2,7,2,0] , C=0 , 2+7+0=9 , A->9 , C->0
[8,6,2,7,2,7,8,8,0,3] + [2,9,7,4,0,1,2,6,7,6] , A=[9,2,7,2,0] , C=0 , 3+6+0=9 , A->9 , C->0
[8,6,2,7,2,7,8,8,0] + [2,9,7,4,0,1,2,6,7] , A=[9,9,2,7,2,0] , C=0 , 0+7+0=7 , A->7 , C->0
[8,6,2,7,2,7,8,8] + [2,9,7,4,0,1,2,6] , A=[7,9,9,2,7,2,0] , C=0 , 8+6+0=14 , A->4 , C->1
[8,6,2,7,2,7,8] + [2,9,7,4,0,1,2] , A=[4,7,9,9,2,7,2,0] , C=1 , 8+2+1=11 , A->1 , C->1
[8,6,2,7,2,7] + [2,9,7,4,0,1] , A=[1,4,7,9,9,2,7,2,0] , C=1 , 7+1+1=9 , A->9 , C->0
[8,6,2,7,2] + [2,9,7,4,0] , A=[9,1,4,7,9,9,2,7,2,0] , C=0 , 2+0+0=2 , A->2 , C->0
[8,6,2,7] + [2,9,7,4] , A=[2,9,1,4,7,9,9,2,7,2,0] , C=0 , 7+4+0=11 , A->1 , C->1
[8,6,2] + [2,9,7] , A=[1,2,9,1,4,7,9,9,2,7,2,0] , C=1 , 2+7+1=10 , A->0 , C->1
[8,6] + [2,9] , A=[0,1,2,9,1,4,7,9,9,2,7,2,0] , C=1 , 6+9+1=16 , A->6 , C->1
[8] + [2] , A=[6,0,1,2,9,1,4,7,9,9,2,7,2,0] , C=1 , 8+2+1=11 , A->1 , C->1
[] + [] , A=[1,6,0,1,2,9,1,4,7,9,9,2,7,2,0] C=1 , END
</scratch>
1160129147992720
| 1160129147992720 | 15 |
Input:
830911259192449+688245905033519
Target:
| Input:
830911259192449+688245905033519
Target:
[8,3,0,9,1,1,2,5,9,1,9,2,4,4,9] + [6,8,8,2,4,5,9,0,5,0,3,3,5,1,9] , A=[] , C=0 , 9+9+0=18 , A->8 , C->1
[8,3,0,9,1,1,2,5,9,1,9,2,4,4] + [6,8,8,2,4,5,9,0,5,0,3,3,5,1] , A=[8] , C=1 , 4+1+1=6 , A->6 , C->0
[8,3,0,9,1,1,2,5,9,1,9,2,4] + [6,8,8,2,4,5,9,0,5,0,3,3,5] , A=[6,8] , C=0 , 4+5+0=9 , A->9 , C->0
[8,3,0,9,1,1,2,5,9,1,9,2] + [6,8,8,2,4,5,9,0,5,0,3,3] , A=[9,6,8] , C=0 , 2+3+0=5 , A->5 , C->0
[8,3,0,9,1,1,2,5,9,1,9] + [6,8,8,2,4,5,9,0,5,0,3] , A=[5,9,6,8] , C=0 , 9+3+0=12 , A->2 , C->1
[8,3,0,9,1,1,2,5,9,1] + [6,8,8,2,4,5,9,0,5,0] , A=[2,5,9,6,8] , C=1 , 1+0+1=2 , A->2 , C->0
[8,3,0,9,1,1,2,5,9] + [6,8,8,2,4,5,9,0,5] , A=[2,2,5,9,6,8] , C=0 , 9+5+0=14 , A->4 , C->1
[8,3,0,9,1,1,2,5] + [6,8,8,2,4,5,9,0] , A=[4,2,2,5,9,6,8] , C=1 , 5+0+1=6 , A->6 , C->0
[8,3,0,9,1,1,2] + [6,8,8,2,4,5,9] , A=[6,4,2,2,5,9,6,8] , C=0 , 2+9+0=11 , A->1 , C->1
[8,3,0,9,1,1] + [6,8,8,2,4,5] , A=[1,6,4,2,2,5,9,6,8] , C=1 , 1+5+1=7 , A->7 , C->0
[8,3,0,9,1] + [6,8,8,2,4] , A=[7,1,6,4,2,2,5,9,6,8] , C=0 , 1+4+0=5 , A->5 , C->0
[8,3,0,9] + [6,8,8,2] , A=[5,7,1,6,4,2,2,5,9,6,8] , C=0 , 9+2+0=11 , A->1 , C->1
[8,3,0] + [6,8,8] , A=[1,5,7,1,6,4,2,2,5,9,6,8] , C=1 , 0+8+1=9 , A->9 , C->0
[8,3] + [6,8] , A=[9,1,5,7,1,6,4,2,2,5,9,6,8] , C=0 , 3+8+0=11 , A->1 , C->1
[8] + [6] , A=[1,9,1,5,7,1,6,4,2,2,5,9,6,8] , C=1 , 8+6+1=15 , A->5 , C->1
[] + [] , A=[5,1,9,1,5,7,1,6,4,2,2,5,9,6,8] C=1 , END
</scratch>
1519157164225968
| 1519157164225968 | 15 |
Input:
776960065705352+310049515594599
Target:
| Input:
776960065705352+310049515594599
Target:
[7,7,6,9,6,0,0,6,5,7,0,5,3,5,2] + [3,1,0,0,4,9,5,1,5,5,9,4,5,9,9] , A=[] , C=0 , 2+9+0=11 , A->1 , C->1
[7,7,6,9,6,0,0,6,5,7,0,5,3,5] + [3,1,0,0,4,9,5,1,5,5,9,4,5,9] , A=[1] , C=1 , 5+9+1=15 , A->5 , C->1
[7,7,6,9,6,0,0,6,5,7,0,5,3] + [3,1,0,0,4,9,5,1,5,5,9,4,5] , A=[5,1] , C=1 , 3+5+1=9 , A->9 , C->0
[7,7,6,9,6,0,0,6,5,7,0,5] + [3,1,0,0,4,9,5,1,5,5,9,4] , A=[9,5,1] , C=0 , 5+4+0=9 , A->9 , C->0
[7,7,6,9,6,0,0,6,5,7,0] + [3,1,0,0,4,9,5,1,5,5,9] , A=[9,9,5,1] , C=0 , 0+9+0=9 , A->9 , C->0
[7,7,6,9,6,0,0,6,5,7] + [3,1,0,0,4,9,5,1,5,5] , A=[9,9,9,5,1] , C=0 , 7+5+0=12 , A->2 , C->1
[7,7,6,9,6,0,0,6,5] + [3,1,0,0,4,9,5,1,5] , A=[2,9,9,9,5,1] , C=1 , 5+5+1=11 , A->1 , C->1
[7,7,6,9,6,0,0,6] + [3,1,0,0,4,9,5,1] , A=[1,2,9,9,9,5,1] , C=1 , 6+1+1=8 , A->8 , C->0
[7,7,6,9,6,0,0] + [3,1,0,0,4,9,5] , A=[8,1,2,9,9,9,5,1] , C=0 , 0+5+0=5 , A->5 , C->0
[7,7,6,9,6,0] + [3,1,0,0,4,9] , A=[5,8,1,2,9,9,9,5,1] , C=0 , 0+9+0=9 , A->9 , C->0
[7,7,6,9,6] + [3,1,0,0,4] , A=[9,5,8,1,2,9,9,9,5,1] , C=0 , 6+4+0=10 , A->0 , C->1
[7,7,6,9] + [3,1,0,0] , A=[0,9,5,8,1,2,9,9,9,5,1] , C=1 , 9+0+1=10 , A->0 , C->1
[7,7,6] + [3,1,0] , A=[0,0,9,5,8,1,2,9,9,9,5,1] , C=1 , 6+0+1=7 , A->7 , C->0
[7,7] + [3,1] , A=[7,0,0,9,5,8,1,2,9,9,9,5,1] , C=0 , 7+1+0=8 , A->8 , C->0
[7] + [3] , A=[8,7,0,0,9,5,8,1,2,9,9,9,5,1] , C=0 , 7+3+0=10 , A->0 , C->1
[] + [] , A=[0,8,7,0,0,9,5,8,1,2,9,9,9,5,1] C=1 , END
</scratch>
1087009581299951
| 1087009581299951 | 15 |
Input:
477957156654437+331620284562655
Target:
| Input:
477957156654437+331620284562655
Target:
[4,7,7,9,5,7,1,5,6,6,5,4,4,3,7] + [3,3,1,6,2,0,2,8,4,5,6,2,6,5,5] , A=[] , C=0 , 7+5+0=12 , A->2 , C->1
[4,7,7,9,5,7,1,5,6,6,5,4,4,3] + [3,3,1,6,2,0,2,8,4,5,6,2,6,5] , A=[2] , C=1 , 3+5+1=9 , A->9 , C->0
[4,7,7,9,5,7,1,5,6,6,5,4,4] + [3,3,1,6,2,0,2,8,4,5,6,2,6] , A=[9,2] , C=0 , 4+6+0=10 , A->0 , C->1
[4,7,7,9,5,7,1,5,6,6,5,4] + [3,3,1,6,2,0,2,8,4,5,6,2] , A=[0,9,2] , C=1 , 4+2+1=7 , A->7 , C->0
[4,7,7,9,5,7,1,5,6,6,5] + [3,3,1,6,2,0,2,8,4,5,6] , A=[7,0,9,2] , C=0 , 5+6+0=11 , A->1 , C->1
[4,7,7,9,5,7,1,5,6,6] + [3,3,1,6,2,0,2,8,4,5] , A=[1,7,0,9,2] , C=1 , 6+5+1=12 , A->2 , C->1
[4,7,7,9,5,7,1,5,6] + [3,3,1,6,2,0,2,8,4] , A=[2,1,7,0,9,2] , C=1 , 6+4+1=11 , A->1 , C->1
[4,7,7,9,5,7,1,5] + [3,3,1,6,2,0,2,8] , A=[1,2,1,7,0,9,2] , C=1 , 5+8+1=14 , A->4 , C->1
[4,7,7,9,5,7,1] + [3,3,1,6,2,0,2] , A=[4,1,2,1,7,0,9,2] , C=1 , 1+2+1=4 , A->4 , C->0
[4,7,7,9,5,7] + [3,3,1,6,2,0] , A=[4,4,1,2,1,7,0,9,2] , C=0 , 7+0+0=7 , A->7 , C->0
[4,7,7,9,5] + [3,3,1,6,2] , A=[7,4,4,1,2,1,7,0,9,2] , C=0 , 5+2+0=7 , A->7 , C->0
[4,7,7,9] + [3,3,1,6] , A=[7,7,4,4,1,2,1,7,0,9,2] , C=0 , 9+6+0=15 , A->5 , C->1
[4,7,7] + [3,3,1] , A=[5,7,7,4,4,1,2,1,7,0,9,2] , C=1 , 7+1+1=9 , A->9 , C->0
[4,7] + [3,3] , A=[9,5,7,7,4,4,1,2,1,7,0,9,2] , C=0 , 7+3+0=10 , A->0 , C->1
[4] + [3] , A=[0,9,5,7,7,4,4,1,2,1,7,0,9,2] , C=1 , 4+3+1=8 , A->8 , C->0
[] + [] , A=[8,0,9,5,7,7,4,4,1,2,1,7,0,9,2] C=0 , END
</scratch>
809577441217092
| 809577441217092 | 15 |
Input:
476550943965118+217425175559427
Target:
| Input:
476550943965118+217425175559427
Target:
[4,7,6,5,5,0,9,4,3,9,6,5,1,1,8] + [2,1,7,4,2,5,1,7,5,5,5,9,4,2,7] , A=[] , C=0 , 8+7+0=15 , A->5 , C->1
[4,7,6,5,5,0,9,4,3,9,6,5,1,1] + [2,1,7,4,2,5,1,7,5,5,5,9,4,2] , A=[5] , C=1 , 1+2+1=4 , A->4 , C->0
[4,7,6,5,5,0,9,4,3,9,6,5,1] + [2,1,7,4,2,5,1,7,5,5,5,9,4] , A=[4,5] , C=0 , 1+4+0=5 , A->5 , C->0
[4,7,6,5,5,0,9,4,3,9,6,5] + [2,1,7,4,2,5,1,7,5,5,5,9] , A=[5,4,5] , C=0 , 5+9+0=14 , A->4 , C->1
[4,7,6,5,5,0,9,4,3,9,6] + [2,1,7,4,2,5,1,7,5,5,5] , A=[4,5,4,5] , C=1 , 6+5+1=12 , A->2 , C->1
[4,7,6,5,5,0,9,4,3,9] + [2,1,7,4,2,5,1,7,5,5] , A=[2,4,5,4,5] , C=1 , 9+5+1=15 , A->5 , C->1
[4,7,6,5,5,0,9,4,3] + [2,1,7,4,2,5,1,7,5] , A=[5,2,4,5,4,5] , C=1 , 3+5+1=9 , A->9 , C->0
[4,7,6,5,5,0,9,4] + [2,1,7,4,2,5,1,7] , A=[9,5,2,4,5,4,5] , C=0 , 4+7+0=11 , A->1 , C->1
[4,7,6,5,5,0,9] + [2,1,7,4,2,5,1] , A=[1,9,5,2,4,5,4,5] , C=1 , 9+1+1=11 , A->1 , C->1
[4,7,6,5,5,0] + [2,1,7,4,2,5] , A=[1,1,9,5,2,4,5,4,5] , C=1 , 0+5+1=6 , A->6 , C->0
[4,7,6,5,5] + [2,1,7,4,2] , A=[6,1,1,9,5,2,4,5,4,5] , C=0 , 5+2+0=7 , A->7 , C->0
[4,7,6,5] + [2,1,7,4] , A=[7,6,1,1,9,5,2,4,5,4,5] , C=0 , 5+4+0=9 , A->9 , C->0
[4,7,6] + [2,1,7] , A=[9,7,6,1,1,9,5,2,4,5,4,5] , C=0 , 6+7+0=13 , A->3 , C->1
[4,7] + [2,1] , A=[3,9,7,6,1,1,9,5,2,4,5,4,5] , C=1 , 7+1+1=9 , A->9 , C->0
[4] + [2] , A=[9,3,9,7,6,1,1,9,5,2,4,5,4,5] , C=0 , 4+2+0=6 , A->6 , C->0
[] + [] , A=[6,9,3,9,7,6,1,1,9,5,2,4,5,4,5] C=0 , END
</scratch>
693976119524545
| 693976119524545 | 15 |
Input:
246110010344932+243279922970309
Target:
| Input:
246110010344932+243279922970309
Target:
[2,4,6,1,1,0,0,1,0,3,4,4,9,3,2] + [2,4,3,2,7,9,9,2,2,9,7,0,3,0,9] , A=[] , C=0 , 2+9+0=11 , A->1 , C->1
[2,4,6,1,1,0,0,1,0,3,4,4,9,3] + [2,4,3,2,7,9,9,2,2,9,7,0,3,0] , A=[1] , C=1 , 3+0+1=4 , A->4 , C->0
[2,4,6,1,1,0,0,1,0,3,4,4,9] + [2,4,3,2,7,9,9,2,2,9,7,0,3] , A=[4,1] , C=0 , 9+3+0=12 , A->2 , C->1
[2,4,6,1,1,0,0,1,0,3,4,4] + [2,4,3,2,7,9,9,2,2,9,7,0] , A=[2,4,1] , C=1 , 4+0+1=5 , A->5 , C->0
[2,4,6,1,1,0,0,1,0,3,4] + [2,4,3,2,7,9,9,2,2,9,7] , A=[5,2,4,1] , C=0 , 4+7+0=11 , A->1 , C->1
[2,4,6,1,1,0,0,1,0,3] + [2,4,3,2,7,9,9,2,2,9] , A=[1,5,2,4,1] , C=1 , 3+9+1=13 , A->3 , C->1
[2,4,6,1,1,0,0,1,0] + [2,4,3,2,7,9,9,2,2] , A=[3,1,5,2,4,1] , C=1 , 0+2+1=3 , A->3 , C->0
[2,4,6,1,1,0,0,1] + [2,4,3,2,7,9,9,2] , A=[3,3,1,5,2,4,1] , C=0 , 1+2+0=3 , A->3 , C->0
[2,4,6,1,1,0,0] + [2,4,3,2,7,9,9] , A=[3,3,3,1,5,2,4,1] , C=0 , 0+9+0=9 , A->9 , C->0
[2,4,6,1,1,0] + [2,4,3,2,7,9] , A=[9,3,3,3,1,5,2,4,1] , C=0 , 0+9+0=9 , A->9 , C->0
[2,4,6,1,1] + [2,4,3,2,7] , A=[9,9,3,3,3,1,5,2,4,1] , C=0 , 1+7+0=8 , A->8 , C->0
[2,4,6,1] + [2,4,3,2] , A=[8,9,9,3,3,3,1,5,2,4,1] , C=0 , 1+2+0=3 , A->3 , C->0
[2,4,6] + [2,4,3] , A=[3,8,9,9,3,3,3,1,5,2,4,1] , C=0 , 6+3+0=9 , A->9 , C->0
[2,4] + [2,4] , A=[9,3,8,9,9,3,3,3,1,5,2,4,1] , C=0 , 4+4+0=8 , A->8 , C->0
[2] + [2] , A=[8,9,3,8,9,9,3,3,3,1,5,2,4,1] , C=0 , 2+2+0=4 , A->4 , C->0
[] + [] , A=[4,8,9,3,8,9,9,3,3,3,1,5,2,4,1] C=0 , END
</scratch>
489389933315241
| 489389933315241 | 15 |
Input:
409782474236466+128401705479553
Target:
| Input:
409782474236466+128401705479553
Target:
[4,0,9,7,8,2,4,7,4,2,3,6,4,6,6] + [1,2,8,4,0,1,7,0,5,4,7,9,5,5,3] , A=[] , C=0 , 6+3+0=9 , A->9 , C->0
[4,0,9,7,8,2,4,7,4,2,3,6,4,6] + [1,2,8,4,0,1,7,0,5,4,7,9,5,5] , A=[9] , C=0 , 6+5+0=11 , A->1 , C->1
[4,0,9,7,8,2,4,7,4,2,3,6,4] + [1,2,8,4,0,1,7,0,5,4,7,9,5] , A=[1,9] , C=1 , 4+5+1=10 , A->0 , C->1
[4,0,9,7,8,2,4,7,4,2,3,6] + [1,2,8,4,0,1,7,0,5,4,7,9] , A=[0,1,9] , C=1 , 6+9+1=16 , A->6 , C->1
[4,0,9,7,8,2,4,7,4,2,3] + [1,2,8,4,0,1,7,0,5,4,7] , A=[6,0,1,9] , C=1 , 3+7+1=11 , A->1 , C->1
[4,0,9,7,8,2,4,7,4,2] + [1,2,8,4,0,1,7,0,5,4] , A=[1,6,0,1,9] , C=1 , 2+4+1=7 , A->7 , C->0
[4,0,9,7,8,2,4,7,4] + [1,2,8,4,0,1,7,0,5] , A=[7,1,6,0,1,9] , C=0 , 4+5+0=9 , A->9 , C->0
[4,0,9,7,8,2,4,7] + [1,2,8,4,0,1,7,0] , A=[9,7,1,6,0,1,9] , C=0 , 7+0+0=7 , A->7 , C->0
[4,0,9,7,8,2,4] + [1,2,8,4,0,1,7] , A=[7,9,7,1,6,0,1,9] , C=0 , 4+7+0=11 , A->1 , C->1
[4,0,9,7,8,2] + [1,2,8,4,0,1] , A=[1,7,9,7,1,6,0,1,9] , C=1 , 2+1+1=4 , A->4 , C->0
[4,0,9,7,8] + [1,2,8,4,0] , A=[4,1,7,9,7,1,6,0,1,9] , C=0 , 8+0+0=8 , A->8 , C->0
[4,0,9,7] + [1,2,8,4] , A=[8,4,1,7,9,7,1,6,0,1,9] , C=0 , 7+4+0=11 , A->1 , C->1
[4,0,9] + [1,2,8] , A=[1,8,4,1,7,9,7,1,6,0,1,9] , C=1 , 9+8+1=18 , A->8 , C->1
[4,0] + [1,2] , A=[8,1,8,4,1,7,9,7,1,6,0,1,9] , C=1 , 0+2+1=3 , A->3 , C->0
[4] + [1] , A=[3,8,1,8,4,1,7,9,7,1,6,0,1,9] , C=0 , 4+1+0=5 , A->5 , C->0
[] + [] , A=[5,3,8,1,8,4,1,7,9,7,1,6,0,1,9] C=0 , END
</scratch>
538184179716019
| 538184179716019 | 15 |
Input:
385494776780320+414534556566131
Target:
| Input:
385494776780320+414534556566131
Target:
[3,8,5,4,9,4,7,7,6,7,8,0,3,2,0] + [4,1,4,5,3,4,5,5,6,5,6,6,1,3,1] , A=[] , C=0 , 0+1+0=1 , A->1 , C->0
[3,8,5,4,9,4,7,7,6,7,8,0,3,2] + [4,1,4,5,3,4,5,5,6,5,6,6,1,3] , A=[1] , C=0 , 2+3+0=5 , A->5 , C->0
[3,8,5,4,9,4,7,7,6,7,8,0,3] + [4,1,4,5,3,4,5,5,6,5,6,6,1] , A=[5,1] , C=0 , 3+1+0=4 , A->4 , C->0
[3,8,5,4,9,4,7,7,6,7,8,0] + [4,1,4,5,3,4,5,5,6,5,6,6] , A=[4,5,1] , C=0 , 0+6+0=6 , A->6 , C->0
[3,8,5,4,9,4,7,7,6,7,8] + [4,1,4,5,3,4,5,5,6,5,6] , A=[6,4,5,1] , C=0 , 8+6+0=14 , A->4 , C->1
[3,8,5,4,9,4,7,7,6,7] + [4,1,4,5,3,4,5,5,6,5] , A=[4,6,4,5,1] , C=1 , 7+5+1=13 , A->3 , C->1
[3,8,5,4,9,4,7,7,6] + [4,1,4,5,3,4,5,5,6] , A=[3,4,6,4,5,1] , C=1 , 6+6+1=13 , A->3 , C->1
[3,8,5,4,9,4,7,7] + [4,1,4,5,3,4,5,5] , A=[3,3,4,6,4,5,1] , C=1 , 7+5+1=13 , A->3 , C->1
[3,8,5,4,9,4,7] + [4,1,4,5,3,4,5] , A=[3,3,3,4,6,4,5,1] , C=1 , 7+5+1=13 , A->3 , C->1
[3,8,5,4,9,4] + [4,1,4,5,3,4] , A=[3,3,3,3,4,6,4,5,1] , C=1 , 4+4+1=9 , A->9 , C->0
[3,8,5,4,9] + [4,1,4,5,3] , A=[9,3,3,3,3,4,6,4,5,1] , C=0 , 9+3+0=12 , A->2 , C->1
[3,8,5,4] + [4,1,4,5] , A=[2,9,3,3,3,3,4,6,4,5,1] , C=1 , 4+5+1=10 , A->0 , C->1
[3,8,5] + [4,1,4] , A=[0,2,9,3,3,3,3,4,6,4,5,1] , C=1 , 5+4+1=10 , A->0 , C->1
[3,8] + [4,1] , A=[0,0,2,9,3,3,3,3,4,6,4,5,1] , C=1 , 8+1+1=10 , A->0 , C->1
[3] + [4] , A=[0,0,0,2,9,3,3,3,3,4,6,4,5,1] , C=1 , 3+4+1=8 , A->8 , C->0
[] + [] , A=[8,0,0,0,2,9,3,3,3,3,4,6,4,5,1] C=0 , END
</scratch>
800029333346451
| 800029333346451 | 15 |
Input:
906453599720048+799331839705395
Target:
| Input:
906453599720048+799331839705395
Target:
[9,0,6,4,5,3,5,9,9,7,2,0,0,4,8] + [7,9,9,3,3,1,8,3,9,7,0,5,3,9,5] , A=[] , C=0 , 8+5+0=13 , A->3 , C->1
[9,0,6,4,5,3,5,9,9,7,2,0,0,4] + [7,9,9,3,3,1,8,3,9,7,0,5,3,9] , A=[3] , C=1 , 4+9+1=14 , A->4 , C->1
[9,0,6,4,5,3,5,9,9,7,2,0,0] + [7,9,9,3,3,1,8,3,9,7,0,5,3] , A=[4,3] , C=1 , 0+3+1=4 , A->4 , C->0
[9,0,6,4,5,3,5,9,9,7,2,0] + [7,9,9,3,3,1,8,3,9,7,0,5] , A=[4,4,3] , C=0 , 0+5+0=5 , A->5 , C->0
[9,0,6,4,5,3,5,9,9,7,2] + [7,9,9,3,3,1,8,3,9,7,0] , A=[5,4,4,3] , C=0 , 2+0+0=2 , A->2 , C->0
[9,0,6,4,5,3,5,9,9,7] + [7,9,9,3,3,1,8,3,9,7] , A=[2,5,4,4,3] , C=0 , 7+7+0=14 , A->4 , C->1
[9,0,6,4,5,3,5,9,9] + [7,9,9,3,3,1,8,3,9] , A=[4,2,5,4,4,3] , C=1 , 9+9+1=19 , A->9 , C->1
[9,0,6,4,5,3,5,9] + [7,9,9,3,3,1,8,3] , A=[9,4,2,5,4,4,3] , C=1 , 9+3+1=13 , A->3 , C->1
[9,0,6,4,5,3,5] + [7,9,9,3,3,1,8] , A=[3,9,4,2,5,4,4,3] , C=1 , 5+8+1=14 , A->4 , C->1
[9,0,6,4,5,3] + [7,9,9,3,3,1] , A=[4,3,9,4,2,5,4,4,3] , C=1 , 3+1+1=5 , A->5 , C->0
[9,0,6,4,5] + [7,9,9,3,3] , A=[5,4,3,9,4,2,5,4,4,3] , C=0 , 5+3+0=8 , A->8 , C->0
[9,0,6,4] + [7,9,9,3] , A=[8,5,4,3,9,4,2,5,4,4,3] , C=0 , 4+3+0=7 , A->7 , C->0
[9,0,6] + [7,9,9] , A=[7,8,5,4,3,9,4,2,5,4,4,3] , C=0 , 6+9+0=15 , A->5 , C->1
[9,0] + [7,9] , A=[5,7,8,5,4,3,9,4,2,5,4,4,3] , C=1 , 0+9+1=10 , A->0 , C->1
[9] + [7] , A=[0,5,7,8,5,4,3,9,4,2,5,4,4,3] , C=1 , 9+7+1=17 , A->7 , C->1
[] + [] , A=[7,0,5,7,8,5,4,3,9,4,2,5,4,4,3] C=1 , END
</scratch>
1705785439425443
| 1705785439425443 | 15 |
Input:
866172478972903+302537755876693
Target:
| Input:
866172478972903+302537755876693
Target:
[8,6,6,1,7,2,4,7,8,9,7,2,9,0,3] + [3,0,2,5,3,7,7,5,5,8,7,6,6,9,3] , A=[] , C=0 , 3+3+0=6 , A->6 , C->0
[8,6,6,1,7,2,4,7,8,9,7,2,9,0] + [3,0,2,5,3,7,7,5,5,8,7,6,6,9] , A=[6] , C=0 , 0+9+0=9 , A->9 , C->0
[8,6,6,1,7,2,4,7,8,9,7,2,9] + [3,0,2,5,3,7,7,5,5,8,7,6,6] , A=[9,6] , C=0 , 9+6+0=15 , A->5 , C->1
[8,6,6,1,7,2,4,7,8,9,7,2] + [3,0,2,5,3,7,7,5,5,8,7,6] , A=[5,9,6] , C=1 , 2+6+1=9 , A->9 , C->0
[8,6,6,1,7,2,4,7,8,9,7] + [3,0,2,5,3,7,7,5,5,8,7] , A=[9,5,9,6] , C=0 , 7+7+0=14 , A->4 , C->1
[8,6,6,1,7,2,4,7,8,9] + [3,0,2,5,3,7,7,5,5,8] , A=[4,9,5,9,6] , C=1 , 9+8+1=18 , A->8 , C->1
[8,6,6,1,7,2,4,7,8] + [3,0,2,5,3,7,7,5,5] , A=[8,4,9,5,9,6] , C=1 , 8+5+1=14 , A->4 , C->1
[8,6,6,1,7,2,4,7] + [3,0,2,5,3,7,7,5] , A=[4,8,4,9,5,9,6] , C=1 , 7+5+1=13 , A->3 , C->1
[8,6,6,1,7,2,4] + [3,0,2,5,3,7,7] , A=[3,4,8,4,9,5,9,6] , C=1 , 4+7+1=12 , A->2 , C->1
[8,6,6,1,7,2] + [3,0,2,5,3,7] , A=[2,3,4,8,4,9,5,9,6] , C=1 , 2+7+1=10 , A->0 , C->1
[8,6,6,1,7] + [3,0,2,5,3] , A=[0,2,3,4,8,4,9,5,9,6] , C=1 , 7+3+1=11 , A->1 , C->1
[8,6,6,1] + [3,0,2,5] , A=[1,0,2,3,4,8,4,9,5,9,6] , C=1 , 1+5+1=7 , A->7 , C->0
[8,6,6] + [3,0,2] , A=[7,1,0,2,3,4,8,4,9,5,9,6] , C=0 , 6+2+0=8 , A->8 , C->0
[8,6] + [3,0] , A=[8,7,1,0,2,3,4,8,4,9,5,9,6] , C=0 , 6+0+0=6 , A->6 , C->0
[8] + [3] , A=[6,8,7,1,0,2,3,4,8,4,9,5,9,6] , C=0 , 8+3+0=11 , A->1 , C->1
[] + [] , A=[1,6,8,7,1,0,2,3,4,8,4,9,5,9,6] C=1 , END
</scratch>
1168710234849596
| 1168710234849596 | 15 |
Input:
653502958584253+727109773972728
Target:
| Input:
653502958584253+727109773972728
Target:
[6,5,3,5,0,2,9,5,8,5,8,4,2,5,3] + [7,2,7,1,0,9,7,7,3,9,7,2,7,2,8] , A=[] , C=0 , 3+8+0=11 , A->1 , C->1
[6,5,3,5,0,2,9,5,8,5,8,4,2,5] + [7,2,7,1,0,9,7,7,3,9,7,2,7,2] , A=[1] , C=1 , 5+2+1=8 , A->8 , C->0
[6,5,3,5,0,2,9,5,8,5,8,4,2] + [7,2,7,1,0,9,7,7,3,9,7,2,7] , A=[8,1] , C=0 , 2+7+0=9 , A->9 , C->0
[6,5,3,5,0,2,9,5,8,5,8,4] + [7,2,7,1,0,9,7,7,3,9,7,2] , A=[9,8,1] , C=0 , 4+2+0=6 , A->6 , C->0
[6,5,3,5,0,2,9,5,8,5,8] + [7,2,7,1,0,9,7,7,3,9,7] , A=[6,9,8,1] , C=0 , 8+7+0=15 , A->5 , C->1
[6,5,3,5,0,2,9,5,8,5] + [7,2,7,1,0,9,7,7,3,9] , A=[5,6,9,8,1] , C=1 , 5+9+1=15 , A->5 , C->1
[6,5,3,5,0,2,9,5,8] + [7,2,7,1,0,9,7,7,3] , A=[5,5,6,9,8,1] , C=1 , 8+3+1=12 , A->2 , C->1
[6,5,3,5,0,2,9,5] + [7,2,7,1,0,9,7,7] , A=[2,5,5,6,9,8,1] , C=1 , 5+7+1=13 , A->3 , C->1
[6,5,3,5,0,2,9] + [7,2,7,1,0,9,7] , A=[3,2,5,5,6,9,8,1] , C=1 , 9+7+1=17 , A->7 , C->1
[6,5,3,5,0,2] + [7,2,7,1,0,9] , A=[7,3,2,5,5,6,9,8,1] , C=1 , 2+9+1=12 , A->2 , C->1
[6,5,3,5,0] + [7,2,7,1,0] , A=[2,7,3,2,5,5,6,9,8,1] , C=1 , 0+0+1=1 , A->1 , C->0
[6,5,3,5] + [7,2,7,1] , A=[1,2,7,3,2,5,5,6,9,8,1] , C=0 , 5+1+0=6 , A->6 , C->0
[6,5,3] + [7,2,7] , A=[6,1,2,7,3,2,5,5,6,9,8,1] , C=0 , 3+7+0=10 , A->0 , C->1
[6,5] + [7,2] , A=[0,6,1,2,7,3,2,5,5,6,9,8,1] , C=1 , 5+2+1=8 , A->8 , C->0
[6] + [7] , A=[8,0,6,1,2,7,3,2,5,5,6,9,8,1] , C=0 , 6+7+0=13 , A->3 , C->1
[] + [] , A=[3,8,0,6,1,2,7,3,2,5,5,6,9,8,1] C=1 , END
</scratch>
1380612732556981
| 1380612732556981 | 15 |
Input:
203977895597376+806520255423231
Target:
| Input:
203977895597376+806520255423231
Target:
[2,0,3,9,7,7,8,9,5,5,9,7,3,7,6] + [8,0,6,5,2,0,2,5,5,4,2,3,2,3,1] , A=[] , C=0 , 6+1+0=7 , A->7 , C->0
[2,0,3,9,7,7,8,9,5,5,9,7,3,7] + [8,0,6,5,2,0,2,5,5,4,2,3,2,3] , A=[7] , C=0 , 7+3+0=10 , A->0 , C->1
[2,0,3,9,7,7,8,9,5,5,9,7,3] + [8,0,6,5,2,0,2,5,5,4,2,3,2] , A=[0,7] , C=1 , 3+2+1=6 , A->6 , C->0
[2,0,3,9,7,7,8,9,5,5,9,7] + [8,0,6,5,2,0,2,5,5,4,2,3] , A=[6,0,7] , C=0 , 7+3+0=10 , A->0 , C->1
[2,0,3,9,7,7,8,9,5,5,9] + [8,0,6,5,2,0,2,5,5,4,2] , A=[0,6,0,7] , C=1 , 9+2+1=12 , A->2 , C->1
[2,0,3,9,7,7,8,9,5,5] + [8,0,6,5,2,0,2,5,5,4] , A=[2,0,6,0,7] , C=1 , 5+4+1=10 , A->0 , C->1
[2,0,3,9,7,7,8,9,5] + [8,0,6,5,2,0,2,5,5] , A=[0,2,0,6,0,7] , C=1 , 5+5+1=11 , A->1 , C->1
[2,0,3,9,7,7,8,9] + [8,0,6,5,2,0,2,5] , A=[1,0,2,0,6,0,7] , C=1 , 9+5+1=15 , A->5 , C->1
[2,0,3,9,7,7,8] + [8,0,6,5,2,0,2] , A=[5,1,0,2,0,6,0,7] , C=1 , 8+2+1=11 , A->1 , C->1
[2,0,3,9,7,7] + [8,0,6,5,2,0] , A=[1,5,1,0,2,0,6,0,7] , C=1 , 7+0+1=8 , A->8 , C->0
[2,0,3,9,7] + [8,0,6,5,2] , A=[8,1,5,1,0,2,0,6,0,7] , C=0 , 7+2+0=9 , A->9 , C->0
[2,0,3,9] + [8,0,6,5] , A=[9,8,1,5,1,0,2,0,6,0,7] , C=0 , 9+5+0=14 , A->4 , C->1
[2,0,3] + [8,0,6] , A=[4,9,8,1,5,1,0,2,0,6,0,7] , C=1 , 3+6+1=10 , A->0 , C->1
[2,0] + [8,0] , A=[0,4,9,8,1,5,1,0,2,0,6,0,7] , C=1 , 0+0+1=1 , A->1 , C->0
[2] + [8] , A=[1,0,4,9,8,1,5,1,0,2,0,6,0,7] , C=0 , 2+8+0=10 , A->0 , C->1
[] + [] , A=[0,1,0,4,9,8,1,5,1,0,2,0,6,0,7] C=1 , END
</scratch>
1010498151020607
| 1010498151020607 | 15 |
Input:
635526855344930+380585573907438
Target:
| Input:
635526855344930+380585573907438
Target:
[6,3,5,5,2,6,8,5,5,3,4,4,9,3,0] + [3,8,0,5,8,5,5,7,3,9,0,7,4,3,8] , A=[] , C=0 , 0+8+0=8 , A->8 , C->0
[6,3,5,5,2,6,8,5,5,3,4,4,9,3] + [3,8,0,5,8,5,5,7,3,9,0,7,4,3] , A=[8] , C=0 , 3+3+0=6 , A->6 , C->0
[6,3,5,5,2,6,8,5,5,3,4,4,9] + [3,8,0,5,8,5,5,7,3,9,0,7,4] , A=[6,8] , C=0 , 9+4+0=13 , A->3 , C->1
[6,3,5,5,2,6,8,5,5,3,4,4] + [3,8,0,5,8,5,5,7,3,9,0,7] , A=[3,6,8] , C=1 , 4+7+1=12 , A->2 , C->1
[6,3,5,5,2,6,8,5,5,3,4] + [3,8,0,5,8,5,5,7,3,9,0] , A=[2,3,6,8] , C=1 , 4+0+1=5 , A->5 , C->0
[6,3,5,5,2,6,8,5,5,3] + [3,8,0,5,8,5,5,7,3,9] , A=[5,2,3,6,8] , C=0 , 3+9+0=12 , A->2 , C->1
[6,3,5,5,2,6,8,5,5] + [3,8,0,5,8,5,5,7,3] , A=[2,5,2,3,6,8] , C=1 , 5+3+1=9 , A->9 , C->0
[6,3,5,5,2,6,8,5] + [3,8,0,5,8,5,5,7] , A=[9,2,5,2,3,6,8] , C=0 , 5+7+0=12 , A->2 , C->1
[6,3,5,5,2,6,8] + [3,8,0,5,8,5,5] , A=[2,9,2,5,2,3,6,8] , C=1 , 8+5+1=14 , A->4 , C->1
[6,3,5,5,2,6] + [3,8,0,5,8,5] , A=[4,2,9,2,5,2,3,6,8] , C=1 , 6+5+1=12 , A->2 , C->1
[6,3,5,5,2] + [3,8,0,5,8] , A=[2,4,2,9,2,5,2,3,6,8] , C=1 , 2+8+1=11 , A->1 , C->1
[6,3,5,5] + [3,8,0,5] , A=[1,2,4,2,9,2,5,2,3,6,8] , C=1 , 5+5+1=11 , A->1 , C->1
[6,3,5] + [3,8,0] , A=[1,1,2,4,2,9,2,5,2,3,6,8] , C=1 , 5+0+1=6 , A->6 , C->0
[6,3] + [3,8] , A=[6,1,1,2,4,2,9,2,5,2,3,6,8] , C=0 , 3+8+0=11 , A->1 , C->1
[6] + [3] , A=[1,6,1,1,2,4,2,9,2,5,2,3,6,8] , C=1 , 6+3+1=10 , A->0 , C->1
[] + [] , A=[0,1,6,1,1,2,4,2,9,2,5,2,3,6,8] C=1 , END
</scratch>
1016112429252368
| 1016112429252368 | 15 |
Input:
152528203757379+114241818534085
Target:
| Input:
152528203757379+114241818534085
Target:
[1,5,2,5,2,8,2,0,3,7,5,7,3,7,9] + [1,1,4,2,4,1,8,1,8,5,3,4,0,8,5] , A=[] , C=0 , 9+5+0=14 , A->4 , C->1
[1,5,2,5,2,8,2,0,3,7,5,7,3,7] + [1,1,4,2,4,1,8,1,8,5,3,4,0,8] , A=[4] , C=1 , 7+8+1=16 , A->6 , C->1
[1,5,2,5,2,8,2,0,3,7,5,7,3] + [1,1,4,2,4,1,8,1,8,5,3,4,0] , A=[6,4] , C=1 , 3+0+1=4 , A->4 , C->0
[1,5,2,5,2,8,2,0,3,7,5,7] + [1,1,4,2,4,1,8,1,8,5,3,4] , A=[4,6,4] , C=0 , 7+4+0=11 , A->1 , C->1
[1,5,2,5,2,8,2,0,3,7,5] + [1,1,4,2,4,1,8,1,8,5,3] , A=[1,4,6,4] , C=1 , 5+3+1=9 , A->9 , C->0
[1,5,2,5,2,8,2,0,3,7] + [1,1,4,2,4,1,8,1,8,5] , A=[9,1,4,6,4] , C=0 , 7+5+0=12 , A->2 , C->1
[1,5,2,5,2,8,2,0,3] + [1,1,4,2,4,1,8,1,8] , A=[2,9,1,4,6,4] , C=1 , 3+8+1=12 , A->2 , C->1
[1,5,2,5,2,8,2,0] + [1,1,4,2,4,1,8,1] , A=[2,2,9,1,4,6,4] , C=1 , 0+1+1=2 , A->2 , C->0
[1,5,2,5,2,8,2] + [1,1,4,2,4,1,8] , A=[2,2,2,9,1,4,6,4] , C=0 , 2+8+0=10 , A->0 , C->1
[1,5,2,5,2,8] + [1,1,4,2,4,1] , A=[0,2,2,2,9,1,4,6,4] , C=1 , 8+1+1=10 , A->0 , C->1
[1,5,2,5,2] + [1,1,4,2,4] , A=[0,0,2,2,2,9,1,4,6,4] , C=1 , 2+4+1=7 , A->7 , C->0
[1,5,2,5] + [1,1,4,2] , A=[7,0,0,2,2,2,9,1,4,6,4] , C=0 , 5+2+0=7 , A->7 , C->0
[1,5,2] + [1,1,4] , A=[7,7,0,0,2,2,2,9,1,4,6,4] , C=0 , 2+4+0=6 , A->6 , C->0
[1,5] + [1,1] , A=[6,7,7,0,0,2,2,2,9,1,4,6,4] , C=0 , 5+1+0=6 , A->6 , C->0
[1] + [1] , A=[6,6,7,7,0,0,2,2,2,9,1,4,6,4] , C=0 , 1+1+0=2 , A->2 , C->0
[] + [] , A=[2,6,6,7,7,0,0,2,2,2,9,1,4,6,4] C=0 , END
</scratch>
266770022291464
| 266770022291464 | 15 |
Input:
851081297801253+736301238931948
Target:
| Input:
851081297801253+736301238931948
Target:
[8,5,1,0,8,1,2,9,7,8,0,1,2,5,3] + [7,3,6,3,0,1,2,3,8,9,3,1,9,4,8] , A=[] , C=0 , 3+8+0=11 , A->1 , C->1
[8,5,1,0,8,1,2,9,7,8,0,1,2,5] + [7,3,6,3,0,1,2,3,8,9,3,1,9,4] , A=[1] , C=1 , 5+4+1=10 , A->0 , C->1
[8,5,1,0,8,1,2,9,7,8,0,1,2] + [7,3,6,3,0,1,2,3,8,9,3,1,9] , A=[0,1] , C=1 , 2+9+1=12 , A->2 , C->1
[8,5,1,0,8,1,2,9,7,8,0,1] + [7,3,6,3,0,1,2,3,8,9,3,1] , A=[2,0,1] , C=1 , 1+1+1=3 , A->3 , C->0
[8,5,1,0,8,1,2,9,7,8,0] + [7,3,6,3,0,1,2,3,8,9,3] , A=[3,2,0,1] , C=0 , 0+3+0=3 , A->3 , C->0
[8,5,1,0,8,1,2,9,7,8] + [7,3,6,3,0,1,2,3,8,9] , A=[3,3,2,0,1] , C=0 , 8+9+0=17 , A->7 , C->1
[8,5,1,0,8,1,2,9,7] + [7,3,6,3,0,1,2,3,8] , A=[7,3,3,2,0,1] , C=1 , 7+8+1=16 , A->6 , C->1
[8,5,1,0,8,1,2,9] + [7,3,6,3,0,1,2,3] , A=[6,7,3,3,2,0,1] , C=1 , 9+3+1=13 , A->3 , C->1
[8,5,1,0,8,1,2] + [7,3,6,3,0,1,2] , A=[3,6,7,3,3,2,0,1] , C=1 , 2+2+1=5 , A->5 , C->0
[8,5,1,0,8,1] + [7,3,6,3,0,1] , A=[5,3,6,7,3,3,2,0,1] , C=0 , 1+1+0=2 , A->2 , C->0
[8,5,1,0,8] + [7,3,6,3,0] , A=[2,5,3,6,7,3,3,2,0,1] , C=0 , 8+0+0=8 , A->8 , C->0
[8,5,1,0] + [7,3,6,3] , A=[8,2,5,3,6,7,3,3,2,0,1] , C=0 , 0+3+0=3 , A->3 , C->0
[8,5,1] + [7,3,6] , A=[3,8,2,5,3,6,7,3,3,2,0,1] , C=0 , 1+6+0=7 , A->7 , C->0
[8,5] + [7,3] , A=[7,3,8,2,5,3,6,7,3,3,2,0,1] , C=0 , 5+3+0=8 , A->8 , C->0
[8] + [7] , A=[8,7,3,8,2,5,3,6,7,3,3,2,0,1] , C=0 , 8+7+0=15 , A->5 , C->1
[] + [] , A=[5,8,7,3,8,2,5,3,6,7,3,3,2,0,1] C=1 , END
</scratch>
1587382536733201
| 1587382536733201 | 15 |
Input:
777761574610696+329221571068011
Target:
| Input:
777761574610696+329221571068011
Target:
[7,7,7,7,6,1,5,7,4,6,1,0,6,9,6] + [3,2,9,2,2,1,5,7,1,0,6,8,0,1,1] , A=[] , C=0 , 6+1+0=7 , A->7 , C->0
[7,7,7,7,6,1,5,7,4,6,1,0,6,9] + [3,2,9,2,2,1,5,7,1,0,6,8,0,1] , A=[7] , C=0 , 9+1+0=10 , A->0 , C->1
[7,7,7,7,6,1,5,7,4,6,1,0,6] + [3,2,9,2,2,1,5,7,1,0,6,8,0] , A=[0,7] , C=1 , 6+0+1=7 , A->7 , C->0
[7,7,7,7,6,1,5,7,4,6,1,0] + [3,2,9,2,2,1,5,7,1,0,6,8] , A=[7,0,7] , C=0 , 0+8+0=8 , A->8 , C->0
[7,7,7,7,6,1,5,7,4,6,1] + [3,2,9,2,2,1,5,7,1,0,6] , A=[8,7,0,7] , C=0 , 1+6+0=7 , A->7 , C->0
[7,7,7,7,6,1,5,7,4,6] + [3,2,9,2,2,1,5,7,1,0] , A=[7,8,7,0,7] , C=0 , 6+0+0=6 , A->6 , C->0
[7,7,7,7,6,1,5,7,4] + [3,2,9,2,2,1,5,7,1] , A=[6,7,8,7,0,7] , C=0 , 4+1+0=5 , A->5 , C->0
[7,7,7,7,6,1,5,7] + [3,2,9,2,2,1,5,7] , A=[5,6,7,8,7,0,7] , C=0 , 7+7+0=14 , A->4 , C->1
[7,7,7,7,6,1,5] + [3,2,9,2,2,1,5] , A=[4,5,6,7,8,7,0,7] , C=1 , 5+5+1=11 , A->1 , C->1
[7,7,7,7,6,1] + [3,2,9,2,2,1] , A=[1,4,5,6,7,8,7,0,7] , C=1 , 1+1+1=3 , A->3 , C->0
[7,7,7,7,6] + [3,2,9,2,2] , A=[3,1,4,5,6,7,8,7,0,7] , C=0 , 6+2+0=8 , A->8 , C->0
[7,7,7,7] + [3,2,9,2] , A=[8,3,1,4,5,6,7,8,7,0,7] , C=0 , 7+2+0=9 , A->9 , C->0
[7,7,7] + [3,2,9] , A=[9,8,3,1,4,5,6,7,8,7,0,7] , C=0 , 7+9+0=16 , A->6 , C->1
[7,7] + [3,2] , A=[6,9,8,3,1,4,5,6,7,8,7,0,7] , C=1 , 7+2+1=10 , A->0 , C->1
[7] + [3] , A=[0,6,9,8,3,1,4,5,6,7,8,7,0,7] , C=1 , 7+3+1=11 , A->1 , C->1
[] + [] , A=[1,0,6,9,8,3,1,4,5,6,7,8,7,0,7] C=1 , END
</scratch>
1106983145678707
| 1106983145678707 | 15 |
Input:
579201295234554+181622961096342
Target:
| Input:
579201295234554+181622961096342
Target:
[5,7,9,2,0,1,2,9,5,2,3,4,5,5,4] + [1,8,1,6,2,2,9,6,1,0,9,6,3,4,2] , A=[] , C=0 , 4+2+0=6 , A->6 , C->0
[5,7,9,2,0,1,2,9,5,2,3,4,5,5] + [1,8,1,6,2,2,9,6,1,0,9,6,3,4] , A=[6] , C=0 , 5+4+0=9 , A->9 , C->0
[5,7,9,2,0,1,2,9,5,2,3,4,5] + [1,8,1,6,2,2,9,6,1,0,9,6,3] , A=[9,6] , C=0 , 5+3+0=8 , A->8 , C->0
[5,7,9,2,0,1,2,9,5,2,3,4] + [1,8,1,6,2,2,9,6,1,0,9,6] , A=[8,9,6] , C=0 , 4+6+0=10 , A->0 , C->1
[5,7,9,2,0,1,2,9,5,2,3] + [1,8,1,6,2,2,9,6,1,0,9] , A=[0,8,9,6] , C=1 , 3+9+1=13 , A->3 , C->1
[5,7,9,2,0,1,2,9,5,2] + [1,8,1,6,2,2,9,6,1,0] , A=[3,0,8,9,6] , C=1 , 2+0+1=3 , A->3 , C->0
[5,7,9,2,0,1,2,9,5] + [1,8,1,6,2,2,9,6,1] , A=[3,3,0,8,9,6] , C=0 , 5+1+0=6 , A->6 , C->0
[5,7,9,2,0,1,2,9] + [1,8,1,6,2,2,9,6] , A=[6,3,3,0,8,9,6] , C=0 , 9+6+0=15 , A->5 , C->1
[5,7,9,2,0,1,2] + [1,8,1,6,2,2,9] , A=[5,6,3,3,0,8,9,6] , C=1 , 2+9+1=12 , A->2 , C->1
[5,7,9,2,0,1] + [1,8,1,6,2,2] , A=[2,5,6,3,3,0,8,9,6] , C=1 , 1+2+1=4 , A->4 , C->0
[5,7,9,2,0] + [1,8,1,6,2] , A=[4,2,5,6,3,3,0,8,9,6] , C=0 , 0+2+0=2 , A->2 , C->0
[5,7,9,2] + [1,8,1,6] , A=[2,4,2,5,6,3,3,0,8,9,6] , C=0 , 2+6+0=8 , A->8 , C->0
[5,7,9] + [1,8,1] , A=[8,2,4,2,5,6,3,3,0,8,9,6] , C=0 , 9+1+0=10 , A->0 , C->1
[5,7] + [1,8] , A=[0,8,2,4,2,5,6,3,3,0,8,9,6] , C=1 , 7+8+1=16 , A->6 , C->1
[5] + [1] , A=[6,0,8,2,4,2,5,6,3,3,0,8,9,6] , C=1 , 5+1+1=7 , A->7 , C->0
[] + [] , A=[7,6,0,8,2,4,2,5,6,3,3,0,8,9,6] C=0 , END
</scratch>
760824256330896
| 760824256330896 | 15 |
Input:
124800909190021+197151267279221
Target:
| Input:
124800909190021+197151267279221
Target:
[1,2,4,8,0,0,9,0,9,1,9,0,0,2,1] + [1,9,7,1,5,1,2,6,7,2,7,9,2,2,1] , A=[] , C=0 , 1+1+0=2 , A->2 , C->0
[1,2,4,8,0,0,9,0,9,1,9,0,0,2] + [1,9,7,1,5,1,2,6,7,2,7,9,2,2] , A=[2] , C=0 , 2+2+0=4 , A->4 , C->0
[1,2,4,8,0,0,9,0,9,1,9,0,0] + [1,9,7,1,5,1,2,6,7,2,7,9,2] , A=[4,2] , C=0 , 0+2+0=2 , A->2 , C->0
[1,2,4,8,0,0,9,0,9,1,9,0] + [1,9,7,1,5,1,2,6,7,2,7,9] , A=[2,4,2] , C=0 , 0+9+0=9 , A->9 , C->0
[1,2,4,8,0,0,9,0,9,1,9] + [1,9,7,1,5,1,2,6,7,2,7] , A=[9,2,4,2] , C=0 , 9+7+0=16 , A->6 , C->1
[1,2,4,8,0,0,9,0,9,1] + [1,9,7,1,5,1,2,6,7,2] , A=[6,9,2,4,2] , C=1 , 1+2+1=4 , A->4 , C->0
[1,2,4,8,0,0,9,0,9] + [1,9,7,1,5,1,2,6,7] , A=[4,6,9,2,4,2] , C=0 , 9+7+0=16 , A->6 , C->1
[1,2,4,8,0,0,9,0] + [1,9,7,1,5,1,2,6] , A=[6,4,6,9,2,4,2] , C=1 , 0+6+1=7 , A->7 , C->0
[1,2,4,8,0,0,9] + [1,9,7,1,5,1,2] , A=[7,6,4,6,9,2,4,2] , C=0 , 9+2+0=11 , A->1 , C->1
[1,2,4,8,0,0] + [1,9,7,1,5,1] , A=[1,7,6,4,6,9,2,4,2] , C=1 , 0+1+1=2 , A->2 , C->0
[1,2,4,8,0] + [1,9,7,1,5] , A=[2,1,7,6,4,6,9,2,4,2] , C=0 , 0+5+0=5 , A->5 , C->0
[1,2,4,8] + [1,9,7,1] , A=[5,2,1,7,6,4,6,9,2,4,2] , C=0 , 8+1+0=9 , A->9 , C->0
[1,2,4] + [1,9,7] , A=[9,5,2,1,7,6,4,6,9,2,4,2] , C=0 , 4+7+0=11 , A->1 , C->1
[1,2] + [1,9] , A=[1,9,5,2,1,7,6,4,6,9,2,4,2] , C=1 , 2+9+1=12 , A->2 , C->1
[1] + [1] , A=[2,1,9,5,2,1,7,6,4,6,9,2,4,2] , C=1 , 1+1+1=3 , A->3 , C->0
[] + [] , A=[3,2,1,9,5,2,1,7,6,4,6,9,2,4,2] C=0 , END
</scratch>
321952176469242
| 321952176469242 | 15 |
Input:
314074297080603+150207382260275
Target:
| Input:
314074297080603+150207382260275
Target:
[3,1,4,0,7,4,2,9,7,0,8,0,6,0,3] + [1,5,0,2,0,7,3,8,2,2,6,0,2,7,5] , A=[] , C=0 , 3+5+0=8 , A->8 , C->0
[3,1,4,0,7,4,2,9,7,0,8,0,6,0] + [1,5,0,2,0,7,3,8,2,2,6,0,2,7] , A=[8] , C=0 , 0+7+0=7 , A->7 , C->0
[3,1,4,0,7,4,2,9,7,0,8,0,6] + [1,5,0,2,0,7,3,8,2,2,6,0,2] , A=[7,8] , C=0 , 6+2+0=8 , A->8 , C->0
[3,1,4,0,7,4,2,9,7,0,8,0] + [1,5,0,2,0,7,3,8,2,2,6,0] , A=[8,7,8] , C=0 , 0+0+0=0 , A->0 , C->0
[3,1,4,0,7,4,2,9,7,0,8] + [1,5,0,2,0,7,3,8,2,2,6] , A=[0,8,7,8] , C=0 , 8+6+0=14 , A->4 , C->1
[3,1,4,0,7,4,2,9,7,0] + [1,5,0,2,0,7,3,8,2,2] , A=[4,0,8,7,8] , C=1 , 0+2+1=3 , A->3 , C->0
[3,1,4,0,7,4,2,9,7] + [1,5,0,2,0,7,3,8,2] , A=[3,4,0,8,7,8] , C=0 , 7+2+0=9 , A->9 , C->0
[3,1,4,0,7,4,2,9] + [1,5,0,2,0,7,3,8] , A=[9,3,4,0,8,7,8] , C=0 , 9+8+0=17 , A->7 , C->1
[3,1,4,0,7,4,2] + [1,5,0,2,0,7,3] , A=[7,9,3,4,0,8,7,8] , C=1 , 2+3+1=6 , A->6 , C->0
[3,1,4,0,7,4] + [1,5,0,2,0,7] , A=[6,7,9,3,4,0,8,7,8] , C=0 , 4+7+0=11 , A->1 , C->1
[3,1,4,0,7] + [1,5,0,2,0] , A=[1,6,7,9,3,4,0,8,7,8] , C=1 , 7+0+1=8 , A->8 , C->0
[3,1,4,0] + [1,5,0,2] , A=[8,1,6,7,9,3,4,0,8,7,8] , C=0 , 0+2+0=2 , A->2 , C->0
[3,1,4] + [1,5,0] , A=[2,8,1,6,7,9,3,4,0,8,7,8] , C=0 , 4+0+0=4 , A->4 , C->0
[3,1] + [1,5] , A=[4,2,8,1,6,7,9,3,4,0,8,7,8] , C=0 , 1+5+0=6 , A->6 , C->0
[3] + [1] , A=[6,4,2,8,1,6,7,9,3,4,0,8,7,8] , C=0 , 3+1+0=4 , A->4 , C->0
[] + [] , A=[4,6,4,2,8,1,6,7,9,3,4,0,8,7,8] C=0 , END
</scratch>
464281679340878
| 464281679340878 | 15 |
Input:
460266485336976+122695527583060
Target:
| Input:
460266485336976+122695527583060
Target:
[4,6,0,2,6,6,4,8,5,3,3,6,9,7,6] + [1,2,2,6,9,5,5,2,7,5,8,3,0,6,0] , A=[] , C=0 , 6+0+0=6 , A->6 , C->0
[4,6,0,2,6,6,4,8,5,3,3,6,9,7] + [1,2,2,6,9,5,5,2,7,5,8,3,0,6] , A=[6] , C=0 , 7+6+0=13 , A->3 , C->1
[4,6,0,2,6,6,4,8,5,3,3,6,9] + [1,2,2,6,9,5,5,2,7,5,8,3,0] , A=[3,6] , C=1 , 9+0+1=10 , A->0 , C->1
[4,6,0,2,6,6,4,8,5,3,3,6] + [1,2,2,6,9,5,5,2,7,5,8,3] , A=[0,3,6] , C=1 , 6+3+1=10 , A->0 , C->1
[4,6,0,2,6,6,4,8,5,3,3] + [1,2,2,6,9,5,5,2,7,5,8] , A=[0,0,3,6] , C=1 , 3+8+1=12 , A->2 , C->1
[4,6,0,2,6,6,4,8,5,3] + [1,2,2,6,9,5,5,2,7,5] , A=[2,0,0,3,6] , C=1 , 3+5+1=9 , A->9 , C->0
[4,6,0,2,6,6,4,8,5] + [1,2,2,6,9,5,5,2,7] , A=[9,2,0,0,3,6] , C=0 , 5+7+0=12 , A->2 , C->1
[4,6,0,2,6,6,4,8] + [1,2,2,6,9,5,5,2] , A=[2,9,2,0,0,3,6] , C=1 , 8+2+1=11 , A->1 , C->1
[4,6,0,2,6,6,4] + [1,2,2,6,9,5,5] , A=[1,2,9,2,0,0,3,6] , C=1 , 4+5+1=10 , A->0 , C->1
[4,6,0,2,6,6] + [1,2,2,6,9,5] , A=[0,1,2,9,2,0,0,3,6] , C=1 , 6+5+1=12 , A->2 , C->1
[4,6,0,2,6] + [1,2,2,6,9] , A=[2,0,1,2,9,2,0,0,3,6] , C=1 , 6+9+1=16 , A->6 , C->1
[4,6,0,2] + [1,2,2,6] , A=[6,2,0,1,2,9,2,0,0,3,6] , C=1 , 2+6+1=9 , A->9 , C->0
[4,6,0] + [1,2,2] , A=[9,6,2,0,1,2,9,2,0,0,3,6] , C=0 , 0+2+0=2 , A->2 , C->0
[4,6] + [1,2] , A=[2,9,6,2,0,1,2,9,2,0,0,3,6] , C=0 , 6+2+0=8 , A->8 , C->0
[4] + [1] , A=[8,2,9,6,2,0,1,2,9,2,0,0,3,6] , C=0 , 4+1+0=5 , A->5 , C->0
[] + [] , A=[5,8,2,9,6,2,0,1,2,9,2,0,0,3,6] C=0 , END
</scratch>
582962012920036
| 582962012920036 | 15 |
Input:
397039779660332+639665867720545
Target:
| Input:
397039779660332+639665867720545
Target:
[3,9,7,0,3,9,7,7,9,6,6,0,3,3,2] + [6,3,9,6,6,5,8,6,7,7,2,0,5,4,5] , A=[] , C=0 , 2+5+0=7 , A->7 , C->0
[3,9,7,0,3,9,7,7,9,6,6,0,3,3] + [6,3,9,6,6,5,8,6,7,7,2,0,5,4] , A=[7] , C=0 , 3+4+0=7 , A->7 , C->0
[3,9,7,0,3,9,7,7,9,6,6,0,3] + [6,3,9,6,6,5,8,6,7,7,2,0,5] , A=[7,7] , C=0 , 3+5+0=8 , A->8 , C->0
[3,9,7,0,3,9,7,7,9,6,6,0] + [6,3,9,6,6,5,8,6,7,7,2,0] , A=[8,7,7] , C=0 , 0+0+0=0 , A->0 , C->0
[3,9,7,0,3,9,7,7,9,6,6] + [6,3,9,6,6,5,8,6,7,7,2] , A=[0,8,7,7] , C=0 , 6+2+0=8 , A->8 , C->0
[3,9,7,0,3,9,7,7,9,6] + [6,3,9,6,6,5,8,6,7,7] , A=[8,0,8,7,7] , C=0 , 6+7+0=13 , A->3 , C->1
[3,9,7,0,3,9,7,7,9] + [6,3,9,6,6,5,8,6,7] , A=[3,8,0,8,7,7] , C=1 , 9+7+1=17 , A->7 , C->1
[3,9,7,0,3,9,7,7] + [6,3,9,6,6,5,8,6] , A=[7,3,8,0,8,7,7] , C=1 , 7+6+1=14 , A->4 , C->1
[3,9,7,0,3,9,7] + [6,3,9,6,6,5,8] , A=[4,7,3,8,0,8,7,7] , C=1 , 7+8+1=16 , A->6 , C->1
[3,9,7,0,3,9] + [6,3,9,6,6,5] , A=[6,4,7,3,8,0,8,7,7] , C=1 , 9+5+1=15 , A->5 , C->1
[3,9,7,0,3] + [6,3,9,6,6] , A=[5,6,4,7,3,8,0,8,7,7] , C=1 , 3+6+1=10 , A->0 , C->1
[3,9,7,0] + [6,3,9,6] , A=[0,5,6,4,7,3,8,0,8,7,7] , C=1 , 0+6+1=7 , A->7 , C->0
[3,9,7] + [6,3,9] , A=[7,0,5,6,4,7,3,8,0,8,7,7] , C=0 , 7+9+0=16 , A->6 , C->1
[3,9] + [6,3] , A=[6,7,0,5,6,4,7,3,8,0,8,7,7] , C=1 , 9+3+1=13 , A->3 , C->1
[3] + [6] , A=[3,6,7,0,5,6,4,7,3,8,0,8,7,7] , C=1 , 3+6+1=10 , A->0 , C->1
[] + [] , A=[0,3,6,7,0,5,6,4,7,3,8,0,8,7,7] C=1 , END
</scratch>
1036705647380877
| 1036705647380877 | 15 |
Input:
484266788722929+827819537912001
Target:
| Input:
484266788722929+827819537912001
Target:
[4,8,4,2,6,6,7,8,8,7,2,2,9,2,9] + [8,2,7,8,1,9,5,3,7,9,1,2,0,0,1] , A=[] , C=0 , 9+1+0=10 , A->0 , C->1
[4,8,4,2,6,6,7,8,8,7,2,2,9,2] + [8,2,7,8,1,9,5,3,7,9,1,2,0,0] , A=[0] , C=1 , 2+0+1=3 , A->3 , C->0
[4,8,4,2,6,6,7,8,8,7,2,2,9] + [8,2,7,8,1,9,5,3,7,9,1,2,0] , A=[3,0] , C=0 , 9+0+0=9 , A->9 , C->0
[4,8,4,2,6,6,7,8,8,7,2,2] + [8,2,7,8,1,9,5,3,7,9,1,2] , A=[9,3,0] , C=0 , 2+2+0=4 , A->4 , C->0
[4,8,4,2,6,6,7,8,8,7,2] + [8,2,7,8,1,9,5,3,7,9,1] , A=[4,9,3,0] , C=0 , 2+1+0=3 , A->3 , C->0
[4,8,4,2,6,6,7,8,8,7] + [8,2,7,8,1,9,5,3,7,9] , A=[3,4,9,3,0] , C=0 , 7+9+0=16 , A->6 , C->1
[4,8,4,2,6,6,7,8,8] + [8,2,7,8,1,9,5,3,7] , A=[6,3,4,9,3,0] , C=1 , 8+7+1=16 , A->6 , C->1
[4,8,4,2,6,6,7,8] + [8,2,7,8,1,9,5,3] , A=[6,6,3,4,9,3,0] , C=1 , 8+3+1=12 , A->2 , C->1
[4,8,4,2,6,6,7] + [8,2,7,8,1,9,5] , A=[2,6,6,3,4,9,3,0] , C=1 , 7+5+1=13 , A->3 , C->1
[4,8,4,2,6,6] + [8,2,7,8,1,9] , A=[3,2,6,6,3,4,9,3,0] , C=1 , 6+9+1=16 , A->6 , C->1
[4,8,4,2,6] + [8,2,7,8,1] , A=[6,3,2,6,6,3,4,9,3,0] , C=1 , 6+1+1=8 , A->8 , C->0
[4,8,4,2] + [8,2,7,8] , A=[8,6,3,2,6,6,3,4,9,3,0] , C=0 , 2+8+0=10 , A->0 , C->1
[4,8,4] + [8,2,7] , A=[0,8,6,3,2,6,6,3,4,9,3,0] , C=1 , 4+7+1=12 , A->2 , C->1
[4,8] + [8,2] , A=[2,0,8,6,3,2,6,6,3,4,9,3,0] , C=1 , 8+2+1=11 , A->1 , C->1
[4] + [8] , A=[1,2,0,8,6,3,2,6,6,3,4,9,3,0] , C=1 , 4+8+1=13 , A->3 , C->1
[] + [] , A=[3,1,2,0,8,6,3,2,6,6,3,4,9,3,0] C=1 , END
</scratch>
1312086326634930
| 1312086326634930 | 15 |
Input:
722516836983001+604075784886797
Target:
| Input:
722516836983001+604075784886797
Target:
[7,2,2,5,1,6,8,3,6,9,8,3,0,0,1] + [6,0,4,0,7,5,7,8,4,8,8,6,7,9,7] , A=[] , C=0 , 1+7+0=8 , A->8 , C->0
[7,2,2,5,1,6,8,3,6,9,8,3,0,0] + [6,0,4,0,7,5,7,8,4,8,8,6,7,9] , A=[8] , C=0 , 0+9+0=9 , A->9 , C->0
[7,2,2,5,1,6,8,3,6,9,8,3,0] + [6,0,4,0,7,5,7,8,4,8,8,6,7] , A=[9,8] , C=0 , 0+7+0=7 , A->7 , C->0
[7,2,2,5,1,6,8,3,6,9,8,3] + [6,0,4,0,7,5,7,8,4,8,8,6] , A=[7,9,8] , C=0 , 3+6+0=9 , A->9 , C->0
[7,2,2,5,1,6,8,3,6,9,8] + [6,0,4,0,7,5,7,8,4,8,8] , A=[9,7,9,8] , C=0 , 8+8+0=16 , A->6 , C->1
[7,2,2,5,1,6,8,3,6,9] + [6,0,4,0,7,5,7,8,4,8] , A=[6,9,7,9,8] , C=1 , 9+8+1=18 , A->8 , C->1
[7,2,2,5,1,6,8,3,6] + [6,0,4,0,7,5,7,8,4] , A=[8,6,9,7,9,8] , C=1 , 6+4+1=11 , A->1 , C->1
[7,2,2,5,1,6,8,3] + [6,0,4,0,7,5,7,8] , A=[1,8,6,9,7,9,8] , C=1 , 3+8+1=12 , A->2 , C->1
[7,2,2,5,1,6,8] + [6,0,4,0,7,5,7] , A=[2,1,8,6,9,7,9,8] , C=1 , 8+7+1=16 , A->6 , C->1
[7,2,2,5,1,6] + [6,0,4,0,7,5] , A=[6,2,1,8,6,9,7,9,8] , C=1 , 6+5+1=12 , A->2 , C->1
[7,2,2,5,1] + [6,0,4,0,7] , A=[2,6,2,1,8,6,9,7,9,8] , C=1 , 1+7+1=9 , A->9 , C->0
[7,2,2,5] + [6,0,4,0] , A=[9,2,6,2,1,8,6,9,7,9,8] , C=0 , 5+0+0=5 , A->5 , C->0
[7,2,2] + [6,0,4] , A=[5,9,2,6,2,1,8,6,9,7,9,8] , C=0 , 2+4+0=6 , A->6 , C->0
[7,2] + [6,0] , A=[6,5,9,2,6,2,1,8,6,9,7,9,8] , C=0 , 2+0+0=2 , A->2 , C->0
[7] + [6] , A=[2,6,5,9,2,6,2,1,8,6,9,7,9,8] , C=0 , 7+6+0=13 , A->3 , C->1
[] + [] , A=[3,2,6,5,9,2,6,2,1,8,6,9,7,9,8] C=1 , END
</scratch>
1326592621869798
| 1326592621869798 | 15 |
Input:
654352187901217+184983519859338
Target:
| Input:
654352187901217+184983519859338
Target:
[6,5,4,3,5,2,1,8,7,9,0,1,2,1,7] + [1,8,4,9,8,3,5,1,9,8,5,9,3,3,8] , A=[] , C=0 , 7+8+0=15 , A->5 , C->1
[6,5,4,3,5,2,1,8,7,9,0,1,2,1] + [1,8,4,9,8,3,5,1,9,8,5,9,3,3] , A=[5] , C=1 , 1+3+1=5 , A->5 , C->0
[6,5,4,3,5,2,1,8,7,9,0,1,2] + [1,8,4,9,8,3,5,1,9,8,5,9,3] , A=[5,5] , C=0 , 2+3+0=5 , A->5 , C->0
[6,5,4,3,5,2,1,8,7,9,0,1] + [1,8,4,9,8,3,5,1,9,8,5,9] , A=[5,5,5] , C=0 , 1+9+0=10 , A->0 , C->1
[6,5,4,3,5,2,1,8,7,9,0] + [1,8,4,9,8,3,5,1,9,8,5] , A=[0,5,5,5] , C=1 , 0+5+1=6 , A->6 , C->0
[6,5,4,3,5,2,1,8,7,9] + [1,8,4,9,8,3,5,1,9,8] , A=[6,0,5,5,5] , C=0 , 9+8+0=17 , A->7 , C->1
[6,5,4,3,5,2,1,8,7] + [1,8,4,9,8,3,5,1,9] , A=[7,6,0,5,5,5] , C=1 , 7+9+1=17 , A->7 , C->1
[6,5,4,3,5,2,1,8] + [1,8,4,9,8,3,5,1] , A=[7,7,6,0,5,5,5] , C=1 , 8+1+1=10 , A->0 , C->1
[6,5,4,3,5,2,1] + [1,8,4,9,8,3,5] , A=[0,7,7,6,0,5,5,5] , C=1 , 1+5+1=7 , A->7 , C->0
[6,5,4,3,5,2] + [1,8,4,9,8,3] , A=[7,0,7,7,6,0,5,5,5] , C=0 , 2+3+0=5 , A->5 , C->0
[6,5,4,3,5] + [1,8,4,9,8] , A=[5,7,0,7,7,6,0,5,5,5] , C=0 , 5+8+0=13 , A->3 , C->1
[6,5,4,3] + [1,8,4,9] , A=[3,5,7,0,7,7,6,0,5,5,5] , C=1 , 3+9+1=13 , A->3 , C->1
[6,5,4] + [1,8,4] , A=[3,3,5,7,0,7,7,6,0,5,5,5] , C=1 , 4+4+1=9 , A->9 , C->0
[6,5] + [1,8] , A=[9,3,3,5,7,0,7,7,6,0,5,5,5] , C=0 , 5+8+0=13 , A->3 , C->1
[6] + [1] , A=[3,9,3,3,5,7,0,7,7,6,0,5,5,5] , C=1 , 6+1+1=8 , A->8 , C->0
[] + [] , A=[8,3,9,3,3,5,7,0,7,7,6,0,5,5,5] C=0 , END
</scratch>
839335707760555
| 839335707760555 | 15 |
Input:
639043338940099+590558580402659
Target:
| Input:
639043338940099+590558580402659
Target:
[6,3,9,0,4,3,3,3,8,9,4,0,0,9,9] + [5,9,0,5,5,8,5,8,0,4,0,2,6,5,9] , A=[] , C=0 , 9+9+0=18 , A->8 , C->1
[6,3,9,0,4,3,3,3,8,9,4,0,0,9] + [5,9,0,5,5,8,5,8,0,4,0,2,6,5] , A=[8] , C=1 , 9+5+1=15 , A->5 , C->1
[6,3,9,0,4,3,3,3,8,9,4,0,0] + [5,9,0,5,5,8,5,8,0,4,0,2,6] , A=[5,8] , C=1 , 0+6+1=7 , A->7 , C->0
[6,3,9,0,4,3,3,3,8,9,4,0] + [5,9,0,5,5,8,5,8,0,4,0,2] , A=[7,5,8] , C=0 , 0+2+0=2 , A->2 , C->0
[6,3,9,0,4,3,3,3,8,9,4] + [5,9,0,5,5,8,5,8,0,4,0] , A=[2,7,5,8] , C=0 , 4+0+0=4 , A->4 , C->0
[6,3,9,0,4,3,3,3,8,9] + [5,9,0,5,5,8,5,8,0,4] , A=[4,2,7,5,8] , C=0 , 9+4+0=13 , A->3 , C->1
[6,3,9,0,4,3,3,3,8] + [5,9,0,5,5,8,5,8,0] , A=[3,4,2,7,5,8] , C=1 , 8+0+1=9 , A->9 , C->0
[6,3,9,0,4,3,3,3] + [5,9,0,5,5,8,5,8] , A=[9,3,4,2,7,5,8] , C=0 , 3+8+0=11 , A->1 , C->1
[6,3,9,0,4,3,3] + [5,9,0,5,5,8,5] , A=[1,9,3,4,2,7,5,8] , C=1 , 3+5+1=9 , A->9 , C->0
[6,3,9,0,4,3] + [5,9,0,5,5,8] , A=[9,1,9,3,4,2,7,5,8] , C=0 , 3+8+0=11 , A->1 , C->1
[6,3,9,0,4] + [5,9,0,5,5] , A=[1,9,1,9,3,4,2,7,5,8] , C=1 , 4+5+1=10 , A->0 , C->1
[6,3,9,0] + [5,9,0,5] , A=[0,1,9,1,9,3,4,2,7,5,8] , C=1 , 0+5+1=6 , A->6 , C->0
[6,3,9] + [5,9,0] , A=[6,0,1,9,1,9,3,4,2,7,5,8] , C=0 , 9+0+0=9 , A->9 , C->0
[6,3] + [5,9] , A=[9,6,0,1,9,1,9,3,4,2,7,5,8] , C=0 , 3+9+0=12 , A->2 , C->1
[6] + [5] , A=[2,9,6,0,1,9,1,9,3,4,2,7,5,8] , C=1 , 6+5+1=12 , A->2 , C->1
[] + [] , A=[2,2,9,6,0,1,9,1,9,3,4,2,7,5,8] C=1 , END
</scratch>
1229601919342758
| 1229601919342758 | 15 |
Input:
707604991893232+708532196751301
Target:
| Input:
707604991893232+708532196751301
Target:
[7,0,7,6,0,4,9,9,1,8,9,3,2,3,2] + [7,0,8,5,3,2,1,9,6,7,5,1,3,0,1] , A=[] , C=0 , 2+1+0=3 , A->3 , C->0
[7,0,7,6,0,4,9,9,1,8,9,3,2,3] + [7,0,8,5,3,2,1,9,6,7,5,1,3,0] , A=[3] , C=0 , 3+0+0=3 , A->3 , C->0
[7,0,7,6,0,4,9,9,1,8,9,3,2] + [7,0,8,5,3,2,1,9,6,7,5,1,3] , A=[3,3] , C=0 , 2+3+0=5 , A->5 , C->0
[7,0,7,6,0,4,9,9,1,8,9,3] + [7,0,8,5,3,2,1,9,6,7,5,1] , A=[5,3,3] , C=0 , 3+1+0=4 , A->4 , C->0
[7,0,7,6,0,4,9,9,1,8,9] + [7,0,8,5,3,2,1,9,6,7,5] , A=[4,5,3,3] , C=0 , 9+5+0=14 , A->4 , C->1
[7,0,7,6,0,4,9,9,1,8] + [7,0,8,5,3,2,1,9,6,7] , A=[4,4,5,3,3] , C=1 , 8+7+1=16 , A->6 , C->1
[7,0,7,6,0,4,9,9,1] + [7,0,8,5,3,2,1,9,6] , A=[6,4,4,5,3,3] , C=1 , 1+6+1=8 , A->8 , C->0
[7,0,7,6,0,4,9,9] + [7,0,8,5,3,2,1,9] , A=[8,6,4,4,5,3,3] , C=0 , 9+9+0=18 , A->8 , C->1
[7,0,7,6,0,4,9] + [7,0,8,5,3,2,1] , A=[8,8,6,4,4,5,3,3] , C=1 , 9+1+1=11 , A->1 , C->1
[7,0,7,6,0,4] + [7,0,8,5,3,2] , A=[1,8,8,6,4,4,5,3,3] , C=1 , 4+2+1=7 , A->7 , C->0
[7,0,7,6,0] + [7,0,8,5,3] , A=[7,1,8,8,6,4,4,5,3,3] , C=0 , 0+3+0=3 , A->3 , C->0
[7,0,7,6] + [7,0,8,5] , A=[3,7,1,8,8,6,4,4,5,3,3] , C=0 , 6+5+0=11 , A->1 , C->1
[7,0,7] + [7,0,8] , A=[1,3,7,1,8,8,6,4,4,5,3,3] , C=1 , 7+8+1=16 , A->6 , C->1
[7,0] + [7,0] , A=[6,1,3,7,1,8,8,6,4,4,5,3,3] , C=1 , 0+0+1=1 , A->1 , C->0
[7] + [7] , A=[1,6,1,3,7,1,8,8,6,4,4,5,3,3] , C=0 , 7+7+0=14 , A->4 , C->1
[] + [] , A=[4,1,6,1,3,7,1,8,8,6,4,4,5,3,3] C=1 , END
</scratch>
1416137188644533
| 1416137188644533 | 15 |
Input:
875574292176668+684380085607345
Target:
| Input:
875574292176668+684380085607345
Target:
[8,7,5,5,7,4,2,9,2,1,7,6,6,6,8] + [6,8,4,3,8,0,0,8,5,6,0,7,3,4,5] , A=[] , C=0 , 8+5+0=13 , A->3 , C->1
[8,7,5,5,7,4,2,9,2,1,7,6,6,6] + [6,8,4,3,8,0,0,8,5,6,0,7,3,4] , A=[3] , C=1 , 6+4+1=11 , A->1 , C->1
[8,7,5,5,7,4,2,9,2,1,7,6,6] + [6,8,4,3,8,0,0,8,5,6,0,7,3] , A=[1,3] , C=1 , 6+3+1=10 , A->0 , C->1
[8,7,5,5,7,4,2,9,2,1,7,6] + [6,8,4,3,8,0,0,8,5,6,0,7] , A=[0,1,3] , C=1 , 6+7+1=14 , A->4 , C->1
[8,7,5,5,7,4,2,9,2,1,7] + [6,8,4,3,8,0,0,8,5,6,0] , A=[4,0,1,3] , C=1 , 7+0+1=8 , A->8 , C->0
[8,7,5,5,7,4,2,9,2,1] + [6,8,4,3,8,0,0,8,5,6] , A=[8,4,0,1,3] , C=0 , 1+6+0=7 , A->7 , C->0
[8,7,5,5,7,4,2,9,2] + [6,8,4,3,8,0,0,8,5] , A=[7,8,4,0,1,3] , C=0 , 2+5+0=7 , A->7 , C->0
[8,7,5,5,7,4,2,9] + [6,8,4,3,8,0,0,8] , A=[7,7,8,4,0,1,3] , C=0 , 9+8+0=17 , A->7 , C->1
[8,7,5,5,7,4,2] + [6,8,4,3,8,0,0] , A=[7,7,7,8,4,0,1,3] , C=1 , 2+0+1=3 , A->3 , C->0
[8,7,5,5,7,4] + [6,8,4,3,8,0] , A=[3,7,7,7,8,4,0,1,3] , C=0 , 4+0+0=4 , A->4 , C->0
[8,7,5,5,7] + [6,8,4,3,8] , A=[4,3,7,7,7,8,4,0,1,3] , C=0 , 7+8+0=15 , A->5 , C->1
[8,7,5,5] + [6,8,4,3] , A=[5,4,3,7,7,7,8,4,0,1,3] , C=1 , 5+3+1=9 , A->9 , C->0
[8,7,5] + [6,8,4] , A=[9,5,4,3,7,7,7,8,4,0,1,3] , C=0 , 5+4+0=9 , A->9 , C->0
[8,7] + [6,8] , A=[9,9,5,4,3,7,7,7,8,4,0,1,3] , C=0 , 7+8+0=15 , A->5 , C->1
[8] + [6] , A=[5,9,9,5,4,3,7,7,7,8,4,0,1,3] , C=1 , 8+6+1=15 , A->5 , C->1
[] + [] , A=[5,5,9,9,5,4,3,7,7,7,8,4,0,1,3] C=1 , END
</scratch>
1559954377784013
| 1559954377784013 | 15 |
Input:
681395336882698+944677329026376
Target:
| Input:
681395336882698+944677329026376
Target:
[6,8,1,3,9,5,3,3,6,8,8,2,6,9,8] + [9,4,4,6,7,7,3,2,9,0,2,6,3,7,6] , A=[] , C=0 , 8+6+0=14 , A->4 , C->1
[6,8,1,3,9,5,3,3,6,8,8,2,6,9] + [9,4,4,6,7,7,3,2,9,0,2,6,3,7] , A=[4] , C=1 , 9+7+1=17 , A->7 , C->1
[6,8,1,3,9,5,3,3,6,8,8,2,6] + [9,4,4,6,7,7,3,2,9,0,2,6,3] , A=[7,4] , C=1 , 6+3+1=10 , A->0 , C->1
[6,8,1,3,9,5,3,3,6,8,8,2] + [9,4,4,6,7,7,3,2,9,0,2,6] , A=[0,7,4] , C=1 , 2+6+1=9 , A->9 , C->0
[6,8,1,3,9,5,3,3,6,8,8] + [9,4,4,6,7,7,3,2,9,0,2] , A=[9,0,7,4] , C=0 , 8+2+0=10 , A->0 , C->1
[6,8,1,3,9,5,3,3,6,8] + [9,4,4,6,7,7,3,2,9,0] , A=[0,9,0,7,4] , C=1 , 8+0+1=9 , A->9 , C->0
[6,8,1,3,9,5,3,3,6] + [9,4,4,6,7,7,3,2,9] , A=[9,0,9,0,7,4] , C=0 , 6+9+0=15 , A->5 , C->1
[6,8,1,3,9,5,3,3] + [9,4,4,6,7,7,3,2] , A=[5,9,0,9,0,7,4] , C=1 , 3+2+1=6 , A->6 , C->0
[6,8,1,3,9,5,3] + [9,4,4,6,7,7,3] , A=[6,5,9,0,9,0,7,4] , C=0 , 3+3+0=6 , A->6 , C->0
[6,8,1,3,9,5] + [9,4,4,6,7,7] , A=[6,6,5,9,0,9,0,7,4] , C=0 , 5+7+0=12 , A->2 , C->1
[6,8,1,3,9] + [9,4,4,6,7] , A=[2,6,6,5,9,0,9,0,7,4] , C=1 , 9+7+1=17 , A->7 , C->1
[6,8,1,3] + [9,4,4,6] , A=[7,2,6,6,5,9,0,9,0,7,4] , C=1 , 3+6+1=10 , A->0 , C->1
[6,8,1] + [9,4,4] , A=[0,7,2,6,6,5,9,0,9,0,7,4] , C=1 , 1+4+1=6 , A->6 , C->0
[6,8] + [9,4] , A=[6,0,7,2,6,6,5,9,0,9,0,7,4] , C=0 , 8+4+0=12 , A->2 , C->1
[6] + [9] , A=[2,6,0,7,2,6,6,5,9,0,9,0,7,4] , C=1 , 6+9+1=16 , A->6 , C->1
[] + [] , A=[6,2,6,0,7,2,6,6,5,9,0,9,0,7,4] C=1 , END
</scratch>
1626072665909074
| 1626072665909074 | 15 |
Input:
686376064968712+176828150130904
Target:
| Input:
686376064968712+176828150130904
Target:
[6,8,6,3,7,6,0,6,4,9,6,8,7,1,2] + [1,7,6,8,2,8,1,5,0,1,3,0,9,0,4] , A=[] , C=0 , 2+4+0=6 , A->6 , C->0
[6,8,6,3,7,6,0,6,4,9,6,8,7,1] + [1,7,6,8,2,8,1,5,0,1,3,0,9,0] , A=[6] , C=0 , 1+0+0=1 , A->1 , C->0
[6,8,6,3,7,6,0,6,4,9,6,8,7] + [1,7,6,8,2,8,1,5,0,1,3,0,9] , A=[1,6] , C=0 , 7+9+0=16 , A->6 , C->1
[6,8,6,3,7,6,0,6,4,9,6,8] + [1,7,6,8,2,8,1,5,0,1,3,0] , A=[6,1,6] , C=1 , 8+0+1=9 , A->9 , C->0
[6,8,6,3,7,6,0,6,4,9,6] + [1,7,6,8,2,8,1,5,0,1,3] , A=[9,6,1,6] , C=0 , 6+3+0=9 , A->9 , C->0
[6,8,6,3,7,6,0,6,4,9] + [1,7,6,8,2,8,1,5,0,1] , A=[9,9,6,1,6] , C=0 , 9+1+0=10 , A->0 , C->1
[6,8,6,3,7,6,0,6,4] + [1,7,6,8,2,8,1,5,0] , A=[0,9,9,6,1,6] , C=1 , 4+0+1=5 , A->5 , C->0
[6,8,6,3,7,6,0,6] + [1,7,6,8,2,8,1,5] , A=[5,0,9,9,6,1,6] , C=0 , 6+5+0=11 , A->1 , C->1
[6,8,6,3,7,6,0] + [1,7,6,8,2,8,1] , A=[1,5,0,9,9,6,1,6] , C=1 , 0+1+1=2 , A->2 , C->0
[6,8,6,3,7,6] + [1,7,6,8,2,8] , A=[2,1,5,0,9,9,6,1,6] , C=0 , 6+8+0=14 , A->4 , C->1
[6,8,6,3,7] + [1,7,6,8,2] , A=[4,2,1,5,0,9,9,6,1,6] , C=1 , 7+2+1=10 , A->0 , C->1
[6,8,6,3] + [1,7,6,8] , A=[0,4,2,1,5,0,9,9,6,1,6] , C=1 , 3+8+1=12 , A->2 , C->1
[6,8,6] + [1,7,6] , A=[2,0,4,2,1,5,0,9,9,6,1,6] , C=1 , 6+6+1=13 , A->3 , C->1
[6,8] + [1,7] , A=[3,2,0,4,2,1,5,0,9,9,6,1,6] , C=1 , 8+7+1=16 , A->6 , C->1
[6] + [1] , A=[6,3,2,0,4,2,1,5,0,9,9,6,1,6] , C=1 , 6+1+1=8 , A->8 , C->0
[] + [] , A=[8,6,3,2,0,4,2,1,5,0,9,9,6,1,6] C=0 , END
</scratch>
863204215099616
| 863204215099616 | 15 |
Input:
963220317094560+924730994711321
Target:
| Input:
963220317094560+924730994711321
Target:
[9,6,3,2,2,0,3,1,7,0,9,4,5,6,0] + [9,2,4,7,3,0,9,9,4,7,1,1,3,2,1] , A=[] , C=0 , 0+1+0=1 , A->1 , C->0
[9,6,3,2,2,0,3,1,7,0,9,4,5,6] + [9,2,4,7,3,0,9,9,4,7,1,1,3,2] , A=[1] , C=0 , 6+2+0=8 , A->8 , C->0
[9,6,3,2,2,0,3,1,7,0,9,4,5] + [9,2,4,7,3,0,9,9,4,7,1,1,3] , A=[8,1] , C=0 , 5+3+0=8 , A->8 , C->0
[9,6,3,2,2,0,3,1,7,0,9,4] + [9,2,4,7,3,0,9,9,4,7,1,1] , A=[8,8,1] , C=0 , 4+1+0=5 , A->5 , C->0
[9,6,3,2,2,0,3,1,7,0,9] + [9,2,4,7,3,0,9,9,4,7,1] , A=[5,8,8,1] , C=0 , 9+1+0=10 , A->0 , C->1
[9,6,3,2,2,0,3,1,7,0] + [9,2,4,7,3,0,9,9,4,7] , A=[0,5,8,8,1] , C=1 , 0+7+1=8 , A->8 , C->0
[9,6,3,2,2,0,3,1,7] + [9,2,4,7,3,0,9,9,4] , A=[8,0,5,8,8,1] , C=0 , 7+4+0=11 , A->1 , C->1
[9,6,3,2,2,0,3,1] + [9,2,4,7,3,0,9,9] , A=[1,8,0,5,8,8,1] , C=1 , 1+9+1=11 , A->1 , C->1
[9,6,3,2,2,0,3] + [9,2,4,7,3,0,9] , A=[1,1,8,0,5,8,8,1] , C=1 , 3+9+1=13 , A->3 , C->1
[9,6,3,2,2,0] + [9,2,4,7,3,0] , A=[3,1,1,8,0,5,8,8,1] , C=1 , 0+0+1=1 , A->1 , C->0
[9,6,3,2,2] + [9,2,4,7,3] , A=[1,3,1,1,8,0,5,8,8,1] , C=0 , 2+3+0=5 , A->5 , C->0
[9,6,3,2] + [9,2,4,7] , A=[5,1,3,1,1,8,0,5,8,8,1] , C=0 , 2+7+0=9 , A->9 , C->0
[9,6,3] + [9,2,4] , A=[9,5,1,3,1,1,8,0,5,8,8,1] , C=0 , 3+4+0=7 , A->7 , C->0
[9,6] + [9,2] , A=[7,9,5,1,3,1,1,8,0,5,8,8,1] , C=0 , 6+2+0=8 , A->8 , C->0
[9] + [9] , A=[8,7,9,5,1,3,1,1,8,0,5,8,8,1] , C=0 , 9+9+0=18 , A->8 , C->1
[] + [] , A=[8,8,7,9,5,1,3,1,1,8,0,5,8,8,1] C=1 , END
</scratch>
1887951311805881
| 1887951311805881 | 15 |
Input:
260602811640866+828109607873366
Target:
| Input:
260602811640866+828109607873366
Target:
[2,6,0,6,0,2,8,1,1,6,4,0,8,6,6] + [8,2,8,1,0,9,6,0,7,8,7,3,3,6,6] , A=[] , C=0 , 6+6+0=12 , A->2 , C->1
[2,6,0,6,0,2,8,1,1,6,4,0,8,6] + [8,2,8,1,0,9,6,0,7,8,7,3,3,6] , A=[2] , C=1 , 6+6+1=13 , A->3 , C->1
[2,6,0,6,0,2,8,1,1,6,4,0,8] + [8,2,8,1,0,9,6,0,7,8,7,3,3] , A=[3,2] , C=1 , 8+3+1=12 , A->2 , C->1
[2,6,0,6,0,2,8,1,1,6,4,0] + [8,2,8,1,0,9,6,0,7,8,7,3] , A=[2,3,2] , C=1 , 0+3+1=4 , A->4 , C->0
[2,6,0,6,0,2,8,1,1,6,4] + [8,2,8,1,0,9,6,0,7,8,7] , A=[4,2,3,2] , C=0 , 4+7+0=11 , A->1 , C->1
[2,6,0,6,0,2,8,1,1,6] + [8,2,8,1,0,9,6,0,7,8] , A=[1,4,2,3,2] , C=1 , 6+8+1=15 , A->5 , C->1
[2,6,0,6,0,2,8,1,1] + [8,2,8,1,0,9,6,0,7] , A=[5,1,4,2,3,2] , C=1 , 1+7+1=9 , A->9 , C->0
[2,6,0,6,0,2,8,1] + [8,2,8,1,0,9,6,0] , A=[9,5,1,4,2,3,2] , C=0 , 1+0+0=1 , A->1 , C->0
[2,6,0,6,0,2,8] + [8,2,8,1,0,9,6] , A=[1,9,5,1,4,2,3,2] , C=0 , 8+6+0=14 , A->4 , C->1
[2,6,0,6,0,2] + [8,2,8,1,0,9] , A=[4,1,9,5,1,4,2,3,2] , C=1 , 2+9+1=12 , A->2 , C->1
[2,6,0,6,0] + [8,2,8,1,0] , A=[2,4,1,9,5,1,4,2,3,2] , C=1 , 0+0+1=1 , A->1 , C->0
[2,6,0,6] + [8,2,8,1] , A=[1,2,4,1,9,5,1,4,2,3,2] , C=0 , 6+1+0=7 , A->7 , C->0
[2,6,0] + [8,2,8] , A=[7,1,2,4,1,9,5,1,4,2,3,2] , C=0 , 0+8+0=8 , A->8 , C->0
[2,6] + [8,2] , A=[8,7,1,2,4,1,9,5,1,4,2,3,2] , C=0 , 6+2+0=8 , A->8 , C->0
[2] + [8] , A=[8,8,7,1,2,4,1,9,5,1,4,2,3,2] , C=0 , 2+8+0=10 , A->0 , C->1
[] + [] , A=[0,8,8,7,1,2,4,1,9,5,1,4,2,3,2] C=1 , END
</scratch>
1088712419514232
| 1088712419514232 | 15 |
Input:
466815747520766+121007782580251
Target:
| Input:
466815747520766+121007782580251
Target:
[4,6,6,8,1,5,7,4,7,5,2,0,7,6,6] + [1,2,1,0,0,7,7,8,2,5,8,0,2,5,1] , A=[] , C=0 , 6+1+0=7 , A->7 , C->0
[4,6,6,8,1,5,7,4,7,5,2,0,7,6] + [1,2,1,0,0,7,7,8,2,5,8,0,2,5] , A=[7] , C=0 , 6+5+0=11 , A->1 , C->1
[4,6,6,8,1,5,7,4,7,5,2,0,7] + [1,2,1,0,0,7,7,8,2,5,8,0,2] , A=[1,7] , C=1 , 7+2+1=10 , A->0 , C->1
[4,6,6,8,1,5,7,4,7,5,2,0] + [1,2,1,0,0,7,7,8,2,5,8,0] , A=[0,1,7] , C=1 , 0+0+1=1 , A->1 , C->0
[4,6,6,8,1,5,7,4,7,5,2] + [1,2,1,0,0,7,7,8,2,5,8] , A=[1,0,1,7] , C=0 , 2+8+0=10 , A->0 , C->1
[4,6,6,8,1,5,7,4,7,5] + [1,2,1,0,0,7,7,8,2,5] , A=[0,1,0,1,7] , C=1 , 5+5+1=11 , A->1 , C->1
[4,6,6,8,1,5,7,4,7] + [1,2,1,0,0,7,7,8,2] , A=[1,0,1,0,1,7] , C=1 , 7+2+1=10 , A->0 , C->1
[4,6,6,8,1,5,7,4] + [1,2,1,0,0,7,7,8] , A=[0,1,0,1,0,1,7] , C=1 , 4+8+1=13 , A->3 , C->1
[4,6,6,8,1,5,7] + [1,2,1,0,0,7,7] , A=[3,0,1,0,1,0,1,7] , C=1 , 7+7+1=15 , A->5 , C->1
[4,6,6,8,1,5] + [1,2,1,0,0,7] , A=[5,3,0,1,0,1,0,1,7] , C=1 , 5+7+1=13 , A->3 , C->1
[4,6,6,8,1] + [1,2,1,0,0] , A=[3,5,3,0,1,0,1,0,1,7] , C=1 , 1+0+1=2 , A->2 , C->0
[4,6,6,8] + [1,2,1,0] , A=[2,3,5,3,0,1,0,1,0,1,7] , C=0 , 8+0+0=8 , A->8 , C->0
[4,6,6] + [1,2,1] , A=[8,2,3,5,3,0,1,0,1,0,1,7] , C=0 , 6+1+0=7 , A->7 , C->0
[4,6] + [1,2] , A=[7,8,2,3,5,3,0,1,0,1,0,1,7] , C=0 , 6+2+0=8 , A->8 , C->0
[4] + [1] , A=[8,7,8,2,3,5,3,0,1,0,1,0,1,7] , C=0 , 4+1+0=5 , A->5 , C->0
[] + [] , A=[5,8,7,8,2,3,5,3,0,1,0,1,0,1,7] C=0 , END
</scratch>
587823530101017
| 587823530101017 | 15 |
Input:
894509937633289+658801343689942
Target:
| Input:
894509937633289+658801343689942
Target:
[8,9,4,5,0,9,9,3,7,6,3,3,2,8,9] + [6,5,8,8,0,1,3,4,3,6,8,9,9,4,2] , A=[] , C=0 , 9+2+0=11 , A->1 , C->1
[8,9,4,5,0,9,9,3,7,6,3,3,2,8] + [6,5,8,8,0,1,3,4,3,6,8,9,9,4] , A=[1] , C=1 , 8+4+1=13 , A->3 , C->1
[8,9,4,5,0,9,9,3,7,6,3,3,2] + [6,5,8,8,0,1,3,4,3,6,8,9,9] , A=[3,1] , C=1 , 2+9+1=12 , A->2 , C->1
[8,9,4,5,0,9,9,3,7,6,3,3] + [6,5,8,8,0,1,3,4,3,6,8,9] , A=[2,3,1] , C=1 , 3+9+1=13 , A->3 , C->1
[8,9,4,5,0,9,9,3,7,6,3] + [6,5,8,8,0,1,3,4,3,6,8] , A=[3,2,3,1] , C=1 , 3+8+1=12 , A->2 , C->1
[8,9,4,5,0,9,9,3,7,6] + [6,5,8,8,0,1,3,4,3,6] , A=[2,3,2,3,1] , C=1 , 6+6+1=13 , A->3 , C->1
[8,9,4,5,0,9,9,3,7] + [6,5,8,8,0,1,3,4,3] , A=[3,2,3,2,3,1] , C=1 , 7+3+1=11 , A->1 , C->1
[8,9,4,5,0,9,9,3] + [6,5,8,8,0,1,3,4] , A=[1,3,2,3,2,3,1] , C=1 , 3+4+1=8 , A->8 , C->0
[8,9,4,5,0,9,9] + [6,5,8,8,0,1,3] , A=[8,1,3,2,3,2,3,1] , C=0 , 9+3+0=12 , A->2 , C->1
[8,9,4,5,0,9] + [6,5,8,8,0,1] , A=[2,8,1,3,2,3,2,3,1] , C=1 , 9+1+1=11 , A->1 , C->1
[8,9,4,5,0] + [6,5,8,8,0] , A=[1,2,8,1,3,2,3,2,3,1] , C=1 , 0+0+1=1 , A->1 , C->0
[8,9,4,5] + [6,5,8,8] , A=[1,1,2,8,1,3,2,3,2,3,1] , C=0 , 5+8+0=13 , A->3 , C->1
[8,9,4] + [6,5,8] , A=[3,1,1,2,8,1,3,2,3,2,3,1] , C=1 , 4+8+1=13 , A->3 , C->1
[8,9] + [6,5] , A=[3,3,1,1,2,8,1,3,2,3,2,3,1] , C=1 , 9+5+1=15 , A->5 , C->1
[8] + [6] , A=[5,3,3,1,1,2,8,1,3,2,3,2,3,1] , C=1 , 8+6+1=15 , A->5 , C->1
[] + [] , A=[5,5,3,3,1,1,2,8,1,3,2,3,2,3,1] C=1 , END
</scratch>
1553311281323231
| 1553311281323231 | 15 |
Input:
272571392930594+950289620988272
Target:
| Input:
272571392930594+950289620988272
Target:
[2,7,2,5,7,1,3,9,2,9,3,0,5,9,4] + [9,5,0,2,8,9,6,2,0,9,8,8,2,7,2] , A=[] , C=0 , 4+2+0=6 , A->6 , C->0
[2,7,2,5,7,1,3,9,2,9,3,0,5,9] + [9,5,0,2,8,9,6,2,0,9,8,8,2,7] , A=[6] , C=0 , 9+7+0=16 , A->6 , C->1
[2,7,2,5,7,1,3,9,2,9,3,0,5] + [9,5,0,2,8,9,6,2,0,9,8,8,2] , A=[6,6] , C=1 , 5+2+1=8 , A->8 , C->0
[2,7,2,5,7,1,3,9,2,9,3,0] + [9,5,0,2,8,9,6,2,0,9,8,8] , A=[8,6,6] , C=0 , 0+8+0=8 , A->8 , C->0
[2,7,2,5,7,1,3,9,2,9,3] + [9,5,0,2,8,9,6,2,0,9,8] , A=[8,8,6,6] , C=0 , 3+8+0=11 , A->1 , C->1
[2,7,2,5,7,1,3,9,2,9] + [9,5,0,2,8,9,6,2,0,9] , A=[1,8,8,6,6] , C=1 , 9+9+1=19 , A->9 , C->1
[2,7,2,5,7,1,3,9,2] + [9,5,0,2,8,9,6,2,0] , A=[9,1,8,8,6,6] , C=1 , 2+0+1=3 , A->3 , C->0
[2,7,2,5,7,1,3,9] + [9,5,0,2,8,9,6,2] , A=[3,9,1,8,8,6,6] , C=0 , 9+2+0=11 , A->1 , C->1
[2,7,2,5,7,1,3] + [9,5,0,2,8,9,6] , A=[1,3,9,1,8,8,6,6] , C=1 , 3+6+1=10 , A->0 , C->1
[2,7,2,5,7,1] + [9,5,0,2,8,9] , A=[0,1,3,9,1,8,8,6,6] , C=1 , 1+9+1=11 , A->1 , C->1
[2,7,2,5,7] + [9,5,0,2,8] , A=[1,0,1,3,9,1,8,8,6,6] , C=1 , 7+8+1=16 , A->6 , C->1
[2,7,2,5] + [9,5,0,2] , A=[6,1,0,1,3,9,1,8,8,6,6] , C=1 , 5+2+1=8 , A->8 , C->0
[2,7,2] + [9,5,0] , A=[8,6,1,0,1,3,9,1,8,8,6,6] , C=0 , 2+0+0=2 , A->2 , C->0
[2,7] + [9,5] , A=[2,8,6,1,0,1,3,9,1,8,8,6,6] , C=0 , 7+5+0=12 , A->2 , C->1
[2] + [9] , A=[2,2,8,6,1,0,1,3,9,1,8,8,6,6] , C=1 , 2+9+1=12 , A->2 , C->1
[] + [] , A=[2,2,2,8,6,1,0,1,3,9,1,8,8,6,6] C=1 , END
</scratch>
1222861013918866
| 1222861013918866 | 15 |
Input:
670032172789207+468346769813625
Target:
| Input:
670032172789207+468346769813625
Target:
[6,7,0,0,3,2,1,7,2,7,8,9,2,0,7] + [4,6,8,3,4,6,7,6,9,8,1,3,6,2,5] , A=[] , C=0 , 7+5+0=12 , A->2 , C->1
[6,7,0,0,3,2,1,7,2,7,8,9,2,0] + [4,6,8,3,4,6,7,6,9,8,1,3,6,2] , A=[2] , C=1 , 0+2+1=3 , A->3 , C->0
[6,7,0,0,3,2,1,7,2,7,8,9,2] + [4,6,8,3,4,6,7,6,9,8,1,3,6] , A=[3,2] , C=0 , 2+6+0=8 , A->8 , C->0
[6,7,0,0,3,2,1,7,2,7,8,9] + [4,6,8,3,4,6,7,6,9,8,1,3] , A=[8,3,2] , C=0 , 9+3+0=12 , A->2 , C->1
[6,7,0,0,3,2,1,7,2,7,8] + [4,6,8,3,4,6,7,6,9,8,1] , A=[2,8,3,2] , C=1 , 8+1+1=10 , A->0 , C->1
[6,7,0,0,3,2,1,7,2,7] + [4,6,8,3,4,6,7,6,9,8] , A=[0,2,8,3,2] , C=1 , 7+8+1=16 , A->6 , C->1
[6,7,0,0,3,2,1,7,2] + [4,6,8,3,4,6,7,6,9] , A=[6,0,2,8,3,2] , C=1 , 2+9+1=12 , A->2 , C->1
[6,7,0,0,3,2,1,7] + [4,6,8,3,4,6,7,6] , A=[2,6,0,2,8,3,2] , C=1 , 7+6+1=14 , A->4 , C->1
[6,7,0,0,3,2,1] + [4,6,8,3,4,6,7] , A=[4,2,6,0,2,8,3,2] , C=1 , 1+7+1=9 , A->9 , C->0
[6,7,0,0,3,2] + [4,6,8,3,4,6] , A=[9,4,2,6,0,2,8,3,2] , C=0 , 2+6+0=8 , A->8 , C->0
[6,7,0,0,3] + [4,6,8,3,4] , A=[8,9,4,2,6,0,2,8,3,2] , C=0 , 3+4+0=7 , A->7 , C->0
[6,7,0,0] + [4,6,8,3] , A=[7,8,9,4,2,6,0,2,8,3,2] , C=0 , 0+3+0=3 , A->3 , C->0
[6,7,0] + [4,6,8] , A=[3,7,8,9,4,2,6,0,2,8,3,2] , C=0 , 0+8+0=8 , A->8 , C->0
[6,7] + [4,6] , A=[8,3,7,8,9,4,2,6,0,2,8,3,2] , C=0 , 7+6+0=13 , A->3 , C->1
[6] + [4] , A=[3,8,3,7,8,9,4,2,6,0,2,8,3,2] , C=1 , 6+4+1=11 , A->1 , C->1
[] + [] , A=[1,3,8,3,7,8,9,4,2,6,0,2,8,3,2] C=1 , END
</scratch>
1138378942602832
| 1138378942602832 | 15 |
Input:
750583361859202+751403039170170
Target:
| Input:
750583361859202+751403039170170
Target:
[7,5,0,5,8,3,3,6,1,8,5,9,2,0,2] + [7,5,1,4,0,3,0,3,9,1,7,0,1,7,0] , A=[] , C=0 , 2+0+0=2 , A->2 , C->0
[7,5,0,5,8,3,3,6,1,8,5,9,2,0] + [7,5,1,4,0,3,0,3,9,1,7,0,1,7] , A=[2] , C=0 , 0+7+0=7 , A->7 , C->0
[7,5,0,5,8,3,3,6,1,8,5,9,2] + [7,5,1,4,0,3,0,3,9,1,7,0,1] , A=[7,2] , C=0 , 2+1+0=3 , A->3 , C->0
[7,5,0,5,8,3,3,6,1,8,5,9] + [7,5,1,4,0,3,0,3,9,1,7,0] , A=[3,7,2] , C=0 , 9+0+0=9 , A->9 , C->0
[7,5,0,5,8,3,3,6,1,8,5] + [7,5,1,4,0,3,0,3,9,1,7] , A=[9,3,7,2] , C=0 , 5+7+0=12 , A->2 , C->1
[7,5,0,5,8,3,3,6,1,8] + [7,5,1,4,0,3,0,3,9,1] , A=[2,9,3,7,2] , C=1 , 8+1+1=10 , A->0 , C->1
[7,5,0,5,8,3,3,6,1] + [7,5,1,4,0,3,0,3,9] , A=[0,2,9,3,7,2] , C=1 , 1+9+1=11 , A->1 , C->1
[7,5,0,5,8,3,3,6] + [7,5,1,4,0,3,0,3] , A=[1,0,2,9,3,7,2] , C=1 , 6+3+1=10 , A->0 , C->1
[7,5,0,5,8,3,3] + [7,5,1,4,0,3,0] , A=[0,1,0,2,9,3,7,2] , C=1 , 3+0+1=4 , A->4 , C->0
[7,5,0,5,8,3] + [7,5,1,4,0,3] , A=[4,0,1,0,2,9,3,7,2] , C=0 , 3+3+0=6 , A->6 , C->0
[7,5,0,5,8] + [7,5,1,4,0] , A=[6,4,0,1,0,2,9,3,7,2] , C=0 , 8+0+0=8 , A->8 , C->0
[7,5,0,5] + [7,5,1,4] , A=[8,6,4,0,1,0,2,9,3,7,2] , C=0 , 5+4+0=9 , A->9 , C->0
[7,5,0] + [7,5,1] , A=[9,8,6,4,0,1,0,2,9,3,7,2] , C=0 , 0+1+0=1 , A->1 , C->0
[7,5] + [7,5] , A=[1,9,8,6,4,0,1,0,2,9,3,7,2] , C=0 , 5+5+0=10 , A->0 , C->1
[7] + [7] , A=[0,1,9,8,6,4,0,1,0,2,9,3,7,2] , C=1 , 7+7+1=15 , A->5 , C->1
[] + [] , A=[5,0,1,9,8,6,4,0,1,0,2,9,3,7,2] C=1 , END
</scratch>
1501986401029372
| 1501986401029372 | 15 |
Input:
701822804992943+935958569206732
Target:
| Input:
701822804992943+935958569206732
Target:
[7,0,1,8,2,2,8,0,4,9,9,2,9,4,3] + [9,3,5,9,5,8,5,6,9,2,0,6,7,3,2] , A=[] , C=0 , 3+2+0=5 , A->5 , C->0
[7,0,1,8,2,2,8,0,4,9,9,2,9,4] + [9,3,5,9,5,8,5,6,9,2,0,6,7,3] , A=[5] , C=0 , 4+3+0=7 , A->7 , C->0
[7,0,1,8,2,2,8,0,4,9,9,2,9] + [9,3,5,9,5,8,5,6,9,2,0,6,7] , A=[7,5] , C=0 , 9+7+0=16 , A->6 , C->1
[7,0,1,8,2,2,8,0,4,9,9,2] + [9,3,5,9,5,8,5,6,9,2,0,6] , A=[6,7,5] , C=1 , 2+6+1=9 , A->9 , C->0
[7,0,1,8,2,2,8,0,4,9,9] + [9,3,5,9,5,8,5,6,9,2,0] , A=[9,6,7,5] , C=0 , 9+0+0=9 , A->9 , C->0
[7,0,1,8,2,2,8,0,4,9] + [9,3,5,9,5,8,5,6,9,2] , A=[9,9,6,7,5] , C=0 , 9+2+0=11 , A->1 , C->1
[7,0,1,8,2,2,8,0,4] + [9,3,5,9,5,8,5,6,9] , A=[1,9,9,6,7,5] , C=1 , 4+9+1=14 , A->4 , C->1
[7,0,1,8,2,2,8,0] + [9,3,5,9,5,8,5,6] , A=[4,1,9,9,6,7,5] , C=1 , 0+6+1=7 , A->7 , C->0
[7,0,1,8,2,2,8] + [9,3,5,9,5,8,5] , A=[7,4,1,9,9,6,7,5] , C=0 , 8+5+0=13 , A->3 , C->1
[7,0,1,8,2,2] + [9,3,5,9,5,8] , A=[3,7,4,1,9,9,6,7,5] , C=1 , 2+8+1=11 , A->1 , C->1
[7,0,1,8,2] + [9,3,5,9,5] , A=[1,3,7,4,1,9,9,6,7,5] , C=1 , 2+5+1=8 , A->8 , C->0
[7,0,1,8] + [9,3,5,9] , A=[8,1,3,7,4,1,9,9,6,7,5] , C=0 , 8+9+0=17 , A->7 , C->1
[7,0,1] + [9,3,5] , A=[7,8,1,3,7,4,1,9,9,6,7,5] , C=1 , 1+5+1=7 , A->7 , C->0
[7,0] + [9,3] , A=[7,7,8,1,3,7,4,1,9,9,6,7,5] , C=0 , 0+3+0=3 , A->3 , C->0
[7] + [9] , A=[3,7,7,8,1,3,7,4,1,9,9,6,7,5] , C=0 , 7+9+0=16 , A->6 , C->1
[] + [] , A=[6,3,7,7,8,1,3,7,4,1,9,9,6,7,5] C=1 , END
</scratch>
1637781374199675
| 1637781374199675 | 15 |
Input:
163923089432526+977385791052111
Target:
| Input:
163923089432526+977385791052111
Target:
[1,6,3,9,2,3,0,8,9,4,3,2,5,2,6] + [9,7,7,3,8,5,7,9,1,0,5,2,1,1,1] , A=[] , C=0 , 6+1+0=7 , A->7 , C->0
[1,6,3,9,2,3,0,8,9,4,3,2,5,2] + [9,7,7,3,8,5,7,9,1,0,5,2,1,1] , A=[7] , C=0 , 2+1+0=3 , A->3 , C->0
[1,6,3,9,2,3,0,8,9,4,3,2,5] + [9,7,7,3,8,5,7,9,1,0,5,2,1] , A=[3,7] , C=0 , 5+1+0=6 , A->6 , C->0
[1,6,3,9,2,3,0,8,9,4,3,2] + [9,7,7,3,8,5,7,9,1,0,5,2] , A=[6,3,7] , C=0 , 2+2+0=4 , A->4 , C->0
[1,6,3,9,2,3,0,8,9,4,3] + [9,7,7,3,8,5,7,9,1,0,5] , A=[4,6,3,7] , C=0 , 3+5+0=8 , A->8 , C->0
[1,6,3,9,2,3,0,8,9,4] + [9,7,7,3,8,5,7,9,1,0] , A=[8,4,6,3,7] , C=0 , 4+0+0=4 , A->4 , C->0
[1,6,3,9,2,3,0,8,9] + [9,7,7,3,8,5,7,9,1] , A=[4,8,4,6,3,7] , C=0 , 9+1+0=10 , A->0 , C->1
[1,6,3,9,2,3,0,8] + [9,7,7,3,8,5,7,9] , A=[0,4,8,4,6,3,7] , C=1 , 8+9+1=18 , A->8 , C->1
[1,6,3,9,2,3,0] + [9,7,7,3,8,5,7] , A=[8,0,4,8,4,6,3,7] , C=1 , 0+7+1=8 , A->8 , C->0
[1,6,3,9,2,3] + [9,7,7,3,8,5] , A=[8,8,0,4,8,4,6,3,7] , C=0 , 3+5+0=8 , A->8 , C->0
[1,6,3,9,2] + [9,7,7,3,8] , A=[8,8,8,0,4,8,4,6,3,7] , C=0 , 2+8+0=10 , A->0 , C->1
[1,6,3,9] + [9,7,7,3] , A=[0,8,8,8,0,4,8,4,6,3,7] , C=1 , 9+3+1=13 , A->3 , C->1
[1,6,3] + [9,7,7] , A=[3,0,8,8,8,0,4,8,4,6,3,7] , C=1 , 3+7+1=11 , A->1 , C->1
[1,6] + [9,7] , A=[1,3,0,8,8,8,0,4,8,4,6,3,7] , C=1 , 6+7+1=14 , A->4 , C->1
[1] + [9] , A=[4,1,3,0,8,8,8,0,4,8,4,6,3,7] , C=1 , 1+9+1=11 , A->1 , C->1
[] + [] , A=[1,4,1,3,0,8,8,8,0,4,8,4,6,3,7] C=1 , END
</scratch>
1141308880484637
| 1141308880484637 | 15 |
Input:
194227631914319+222567787722294
Target:
| Input:
194227631914319+222567787722294
Target:
[1,9,4,2,2,7,6,3,1,9,1,4,3,1,9] + [2,2,2,5,6,7,7,8,7,7,2,2,2,9,4] , A=[] , C=0 , 9+4+0=13 , A->3 , C->1
[1,9,4,2,2,7,6,3,1,9,1,4,3,1] + [2,2,2,5,6,7,7,8,7,7,2,2,2,9] , A=[3] , C=1 , 1+9+1=11 , A->1 , C->1
[1,9,4,2,2,7,6,3,1,9,1,4,3] + [2,2,2,5,6,7,7,8,7,7,2,2,2] , A=[1,3] , C=1 , 3+2+1=6 , A->6 , C->0
[1,9,4,2,2,7,6,3,1,9,1,4] + [2,2,2,5,6,7,7,8,7,7,2,2] , A=[6,1,3] , C=0 , 4+2+0=6 , A->6 , C->0
[1,9,4,2,2,7,6,3,1,9,1] + [2,2,2,5,6,7,7,8,7,7,2] , A=[6,6,1,3] , C=0 , 1+2+0=3 , A->3 , C->0
[1,9,4,2,2,7,6,3,1,9] + [2,2,2,5,6,7,7,8,7,7] , A=[3,6,6,1,3] , C=0 , 9+7+0=16 , A->6 , C->1
[1,9,4,2,2,7,6,3,1] + [2,2,2,5,6,7,7,8,7] , A=[6,3,6,6,1,3] , C=1 , 1+7+1=9 , A->9 , C->0
[1,9,4,2,2,7,6,3] + [2,2,2,5,6,7,7,8] , A=[9,6,3,6,6,1,3] , C=0 , 3+8+0=11 , A->1 , C->1
[1,9,4,2,2,7,6] + [2,2,2,5,6,7,7] , A=[1,9,6,3,6,6,1,3] , C=1 , 6+7+1=14 , A->4 , C->1
[1,9,4,2,2,7] + [2,2,2,5,6,7] , A=[4,1,9,6,3,6,6,1,3] , C=1 , 7+7+1=15 , A->5 , C->1
[1,9,4,2,2] + [2,2,2,5,6] , A=[5,4,1,9,6,3,6,6,1,3] , C=1 , 2+6+1=9 , A->9 , C->0
[1,9,4,2] + [2,2,2,5] , A=[9,5,4,1,9,6,3,6,6,1,3] , C=0 , 2+5+0=7 , A->7 , C->0
[1,9,4] + [2,2,2] , A=[7,9,5,4,1,9,6,3,6,6,1,3] , C=0 , 4+2+0=6 , A->6 , C->0
[1,9] + [2,2] , A=[6,7,9,5,4,1,9,6,3,6,6,1,3] , C=0 , 9+2+0=11 , A->1 , C->1
[1] + [2] , A=[1,6,7,9,5,4,1,9,6,3,6,6,1,3] , C=1 , 1+2+1=4 , A->4 , C->0
[] + [] , A=[4,1,6,7,9,5,4,1,9,6,3,6,6,1,3] C=0 , END
</scratch>
416795419636613
| 416795419636613 | 15 |
Input:
581548564549711+161049863135467
Target:
| Input:
581548564549711+161049863135467
Target:
[5,8,1,5,4,8,5,6,4,5,4,9,7,1,1] + [1,6,1,0,4,9,8,6,3,1,3,5,4,6,7] , A=[] , C=0 , 1+7+0=8 , A->8 , C->0
[5,8,1,5,4,8,5,6,4,5,4,9,7,1] + [1,6,1,0,4,9,8,6,3,1,3,5,4,6] , A=[8] , C=0 , 1+6+0=7 , A->7 , C->0
[5,8,1,5,4,8,5,6,4,5,4,9,7] + [1,6,1,0,4,9,8,6,3,1,3,5,4] , A=[7,8] , C=0 , 7+4+0=11 , A->1 , C->1
[5,8,1,5,4,8,5,6,4,5,4,9] + [1,6,1,0,4,9,8,6,3,1,3,5] , A=[1,7,8] , C=1 , 9+5+1=15 , A->5 , C->1
[5,8,1,5,4,8,5,6,4,5,4] + [1,6,1,0,4,9,8,6,3,1,3] , A=[5,1,7,8] , C=1 , 4+3+1=8 , A->8 , C->0
[5,8,1,5,4,8,5,6,4,5] + [1,6,1,0,4,9,8,6,3,1] , A=[8,5,1,7,8] , C=0 , 5+1+0=6 , A->6 , C->0
[5,8,1,5,4,8,5,6,4] + [1,6,1,0,4,9,8,6,3] , A=[6,8,5,1,7,8] , C=0 , 4+3+0=7 , A->7 , C->0
[5,8,1,5,4,8,5,6] + [1,6,1,0,4,9,8,6] , A=[7,6,8,5,1,7,8] , C=0 , 6+6+0=12 , A->2 , C->1
[5,8,1,5,4,8,5] + [1,6,1,0,4,9,8] , A=[2,7,6,8,5,1,7,8] , C=1 , 5+8+1=14 , A->4 , C->1
[5,8,1,5,4,8] + [1,6,1,0,4,9] , A=[4,2,7,6,8,5,1,7,8] , C=1 , 8+9+1=18 , A->8 , C->1
[5,8,1,5,4] + [1,6,1,0,4] , A=[8,4,2,7,6,8,5,1,7,8] , C=1 , 4+4+1=9 , A->9 , C->0
[5,8,1,5] + [1,6,1,0] , A=[9,8,4,2,7,6,8,5,1,7,8] , C=0 , 5+0+0=5 , A->5 , C->0
[5,8,1] + [1,6,1] , A=[5,9,8,4,2,7,6,8,5,1,7,8] , C=0 , 1+1+0=2 , A->2 , C->0
[5,8] + [1,6] , A=[2,5,9,8,4,2,7,6,8,5,1,7,8] , C=0 , 8+6+0=14 , A->4 , C->1
[5] + [1] , A=[4,2,5,9,8,4,2,7,6,8,5,1,7,8] , C=1 , 5+1+1=7 , A->7 , C->0
[] + [] , A=[7,4,2,5,9,8,4,2,7,6,8,5,1,7,8] C=0 , END
</scratch>
742598427685178
| 742598427685178 | 15 |
Input:
115122901761417+570984556371283
Target:
| Input:
115122901761417+570984556371283
Target:
[1,1,5,1,2,2,9,0,1,7,6,1,4,1,7] + [5,7,0,9,8,4,5,5,6,3,7,1,2,8,3] , A=[] , C=0 , 7+3+0=10 , A->0 , C->1
[1,1,5,1,2,2,9,0,1,7,6,1,4,1] + [5,7,0,9,8,4,5,5,6,3,7,1,2,8] , A=[0] , C=1 , 1+8+1=10 , A->0 , C->1
[1,1,5,1,2,2,9,0,1,7,6,1,4] + [5,7,0,9,8,4,5,5,6,3,7,1,2] , A=[0,0] , C=1 , 4+2+1=7 , A->7 , C->0
[1,1,5,1,2,2,9,0,1,7,6,1] + [5,7,0,9,8,4,5,5,6,3,7,1] , A=[7,0,0] , C=0 , 1+1+0=2 , A->2 , C->0
[1,1,5,1,2,2,9,0,1,7,6] + [5,7,0,9,8,4,5,5,6,3,7] , A=[2,7,0,0] , C=0 , 6+7+0=13 , A->3 , C->1
[1,1,5,1,2,2,9,0,1,7] + [5,7,0,9,8,4,5,5,6,3] , A=[3,2,7,0,0] , C=1 , 7+3+1=11 , A->1 , C->1
[1,1,5,1,2,2,9,0,1] + [5,7,0,9,8,4,5,5,6] , A=[1,3,2,7,0,0] , C=1 , 1+6+1=8 , A->8 , C->0
[1,1,5,1,2,2,9,0] + [5,7,0,9,8,4,5,5] , A=[8,1,3,2,7,0,0] , C=0 , 0+5+0=5 , A->5 , C->0
[1,1,5,1,2,2,9] + [5,7,0,9,8,4,5] , A=[5,8,1,3,2,7,0,0] , C=0 , 9+5+0=14 , A->4 , C->1
[1,1,5,1,2,2] + [5,7,0,9,8,4] , A=[4,5,8,1,3,2,7,0,0] , C=1 , 2+4+1=7 , A->7 , C->0
[1,1,5,1,2] + [5,7,0,9,8] , A=[7,4,5,8,1,3,2,7,0,0] , C=0 , 2+8+0=10 , A->0 , C->1
[1,1,5,1] + [5,7,0,9] , A=[0,7,4,5,8,1,3,2,7,0,0] , C=1 , 1+9+1=11 , A->1 , C->1
[1,1,5] + [5,7,0] , A=[1,0,7,4,5,8,1,3,2,7,0,0] , C=1 , 5+0+1=6 , A->6 , C->0
[1,1] + [5,7] , A=[6,1,0,7,4,5,8,1,3,2,7,0,0] , C=0 , 1+7+0=8 , A->8 , C->0
[1] + [5] , A=[8,6,1,0,7,4,5,8,1,3,2,7,0,0] , C=0 , 1+5+0=6 , A->6 , C->0
[] + [] , A=[6,8,6,1,0,7,4,5,8,1,3,2,7,0,0] C=0 , END
</scratch>
686107458132700
| 686107458132700 | 15 |
Input:
820144443059273+768408979770350
Target:
| Input:
820144443059273+768408979770350
Target:
[8,2,0,1,4,4,4,4,3,0,5,9,2,7,3] + [7,6,8,4,0,8,9,7,9,7,7,0,3,5,0] , A=[] , C=0 , 3+0+0=3 , A->3 , C->0
[8,2,0,1,4,4,4,4,3,0,5,9,2,7] + [7,6,8,4,0,8,9,7,9,7,7,0,3,5] , A=[3] , C=0 , 7+5+0=12 , A->2 , C->1
[8,2,0,1,4,4,4,4,3,0,5,9,2] + [7,6,8,4,0,8,9,7,9,7,7,0,3] , A=[2,3] , C=1 , 2+3+1=6 , A->6 , C->0
[8,2,0,1,4,4,4,4,3,0,5,9] + [7,6,8,4,0,8,9,7,9,7,7,0] , A=[6,2,3] , C=0 , 9+0+0=9 , A->9 , C->0
[8,2,0,1,4,4,4,4,3,0,5] + [7,6,8,4,0,8,9,7,9,7,7] , A=[9,6,2,3] , C=0 , 5+7+0=12 , A->2 , C->1
[8,2,0,1,4,4,4,4,3,0] + [7,6,8,4,0,8,9,7,9,7] , A=[2,9,6,2,3] , C=1 , 0+7+1=8 , A->8 , C->0
[8,2,0,1,4,4,4,4,3] + [7,6,8,4,0,8,9,7,9] , A=[8,2,9,6,2,3] , C=0 , 3+9+0=12 , A->2 , C->1
[8,2,0,1,4,4,4,4] + [7,6,8,4,0,8,9,7] , A=[2,8,2,9,6,2,3] , C=1 , 4+7+1=12 , A->2 , C->1
[8,2,0,1,4,4,4] + [7,6,8,4,0,8,9] , A=[2,2,8,2,9,6,2,3] , C=1 , 4+9+1=14 , A->4 , C->1
[8,2,0,1,4,4] + [7,6,8,4,0,8] , A=[4,2,2,8,2,9,6,2,3] , C=1 , 4+8+1=13 , A->3 , C->1
[8,2,0,1,4] + [7,6,8,4,0] , A=[3,4,2,2,8,2,9,6,2,3] , C=1 , 4+0+1=5 , A->5 , C->0
[8,2,0,1] + [7,6,8,4] , A=[5,3,4,2,2,8,2,9,6,2,3] , C=0 , 1+4+0=5 , A->5 , C->0
[8,2,0] + [7,6,8] , A=[5,5,3,4,2,2,8,2,9,6,2,3] , C=0 , 0+8+0=8 , A->8 , C->0
[8,2] + [7,6] , A=[8,5,5,3,4,2,2,8,2,9,6,2,3] , C=0 , 2+6+0=8 , A->8 , C->0
[8] + [7] , A=[8,8,5,5,3,4,2,2,8,2,9,6,2,3] , C=0 , 8+7+0=15 , A->5 , C->1
[] + [] , A=[5,8,8,5,5,3,4,2,2,8,2,9,6,2,3] C=1 , END
</scratch>
1588553422829623
| 1588553422829623 | 15 |
Input:
486358258122078+266184317349400
Target:
| Input:
486358258122078+266184317349400
Target:
[4,8,6,3,5,8,2,5,8,1,2,2,0,7,8] + [2,6,6,1,8,4,3,1,7,3,4,9,4,0,0] , A=[] , C=0 , 8+0+0=8 , A->8 , C->0
[4,8,6,3,5,8,2,5,8,1,2,2,0,7] + [2,6,6,1,8,4,3,1,7,3,4,9,4,0] , A=[8] , C=0 , 7+0+0=7 , A->7 , C->0
[4,8,6,3,5,8,2,5,8,1,2,2,0] + [2,6,6,1,8,4,3,1,7,3,4,9,4] , A=[7,8] , C=0 , 0+4+0=4 , A->4 , C->0
[4,8,6,3,5,8,2,5,8,1,2,2] + [2,6,6,1,8,4,3,1,7,3,4,9] , A=[4,7,8] , C=0 , 2+9+0=11 , A->1 , C->1
[4,8,6,3,5,8,2,5,8,1,2] + [2,6,6,1,8,4,3,1,7,3,4] , A=[1,4,7,8] , C=1 , 2+4+1=7 , A->7 , C->0
[4,8,6,3,5,8,2,5,8,1] + [2,6,6,1,8,4,3,1,7,3] , A=[7,1,4,7,8] , C=0 , 1+3+0=4 , A->4 , C->0
[4,8,6,3,5,8,2,5,8] + [2,6,6,1,8,4,3,1,7] , A=[4,7,1,4,7,8] , C=0 , 8+7+0=15 , A->5 , C->1
[4,8,6,3,5,8,2,5] + [2,6,6,1,8,4,3,1] , A=[5,4,7,1,4,7,8] , C=1 , 5+1+1=7 , A->7 , C->0
[4,8,6,3,5,8,2] + [2,6,6,1,8,4,3] , A=[7,5,4,7,1,4,7,8] , C=0 , 2+3+0=5 , A->5 , C->0
[4,8,6,3,5,8] + [2,6,6,1,8,4] , A=[5,7,5,4,7,1,4,7,8] , C=0 , 8+4+0=12 , A->2 , C->1
[4,8,6,3,5] + [2,6,6,1,8] , A=[2,5,7,5,4,7,1,4,7,8] , C=1 , 5+8+1=14 , A->4 , C->1
[4,8,6,3] + [2,6,6,1] , A=[4,2,5,7,5,4,7,1,4,7,8] , C=1 , 3+1+1=5 , A->5 , C->0
[4,8,6] + [2,6,6] , A=[5,4,2,5,7,5,4,7,1,4,7,8] , C=0 , 6+6+0=12 , A->2 , C->1
[4,8] + [2,6] , A=[2,5,4,2,5,7,5,4,7,1,4,7,8] , C=1 , 8+6+1=15 , A->5 , C->1
[4] + [2] , A=[5,2,5,4,2,5,7,5,4,7,1,4,7,8] , C=1 , 4+2+1=7 , A->7 , C->0
[] + [] , A=[7,5,2,5,4,2,5,7,5,4,7,1,4,7,8] C=0 , END
</scratch>
752542575471478
| 752542575471478 | 15 |
Input:
866998652190914+151960439137683
Target:
| Input:
866998652190914+151960439137683
Target:
[8,6,6,9,9,8,6,5,2,1,9,0,9,1,4] + [1,5,1,9,6,0,4,3,9,1,3,7,6,8,3] , A=[] , C=0 , 4+3+0=7 , A->7 , C->0
[8,6,6,9,9,8,6,5,2,1,9,0,9,1] + [1,5,1,9,6,0,4,3,9,1,3,7,6,8] , A=[7] , C=0 , 1+8+0=9 , A->9 , C->0
[8,6,6,9,9,8,6,5,2,1,9,0,9] + [1,5,1,9,6,0,4,3,9,1,3,7,6] , A=[9,7] , C=0 , 9+6+0=15 , A->5 , C->1
[8,6,6,9,9,8,6,5,2,1,9,0] + [1,5,1,9,6,0,4,3,9,1,3,7] , A=[5,9,7] , C=1 , 0+7+1=8 , A->8 , C->0
[8,6,6,9,9,8,6,5,2,1,9] + [1,5,1,9,6,0,4,3,9,1,3] , A=[8,5,9,7] , C=0 , 9+3+0=12 , A->2 , C->1
[8,6,6,9,9,8,6,5,2,1] + [1,5,1,9,6,0,4,3,9,1] , A=[2,8,5,9,7] , C=1 , 1+1+1=3 , A->3 , C->0
[8,6,6,9,9,8,6,5,2] + [1,5,1,9,6,0,4,3,9] , A=[3,2,8,5,9,7] , C=0 , 2+9+0=11 , A->1 , C->1
[8,6,6,9,9,8,6,5] + [1,5,1,9,6,0,4,3] , A=[1,3,2,8,5,9,7] , C=1 , 5+3+1=9 , A->9 , C->0
[8,6,6,9,9,8,6] + [1,5,1,9,6,0,4] , A=[9,1,3,2,8,5,9,7] , C=0 , 6+4+0=10 , A->0 , C->1
[8,6,6,9,9,8] + [1,5,1,9,6,0] , A=[0,9,1,3,2,8,5,9,7] , C=1 , 8+0+1=9 , A->9 , C->0
[8,6,6,9,9] + [1,5,1,9,6] , A=[9,0,9,1,3,2,8,5,9,7] , C=0 , 9+6+0=15 , A->5 , C->1
[8,6,6,9] + [1,5,1,9] , A=[5,9,0,9,1,3,2,8,5,9,7] , C=1 , 9+9+1=19 , A->9 , C->1
[8,6,6] + [1,5,1] , A=[9,5,9,0,9,1,3,2,8,5,9,7] , C=1 , 6+1+1=8 , A->8 , C->0
[8,6] + [1,5] , A=[8,9,5,9,0,9,1,3,2,8,5,9,7] , C=0 , 6+5+0=11 , A->1 , C->1
[8] + [1] , A=[1,8,9,5,9,0,9,1,3,2,8,5,9,7] , C=1 , 8+1+1=10 , A->0 , C->1
[] + [] , A=[0,1,8,9,5,9,0,9,1,3,2,8,5,9,7] C=1 , END
</scratch>
1018959091328597
| 1018959091328597 | 15 |
Input:
892096578718733+666605826115631
Target:
| Input:
892096578718733+666605826115631
Target:
[8,9,2,0,9,6,5,7,8,7,1,8,7,3,3] + [6,6,6,6,0,5,8,2,6,1,1,5,6,3,1] , A=[] , C=0 , 3+1+0=4 , A->4 , C->0
[8,9,2,0,9,6,5,7,8,7,1,8,7,3] + [6,6,6,6,0,5,8,2,6,1,1,5,6,3] , A=[4] , C=0 , 3+3+0=6 , A->6 , C->0
[8,9,2,0,9,6,5,7,8,7,1,8,7] + [6,6,6,6,0,5,8,2,6,1,1,5,6] , A=[6,4] , C=0 , 7+6+0=13 , A->3 , C->1
[8,9,2,0,9,6,5,7,8,7,1,8] + [6,6,6,6,0,5,8,2,6,1,1,5] , A=[3,6,4] , C=1 , 8+5+1=14 , A->4 , C->1
[8,9,2,0,9,6,5,7,8,7,1] + [6,6,6,6,0,5,8,2,6,1,1] , A=[4,3,6,4] , C=1 , 1+1+1=3 , A->3 , C->0
[8,9,2,0,9,6,5,7,8,7] + [6,6,6,6,0,5,8,2,6,1] , A=[3,4,3,6,4] , C=0 , 7+1+0=8 , A->8 , C->0
[8,9,2,0,9,6,5,7,8] + [6,6,6,6,0,5,8,2,6] , A=[8,3,4,3,6,4] , C=0 , 8+6+0=14 , A->4 , C->1
[8,9,2,0,9,6,5,7] + [6,6,6,6,0,5,8,2] , A=[4,8,3,4,3,6,4] , C=1 , 7+2+1=10 , A->0 , C->1
[8,9,2,0,9,6,5] + [6,6,6,6,0,5,8] , A=[0,4,8,3,4,3,6,4] , C=1 , 5+8+1=14 , A->4 , C->1
[8,9,2,0,9,6] + [6,6,6,6,0,5] , A=[4,0,4,8,3,4,3,6,4] , C=1 , 6+5+1=12 , A->2 , C->1
[8,9,2,0,9] + [6,6,6,6,0] , A=[2,4,0,4,8,3,4,3,6,4] , C=1 , 9+0+1=10 , A->0 , C->1
[8,9,2,0] + [6,6,6,6] , A=[0,2,4,0,4,8,3,4,3,6,4] , C=1 , 0+6+1=7 , A->7 , C->0
[8,9,2] + [6,6,6] , A=[7,0,2,4,0,4,8,3,4,3,6,4] , C=0 , 2+6+0=8 , A->8 , C->0
[8,9] + [6,6] , A=[8,7,0,2,4,0,4,8,3,4,3,6,4] , C=0 , 9+6+0=15 , A->5 , C->1
[8] + [6] , A=[5,8,7,0,2,4,0,4,8,3,4,3,6,4] , C=1 , 8+6+1=15 , A->5 , C->1
[] + [] , A=[5,5,8,7,0,2,4,0,4,8,3,4,3,6,4] C=1 , END
</scratch>
1558702404834364
| 1558702404834364 | 15 |
Input:
722802969964840+953241248010977
Target:
| Input:
722802969964840+953241248010977
Target:
[7,2,2,8,0,2,9,6,9,9,6,4,8,4,0] + [9,5,3,2,4,1,2,4,8,0,1,0,9,7,7] , A=[] , C=0 , 0+7+0=7 , A->7 , C->0
[7,2,2,8,0,2,9,6,9,9,6,4,8,4] + [9,5,3,2,4,1,2,4,8,0,1,0,9,7] , A=[7] , C=0 , 4+7+0=11 , A->1 , C->1
[7,2,2,8,0,2,9,6,9,9,6,4,8] + [9,5,3,2,4,1,2,4,8,0,1,0,9] , A=[1,7] , C=1 , 8+9+1=18 , A->8 , C->1
[7,2,2,8,0,2,9,6,9,9,6,4] + [9,5,3,2,4,1,2,4,8,0,1,0] , A=[8,1,7] , C=1 , 4+0+1=5 , A->5 , C->0
[7,2,2,8,0,2,9,6,9,9,6] + [9,5,3,2,4,1,2,4,8,0,1] , A=[5,8,1,7] , C=0 , 6+1+0=7 , A->7 , C->0
[7,2,2,8,0,2,9,6,9,9] + [9,5,3,2,4,1,2,4,8,0] , A=[7,5,8,1,7] , C=0 , 9+0+0=9 , A->9 , C->0
[7,2,2,8,0,2,9,6,9] + [9,5,3,2,4,1,2,4,8] , A=[9,7,5,8,1,7] , C=0 , 9+8+0=17 , A->7 , C->1
[7,2,2,8,0,2,9,6] + [9,5,3,2,4,1,2,4] , A=[7,9,7,5,8,1,7] , C=1 , 6+4+1=11 , A->1 , C->1
[7,2,2,8,0,2,9] + [9,5,3,2,4,1,2] , A=[1,7,9,7,5,8,1,7] , C=1 , 9+2+1=12 , A->2 , C->1
[7,2,2,8,0,2] + [9,5,3,2,4,1] , A=[2,1,7,9,7,5,8,1,7] , C=1 , 2+1+1=4 , A->4 , C->0
[7,2,2,8,0] + [9,5,3,2,4] , A=[4,2,1,7,9,7,5,8,1,7] , C=0 , 0+4+0=4 , A->4 , C->0
[7,2,2,8] + [9,5,3,2] , A=[4,4,2,1,7,9,7,5,8,1,7] , C=0 , 8+2+0=10 , A->0 , C->1
[7,2,2] + [9,5,3] , A=[0,4,4,2,1,7,9,7,5,8,1,7] , C=1 , 2+3+1=6 , A->6 , C->0
[7,2] + [9,5] , A=[6,0,4,4,2,1,7,9,7,5,8,1,7] , C=0 , 2+5+0=7 , A->7 , C->0
[7] + [9] , A=[7,6,0,4,4,2,1,7,9,7,5,8,1,7] , C=0 , 7+9+0=16 , A->6 , C->1
[] + [] , A=[6,7,6,0,4,4,2,1,7,9,7,5,8,1,7] C=1 , END
</scratch>
1676044217975817
| 1676044217975817 | 15 |
Input:
528343962067914+692243542400230
Target:
| Input:
528343962067914+692243542400230
Target:
[5,2,8,3,4,3,9,6,2,0,6,7,9,1,4] + [6,9,2,2,4,3,5,4,2,4,0,0,2,3,0] , A=[] , C=0 , 4+0+0=4 , A->4 , C->0
[5,2,8,3,4,3,9,6,2,0,6,7,9,1] + [6,9,2,2,4,3,5,4,2,4,0,0,2,3] , A=[4] , C=0 , 1+3+0=4 , A->4 , C->0
[5,2,8,3,4,3,9,6,2,0,6,7,9] + [6,9,2,2,4,3,5,4,2,4,0,0,2] , A=[4,4] , C=0 , 9+2+0=11 , A->1 , C->1
[5,2,8,3,4,3,9,6,2,0,6,7] + [6,9,2,2,4,3,5,4,2,4,0,0] , A=[1,4,4] , C=1 , 7+0+1=8 , A->8 , C->0
[5,2,8,3,4,3,9,6,2,0,6] + [6,9,2,2,4,3,5,4,2,4,0] , A=[8,1,4,4] , C=0 , 6+0+0=6 , A->6 , C->0
[5,2,8,3,4,3,9,6,2,0] + [6,9,2,2,4,3,5,4,2,4] , A=[6,8,1,4,4] , C=0 , 0+4+0=4 , A->4 , C->0
[5,2,8,3,4,3,9,6,2] + [6,9,2,2,4,3,5,4,2] , A=[4,6,8,1,4,4] , C=0 , 2+2+0=4 , A->4 , C->0
[5,2,8,3,4,3,9,6] + [6,9,2,2,4,3,5,4] , A=[4,4,6,8,1,4,4] , C=0 , 6+4+0=10 , A->0 , C->1
[5,2,8,3,4,3,9] + [6,9,2,2,4,3,5] , A=[0,4,4,6,8,1,4,4] , C=1 , 9+5+1=15 , A->5 , C->1
[5,2,8,3,4,3] + [6,9,2,2,4,3] , A=[5,0,4,4,6,8,1,4,4] , C=1 , 3+3+1=7 , A->7 , C->0
[5,2,8,3,4] + [6,9,2,2,4] , A=[7,5,0,4,4,6,8,1,4,4] , C=0 , 4+4+0=8 , A->8 , C->0
[5,2,8,3] + [6,9,2,2] , A=[8,7,5,0,4,4,6,8,1,4,4] , C=0 , 3+2+0=5 , A->5 , C->0
[5,2,8] + [6,9,2] , A=[5,8,7,5,0,4,4,6,8,1,4,4] , C=0 , 8+2+0=10 , A->0 , C->1
[5,2] + [6,9] , A=[0,5,8,7,5,0,4,4,6,8,1,4,4] , C=1 , 2+9+1=12 , A->2 , C->1
[5] + [6] , A=[2,0,5,8,7,5,0,4,4,6,8,1,4,4] , C=1 , 5+6+1=12 , A->2 , C->1
[] + [] , A=[2,2,0,5,8,7,5,0,4,4,6,8,1,4,4] C=1 , END
</scratch>
1220587504468144
| 1220587504468144 | 15 |
Input:
777664233830286+193620026250367
Target:
| Input:
777664233830286+193620026250367
Target:
[7,7,7,6,6,4,2,3,3,8,3,0,2,8,6] + [1,9,3,6,2,0,0,2,6,2,5,0,3,6,7] , A=[] , C=0 , 6+7+0=13 , A->3 , C->1
[7,7,7,6,6,4,2,3,3,8,3,0,2,8] + [1,9,3,6,2,0,0,2,6,2,5,0,3,6] , A=[3] , C=1 , 8+6+1=15 , A->5 , C->1
[7,7,7,6,6,4,2,3,3,8,3,0,2] + [1,9,3,6,2,0,0,2,6,2,5,0,3] , A=[5,3] , C=1 , 2+3+1=6 , A->6 , C->0
[7,7,7,6,6,4,2,3,3,8,3,0] + [1,9,3,6,2,0,0,2,6,2,5,0] , A=[6,5,3] , C=0 , 0+0+0=0 , A->0 , C->0
[7,7,7,6,6,4,2,3,3,8,3] + [1,9,3,6,2,0,0,2,6,2,5] , A=[0,6,5,3] , C=0 , 3+5+0=8 , A->8 , C->0
[7,7,7,6,6,4,2,3,3,8] + [1,9,3,6,2,0,0,2,6,2] , A=[8,0,6,5,3] , C=0 , 8+2+0=10 , A->0 , C->1
[7,7,7,6,6,4,2,3,3] + [1,9,3,6,2,0,0,2,6] , A=[0,8,0,6,5,3] , C=1 , 3+6+1=10 , A->0 , C->1
[7,7,7,6,6,4,2,3] + [1,9,3,6,2,0,0,2] , A=[0,0,8,0,6,5,3] , C=1 , 3+2+1=6 , A->6 , C->0
[7,7,7,6,6,4,2] + [1,9,3,6,2,0,0] , A=[6,0,0,8,0,6,5,3] , C=0 , 2+0+0=2 , A->2 , C->0
[7,7,7,6,6,4] + [1,9,3,6,2,0] , A=[2,6,0,0,8,0,6,5,3] , C=0 , 4+0+0=4 , A->4 , C->0
[7,7,7,6,6] + [1,9,3,6,2] , A=[4,2,6,0,0,8,0,6,5,3] , C=0 , 6+2+0=8 , A->8 , C->0
[7,7,7,6] + [1,9,3,6] , A=[8,4,2,6,0,0,8,0,6,5,3] , C=0 , 6+6+0=12 , A->2 , C->1
[7,7,7] + [1,9,3] , A=[2,8,4,2,6,0,0,8,0,6,5,3] , C=1 , 7+3+1=11 , A->1 , C->1
[7,7] + [1,9] , A=[1,2,8,4,2,6,0,0,8,0,6,5,3] , C=1 , 7+9+1=17 , A->7 , C->1
[7] + [1] , A=[7,1,2,8,4,2,6,0,0,8,0,6,5,3] , C=1 , 7+1+1=9 , A->9 , C->0
[] + [] , A=[9,7,1,2,8,4,2,6,0,0,8,0,6,5,3] C=0 , END
</scratch>
971284260080653
| 971284260080653 | 15 |
Input:
586456476895889+730537079850753
Target:
| Input:
586456476895889+730537079850753
Target:
[5,8,6,4,5,6,4,7,6,8,9,5,8,8,9] + [7,3,0,5,3,7,0,7,9,8,5,0,7,5,3] , A=[] , C=0 , 9+3+0=12 , A->2 , C->1
[5,8,6,4,5,6,4,7,6,8,9,5,8,8] + [7,3,0,5,3,7,0,7,9,8,5,0,7,5] , A=[2] , C=1 , 8+5+1=14 , A->4 , C->1
[5,8,6,4,5,6,4,7,6,8,9,5,8] + [7,3,0,5,3,7,0,7,9,8,5,0,7] , A=[4,2] , C=1 , 8+7+1=16 , A->6 , C->1
[5,8,6,4,5,6,4,7,6,8,9,5] + [7,3,0,5,3,7,0,7,9,8,5,0] , A=[6,4,2] , C=1 , 5+0+1=6 , A->6 , C->0
[5,8,6,4,5,6,4,7,6,8,9] + [7,3,0,5,3,7,0,7,9,8,5] , A=[6,6,4,2] , C=0 , 9+5+0=14 , A->4 , C->1
[5,8,6,4,5,6,4,7,6,8] + [7,3,0,5,3,7,0,7,9,8] , A=[4,6,6,4,2] , C=1 , 8+8+1=17 , A->7 , C->1
[5,8,6,4,5,6,4,7,6] + [7,3,0,5,3,7,0,7,9] , A=[7,4,6,6,4,2] , C=1 , 6+9+1=16 , A->6 , C->1
[5,8,6,4,5,6,4,7] + [7,3,0,5,3,7,0,7] , A=[6,7,4,6,6,4,2] , C=1 , 7+7+1=15 , A->5 , C->1
[5,8,6,4,5,6,4] + [7,3,0,5,3,7,0] , A=[5,6,7,4,6,6,4,2] , C=1 , 4+0+1=5 , A->5 , C->0
[5,8,6,4,5,6] + [7,3,0,5,3,7] , A=[5,5,6,7,4,6,6,4,2] , C=0 , 6+7+0=13 , A->3 , C->1
[5,8,6,4,5] + [7,3,0,5,3] , A=[3,5,5,6,7,4,6,6,4,2] , C=1 , 5+3+1=9 , A->9 , C->0
[5,8,6,4] + [7,3,0,5] , A=[9,3,5,5,6,7,4,6,6,4,2] , C=0 , 4+5+0=9 , A->9 , C->0
[5,8,6] + [7,3,0] , A=[9,9,3,5,5,6,7,4,6,6,4,2] , C=0 , 6+0+0=6 , A->6 , C->0
[5,8] + [7,3] , A=[6,9,9,3,5,5,6,7,4,6,6,4,2] , C=0 , 8+3+0=11 , A->1 , C->1
[5] + [7] , A=[1,6,9,9,3,5,5,6,7,4,6,6,4,2] , C=1 , 5+7+1=13 , A->3 , C->1
[] + [] , A=[3,1,6,9,9,3,5,5,6,7,4,6,6,4,2] C=1 , END
</scratch>
1316993556746642
| 1316993556746642 | 15 |
Input:
143700149242712+897780596401918
Target:
| Input:
143700149242712+897780596401918
Target:
[1,4,3,7,0,0,1,4,9,2,4,2,7,1,2] + [8,9,7,7,8,0,5,9,6,4,0,1,9,1,8] , A=[] , C=0 , 2+8+0=10 , A->0 , C->1
[1,4,3,7,0,0,1,4,9,2,4,2,7,1] + [8,9,7,7,8,0,5,9,6,4,0,1,9,1] , A=[0] , C=1 , 1+1+1=3 , A->3 , C->0
[1,4,3,7,0,0,1,4,9,2,4,2,7] + [8,9,7,7,8,0,5,9,6,4,0,1,9] , A=[3,0] , C=0 , 7+9+0=16 , A->6 , C->1
[1,4,3,7,0,0,1,4,9,2,4,2] + [8,9,7,7,8,0,5,9,6,4,0,1] , A=[6,3,0] , C=1 , 2+1+1=4 , A->4 , C->0
[1,4,3,7,0,0,1,4,9,2,4] + [8,9,7,7,8,0,5,9,6,4,0] , A=[4,6,3,0] , C=0 , 4+0+0=4 , A->4 , C->0
[1,4,3,7,0,0,1,4,9,2] + [8,9,7,7,8,0,5,9,6,4] , A=[4,4,6,3,0] , C=0 , 2+4+0=6 , A->6 , C->0
[1,4,3,7,0,0,1,4,9] + [8,9,7,7,8,0,5,9,6] , A=[6,4,4,6,3,0] , C=0 , 9+6+0=15 , A->5 , C->1
[1,4,3,7,0,0,1,4] + [8,9,7,7,8,0,5,9] , A=[5,6,4,4,6,3,0] , C=1 , 4+9+1=14 , A->4 , C->1
[1,4,3,7,0,0,1] + [8,9,7,7,8,0,5] , A=[4,5,6,4,4,6,3,0] , C=1 , 1+5+1=7 , A->7 , C->0
[1,4,3,7,0,0] + [8,9,7,7,8,0] , A=[7,4,5,6,4,4,6,3,0] , C=0 , 0+0+0=0 , A->0 , C->0
[1,4,3,7,0] + [8,9,7,7,8] , A=[0,7,4,5,6,4,4,6,3,0] , C=0 , 0+8+0=8 , A->8 , C->0
[1,4,3,7] + [8,9,7,7] , A=[8,0,7,4,5,6,4,4,6,3,0] , C=0 , 7+7+0=14 , A->4 , C->1
[1,4,3] + [8,9,7] , A=[4,8,0,7,4,5,6,4,4,6,3,0] , C=1 , 3+7+1=11 , A->1 , C->1
[1,4] + [8,9] , A=[1,4,8,0,7,4,5,6,4,4,6,3,0] , C=1 , 4+9+1=14 , A->4 , C->1
[1] + [8] , A=[4,1,4,8,0,7,4,5,6,4,4,6,3,0] , C=1 , 1+8+1=10 , A->0 , C->1
[] + [] , A=[0,4,1,4,8,0,7,4,5,6,4,4,6,3,0] C=1 , END
</scratch>
1041480745644630
| 1041480745644630 | 15 |
Input:
989585795754748+506205666276543
Target:
| Input:
989585795754748+506205666276543
Target:
[9,8,9,5,8,5,7,9,5,7,5,4,7,4,8] + [5,0,6,2,0,5,6,6,6,2,7,6,5,4,3] , A=[] , C=0 , 8+3+0=11 , A->1 , C->1
[9,8,9,5,8,5,7,9,5,7,5,4,7,4] + [5,0,6,2,0,5,6,6,6,2,7,6,5,4] , A=[1] , C=1 , 4+4+1=9 , A->9 , C->0
[9,8,9,5,8,5,7,9,5,7,5,4,7] + [5,0,6,2,0,5,6,6,6,2,7,6,5] , A=[9,1] , C=0 , 7+5+0=12 , A->2 , C->1
[9,8,9,5,8,5,7,9,5,7,5,4] + [5,0,6,2,0,5,6,6,6,2,7,6] , A=[2,9,1] , C=1 , 4+6+1=11 , A->1 , C->1
[9,8,9,5,8,5,7,9,5,7,5] + [5,0,6,2,0,5,6,6,6,2,7] , A=[1,2,9,1] , C=1 , 5+7+1=13 , A->3 , C->1
[9,8,9,5,8,5,7,9,5,7] + [5,0,6,2,0,5,6,6,6,2] , A=[3,1,2,9,1] , C=1 , 7+2+1=10 , A->0 , C->1
[9,8,9,5,8,5,7,9,5] + [5,0,6,2,0,5,6,6,6] , A=[0,3,1,2,9,1] , C=1 , 5+6+1=12 , A->2 , C->1
[9,8,9,5,8,5,7,9] + [5,0,6,2,0,5,6,6] , A=[2,0,3,1,2,9,1] , C=1 , 9+6+1=16 , A->6 , C->1
[9,8,9,5,8,5,7] + [5,0,6,2,0,5,6] , A=[6,2,0,3,1,2,9,1] , C=1 , 7+6+1=14 , A->4 , C->1
[9,8,9,5,8,5] + [5,0,6,2,0,5] , A=[4,6,2,0,3,1,2,9,1] , C=1 , 5+5+1=11 , A->1 , C->1
[9,8,9,5,8] + [5,0,6,2,0] , A=[1,4,6,2,0,3,1,2,9,1] , C=1 , 8+0+1=9 , A->9 , C->0
[9,8,9,5] + [5,0,6,2] , A=[9,1,4,6,2,0,3,1,2,9,1] , C=0 , 5+2+0=7 , A->7 , C->0
[9,8,9] + [5,0,6] , A=[7,9,1,4,6,2,0,3,1,2,9,1] , C=0 , 9+6+0=15 , A->5 , C->1
[9,8] + [5,0] , A=[5,7,9,1,4,6,2,0,3,1,2,9,1] , C=1 , 8+0+1=9 , A->9 , C->0
[9] + [5] , A=[9,5,7,9,1,4,6,2,0,3,1,2,9,1] , C=0 , 9+5+0=14 , A->4 , C->1
[] + [] , A=[4,9,5,7,9,1,4,6,2,0,3,1,2,9,1] C=1 , END
</scratch>
1495791462031291
| 1495791462031291 | 15 |
Input:
841652436104122+824809614403721
Target:
| Input:
841652436104122+824809614403721
Target:
[8,4,1,6,5,2,4,3,6,1,0,4,1,2,2] + [8,2,4,8,0,9,6,1,4,4,0,3,7,2,1] , A=[] , C=0 , 2+1+0=3 , A->3 , C->0
[8,4,1,6,5,2,4,3,6,1,0,4,1,2] + [8,2,4,8,0,9,6,1,4,4,0,3,7,2] , A=[3] , C=0 , 2+2+0=4 , A->4 , C->0
[8,4,1,6,5,2,4,3,6,1,0,4,1] + [8,2,4,8,0,9,6,1,4,4,0,3,7] , A=[4,3] , C=0 , 1+7+0=8 , A->8 , C->0
[8,4,1,6,5,2,4,3,6,1,0,4] + [8,2,4,8,0,9,6,1,4,4,0,3] , A=[8,4,3] , C=0 , 4+3+0=7 , A->7 , C->0
[8,4,1,6,5,2,4,3,6,1,0] + [8,2,4,8,0,9,6,1,4,4,0] , A=[7,8,4,3] , C=0 , 0+0+0=0 , A->0 , C->0
[8,4,1,6,5,2,4,3,6,1] + [8,2,4,8,0,9,6,1,4,4] , A=[0,7,8,4,3] , C=0 , 1+4+0=5 , A->5 , C->0
[8,4,1,6,5,2,4,3,6] + [8,2,4,8,0,9,6,1,4] , A=[5,0,7,8,4,3] , C=0 , 6+4+0=10 , A->0 , C->1
[8,4,1,6,5,2,4,3] + [8,2,4,8,0,9,6,1] , A=[0,5,0,7,8,4,3] , C=1 , 3+1+1=5 , A->5 , C->0
[8,4,1,6,5,2,4] + [8,2,4,8,0,9,6] , A=[5,0,5,0,7,8,4,3] , C=0 , 4+6+0=10 , A->0 , C->1
[8,4,1,6,5,2] + [8,2,4,8,0,9] , A=[0,5,0,5,0,7,8,4,3] , C=1 , 2+9+1=12 , A->2 , C->1
[8,4,1,6,5] + [8,2,4,8,0] , A=[2,0,5,0,5,0,7,8,4,3] , C=1 , 5+0+1=6 , A->6 , C->0
[8,4,1,6] + [8,2,4,8] , A=[6,2,0,5,0,5,0,7,8,4,3] , C=0 , 6+8+0=14 , A->4 , C->1
[8,4,1] + [8,2,4] , A=[4,6,2,0,5,0,5,0,7,8,4,3] , C=1 , 1+4+1=6 , A->6 , C->0
[8,4] + [8,2] , A=[6,4,6,2,0,5,0,5,0,7,8,4,3] , C=0 , 4+2+0=6 , A->6 , C->0
[8] + [8] , A=[6,6,4,6,2,0,5,0,5,0,7,8,4,3] , C=0 , 8+8+0=16 , A->6 , C->1
[] + [] , A=[6,6,6,4,6,2,0,5,0,5,0,7,8,4,3] C=1 , END
</scratch>
1666462050507843
| 1666462050507843 | 15 |
Input:
605001155459235+152789046597036
Target:
| Input:
605001155459235+152789046597036
Target:
[6,0,5,0,0,1,1,5,5,4,5,9,2,3,5] + [1,5,2,7,8,9,0,4,6,5,9,7,0,3,6] , A=[] , C=0 , 5+6+0=11 , A->1 , C->1
[6,0,5,0,0,1,1,5,5,4,5,9,2,3] + [1,5,2,7,8,9,0,4,6,5,9,7,0,3] , A=[1] , C=1 , 3+3+1=7 , A->7 , C->0
[6,0,5,0,0,1,1,5,5,4,5,9,2] + [1,5,2,7,8,9,0,4,6,5,9,7,0] , A=[7,1] , C=0 , 2+0+0=2 , A->2 , C->0
[6,0,5,0,0,1,1,5,5,4,5,9] + [1,5,2,7,8,9,0,4,6,5,9,7] , A=[2,7,1] , C=0 , 9+7+0=16 , A->6 , C->1
[6,0,5,0,0,1,1,5,5,4,5] + [1,5,2,7,8,9,0,4,6,5,9] , A=[6,2,7,1] , C=1 , 5+9+1=15 , A->5 , C->1
[6,0,5,0,0,1,1,5,5,4] + [1,5,2,7,8,9,0,4,6,5] , A=[5,6,2,7,1] , C=1 , 4+5+1=10 , A->0 , C->1
[6,0,5,0,0,1,1,5,5] + [1,5,2,7,8,9,0,4,6] , A=[0,5,6,2,7,1] , C=1 , 5+6+1=12 , A->2 , C->1
[6,0,5,0,0,1,1,5] + [1,5,2,7,8,9,0,4] , A=[2,0,5,6,2,7,1] , C=1 , 5+4+1=10 , A->0 , C->1
[6,0,5,0,0,1,1] + [1,5,2,7,8,9,0] , A=[0,2,0,5,6,2,7,1] , C=1 , 1+0+1=2 , A->2 , C->0
[6,0,5,0,0,1] + [1,5,2,7,8,9] , A=[2,0,2,0,5,6,2,7,1] , C=0 , 1+9+0=10 , A->0 , C->1
[6,0,5,0,0] + [1,5,2,7,8] , A=[0,2,0,2,0,5,6,2,7,1] , C=1 , 0+8+1=9 , A->9 , C->0
[6,0,5,0] + [1,5,2,7] , A=[9,0,2,0,2,0,5,6,2,7,1] , C=0 , 0+7+0=7 , A->7 , C->0
[6,0,5] + [1,5,2] , A=[7,9,0,2,0,2,0,5,6,2,7,1] , C=0 , 5+2+0=7 , A->7 , C->0
[6,0] + [1,5] , A=[7,7,9,0,2,0,2,0,5,6,2,7,1] , C=0 , 0+5+0=5 , A->5 , C->0
[6] + [1] , A=[5,7,7,9,0,2,0,2,0,5,6,2,7,1] , C=0 , 6+1+0=7 , A->7 , C->0
[] + [] , A=[7,5,7,7,9,0,2,0,2,0,5,6,2,7,1] C=0 , END
</scratch>
757790202056271
| 757790202056271 | 15 |
Input:
833109881621460+760852372507229
Target:
| Input:
833109881621460+760852372507229
Target:
[8,3,3,1,0,9,8,8,1,6,2,1,4,6,0] + [7,6,0,8,5,2,3,7,2,5,0,7,2,2,9] , A=[] , C=0 , 0+9+0=9 , A->9 , C->0
[8,3,3,1,0,9,8,8,1,6,2,1,4,6] + [7,6,0,8,5,2,3,7,2,5,0,7,2,2] , A=[9] , C=0 , 6+2+0=8 , A->8 , C->0
[8,3,3,1,0,9,8,8,1,6,2,1,4] + [7,6,0,8,5,2,3,7,2,5,0,7,2] , A=[8,9] , C=0 , 4+2+0=6 , A->6 , C->0
[8,3,3,1,0,9,8,8,1,6,2,1] + [7,6,0,8,5,2,3,7,2,5,0,7] , A=[6,8,9] , C=0 , 1+7+0=8 , A->8 , C->0
[8,3,3,1,0,9,8,8,1,6,2] + [7,6,0,8,5,2,3,7,2,5,0] , A=[8,6,8,9] , C=0 , 2+0+0=2 , A->2 , C->0
[8,3,3,1,0,9,8,8,1,6] + [7,6,0,8,5,2,3,7,2,5] , A=[2,8,6,8,9] , C=0 , 6+5+0=11 , A->1 , C->1
[8,3,3,1,0,9,8,8,1] + [7,6,0,8,5,2,3,7,2] , A=[1,2,8,6,8,9] , C=1 , 1+2+1=4 , A->4 , C->0
[8,3,3,1,0,9,8,8] + [7,6,0,8,5,2,3,7] , A=[4,1,2,8,6,8,9] , C=0 , 8+7+0=15 , A->5 , C->1
[8,3,3,1,0,9,8] + [7,6,0,8,5,2,3] , A=[5,4,1,2,8,6,8,9] , C=1 , 8+3+1=12 , A->2 , C->1
[8,3,3,1,0,9] + [7,6,0,8,5,2] , A=[2,5,4,1,2,8,6,8,9] , C=1 , 9+2+1=12 , A->2 , C->1
[8,3,3,1,0] + [7,6,0,8,5] , A=[2,2,5,4,1,2,8,6,8,9] , C=1 , 0+5+1=6 , A->6 , C->0
[8,3,3,1] + [7,6,0,8] , A=[6,2,2,5,4,1,2,8,6,8,9] , C=0 , 1+8+0=9 , A->9 , C->0
[8,3,3] + [7,6,0] , A=[9,6,2,2,5,4,1,2,8,6,8,9] , C=0 , 3+0+0=3 , A->3 , C->0
[8,3] + [7,6] , A=[3,9,6,2,2,5,4,1,2,8,6,8,9] , C=0 , 3+6+0=9 , A->9 , C->0
[8] + [7] , A=[9,3,9,6,2,2,5,4,1,2,8,6,8,9] , C=0 , 8+7+0=15 , A->5 , C->1
[] + [] , A=[5,9,3,9,6,2,2,5,4,1,2,8,6,8,9] C=1 , END
</scratch>
1593962254128689
| 1593962254128689 | 15 |
Input:
485466670353274+538047914755926
Target:
| Input:
485466670353274+538047914755926
Target:
[4,8,5,4,6,6,6,7,0,3,5,3,2,7,4] + [5,3,8,0,4,7,9,1,4,7,5,5,9,2,6] , A=[] , C=0 , 4+6+0=10 , A->0 , C->1
[4,8,5,4,6,6,6,7,0,3,5,3,2,7] + [5,3,8,0,4,7,9,1,4,7,5,5,9,2] , A=[0] , C=1 , 7+2+1=10 , A->0 , C->1
[4,8,5,4,6,6,6,7,0,3,5,3,2] + [5,3,8,0,4,7,9,1,4,7,5,5,9] , A=[0,0] , C=1 , 2+9+1=12 , A->2 , C->1
[4,8,5,4,6,6,6,7,0,3,5,3] + [5,3,8,0,4,7,9,1,4,7,5,5] , A=[2,0,0] , C=1 , 3+5+1=9 , A->9 , C->0
[4,8,5,4,6,6,6,7,0,3,5] + [5,3,8,0,4,7,9,1,4,7,5] , A=[9,2,0,0] , C=0 , 5+5+0=10 , A->0 , C->1
[4,8,5,4,6,6,6,7,0,3] + [5,3,8,0,4,7,9,1,4,7] , A=[0,9,2,0,0] , C=1 , 3+7+1=11 , A->1 , C->1
[4,8,5,4,6,6,6,7,0] + [5,3,8,0,4,7,9,1,4] , A=[1,0,9,2,0,0] , C=1 , 0+4+1=5 , A->5 , C->0
[4,8,5,4,6,6,6,7] + [5,3,8,0,4,7,9,1] , A=[5,1,0,9,2,0,0] , C=0 , 7+1+0=8 , A->8 , C->0
[4,8,5,4,6,6,6] + [5,3,8,0,4,7,9] , A=[8,5,1,0,9,2,0,0] , C=0 , 6+9+0=15 , A->5 , C->1
[4,8,5,4,6,6] + [5,3,8,0,4,7] , A=[5,8,5,1,0,9,2,0,0] , C=1 , 6+7+1=14 , A->4 , C->1
[4,8,5,4,6] + [5,3,8,0,4] , A=[4,5,8,5,1,0,9,2,0,0] , C=1 , 6+4+1=11 , A->1 , C->1
[4,8,5,4] + [5,3,8,0] , A=[1,4,5,8,5,1,0,9,2,0,0] , C=1 , 4+0+1=5 , A->5 , C->0
[4,8,5] + [5,3,8] , A=[5,1,4,5,8,5,1,0,9,2,0,0] , C=0 , 5+8+0=13 , A->3 , C->1
[4,8] + [5,3] , A=[3,5,1,4,5,8,5,1,0,9,2,0,0] , C=1 , 8+3+1=12 , A->2 , C->1
[4] + [5] , A=[2,3,5,1,4,5,8,5,1,0,9,2,0,0] , C=1 , 4+5+1=10 , A->0 , C->1
[] + [] , A=[0,2,3,5,1,4,5,8,5,1,0,9,2,0,0] C=1 , END
</scratch>
1023514585109200
| 1023514585109200 | 15 |
Input:
998146576108295+996579975209840
Target:
| Input:
998146576108295+996579975209840
Target:
[9,9,8,1,4,6,5,7,6,1,0,8,2,9,5] + [9,9,6,5,7,9,9,7,5,2,0,9,8,4,0] , A=[] , C=0 , 5+0+0=5 , A->5 , C->0
[9,9,8,1,4,6,5,7,6,1,0,8,2,9] + [9,9,6,5,7,9,9,7,5,2,0,9,8,4] , A=[5] , C=0 , 9+4+0=13 , A->3 , C->1
[9,9,8,1,4,6,5,7,6,1,0,8,2] + [9,9,6,5,7,9,9,7,5,2,0,9,8] , A=[3,5] , C=1 , 2+8+1=11 , A->1 , C->1
[9,9,8,1,4,6,5,7,6,1,0,8] + [9,9,6,5,7,9,9,7,5,2,0,9] , A=[1,3,5] , C=1 , 8+9+1=18 , A->8 , C->1
[9,9,8,1,4,6,5,7,6,1,0] + [9,9,6,5,7,9,9,7,5,2,0] , A=[8,1,3,5] , C=1 , 0+0+1=1 , A->1 , C->0
[9,9,8,1,4,6,5,7,6,1] + [9,9,6,5,7,9,9,7,5,2] , A=[1,8,1,3,5] , C=0 , 1+2+0=3 , A->3 , C->0
[9,9,8,1,4,6,5,7,6] + [9,9,6,5,7,9,9,7,5] , A=[3,1,8,1,3,5] , C=0 , 6+5+0=11 , A->1 , C->1
[9,9,8,1,4,6,5,7] + [9,9,6,5,7,9,9,7] , A=[1,3,1,8,1,3,5] , C=1 , 7+7+1=15 , A->5 , C->1
[9,9,8,1,4,6,5] + [9,9,6,5,7,9,9] , A=[5,1,3,1,8,1,3,5] , C=1 , 5+9+1=15 , A->5 , C->1
[9,9,8,1,4,6] + [9,9,6,5,7,9] , A=[5,5,1,3,1,8,1,3,5] , C=1 , 6+9+1=16 , A->6 , C->1
[9,9,8,1,4] + [9,9,6,5,7] , A=[6,5,5,1,3,1,8,1,3,5] , C=1 , 4+7+1=12 , A->2 , C->1
[9,9,8,1] + [9,9,6,5] , A=[2,6,5,5,1,3,1,8,1,3,5] , C=1 , 1+5+1=7 , A->7 , C->0
[9,9,8] + [9,9,6] , A=[7,2,6,5,5,1,3,1,8,1,3,5] , C=0 , 8+6+0=14 , A->4 , C->1
[9,9] + [9,9] , A=[4,7,2,6,5,5,1,3,1,8,1,3,5] , C=1 , 9+9+1=19 , A->9 , C->1
[9] + [9] , A=[9,4,7,2,6,5,5,1,3,1,8,1,3,5] , C=1 , 9+9+1=19 , A->9 , C->1
[] + [] , A=[9,9,4,7,2,6,5,5,1,3,1,8,1,3,5] C=1 , END
</scratch>
1994726551318135
| 1994726551318135 | 15 |
Input:
426970646679840+116946236226673
Target:
| Input:
426970646679840+116946236226673
Target:
[4,2,6,9,7,0,6,4,6,6,7,9,8,4,0] + [1,1,6,9,4,6,2,3,6,2,2,6,6,7,3] , A=[] , C=0 , 0+3+0=3 , A->3 , C->0
[4,2,6,9,7,0,6,4,6,6,7,9,8,4] + [1,1,6,9,4,6,2,3,6,2,2,6,6,7] , A=[3] , C=0 , 4+7+0=11 , A->1 , C->1
[4,2,6,9,7,0,6,4,6,6,7,9,8] + [1,1,6,9,4,6,2,3,6,2,2,6,6] , A=[1,3] , C=1 , 8+6+1=15 , A->5 , C->1
[4,2,6,9,7,0,6,4,6,6,7,9] + [1,1,6,9,4,6,2,3,6,2,2,6] , A=[5,1,3] , C=1 , 9+6+1=16 , A->6 , C->1
[4,2,6,9,7,0,6,4,6,6,7] + [1,1,6,9,4,6,2,3,6,2,2] , A=[6,5,1,3] , C=1 , 7+2+1=10 , A->0 , C->1
[4,2,6,9,7,0,6,4,6,6] + [1,1,6,9,4,6,2,3,6,2] , A=[0,6,5,1,3] , C=1 , 6+2+1=9 , A->9 , C->0
[4,2,6,9,7,0,6,4,6] + [1,1,6,9,4,6,2,3,6] , A=[9,0,6,5,1,3] , C=0 , 6+6+0=12 , A->2 , C->1
[4,2,6,9,7,0,6,4] + [1,1,6,9,4,6,2,3] , A=[2,9,0,6,5,1,3] , C=1 , 4+3+1=8 , A->8 , C->0
[4,2,6,9,7,0,6] + [1,1,6,9,4,6,2] , A=[8,2,9,0,6,5,1,3] , C=0 , 6+2+0=8 , A->8 , C->0
[4,2,6,9,7,0] + [1,1,6,9,4,6] , A=[8,8,2,9,0,6,5,1,3] , C=0 , 0+6+0=6 , A->6 , C->0
[4,2,6,9,7] + [1,1,6,9,4] , A=[6,8,8,2,9,0,6,5,1,3] , C=0 , 7+4+0=11 , A->1 , C->1
[4,2,6,9] + [1,1,6,9] , A=[1,6,8,8,2,9,0,6,5,1,3] , C=1 , 9+9+1=19 , A->9 , C->1
[4,2,6] + [1,1,6] , A=[9,1,6,8,8,2,9,0,6,5,1,3] , C=1 , 6+6+1=13 , A->3 , C->1
[4,2] + [1,1] , A=[3,9,1,6,8,8,2,9,0,6,5,1,3] , C=1 , 2+1+1=4 , A->4 , C->0
[4] + [1] , A=[4,3,9,1,6,8,8,2,9,0,6,5,1,3] , C=0 , 4+1+0=5 , A->5 , C->0
[] + [] , A=[5,4,3,9,1,6,8,8,2,9,0,6,5,1,3] C=0 , END
</scratch>
543916882906513
| 543916882906513 | 15 |
Input:
509679102202760+506709249919584
Target:
| Input:
509679102202760+506709249919584
Target:
[5,0,9,6,7,9,1,0,2,2,0,2,7,6,0] + [5,0,6,7,0,9,2,4,9,9,1,9,5,8,4] , A=[] , C=0 , 0+4+0=4 , A->4 , C->0
[5,0,9,6,7,9,1,0,2,2,0,2,7,6] + [5,0,6,7,0,9,2,4,9,9,1,9,5,8] , A=[4] , C=0 , 6+8+0=14 , A->4 , C->1
[5,0,9,6,7,9,1,0,2,2,0,2,7] + [5,0,6,7,0,9,2,4,9,9,1,9,5] , A=[4,4] , C=1 , 7+5+1=13 , A->3 , C->1
[5,0,9,6,7,9,1,0,2,2,0,2] + [5,0,6,7,0,9,2,4,9,9,1,9] , A=[3,4,4] , C=1 , 2+9+1=12 , A->2 , C->1
[5,0,9,6,7,9,1,0,2,2,0] + [5,0,6,7,0,9,2,4,9,9,1] , A=[2,3,4,4] , C=1 , 0+1+1=2 , A->2 , C->0
[5,0,9,6,7,9,1,0,2,2] + [5,0,6,7,0,9,2,4,9,9] , A=[2,2,3,4,4] , C=0 , 2+9+0=11 , A->1 , C->1
[5,0,9,6,7,9,1,0,2] + [5,0,6,7,0,9,2,4,9] , A=[1,2,2,3,4,4] , C=1 , 2+9+1=12 , A->2 , C->1
[5,0,9,6,7,9,1,0] + [5,0,6,7,0,9,2,4] , A=[2,1,2,2,3,4,4] , C=1 , 0+4+1=5 , A->5 , C->0
[5,0,9,6,7,9,1] + [5,0,6,7,0,9,2] , A=[5,2,1,2,2,3,4,4] , C=0 , 1+2+0=3 , A->3 , C->0
[5,0,9,6,7,9] + [5,0,6,7,0,9] , A=[3,5,2,1,2,2,3,4,4] , C=0 , 9+9+0=18 , A->8 , C->1
[5,0,9,6,7] + [5,0,6,7,0] , A=[8,3,5,2,1,2,2,3,4,4] , C=1 , 7+0+1=8 , A->8 , C->0
[5,0,9,6] + [5,0,6,7] , A=[8,8,3,5,2,1,2,2,3,4,4] , C=0 , 6+7+0=13 , A->3 , C->1
[5,0,9] + [5,0,6] , A=[3,8,8,3,5,2,1,2,2,3,4,4] , C=1 , 9+6+1=16 , A->6 , C->1
[5,0] + [5,0] , A=[6,3,8,8,3,5,2,1,2,2,3,4,4] , C=1 , 0+0+1=1 , A->1 , C->0
[5] + [5] , A=[1,6,3,8,8,3,5,2,1,2,2,3,4,4] , C=0 , 5+5+0=10 , A->0 , C->1
[] + [] , A=[0,1,6,3,8,8,3,5,2,1,2,2,3,4,4] C=1 , END
</scratch>
1016388352122344
| 1016388352122344 | 15 |
Input:
897402670716196+667526338322090
Target:
| Input:
897402670716196+667526338322090
Target:
[8,9,7,4,0,2,6,7,0,7,1,6,1,9,6] + [6,6,7,5,2,6,3,3,8,3,2,2,0,9,0] , A=[] , C=0 , 6+0+0=6 , A->6 , C->0
[8,9,7,4,0,2,6,7,0,7,1,6,1,9] + [6,6,7,5,2,6,3,3,8,3,2,2,0,9] , A=[6] , C=0 , 9+9+0=18 , A->8 , C->1
[8,9,7,4,0,2,6,7,0,7,1,6,1] + [6,6,7,5,2,6,3,3,8,3,2,2,0] , A=[8,6] , C=1 , 1+0+1=2 , A->2 , C->0
[8,9,7,4,0,2,6,7,0,7,1,6] + [6,6,7,5,2,6,3,3,8,3,2,2] , A=[2,8,6] , C=0 , 6+2+0=8 , A->8 , C->0
[8,9,7,4,0,2,6,7,0,7,1] + [6,6,7,5,2,6,3,3,8,3,2] , A=[8,2,8,6] , C=0 , 1+2+0=3 , A->3 , C->0
[8,9,7,4,0,2,6,7,0,7] + [6,6,7,5,2,6,3,3,8,3] , A=[3,8,2,8,6] , C=0 , 7+3+0=10 , A->0 , C->1
[8,9,7,4,0,2,6,7,0] + [6,6,7,5,2,6,3,3,8] , A=[0,3,8,2,8,6] , C=1 , 0+8+1=9 , A->9 , C->0
[8,9,7,4,0,2,6,7] + [6,6,7,5,2,6,3,3] , A=[9,0,3,8,2,8,6] , C=0 , 7+3+0=10 , A->0 , C->1
[8,9,7,4,0,2,6] + [6,6,7,5,2,6,3] , A=[0,9,0,3,8,2,8,6] , C=1 , 6+3+1=10 , A->0 , C->1
[8,9,7,4,0,2] + [6,6,7,5,2,6] , A=[0,0,9,0,3,8,2,8,6] , C=1 , 2+6+1=9 , A->9 , C->0
[8,9,7,4,0] + [6,6,7,5,2] , A=[9,0,0,9,0,3,8,2,8,6] , C=0 , 0+2+0=2 , A->2 , C->0
[8,9,7,4] + [6,6,7,5] , A=[2,9,0,0,9,0,3,8,2,8,6] , C=0 , 4+5+0=9 , A->9 , C->0
[8,9,7] + [6,6,7] , A=[9,2,9,0,0,9,0,3,8,2,8,6] , C=0 , 7+7+0=14 , A->4 , C->1
[8,9] + [6,6] , A=[4,9,2,9,0,0,9,0,3,8,2,8,6] , C=1 , 9+6+1=16 , A->6 , C->1
[8] + [6] , A=[6,4,9,2,9,0,0,9,0,3,8,2,8,6] , C=1 , 8+6+1=15 , A->5 , C->1
[] + [] , A=[5,6,4,9,2,9,0,0,9,0,3,8,2,8,6] C=1 , END
</scratch>
1564929009038286
| 1564929009038286 | 15 |
Input:
234981633234691+916626933940010
Target:
| Input:
234981633234691+916626933940010
Target:
[2,3,4,9,8,1,6,3,3,2,3,4,6,9,1] + [9,1,6,6,2,6,9,3,3,9,4,0,0,1,0] , A=[] , C=0 , 1+0+0=1 , A->1 , C->0
[2,3,4,9,8,1,6,3,3,2,3,4,6,9] + [9,1,6,6,2,6,9,3,3,9,4,0,0,1] , A=[1] , C=0 , 9+1+0=10 , A->0 , C->1
[2,3,4,9,8,1,6,3,3,2,3,4,6] + [9,1,6,6,2,6,9,3,3,9,4,0,0] , A=[0,1] , C=1 , 6+0+1=7 , A->7 , C->0
[2,3,4,9,8,1,6,3,3,2,3,4] + [9,1,6,6,2,6,9,3,3,9,4,0] , A=[7,0,1] , C=0 , 4+0+0=4 , A->4 , C->0
[2,3,4,9,8,1,6,3,3,2,3] + [9,1,6,6,2,6,9,3,3,9,4] , A=[4,7,0,1] , C=0 , 3+4+0=7 , A->7 , C->0
[2,3,4,9,8,1,6,3,3,2] + [9,1,6,6,2,6,9,3,3,9] , A=[7,4,7,0,1] , C=0 , 2+9+0=11 , A->1 , C->1
[2,3,4,9,8,1,6,3,3] + [9,1,6,6,2,6,9,3,3] , A=[1,7,4,7,0,1] , C=1 , 3+3+1=7 , A->7 , C->0
[2,3,4,9,8,1,6,3] + [9,1,6,6,2,6,9,3] , A=[7,1,7,4,7,0,1] , C=0 , 3+3+0=6 , A->6 , C->0
[2,3,4,9,8,1,6] + [9,1,6,6,2,6,9] , A=[6,7,1,7,4,7,0,1] , C=0 , 6+9+0=15 , A->5 , C->1
[2,3,4,9,8,1] + [9,1,6,6,2,6] , A=[5,6,7,1,7,4,7,0,1] , C=1 , 1+6+1=8 , A->8 , C->0
[2,3,4,9,8] + [9,1,6,6,2] , A=[8,5,6,7,1,7,4,7,0,1] , C=0 , 8+2+0=10 , A->0 , C->1
[2,3,4,9] + [9,1,6,6] , A=[0,8,5,6,7,1,7,4,7,0,1] , C=1 , 9+6+1=16 , A->6 , C->1
[2,3,4] + [9,1,6] , A=[6,0,8,5,6,7,1,7,4,7,0,1] , C=1 , 4+6+1=11 , A->1 , C->1
[2,3] + [9,1] , A=[1,6,0,8,5,6,7,1,7,4,7,0,1] , C=1 , 3+1+1=5 , A->5 , C->0
[2] + [9] , A=[5,1,6,0,8,5,6,7,1,7,4,7,0,1] , C=0 , 2+9+0=11 , A->1 , C->1
[] + [] , A=[1,5,1,6,0,8,5,6,7,1,7,4,7,0,1] C=1 , END
</scratch>
1151608567174701
| 1151608567174701 | 15 |
Input:
751435268674666+689436306728307
Target:
| Input:
751435268674666+689436306728307
Target:
[7,5,1,4,3,5,2,6,8,6,7,4,6,6,6] + [6,8,9,4,3,6,3,0,6,7,2,8,3,0,7] , A=[] , C=0 , 6+7+0=13 , A->3 , C->1
[7,5,1,4,3,5,2,6,8,6,7,4,6,6] + [6,8,9,4,3,6,3,0,6,7,2,8,3,0] , A=[3] , C=1 , 6+0+1=7 , A->7 , C->0
[7,5,1,4,3,5,2,6,8,6,7,4,6] + [6,8,9,4,3,6,3,0,6,7,2,8,3] , A=[7,3] , C=0 , 6+3+0=9 , A->9 , C->0
[7,5,1,4,3,5,2,6,8,6,7,4] + [6,8,9,4,3,6,3,0,6,7,2,8] , A=[9,7,3] , C=0 , 4+8+0=12 , A->2 , C->1
[7,5,1,4,3,5,2,6,8,6,7] + [6,8,9,4,3,6,3,0,6,7,2] , A=[2,9,7,3] , C=1 , 7+2+1=10 , A->0 , C->1
[7,5,1,4,3,5,2,6,8,6] + [6,8,9,4,3,6,3,0,6,7] , A=[0,2,9,7,3] , C=1 , 6+7+1=14 , A->4 , C->1
[7,5,1,4,3,5,2,6,8] + [6,8,9,4,3,6,3,0,6] , A=[4,0,2,9,7,3] , C=1 , 8+6+1=15 , A->5 , C->1
[7,5,1,4,3,5,2,6] + [6,8,9,4,3,6,3,0] , A=[5,4,0,2,9,7,3] , C=1 , 6+0+1=7 , A->7 , C->0
[7,5,1,4,3,5,2] + [6,8,9,4,3,6,3] , A=[7,5,4,0,2,9,7,3] , C=0 , 2+3+0=5 , A->5 , C->0
[7,5,1,4,3,5] + [6,8,9,4,3,6] , A=[5,7,5,4,0,2,9,7,3] , C=0 , 5+6+0=11 , A->1 , C->1
[7,5,1,4,3] + [6,8,9,4,3] , A=[1,5,7,5,4,0,2,9,7,3] , C=1 , 3+3+1=7 , A->7 , C->0
[7,5,1,4] + [6,8,9,4] , A=[7,1,5,7,5,4,0,2,9,7,3] , C=0 , 4+4+0=8 , A->8 , C->0
[7,5,1] + [6,8,9] , A=[8,7,1,5,7,5,4,0,2,9,7,3] , C=0 , 1+9+0=10 , A->0 , C->1
[7,5] + [6,8] , A=[0,8,7,1,5,7,5,4,0,2,9,7,3] , C=1 , 5+8+1=14 , A->4 , C->1
[7] + [6] , A=[4,0,8,7,1,5,7,5,4,0,2,9,7,3] , C=1 , 7+6+1=14 , A->4 , C->1
[] + [] , A=[4,4,0,8,7,1,5,7,5,4,0,2,9,7,3] C=1 , END
</scratch>
1440871575402973
| 1440871575402973 | 15 |
Input:
384675299896427+607133464434653
Target:
| Input:
384675299896427+607133464434653
Target:
[3,8,4,6,7,5,2,9,9,8,9,6,4,2,7] + [6,0,7,1,3,3,4,6,4,4,3,4,6,5,3] , A=[] , C=0 , 7+3+0=10 , A->0 , C->1
[3,8,4,6,7,5,2,9,9,8,9,6,4,2] + [6,0,7,1,3,3,4,6,4,4,3,4,6,5] , A=[0] , C=1 , 2+5+1=8 , A->8 , C->0
[3,8,4,6,7,5,2,9,9,8,9,6,4] + [6,0,7,1,3,3,4,6,4,4,3,4,6] , A=[8,0] , C=0 , 4+6+0=10 , A->0 , C->1
[3,8,4,6,7,5,2,9,9,8,9,6] + [6,0,7,1,3,3,4,6,4,4,3,4] , A=[0,8,0] , C=1 , 6+4+1=11 , A->1 , C->1
[3,8,4,6,7,5,2,9,9,8,9] + [6,0,7,1,3,3,4,6,4,4,3] , A=[1,0,8,0] , C=1 , 9+3+1=13 , A->3 , C->1
[3,8,4,6,7,5,2,9,9,8] + [6,0,7,1,3,3,4,6,4,4] , A=[3,1,0,8,0] , C=1 , 8+4+1=13 , A->3 , C->1
[3,8,4,6,7,5,2,9,9] + [6,0,7,1,3,3,4,6,4] , A=[3,3,1,0,8,0] , C=1 , 9+4+1=14 , A->4 , C->1
[3,8,4,6,7,5,2,9] + [6,0,7,1,3,3,4,6] , A=[4,3,3,1,0,8,0] , C=1 , 9+6+1=16 , A->6 , C->1
[3,8,4,6,7,5,2] + [6,0,7,1,3,3,4] , A=[6,4,3,3,1,0,8,0] , C=1 , 2+4+1=7 , A->7 , C->0
[3,8,4,6,7,5] + [6,0,7,1,3,3] , A=[7,6,4,3,3,1,0,8,0] , C=0 , 5+3+0=8 , A->8 , C->0
[3,8,4,6,7] + [6,0,7,1,3] , A=[8,7,6,4,3,3,1,0,8,0] , C=0 , 7+3+0=10 , A->0 , C->1
[3,8,4,6] + [6,0,7,1] , A=[0,8,7,6,4,3,3,1,0,8,0] , C=1 , 6+1+1=8 , A->8 , C->0
[3,8,4] + [6,0,7] , A=[8,0,8,7,6,4,3,3,1,0,8,0] , C=0 , 4+7+0=11 , A->1 , C->1
[3,8] + [6,0] , A=[1,8,0,8,7,6,4,3,3,1,0,8,0] , C=1 , 8+0+1=9 , A->9 , C->0
[3] + [6] , A=[9,1,8,0,8,7,6,4,3,3,1,0,8,0] , C=0 , 3+6+0=9 , A->9 , C->0
[] + [] , A=[9,9,1,8,0,8,7,6,4,3,3,1,0,8,0] C=0 , END
</scratch>
991808764331080
| 991808764331080 | 15 |
Input:
394206181768243+743935537426534
Target:
| Input:
394206181768243+743935537426534
Target:
[3,9,4,2,0,6,1,8,1,7,6,8,2,4,3] + [7,4,3,9,3,5,5,3,7,4,2,6,5,3,4] , A=[] , C=0 , 3+4+0=7 , A->7 , C->0
[3,9,4,2,0,6,1,8,1,7,6,8,2,4] + [7,4,3,9,3,5,5,3,7,4,2,6,5,3] , A=[7] , C=0 , 4+3+0=7 , A->7 , C->0
[3,9,4,2,0,6,1,8,1,7,6,8,2] + [7,4,3,9,3,5,5,3,7,4,2,6,5] , A=[7,7] , C=0 , 2+5+0=7 , A->7 , C->0
[3,9,4,2,0,6,1,8,1,7,6,8] + [7,4,3,9,3,5,5,3,7,4,2,6] , A=[7,7,7] , C=0 , 8+6+0=14 , A->4 , C->1
[3,9,4,2,0,6,1,8,1,7,6] + [7,4,3,9,3,5,5,3,7,4,2] , A=[4,7,7,7] , C=1 , 6+2+1=9 , A->9 , C->0
[3,9,4,2,0,6,1,8,1,7] + [7,4,3,9,3,5,5,3,7,4] , A=[9,4,7,7,7] , C=0 , 7+4+0=11 , A->1 , C->1
[3,9,4,2,0,6,1,8,1] + [7,4,3,9,3,5,5,3,7] , A=[1,9,4,7,7,7] , C=1 , 1+7+1=9 , A->9 , C->0
[3,9,4,2,0,6,1,8] + [7,4,3,9,3,5,5,3] , A=[9,1,9,4,7,7,7] , C=0 , 8+3+0=11 , A->1 , C->1
[3,9,4,2,0,6,1] + [7,4,3,9,3,5,5] , A=[1,9,1,9,4,7,7,7] , C=1 , 1+5+1=7 , A->7 , C->0
[3,9,4,2,0,6] + [7,4,3,9,3,5] , A=[7,1,9,1,9,4,7,7,7] , C=0 , 6+5+0=11 , A->1 , C->1
[3,9,4,2,0] + [7,4,3,9,3] , A=[1,7,1,9,1,9,4,7,7,7] , C=1 , 0+3+1=4 , A->4 , C->0
[3,9,4,2] + [7,4,3,9] , A=[4,1,7,1,9,1,9,4,7,7,7] , C=0 , 2+9+0=11 , A->1 , C->1
[3,9,4] + [7,4,3] , A=[1,4,1,7,1,9,1,9,4,7,7,7] , C=1 , 4+3+1=8 , A->8 , C->0
[3,9] + [7,4] , A=[8,1,4,1,7,1,9,1,9,4,7,7,7] , C=0 , 9+4+0=13 , A->3 , C->1
[3] + [7] , A=[3,8,1,4,1,7,1,9,1,9,4,7,7,7] , C=1 , 3+7+1=11 , A->1 , C->1
[] + [] , A=[1,3,8,1,4,1,7,1,9,1,9,4,7,7,7] C=1 , END
</scratch>
1138141719194777
| 1138141719194777 | 15 |
Input:
324547889188535+940390355292223
Target:
| Input:
324547889188535+940390355292223
Target:
[3,2,4,5,4,7,8,8,9,1,8,8,5,3,5] + [9,4,0,3,9,0,3,5,5,2,9,2,2,2,3] , A=[] , C=0 , 5+3+0=8 , A->8 , C->0
[3,2,4,5,4,7,8,8,9,1,8,8,5,3] + [9,4,0,3,9,0,3,5,5,2,9,2,2,2] , A=[8] , C=0 , 3+2+0=5 , A->5 , C->0
[3,2,4,5,4,7,8,8,9,1,8,8,5] + [9,4,0,3,9,0,3,5,5,2,9,2,2] , A=[5,8] , C=0 , 5+2+0=7 , A->7 , C->0
[3,2,4,5,4,7,8,8,9,1,8,8] + [9,4,0,3,9,0,3,5,5,2,9,2] , A=[7,5,8] , C=0 , 8+2+0=10 , A->0 , C->1
[3,2,4,5,4,7,8,8,9,1,8] + [9,4,0,3,9,0,3,5,5,2,9] , A=[0,7,5,8] , C=1 , 8+9+1=18 , A->8 , C->1
[3,2,4,5,4,7,8,8,9,1] + [9,4,0,3,9,0,3,5,5,2] , A=[8,0,7,5,8] , C=1 , 1+2+1=4 , A->4 , C->0
[3,2,4,5,4,7,8,8,9] + [9,4,0,3,9,0,3,5,5] , A=[4,8,0,7,5,8] , C=0 , 9+5+0=14 , A->4 , C->1
[3,2,4,5,4,7,8,8] + [9,4,0,3,9,0,3,5] , A=[4,4,8,0,7,5,8] , C=1 , 8+5+1=14 , A->4 , C->1
[3,2,4,5,4,7,8] + [9,4,0,3,9,0,3] , A=[4,4,4,8,0,7,5,8] , C=1 , 8+3+1=12 , A->2 , C->1
[3,2,4,5,4,7] + [9,4,0,3,9,0] , A=[2,4,4,4,8,0,7,5,8] , C=1 , 7+0+1=8 , A->8 , C->0
[3,2,4,5,4] + [9,4,0,3,9] , A=[8,2,4,4,4,8,0,7,5,8] , C=0 , 4+9+0=13 , A->3 , C->1
[3,2,4,5] + [9,4,0,3] , A=[3,8,2,4,4,4,8,0,7,5,8] , C=1 , 5+3+1=9 , A->9 , C->0
[3,2,4] + [9,4,0] , A=[9,3,8,2,4,4,4,8,0,7,5,8] , C=0 , 4+0+0=4 , A->4 , C->0
[3,2] + [9,4] , A=[4,9,3,8,2,4,4,4,8,0,7,5,8] , C=0 , 2+4+0=6 , A->6 , C->0
[3] + [9] , A=[6,4,9,3,8,2,4,4,4,8,0,7,5,8] , C=0 , 3+9+0=12 , A->2 , C->1
[] + [] , A=[2,6,4,9,3,8,2,4,4,4,8,0,7,5,8] C=1 , END
</scratch>
1264938244480758
| 1264938244480758 | 15 |
Input:
320482414316604+289523616909371
Target:
| Input:
320482414316604+289523616909371
Target:
[3,2,0,4,8,2,4,1,4,3,1,6,6,0,4] + [2,8,9,5,2,3,6,1,6,9,0,9,3,7,1] , A=[] , C=0 , 4+1+0=5 , A->5 , C->0
[3,2,0,4,8,2,4,1,4,3,1,6,6,0] + [2,8,9,5,2,3,6,1,6,9,0,9,3,7] , A=[5] , C=0 , 0+7+0=7 , A->7 , C->0
[3,2,0,4,8,2,4,1,4,3,1,6,6] + [2,8,9,5,2,3,6,1,6,9,0,9,3] , A=[7,5] , C=0 , 6+3+0=9 , A->9 , C->0
[3,2,0,4,8,2,4,1,4,3,1,6] + [2,8,9,5,2,3,6,1,6,9,0,9] , A=[9,7,5] , C=0 , 6+9+0=15 , A->5 , C->1
[3,2,0,4,8,2,4,1,4,3,1] + [2,8,9,5,2,3,6,1,6,9,0] , A=[5,9,7,5] , C=1 , 1+0+1=2 , A->2 , C->0
[3,2,0,4,8,2,4,1,4,3] + [2,8,9,5,2,3,6,1,6,9] , A=[2,5,9,7,5] , C=0 , 3+9+0=12 , A->2 , C->1
[3,2,0,4,8,2,4,1,4] + [2,8,9,5,2,3,6,1,6] , A=[2,2,5,9,7,5] , C=1 , 4+6+1=11 , A->1 , C->1
[3,2,0,4,8,2,4,1] + [2,8,9,5,2,3,6,1] , A=[1,2,2,5,9,7,5] , C=1 , 1+1+1=3 , A->3 , C->0
[3,2,0,4,8,2,4] + [2,8,9,5,2,3,6] , A=[3,1,2,2,5,9,7,5] , C=0 , 4+6+0=10 , A->0 , C->1
[3,2,0,4,8,2] + [2,8,9,5,2,3] , A=[0,3,1,2,2,5,9,7,5] , C=1 , 2+3+1=6 , A->6 , C->0
[3,2,0,4,8] + [2,8,9,5,2] , A=[6,0,3,1,2,2,5,9,7,5] , C=0 , 8+2+0=10 , A->0 , C->1
[3,2,0,4] + [2,8,9,5] , A=[0,6,0,3,1,2,2,5,9,7,5] , C=1 , 4+5+1=10 , A->0 , C->1
[3,2,0] + [2,8,9] , A=[0,0,6,0,3,1,2,2,5,9,7,5] , C=1 , 0+9+1=10 , A->0 , C->1
[3,2] + [2,8] , A=[0,0,0,6,0,3,1,2,2,5,9,7,5] , C=1 , 2+8+1=11 , A->1 , C->1
[3] + [2] , A=[1,0,0,0,6,0,3,1,2,2,5,9,7,5] , C=1 , 3+2+1=6 , A->6 , C->0
[] + [] , A=[6,1,0,0,0,6,0,3,1,2,2,5,9,7,5] C=0 , END
</scratch>
610006031225975
| 610006031225975 | 15 |
Input:
462146562939266+723410039372238
Target:
| Input:
462146562939266+723410039372238
Target:
[4,6,2,1,4,6,5,6,2,9,3,9,2,6,6] + [7,2,3,4,1,0,0,3,9,3,7,2,2,3,8] , A=[] , C=0 , 6+8+0=14 , A->4 , C->1
[4,6,2,1,4,6,5,6,2,9,3,9,2,6] + [7,2,3,4,1,0,0,3,9,3,7,2,2,3] , A=[4] , C=1 , 6+3+1=10 , A->0 , C->1
[4,6,2,1,4,6,5,6,2,9,3,9,2] + [7,2,3,4,1,0,0,3,9,3,7,2,2] , A=[0,4] , C=1 , 2+2+1=5 , A->5 , C->0
[4,6,2,1,4,6,5,6,2,9,3,9] + [7,2,3,4,1,0,0,3,9,3,7,2] , A=[5,0,4] , C=0 , 9+2+0=11 , A->1 , C->1
[4,6,2,1,4,6,5,6,2,9,3] + [7,2,3,4,1,0,0,3,9,3,7] , A=[1,5,0,4] , C=1 , 3+7+1=11 , A->1 , C->1
[4,6,2,1,4,6,5,6,2,9] + [7,2,3,4,1,0,0,3,9,3] , A=[1,1,5,0,4] , C=1 , 9+3+1=13 , A->3 , C->1
[4,6,2,1,4,6,5,6,2] + [7,2,3,4,1,0,0,3,9] , A=[3,1,1,5,0,4] , C=1 , 2+9+1=12 , A->2 , C->1
[4,6,2,1,4,6,5,6] + [7,2,3,4,1,0,0,3] , A=[2,3,1,1,5,0,4] , C=1 , 6+3+1=10 , A->0 , C->1
[4,6,2,1,4,6,5] + [7,2,3,4,1,0,0] , A=[0,2,3,1,1,5,0,4] , C=1 , 5+0+1=6 , A->6 , C->0
[4,6,2,1,4,6] + [7,2,3,4,1,0] , A=[6,0,2,3,1,1,5,0,4] , C=0 , 6+0+0=6 , A->6 , C->0
[4,6,2,1,4] + [7,2,3,4,1] , A=[6,6,0,2,3,1,1,5,0,4] , C=0 , 4+1+0=5 , A->5 , C->0
[4,6,2,1] + [7,2,3,4] , A=[5,6,6,0,2,3,1,1,5,0,4] , C=0 , 1+4+0=5 , A->5 , C->0
[4,6,2] + [7,2,3] , A=[5,5,6,6,0,2,3,1,1,5,0,4] , C=0 , 2+3+0=5 , A->5 , C->0
[4,6] + [7,2] , A=[5,5,5,6,6,0,2,3,1,1,5,0,4] , C=0 , 6+2+0=8 , A->8 , C->0
[4] + [7] , A=[8,5,5,5,6,6,0,2,3,1,1,5,0,4] , C=0 , 4+7+0=11 , A->1 , C->1
[] + [] , A=[1,8,5,5,5,6,6,0,2,3,1,1,5,0,4] C=1 , END
</scratch>
1185556602311504
| 1185556602311504 | 15 |
Input:
454071108981530+311964394206837
Target:
| Input:
454071108981530+311964394206837
Target:
[4,5,4,0,7,1,1,0,8,9,8,1,5,3,0] + [3,1,1,9,6,4,3,9,4,2,0,6,8,3,7] , A=[] , C=0 , 0+7+0=7 , A->7 , C->0
[4,5,4,0,7,1,1,0,8,9,8,1,5,3] + [3,1,1,9,6,4,3,9,4,2,0,6,8,3] , A=[7] , C=0 , 3+3+0=6 , A->6 , C->0
[4,5,4,0,7,1,1,0,8,9,8,1,5] + [3,1,1,9,6,4,3,9,4,2,0,6,8] , A=[6,7] , C=0 , 5+8+0=13 , A->3 , C->1
[4,5,4,0,7,1,1,0,8,9,8,1] + [3,1,1,9,6,4,3,9,4,2,0,6] , A=[3,6,7] , C=1 , 1+6+1=8 , A->8 , C->0
[4,5,4,0,7,1,1,0,8,9,8] + [3,1,1,9,6,4,3,9,4,2,0] , A=[8,3,6,7] , C=0 , 8+0+0=8 , A->8 , C->0
[4,5,4,0,7,1,1,0,8,9] + [3,1,1,9,6,4,3,9,4,2] , A=[8,8,3,6,7] , C=0 , 9+2+0=11 , A->1 , C->1
[4,5,4,0,7,1,1,0,8] + [3,1,1,9,6,4,3,9,4] , A=[1,8,8,3,6,7] , C=1 , 8+4+1=13 , A->3 , C->1
[4,5,4,0,7,1,1,0] + [3,1,1,9,6,4,3,9] , A=[3,1,8,8,3,6,7] , C=1 , 0+9+1=10 , A->0 , C->1
[4,5,4,0,7,1,1] + [3,1,1,9,6,4,3] , A=[0,3,1,8,8,3,6,7] , C=1 , 1+3+1=5 , A->5 , C->0
[4,5,4,0,7,1] + [3,1,1,9,6,4] , A=[5,0,3,1,8,8,3,6,7] , C=0 , 1+4+0=5 , A->5 , C->0
[4,5,4,0,7] + [3,1,1,9,6] , A=[5,5,0,3,1,8,8,3,6,7] , C=0 , 7+6+0=13 , A->3 , C->1
[4,5,4,0] + [3,1,1,9] , A=[3,5,5,0,3,1,8,8,3,6,7] , C=1 , 0+9+1=10 , A->0 , C->1
[4,5,4] + [3,1,1] , A=[0,3,5,5,0,3,1,8,8,3,6,7] , C=1 , 4+1+1=6 , A->6 , C->0
[4,5] + [3,1] , A=[6,0,3,5,5,0,3,1,8,8,3,6,7] , C=0 , 5+1+0=6 , A->6 , C->0
[4] + [3] , A=[6,6,0,3,5,5,0,3,1,8,8,3,6,7] , C=0 , 4+3+0=7 , A->7 , C->0
[] + [] , A=[7,6,6,0,3,5,5,0,3,1,8,8,3,6,7] C=0 , END
</scratch>
766035503188367
| 766035503188367 | 15 |
Input:
396933679086439+952410821257058
Target:
| Input:
396933679086439+952410821257058
Target:
[3,9,6,9,3,3,6,7,9,0,8,6,4,3,9] + [9,5,2,4,1,0,8,2,1,2,5,7,0,5,8] , A=[] , C=0 , 9+8+0=17 , A->7 , C->1
[3,9,6,9,3,3,6,7,9,0,8,6,4,3] + [9,5,2,4,1,0,8,2,1,2,5,7,0,5] , A=[7] , C=1 , 3+5+1=9 , A->9 , C->0
[3,9,6,9,3,3,6,7,9,0,8,6,4] + [9,5,2,4,1,0,8,2,1,2,5,7,0] , A=[9,7] , C=0 , 4+0+0=4 , A->4 , C->0
[3,9,6,9,3,3,6,7,9,0,8,6] + [9,5,2,4,1,0,8,2,1,2,5,7] , A=[4,9,7] , C=0 , 6+7+0=13 , A->3 , C->1
[3,9,6,9,3,3,6,7,9,0,8] + [9,5,2,4,1,0,8,2,1,2,5] , A=[3,4,9,7] , C=1 , 8+5+1=14 , A->4 , C->1
[3,9,6,9,3,3,6,7,9,0] + [9,5,2,4,1,0,8,2,1,2] , A=[4,3,4,9,7] , C=1 , 0+2+1=3 , A->3 , C->0
[3,9,6,9,3,3,6,7,9] + [9,5,2,4,1,0,8,2,1] , A=[3,4,3,4,9,7] , C=0 , 9+1+0=10 , A->0 , C->1
[3,9,6,9,3,3,6,7] + [9,5,2,4,1,0,8,2] , A=[0,3,4,3,4,9,7] , C=1 , 7+2+1=10 , A->0 , C->1
[3,9,6,9,3,3,6] + [9,5,2,4,1,0,8] , A=[0,0,3,4,3,4,9,7] , C=1 , 6+8+1=15 , A->5 , C->1
[3,9,6,9,3,3] + [9,5,2,4,1,0] , A=[5,0,0,3,4,3,4,9,7] , C=1 , 3+0+1=4 , A->4 , C->0
[3,9,6,9,3] + [9,5,2,4,1] , A=[4,5,0,0,3,4,3,4,9,7] , C=0 , 3+1+0=4 , A->4 , C->0
[3,9,6,9] + [9,5,2,4] , A=[4,4,5,0,0,3,4,3,4,9,7] , C=0 , 9+4+0=13 , A->3 , C->1
[3,9,6] + [9,5,2] , A=[3,4,4,5,0,0,3,4,3,4,9,7] , C=1 , 6+2+1=9 , A->9 , C->0
[3,9] + [9,5] , A=[9,3,4,4,5,0,0,3,4,3,4,9,7] , C=0 , 9+5+0=14 , A->4 , C->1
[3] + [9] , A=[4,9,3,4,4,5,0,0,3,4,3,4,9,7] , C=1 , 3+9+1=13 , A->3 , C->1
[] + [] , A=[3,4,9,3,4,4,5,0,0,3,4,3,4,9,7] C=1 , END
</scratch>
1349344500343497
| 1349344500343497 | 15 |
Input:
995683085052796+743363661198339
Target:
| Input:
995683085052796+743363661198339
Target:
[9,9,5,6,8,3,0,8,5,0,5,2,7,9,6] + [7,4,3,3,6,3,6,6,1,1,9,8,3,3,9] , A=[] , C=0 , 6+9+0=15 , A->5 , C->1
[9,9,5,6,8,3,0,8,5,0,5,2,7,9] + [7,4,3,3,6,3,6,6,1,1,9,8,3,3] , A=[5] , C=1 , 9+3+1=13 , A->3 , C->1
[9,9,5,6,8,3,0,8,5,0,5,2,7] + [7,4,3,3,6,3,6,6,1,1,9,8,3] , A=[3,5] , C=1 , 7+3+1=11 , A->1 , C->1
[9,9,5,6,8,3,0,8,5,0,5,2] + [7,4,3,3,6,3,6,6,1,1,9,8] , A=[1,3,5] , C=1 , 2+8+1=11 , A->1 , C->1
[9,9,5,6,8,3,0,8,5,0,5] + [7,4,3,3,6,3,6,6,1,1,9] , A=[1,1,3,5] , C=1 , 5+9+1=15 , A->5 , C->1
[9,9,5,6,8,3,0,8,5,0] + [7,4,3,3,6,3,6,6,1,1] , A=[5,1,1,3,5] , C=1 , 0+1+1=2 , A->2 , C->0
[9,9,5,6,8,3,0,8,5] + [7,4,3,3,6,3,6,6,1] , A=[2,5,1,1,3,5] , C=0 , 5+1+0=6 , A->6 , C->0
[9,9,5,6,8,3,0,8] + [7,4,3,3,6,3,6,6] , A=[6,2,5,1,1,3,5] , C=0 , 8+6+0=14 , A->4 , C->1
[9,9,5,6,8,3,0] + [7,4,3,3,6,3,6] , A=[4,6,2,5,1,1,3,5] , C=1 , 0+6+1=7 , A->7 , C->0
[9,9,5,6,8,3] + [7,4,3,3,6,3] , A=[7,4,6,2,5,1,1,3,5] , C=0 , 3+3+0=6 , A->6 , C->0
[9,9,5,6,8] + [7,4,3,3,6] , A=[6,7,4,6,2,5,1,1,3,5] , C=0 , 8+6+0=14 , A->4 , C->1
[9,9,5,6] + [7,4,3,3] , A=[4,6,7,4,6,2,5,1,1,3,5] , C=1 , 6+3+1=10 , A->0 , C->1
[9,9,5] + [7,4,3] , A=[0,4,6,7,4,6,2,5,1,1,3,5] , C=1 , 5+3+1=9 , A->9 , C->0
[9,9] + [7,4] , A=[9,0,4,6,7,4,6,2,5,1,1,3,5] , C=0 , 9+4+0=13 , A->3 , C->1
[9] + [7] , A=[3,9,0,4,6,7,4,6,2,5,1,1,3,5] , C=1 , 9+7+1=17 , A->7 , C->1
[] + [] , A=[7,3,9,0,4,6,7,4,6,2,5,1,1,3,5] C=1 , END
</scratch>
1739046746251135
| 1739046746251135 | 15 |
Input:
537147779946762+437481164989064
Target:
| Input:
537147779946762+437481164989064
Target:
[5,3,7,1,4,7,7,7,9,9,4,6,7,6,2] + [4,3,7,4,8,1,1,6,4,9,8,9,0,6,4] , A=[] , C=0 , 2+4+0=6 , A->6 , C->0
[5,3,7,1,4,7,7,7,9,9,4,6,7,6] + [4,3,7,4,8,1,1,6,4,9,8,9,0,6] , A=[6] , C=0 , 6+6+0=12 , A->2 , C->1
[5,3,7,1,4,7,7,7,9,9,4,6,7] + [4,3,7,4,8,1,1,6,4,9,8,9,0] , A=[2,6] , C=1 , 7+0+1=8 , A->8 , C->0
[5,3,7,1,4,7,7,7,9,9,4,6] + [4,3,7,4,8,1,1,6,4,9,8,9] , A=[8,2,6] , C=0 , 6+9+0=15 , A->5 , C->1
[5,3,7,1,4,7,7,7,9,9,4] + [4,3,7,4,8,1,1,6,4,9,8] , A=[5,8,2,6] , C=1 , 4+8+1=13 , A->3 , C->1
[5,3,7,1,4,7,7,7,9,9] + [4,3,7,4,8,1,1,6,4,9] , A=[3,5,8,2,6] , C=1 , 9+9+1=19 , A->9 , C->1
[5,3,7,1,4,7,7,7,9] + [4,3,7,4,8,1,1,6,4] , A=[9,3,5,8,2,6] , C=1 , 9+4+1=14 , A->4 , C->1
[5,3,7,1,4,7,7,7] + [4,3,7,4,8,1,1,6] , A=[4,9,3,5,8,2,6] , C=1 , 7+6+1=14 , A->4 , C->1
[5,3,7,1,4,7,7] + [4,3,7,4,8,1,1] , A=[4,4,9,3,5,8,2,6] , C=1 , 7+1+1=9 , A->9 , C->0
[5,3,7,1,4,7] + [4,3,7,4,8,1] , A=[9,4,4,9,3,5,8,2,6] , C=0 , 7+1+0=8 , A->8 , C->0
[5,3,7,1,4] + [4,3,7,4,8] , A=[8,9,4,4,9,3,5,8,2,6] , C=0 , 4+8+0=12 , A->2 , C->1
[5,3,7,1] + [4,3,7,4] , A=[2,8,9,4,4,9,3,5,8,2,6] , C=1 , 1+4+1=6 , A->6 , C->0
[5,3,7] + [4,3,7] , A=[6,2,8,9,4,4,9,3,5,8,2,6] , C=0 , 7+7+0=14 , A->4 , C->1
[5,3] + [4,3] , A=[4,6,2,8,9,4,4,9,3,5,8,2,6] , C=1 , 3+3+1=7 , A->7 , C->0
[5] + [4] , A=[7,4,6,2,8,9,4,4,9,3,5,8,2,6] , C=0 , 5+4+0=9 , A->9 , C->0
[] + [] , A=[9,7,4,6,2,8,9,4,4,9,3,5,8,2,6] C=0 , END
</scratch>
974628944935826
| 974628944935826 | 15 |
Input:
906412117449717+942207383162307
Target:
| Input:
906412117449717+942207383162307
Target:
[9,0,6,4,1,2,1,1,7,4,4,9,7,1,7] + [9,4,2,2,0,7,3,8,3,1,6,2,3,0,7] , A=[] , C=0 , 7+7+0=14 , A->4 , C->1
[9,0,6,4,1,2,1,1,7,4,4,9,7,1] + [9,4,2,2,0,7,3,8,3,1,6,2,3,0] , A=[4] , C=1 , 1+0+1=2 , A->2 , C->0
[9,0,6,4,1,2,1,1,7,4,4,9,7] + [9,4,2,2,0,7,3,8,3,1,6,2,3] , A=[2,4] , C=0 , 7+3+0=10 , A->0 , C->1
[9,0,6,4,1,2,1,1,7,4,4,9] + [9,4,2,2,0,7,3,8,3,1,6,2] , A=[0,2,4] , C=1 , 9+2+1=12 , A->2 , C->1
[9,0,6,4,1,2,1,1,7,4,4] + [9,4,2,2,0,7,3,8,3,1,6] , A=[2,0,2,4] , C=1 , 4+6+1=11 , A->1 , C->1
[9,0,6,4,1,2,1,1,7,4] + [9,4,2,2,0,7,3,8,3,1] , A=[1,2,0,2,4] , C=1 , 4+1+1=6 , A->6 , C->0
[9,0,6,4,1,2,1,1,7] + [9,4,2,2,0,7,3,8,3] , A=[6,1,2,0,2,4] , C=0 , 7+3+0=10 , A->0 , C->1
[9,0,6,4,1,2,1,1] + [9,4,2,2,0,7,3,8] , A=[0,6,1,2,0,2,4] , C=1 , 1+8+1=10 , A->0 , C->1
[9,0,6,4,1,2,1] + [9,4,2,2,0,7,3] , A=[0,0,6,1,2,0,2,4] , C=1 , 1+3+1=5 , A->5 , C->0
[9,0,6,4,1,2] + [9,4,2,2,0,7] , A=[5,0,0,6,1,2,0,2,4] , C=0 , 2+7+0=9 , A->9 , C->0
[9,0,6,4,1] + [9,4,2,2,0] , A=[9,5,0,0,6,1,2,0,2,4] , C=0 , 1+0+0=1 , A->1 , C->0
[9,0,6,4] + [9,4,2,2] , A=[1,9,5,0,0,6,1,2,0,2,4] , C=0 , 4+2+0=6 , A->6 , C->0
[9,0,6] + [9,4,2] , A=[6,1,9,5,0,0,6,1,2,0,2,4] , C=0 , 6+2+0=8 , A->8 , C->0
[9,0] + [9,4] , A=[8,6,1,9,5,0,0,6,1,2,0,2,4] , C=0 , 0+4+0=4 , A->4 , C->0
[9] + [9] , A=[4,8,6,1,9,5,0,0,6,1,2,0,2,4] , C=0 , 9+9+0=18 , A->8 , C->1
[] + [] , A=[8,4,8,6,1,9,5,0,0,6,1,2,0,2,4] C=1 , END
</scratch>
1848619500612024
| 1848619500612024 | 15 |
Input:
563719713902355+630971983581554
Target:
| Input:
563719713902355+630971983581554
Target:
[5,6,3,7,1,9,7,1,3,9,0,2,3,5,5] + [6,3,0,9,7,1,9,8,3,5,8,1,5,5,4] , A=[] , C=0 , 5+4+0=9 , A->9 , C->0
[5,6,3,7,1,9,7,1,3,9,0,2,3,5] + [6,3,0,9,7,1,9,8,3,5,8,1,5,5] , A=[9] , C=0 , 5+5+0=10 , A->0 , C->1
[5,6,3,7,1,9,7,1,3,9,0,2,3] + [6,3,0,9,7,1,9,8,3,5,8,1,5] , A=[0,9] , C=1 , 3+5+1=9 , A->9 , C->0
[5,6,3,7,1,9,7,1,3,9,0,2] + [6,3,0,9,7,1,9,8,3,5,8,1] , A=[9,0,9] , C=0 , 2+1+0=3 , A->3 , C->0
[5,6,3,7,1,9,7,1,3,9,0] + [6,3,0,9,7,1,9,8,3,5,8] , A=[3,9,0,9] , C=0 , 0+8+0=8 , A->8 , C->0
[5,6,3,7,1,9,7,1,3,9] + [6,3,0,9,7,1,9,8,3,5] , A=[8,3,9,0,9] , C=0 , 9+5+0=14 , A->4 , C->1
[5,6,3,7,1,9,7,1,3] + [6,3,0,9,7,1,9,8,3] , A=[4,8,3,9,0,9] , C=1 , 3+3+1=7 , A->7 , C->0
[5,6,3,7,1,9,7,1] + [6,3,0,9,7,1,9,8] , A=[7,4,8,3,9,0,9] , C=0 , 1+8+0=9 , A->9 , C->0
[5,6,3,7,1,9,7] + [6,3,0,9,7,1,9] , A=[9,7,4,8,3,9,0,9] , C=0 , 7+9+0=16 , A->6 , C->1
[5,6,3,7,1,9] + [6,3,0,9,7,1] , A=[6,9,7,4,8,3,9,0,9] , C=1 , 9+1+1=11 , A->1 , C->1
[5,6,3,7,1] + [6,3,0,9,7] , A=[1,6,9,7,4,8,3,9,0,9] , C=1 , 1+7+1=9 , A->9 , C->0
[5,6,3,7] + [6,3,0,9] , A=[9,1,6,9,7,4,8,3,9,0,9] , C=0 , 7+9+0=16 , A->6 , C->1
[5,6,3] + [6,3,0] , A=[6,9,1,6,9,7,4,8,3,9,0,9] , C=1 , 3+0+1=4 , A->4 , C->0
[5,6] + [6,3] , A=[4,6,9,1,6,9,7,4,8,3,9,0,9] , C=0 , 6+3+0=9 , A->9 , C->0
[5] + [6] , A=[9,4,6,9,1,6,9,7,4,8,3,9,0,9] , C=0 , 5+6+0=11 , A->1 , C->1
[] + [] , A=[1,9,4,6,9,1,6,9,7,4,8,3,9,0,9] C=1 , END
</scratch>
1194691697483909
| 1194691697483909 | 15 |
Input:
917175173263281+203299139299191
Target:
| Input:
917175173263281+203299139299191
Target:
[9,1,7,1,7,5,1,7,3,2,6,3,2,8,1] + [2,0,3,2,9,9,1,3,9,2,9,9,1,9,1] , A=[] , C=0 , 1+1+0=2 , A->2 , C->0
[9,1,7,1,7,5,1,7,3,2,6,3,2,8] + [2,0,3,2,9,9,1,3,9,2,9,9,1,9] , A=[2] , C=0 , 8+9+0=17 , A->7 , C->1
[9,1,7,1,7,5,1,7,3,2,6,3,2] + [2,0,3,2,9,9,1,3,9,2,9,9,1] , A=[7,2] , C=1 , 2+1+1=4 , A->4 , C->0
[9,1,7,1,7,5,1,7,3,2,6,3] + [2,0,3,2,9,9,1,3,9,2,9,9] , A=[4,7,2] , C=0 , 3+9+0=12 , A->2 , C->1
[9,1,7,1,7,5,1,7,3,2,6] + [2,0,3,2,9,9,1,3,9,2,9] , A=[2,4,7,2] , C=1 , 6+9+1=16 , A->6 , C->1
[9,1,7,1,7,5,1,7,3,2] + [2,0,3,2,9,9,1,3,9,2] , A=[6,2,4,7,2] , C=1 , 2+2+1=5 , A->5 , C->0
[9,1,7,1,7,5,1,7,3] + [2,0,3,2,9,9,1,3,9] , A=[5,6,2,4,7,2] , C=0 , 3+9+0=12 , A->2 , C->1
[9,1,7,1,7,5,1,7] + [2,0,3,2,9,9,1,3] , A=[2,5,6,2,4,7,2] , C=1 , 7+3+1=11 , A->1 , C->1
[9,1,7,1,7,5,1] + [2,0,3,2,9,9,1] , A=[1,2,5,6,2,4,7,2] , C=1 , 1+1+1=3 , A->3 , C->0
[9,1,7,1,7,5] + [2,0,3,2,9,9] , A=[3,1,2,5,6,2,4,7,2] , C=0 , 5+9+0=14 , A->4 , C->1
[9,1,7,1,7] + [2,0,3,2,9] , A=[4,3,1,2,5,6,2,4,7,2] , C=1 , 7+9+1=17 , A->7 , C->1
[9,1,7,1] + [2,0,3,2] , A=[7,4,3,1,2,5,6,2,4,7,2] , C=1 , 1+2+1=4 , A->4 , C->0
[9,1,7] + [2,0,3] , A=[4,7,4,3,1,2,5,6,2,4,7,2] , C=0 , 7+3+0=10 , A->0 , C->1
[9,1] + [2,0] , A=[0,4,7,4,3,1,2,5,6,2,4,7,2] , C=1 , 1+0+1=2 , A->2 , C->0
[9] + [2] , A=[2,0,4,7,4,3,1,2,5,6,2,4,7,2] , C=0 , 9+2+0=11 , A->1 , C->1
[] + [] , A=[1,2,0,4,7,4,3,1,2,5,6,2,4,7,2] C=1 , END
</scratch>
1120474312562472
| 1120474312562472 | 15 |
Input:
568931543114658+315635218246206
Target:
| Input:
568931543114658+315635218246206
Target:
[5,6,8,9,3,1,5,4,3,1,1,4,6,5,8] + [3,1,5,6,3,5,2,1,8,2,4,6,2,0,6] , A=[] , C=0 , 8+6+0=14 , A->4 , C->1
[5,6,8,9,3,1,5,4,3,1,1,4,6,5] + [3,1,5,6,3,5,2,1,8,2,4,6,2,0] , A=[4] , C=1 , 5+0+1=6 , A->6 , C->0
[5,6,8,9,3,1,5,4,3,1,1,4,6] + [3,1,5,6,3,5,2,1,8,2,4,6,2] , A=[6,4] , C=0 , 6+2+0=8 , A->8 , C->0
[5,6,8,9,3,1,5,4,3,1,1,4] + [3,1,5,6,3,5,2,1,8,2,4,6] , A=[8,6,4] , C=0 , 4+6+0=10 , A->0 , C->1
[5,6,8,9,3,1,5,4,3,1,1] + [3,1,5,6,3,5,2,1,8,2,4] , A=[0,8,6,4] , C=1 , 1+4+1=6 , A->6 , C->0
[5,6,8,9,3,1,5,4,3,1] + [3,1,5,6,3,5,2,1,8,2] , A=[6,0,8,6,4] , C=0 , 1+2+0=3 , A->3 , C->0
[5,6,8,9,3,1,5,4,3] + [3,1,5,6,3,5,2,1,8] , A=[3,6,0,8,6,4] , C=0 , 3+8+0=11 , A->1 , C->1
[5,6,8,9,3,1,5,4] + [3,1,5,6,3,5,2,1] , A=[1,3,6,0,8,6,4] , C=1 , 4+1+1=6 , A->6 , C->0
[5,6,8,9,3,1,5] + [3,1,5,6,3,5,2] , A=[6,1,3,6,0,8,6,4] , C=0 , 5+2+0=7 , A->7 , C->0
[5,6,8,9,3,1] + [3,1,5,6,3,5] , A=[7,6,1,3,6,0,8,6,4] , C=0 , 1+5+0=6 , A->6 , C->0
[5,6,8,9,3] + [3,1,5,6,3] , A=[6,7,6,1,3,6,0,8,6,4] , C=0 , 3+3+0=6 , A->6 , C->0
[5,6,8,9] + [3,1,5,6] , A=[6,6,7,6,1,3,6,0,8,6,4] , C=0 , 9+6+0=15 , A->5 , C->1
[5,6,8] + [3,1,5] , A=[5,6,6,7,6,1,3,6,0,8,6,4] , C=1 , 8+5+1=14 , A->4 , C->1
[5,6] + [3,1] , A=[4,5,6,6,7,6,1,3,6,0,8,6,4] , C=1 , 6+1+1=8 , A->8 , C->0
[5] + [3] , A=[8,4,5,6,6,7,6,1,3,6,0,8,6,4] , C=0 , 5+3+0=8 , A->8 , C->0
[] + [] , A=[8,8,4,5,6,6,7,6,1,3,6,0,8,6,4] C=0 , END
</scratch>
884566761360864
| 884566761360864 | 15 |
Input:
122902174458169+777743739085137
Target:
| Input:
122902174458169+777743739085137
Target:
[1,2,2,9,0,2,1,7,4,4,5,8,1,6,9] + [7,7,7,7,4,3,7,3,9,0,8,5,1,3,7] , A=[] , C=0 , 9+7+0=16 , A->6 , C->1
[1,2,2,9,0,2,1,7,4,4,5,8,1,6] + [7,7,7,7,4,3,7,3,9,0,8,5,1,3] , A=[6] , C=1 , 6+3+1=10 , A->0 , C->1
[1,2,2,9,0,2,1,7,4,4,5,8,1] + [7,7,7,7,4,3,7,3,9,0,8,5,1] , A=[0,6] , C=1 , 1+1+1=3 , A->3 , C->0
[1,2,2,9,0,2,1,7,4,4,5,8] + [7,7,7,7,4,3,7,3,9,0,8,5] , A=[3,0,6] , C=0 , 8+5+0=13 , A->3 , C->1
[1,2,2,9,0,2,1,7,4,4,5] + [7,7,7,7,4,3,7,3,9,0,8] , A=[3,3,0,6] , C=1 , 5+8+1=14 , A->4 , C->1
[1,2,2,9,0,2,1,7,4,4] + [7,7,7,7,4,3,7,3,9,0] , A=[4,3,3,0,6] , C=1 , 4+0+1=5 , A->5 , C->0
[1,2,2,9,0,2,1,7,4] + [7,7,7,7,4,3,7,3,9] , A=[5,4,3,3,0,6] , C=0 , 4+9+0=13 , A->3 , C->1
[1,2,2,9,0,2,1,7] + [7,7,7,7,4,3,7,3] , A=[3,5,4,3,3,0,6] , C=1 , 7+3+1=11 , A->1 , C->1
[1,2,2,9,0,2,1] + [7,7,7,7,4,3,7] , A=[1,3,5,4,3,3,0,6] , C=1 , 1+7+1=9 , A->9 , C->0
[1,2,2,9,0,2] + [7,7,7,7,4,3] , A=[9,1,3,5,4,3,3,0,6] , C=0 , 2+3+0=5 , A->5 , C->0
[1,2,2,9,0] + [7,7,7,7,4] , A=[5,9,1,3,5,4,3,3,0,6] , C=0 , 0+4+0=4 , A->4 , C->0
[1,2,2,9] + [7,7,7,7] , A=[4,5,9,1,3,5,4,3,3,0,6] , C=0 , 9+7+0=16 , A->6 , C->1
[1,2,2] + [7,7,7] , A=[6,4,5,9,1,3,5,4,3,3,0,6] , C=1 , 2+7+1=10 , A->0 , C->1
[1,2] + [7,7] , A=[0,6,4,5,9,1,3,5,4,3,3,0,6] , C=1 , 2+7+1=10 , A->0 , C->1
[1] + [7] , A=[0,0,6,4,5,9,1,3,5,4,3,3,0,6] , C=1 , 1+7+1=9 , A->9 , C->0
[] + [] , A=[9,0,0,6,4,5,9,1,3,5,4,3,3,0,6] C=0 , END
</scratch>
900645913543306
| 900645913543306 | 15 |
Input:
266333909425405+100101035889239
Target:
| Input:
266333909425405+100101035889239
Target:
[2,6,6,3,3,3,9,0,9,4,2,5,4,0,5] + [1,0,0,1,0,1,0,3,5,8,8,9,2,3,9] , A=[] , C=0 , 5+9+0=14 , A->4 , C->1
[2,6,6,3,3,3,9,0,9,4,2,5,4,0] + [1,0,0,1,0,1,0,3,5,8,8,9,2,3] , A=[4] , C=1 , 0+3+1=4 , A->4 , C->0
[2,6,6,3,3,3,9,0,9,4,2,5,4] + [1,0,0,1,0,1,0,3,5,8,8,9,2] , A=[4,4] , C=0 , 4+2+0=6 , A->6 , C->0
[2,6,6,3,3,3,9,0,9,4,2,5] + [1,0,0,1,0,1,0,3,5,8,8,9] , A=[6,4,4] , C=0 , 5+9+0=14 , A->4 , C->1
[2,6,6,3,3,3,9,0,9,4,2] + [1,0,0,1,0,1,0,3,5,8,8] , A=[4,6,4,4] , C=1 , 2+8+1=11 , A->1 , C->1
[2,6,6,3,3,3,9,0,9,4] + [1,0,0,1,0,1,0,3,5,8] , A=[1,4,6,4,4] , C=1 , 4+8+1=13 , A->3 , C->1
[2,6,6,3,3,3,9,0,9] + [1,0,0,1,0,1,0,3,5] , A=[3,1,4,6,4,4] , C=1 , 9+5+1=15 , A->5 , C->1
[2,6,6,3,3,3,9,0] + [1,0,0,1,0,1,0,3] , A=[5,3,1,4,6,4,4] , C=1 , 0+3+1=4 , A->4 , C->0
[2,6,6,3,3,3,9] + [1,0,0,1,0,1,0] , A=[4,5,3,1,4,6,4,4] , C=0 , 9+0+0=9 , A->9 , C->0
[2,6,6,3,3,3] + [1,0,0,1,0,1] , A=[9,4,5,3,1,4,6,4,4] , C=0 , 3+1+0=4 , A->4 , C->0
[2,6,6,3,3] + [1,0,0,1,0] , A=[4,9,4,5,3,1,4,6,4,4] , C=0 , 3+0+0=3 , A->3 , C->0
[2,6,6,3] + [1,0,0,1] , A=[3,4,9,4,5,3,1,4,6,4,4] , C=0 , 3+1+0=4 , A->4 , C->0
[2,6,6] + [1,0,0] , A=[4,3,4,9,4,5,3,1,4,6,4,4] , C=0 , 6+0+0=6 , A->6 , C->0
[2,6] + [1,0] , A=[6,4,3,4,9,4,5,3,1,4,6,4,4] , C=0 , 6+0+0=6 , A->6 , C->0
[2] + [1] , A=[6,6,4,3,4,9,4,5,3,1,4,6,4,4] , C=0 , 2+1+0=3 , A->3 , C->0
[] + [] , A=[3,6,6,4,3,4,9,4,5,3,1,4,6,4,4] C=0 , END
</scratch>
366434945314644
| 366434945314644 | 15 |
Input:
975711862658075+303464857433750
Target:
| Input:
975711862658075+303464857433750
Target:
[9,7,5,7,1,1,8,6,2,6,5,8,0,7,5] + [3,0,3,4,6,4,8,5,7,4,3,3,7,5,0] , A=[] , C=0 , 5+0+0=5 , A->5 , C->0
[9,7,5,7,1,1,8,6,2,6,5,8,0,7] + [3,0,3,4,6,4,8,5,7,4,3,3,7,5] , A=[5] , C=0 , 7+5+0=12 , A->2 , C->1
[9,7,5,7,1,1,8,6,2,6,5,8,0] + [3,0,3,4,6,4,8,5,7,4,3,3,7] , A=[2,5] , C=1 , 0+7+1=8 , A->8 , C->0
[9,7,5,7,1,1,8,6,2,6,5,8] + [3,0,3,4,6,4,8,5,7,4,3,3] , A=[8,2,5] , C=0 , 8+3+0=11 , A->1 , C->1
[9,7,5,7,1,1,8,6,2,6,5] + [3,0,3,4,6,4,8,5,7,4,3] , A=[1,8,2,5] , C=1 , 5+3+1=9 , A->9 , C->0
[9,7,5,7,1,1,8,6,2,6] + [3,0,3,4,6,4,8,5,7,4] , A=[9,1,8,2,5] , C=0 , 6+4+0=10 , A->0 , C->1
[9,7,5,7,1,1,8,6,2] + [3,0,3,4,6,4,8,5,7] , A=[0,9,1,8,2,5] , C=1 , 2+7+1=10 , A->0 , C->1
[9,7,5,7,1,1,8,6] + [3,0,3,4,6,4,8,5] , A=[0,0,9,1,8,2,5] , C=1 , 6+5+1=12 , A->2 , C->1
[9,7,5,7,1,1,8] + [3,0,3,4,6,4,8] , A=[2,0,0,9,1,8,2,5] , C=1 , 8+8+1=17 , A->7 , C->1
[9,7,5,7,1,1] + [3,0,3,4,6,4] , A=[7,2,0,0,9,1,8,2,5] , C=1 , 1+4+1=6 , A->6 , C->0
[9,7,5,7,1] + [3,0,3,4,6] , A=[6,7,2,0,0,9,1,8,2,5] , C=0 , 1+6+0=7 , A->7 , C->0
[9,7,5,7] + [3,0,3,4] , A=[7,6,7,2,0,0,9,1,8,2,5] , C=0 , 7+4+0=11 , A->1 , C->1
[9,7,5] + [3,0,3] , A=[1,7,6,7,2,0,0,9,1,8,2,5] , C=1 , 5+3+1=9 , A->9 , C->0
[9,7] + [3,0] , A=[9,1,7,6,7,2,0,0,9,1,8,2,5] , C=0 , 7+0+0=7 , A->7 , C->0
[9] + [3] , A=[7,9,1,7,6,7,2,0,0,9,1,8,2,5] , C=0 , 9+3+0=12 , A->2 , C->1
[] + [] , A=[2,7,9,1,7,6,7,2,0,0,9,1,8,2,5] C=1 , END
</scratch>
1279176720091825
| 1279176720091825 | 15 |
Input:
490187831729635+844432017968444
Target:
| Input:
490187831729635+844432017968444
Target:
[4,9,0,1,8,7,8,3,1,7,2,9,6,3,5] + [8,4,4,4,3,2,0,1,7,9,6,8,4,4,4] , A=[] , C=0 , 5+4+0=9 , A->9 , C->0
[4,9,0,1,8,7,8,3,1,7,2,9,6,3] + [8,4,4,4,3,2,0,1,7,9,6,8,4,4] , A=[9] , C=0 , 3+4+0=7 , A->7 , C->0
[4,9,0,1,8,7,8,3,1,7,2,9,6] + [8,4,4,4,3,2,0,1,7,9,6,8,4] , A=[7,9] , C=0 , 6+4+0=10 , A->0 , C->1
[4,9,0,1,8,7,8,3,1,7,2,9] + [8,4,4,4,3,2,0,1,7,9,6,8] , A=[0,7,9] , C=1 , 9+8+1=18 , A->8 , C->1
[4,9,0,1,8,7,8,3,1,7,2] + [8,4,4,4,3,2,0,1,7,9,6] , A=[8,0,7,9] , C=1 , 2+6+1=9 , A->9 , C->0
[4,9,0,1,8,7,8,3,1,7] + [8,4,4,4,3,2,0,1,7,9] , A=[9,8,0,7,9] , C=0 , 7+9+0=16 , A->6 , C->1
[4,9,0,1,8,7,8,3,1] + [8,4,4,4,3,2,0,1,7] , A=[6,9,8,0,7,9] , C=1 , 1+7+1=9 , A->9 , C->0
[4,9,0,1,8,7,8,3] + [8,4,4,4,3,2,0,1] , A=[9,6,9,8,0,7,9] , C=0 , 3+1+0=4 , A->4 , C->0
[4,9,0,1,8,7,8] + [8,4,4,4,3,2,0] , A=[4,9,6,9,8,0,7,9] , C=0 , 8+0+0=8 , A->8 , C->0
[4,9,0,1,8,7] + [8,4,4,4,3,2] , A=[8,4,9,6,9,8,0,7,9] , C=0 , 7+2+0=9 , A->9 , C->0
[4,9,0,1,8] + [8,4,4,4,3] , A=[9,8,4,9,6,9,8,0,7,9] , C=0 , 8+3+0=11 , A->1 , C->1
[4,9,0,1] + [8,4,4,4] , A=[1,9,8,4,9,6,9,8,0,7,9] , C=1 , 1+4+1=6 , A->6 , C->0
[4,9,0] + [8,4,4] , A=[6,1,9,8,4,9,6,9,8,0,7,9] , C=0 , 0+4+0=4 , A->4 , C->0
[4,9] + [8,4] , A=[4,6,1,9,8,4,9,6,9,8,0,7,9] , C=0 , 9+4+0=13 , A->3 , C->1
[4] + [8] , A=[3,4,6,1,9,8,4,9,6,9,8,0,7,9] , C=1 , 4+8+1=13 , A->3 , C->1
[] + [] , A=[3,3,4,6,1,9,8,4,9,6,9,8,0,7,9] C=1 , END
</scratch>
1334619849698079
| 1334619849698079 | 15 |
Input:
202808485971159+337970092918842
Target:
| Input:
202808485971159+337970092918842
Target:
[2,0,2,8,0,8,4,8,5,9,7,1,1,5,9] + [3,3,7,9,7,0,0,9,2,9,1,8,8,4,2] , A=[] , C=0 , 9+2+0=11 , A->1 , C->1
[2,0,2,8,0,8,4,8,5,9,7,1,1,5] + [3,3,7,9,7,0,0,9,2,9,1,8,8,4] , A=[1] , C=1 , 5+4+1=10 , A->0 , C->1
[2,0,2,8,0,8,4,8,5,9,7,1,1] + [3,3,7,9,7,0,0,9,2,9,1,8,8] , A=[0,1] , C=1 , 1+8+1=10 , A->0 , C->1
[2,0,2,8,0,8,4,8,5,9,7,1] + [3,3,7,9,7,0,0,9,2,9,1,8] , A=[0,0,1] , C=1 , 1+8+1=10 , A->0 , C->1
[2,0,2,8,0,8,4,8,5,9,7] + [3,3,7,9,7,0,0,9,2,9,1] , A=[0,0,0,1] , C=1 , 7+1+1=9 , A->9 , C->0
[2,0,2,8,0,8,4,8,5,9] + [3,3,7,9,7,0,0,9,2,9] , A=[9,0,0,0,1] , C=0 , 9+9+0=18 , A->8 , C->1
[2,0,2,8,0,8,4,8,5] + [3,3,7,9,7,0,0,9,2] , A=[8,9,0,0,0,1] , C=1 , 5+2+1=8 , A->8 , C->0
[2,0,2,8,0,8,4,8] + [3,3,7,9,7,0,0,9] , A=[8,8,9,0,0,0,1] , C=0 , 8+9+0=17 , A->7 , C->1
[2,0,2,8,0,8,4] + [3,3,7,9,7,0,0] , A=[7,8,8,9,0,0,0,1] , C=1 , 4+0+1=5 , A->5 , C->0
[2,0,2,8,0,8] + [3,3,7,9,7,0] , A=[5,7,8,8,9,0,0,0,1] , C=0 , 8+0+0=8 , A->8 , C->0
[2,0,2,8,0] + [3,3,7,9,7] , A=[8,5,7,8,8,9,0,0,0,1] , C=0 , 0+7+0=7 , A->7 , C->0
[2,0,2,8] + [3,3,7,9] , A=[7,8,5,7,8,8,9,0,0,0,1] , C=0 , 8+9+0=17 , A->7 , C->1
[2,0,2] + [3,3,7] , A=[7,7,8,5,7,8,8,9,0,0,0,1] , C=1 , 2+7+1=10 , A->0 , C->1
[2,0] + [3,3] , A=[0,7,7,8,5,7,8,8,9,0,0,0,1] , C=1 , 0+3+1=4 , A->4 , C->0
[2] + [3] , A=[4,0,7,7,8,5,7,8,8,9,0,0,0,1] , C=0 , 2+3+0=5 , A->5 , C->0
[] + [] , A=[5,4,0,7,7,8,5,7,8,8,9,0,0,0,1] C=0 , END
</scratch>
540778578890001
| 540778578890001 | 15 |
Input:
157473878023121+249671007100702
Target:
| Input:
157473878023121+249671007100702
Target:
[1,5,7,4,7,3,8,7,8,0,2,3,1,2,1] + [2,4,9,6,7,1,0,0,7,1,0,0,7,0,2] , A=[] , C=0 , 1+2+0=3 , A->3 , C->0
[1,5,7,4,7,3,8,7,8,0,2,3,1,2] + [2,4,9,6,7,1,0,0,7,1,0,0,7,0] , A=[3] , C=0 , 2+0+0=2 , A->2 , C->0
[1,5,7,4,7,3,8,7,8,0,2,3,1] + [2,4,9,6,7,1,0,0,7,1,0,0,7] , A=[2,3] , C=0 , 1+7+0=8 , A->8 , C->0
[1,5,7,4,7,3,8,7,8,0,2,3] + [2,4,9,6,7,1,0,0,7,1,0,0] , A=[8,2,3] , C=0 , 3+0+0=3 , A->3 , C->0
[1,5,7,4,7,3,8,7,8,0,2] + [2,4,9,6,7,1,0,0,7,1,0] , A=[3,8,2,3] , C=0 , 2+0+0=2 , A->2 , C->0
[1,5,7,4,7,3,8,7,8,0] + [2,4,9,6,7,1,0,0,7,1] , A=[2,3,8,2,3] , C=0 , 0+1+0=1 , A->1 , C->0
[1,5,7,4,7,3,8,7,8] + [2,4,9,6,7,1,0,0,7] , A=[1,2,3,8,2,3] , C=0 , 8+7+0=15 , A->5 , C->1
[1,5,7,4,7,3,8,7] + [2,4,9,6,7,1,0,0] , A=[5,1,2,3,8,2,3] , C=1 , 7+0+1=8 , A->8 , C->0
[1,5,7,4,7,3,8] + [2,4,9,6,7,1,0] , A=[8,5,1,2,3,8,2,3] , C=0 , 8+0+0=8 , A->8 , C->0
[1,5,7,4,7,3] + [2,4,9,6,7,1] , A=[8,8,5,1,2,3,8,2,3] , C=0 , 3+1+0=4 , A->4 , C->0
[1,5,7,4,7] + [2,4,9,6,7] , A=[4,8,8,5,1,2,3,8,2,3] , C=0 , 7+7+0=14 , A->4 , C->1
[1,5,7,4] + [2,4,9,6] , A=[4,4,8,8,5,1,2,3,8,2,3] , C=1 , 4+6+1=11 , A->1 , C->1
[1,5,7] + [2,4,9] , A=[1,4,4,8,8,5,1,2,3,8,2,3] , C=1 , 7+9+1=17 , A->7 , C->1
[1,5] + [2,4] , A=[7,1,4,4,8,8,5,1,2,3,8,2,3] , C=1 , 5+4+1=10 , A->0 , C->1
[1] + [2] , A=[0,7,1,4,4,8,8,5,1,2,3,8,2,3] , C=1 , 1+2+1=4 , A->4 , C->0
[] + [] , A=[4,0,7,1,4,4,8,8,5,1,2,3,8,2,3] C=0 , END
</scratch>
407144885123823
| 407144885123823 | 15 |
Input:
158441056939577+176482313259355
Target:
| Input:
158441056939577+176482313259355
Target:
[1,5,8,4,4,1,0,5,6,9,3,9,5,7,7] + [1,7,6,4,8,2,3,1,3,2,5,9,3,5,5] , A=[] , C=0 , 7+5+0=12 , A->2 , C->1
[1,5,8,4,4,1,0,5,6,9,3,9,5,7] + [1,7,6,4,8,2,3,1,3,2,5,9,3,5] , A=[2] , C=1 , 7+5+1=13 , A->3 , C->1
[1,5,8,4,4,1,0,5,6,9,3,9,5] + [1,7,6,4,8,2,3,1,3,2,5,9,3] , A=[3,2] , C=1 , 5+3+1=9 , A->9 , C->0
[1,5,8,4,4,1,0,5,6,9,3,9] + [1,7,6,4,8,2,3,1,3,2,5,9] , A=[9,3,2] , C=0 , 9+9+0=18 , A->8 , C->1
[1,5,8,4,4,1,0,5,6,9,3] + [1,7,6,4,8,2,3,1,3,2,5] , A=[8,9,3,2] , C=1 , 3+5+1=9 , A->9 , C->0
[1,5,8,4,4,1,0,5,6,9] + [1,7,6,4,8,2,3,1,3,2] , A=[9,8,9,3,2] , C=0 , 9+2+0=11 , A->1 , C->1
[1,5,8,4,4,1,0,5,6] + [1,7,6,4,8,2,3,1,3] , A=[1,9,8,9,3,2] , C=1 , 6+3+1=10 , A->0 , C->1
[1,5,8,4,4,1,0,5] + [1,7,6,4,8,2,3,1] , A=[0,1,9,8,9,3,2] , C=1 , 5+1+1=7 , A->7 , C->0
[1,5,8,4,4,1,0] + [1,7,6,4,8,2,3] , A=[7,0,1,9,8,9,3,2] , C=0 , 0+3+0=3 , A->3 , C->0
[1,5,8,4,4,1] + [1,7,6,4,8,2] , A=[3,7,0,1,9,8,9,3,2] , C=0 , 1+2+0=3 , A->3 , C->0
[1,5,8,4,4] + [1,7,6,4,8] , A=[3,3,7,0,1,9,8,9,3,2] , C=0 , 4+8+0=12 , A->2 , C->1
[1,5,8,4] + [1,7,6,4] , A=[2,3,3,7,0,1,9,8,9,3,2] , C=1 , 4+4+1=9 , A->9 , C->0
[1,5,8] + [1,7,6] , A=[9,2,3,3,7,0,1,9,8,9,3,2] , C=0 , 8+6+0=14 , A->4 , C->1
[1,5] + [1,7] , A=[4,9,2,3,3,7,0,1,9,8,9,3,2] , C=1 , 5+7+1=13 , A->3 , C->1
[1] + [1] , A=[3,4,9,2,3,3,7,0,1,9,8,9,3,2] , C=1 , 1+1+1=3 , A->3 , C->0
[] + [] , A=[3,3,4,9,2,3,3,7,0,1,9,8,9,3,2] C=0 , END
</scratch>
334923370198932
| 334923370198932 | 15 |
Input:
525386025101410+154512331506734
Target:
| Input:
525386025101410+154512331506734
Target:
[5,2,5,3,8,6,0,2,5,1,0,1,4,1,0] + [1,5,4,5,1,2,3,3,1,5,0,6,7,3,4] , A=[] , C=0 , 0+4+0=4 , A->4 , C->0
[5,2,5,3,8,6,0,2,5,1,0,1,4,1] + [1,5,4,5,1,2,3,3,1,5,0,6,7,3] , A=[4] , C=0 , 1+3+0=4 , A->4 , C->0
[5,2,5,3,8,6,0,2,5,1,0,1,4] + [1,5,4,5,1,2,3,3,1,5,0,6,7] , A=[4,4] , C=0 , 4+7+0=11 , A->1 , C->1
[5,2,5,3,8,6,0,2,5,1,0,1] + [1,5,4,5,1,2,3,3,1,5,0,6] , A=[1,4,4] , C=1 , 1+6+1=8 , A->8 , C->0
[5,2,5,3,8,6,0,2,5,1,0] + [1,5,4,5,1,2,3,3,1,5,0] , A=[8,1,4,4] , C=0 , 0+0+0=0 , A->0 , C->0
[5,2,5,3,8,6,0,2,5,1] + [1,5,4,5,1,2,3,3,1,5] , A=[0,8,1,4,4] , C=0 , 1+5+0=6 , A->6 , C->0
[5,2,5,3,8,6,0,2,5] + [1,5,4,5,1,2,3,3,1] , A=[6,0,8,1,4,4] , C=0 , 5+1+0=6 , A->6 , C->0
[5,2,5,3,8,6,0,2] + [1,5,4,5,1,2,3,3] , A=[6,6,0,8,1,4,4] , C=0 , 2+3+0=5 , A->5 , C->0
[5,2,5,3,8,6,0] + [1,5,4,5,1,2,3] , A=[5,6,6,0,8,1,4,4] , C=0 , 0+3+0=3 , A->3 , C->0
[5,2,5,3,8,6] + [1,5,4,5,1,2] , A=[3,5,6,6,0,8,1,4,4] , C=0 , 6+2+0=8 , A->8 , C->0
[5,2,5,3,8] + [1,5,4,5,1] , A=[8,3,5,6,6,0,8,1,4,4] , C=0 , 8+1+0=9 , A->9 , C->0
[5,2,5,3] + [1,5,4,5] , A=[9,8,3,5,6,6,0,8,1,4,4] , C=0 , 3+5+0=8 , A->8 , C->0
[5,2,5] + [1,5,4] , A=[8,9,8,3,5,6,6,0,8,1,4,4] , C=0 , 5+4+0=9 , A->9 , C->0
[5,2] + [1,5] , A=[9,8,9,8,3,5,6,6,0,8,1,4,4] , C=0 , 2+5+0=7 , A->7 , C->0
[5] + [1] , A=[7,9,8,9,8,3,5,6,6,0,8,1,4,4] , C=0 , 5+1+0=6 , A->6 , C->0
[] + [] , A=[6,7,9,8,9,8,3,5,6,6,0,8,1,4,4] C=0 , END
</scratch>
679898356608144
| 679898356608144 | 15 |
Input:
922489185183504+101568837730793
Target:
| Input:
922489185183504+101568837730793
Target:
[9,2,2,4,8,9,1,8,5,1,8,3,5,0,4] + [1,0,1,5,6,8,8,3,7,7,3,0,7,9,3] , A=[] , C=0 , 4+3+0=7 , A->7 , C->0
[9,2,2,4,8,9,1,8,5,1,8,3,5,0] + [1,0,1,5,6,8,8,3,7,7,3,0,7,9] , A=[7] , C=0 , 0+9+0=9 , A->9 , C->0
[9,2,2,4,8,9,1,8,5,1,8,3,5] + [1,0,1,5,6,8,8,3,7,7,3,0,7] , A=[9,7] , C=0 , 5+7+0=12 , A->2 , C->1
[9,2,2,4,8,9,1,8,5,1,8,3] + [1,0,1,5,6,8,8,3,7,7,3,0] , A=[2,9,7] , C=1 , 3+0+1=4 , A->4 , C->0
[9,2,2,4,8,9,1,8,5,1,8] + [1,0,1,5,6,8,8,3,7,7,3] , A=[4,2,9,7] , C=0 , 8+3+0=11 , A->1 , C->1
[9,2,2,4,8,9,1,8,5,1] + [1,0,1,5,6,8,8,3,7,7] , A=[1,4,2,9,7] , C=1 , 1+7+1=9 , A->9 , C->0
[9,2,2,4,8,9,1,8,5] + [1,0,1,5,6,8,8,3,7] , A=[9,1,4,2,9,7] , C=0 , 5+7+0=12 , A->2 , C->1
[9,2,2,4,8,9,1,8] + [1,0,1,5,6,8,8,3] , A=[2,9,1,4,2,9,7] , C=1 , 8+3+1=12 , A->2 , C->1
[9,2,2,4,8,9,1] + [1,0,1,5,6,8,8] , A=[2,2,9,1,4,2,9,7] , C=1 , 1+8+1=10 , A->0 , C->1
[9,2,2,4,8,9] + [1,0,1,5,6,8] , A=[0,2,2,9,1,4,2,9,7] , C=1 , 9+8+1=18 , A->8 , C->1
[9,2,2,4,8] + [1,0,1,5,6] , A=[8,0,2,2,9,1,4,2,9,7] , C=1 , 8+6+1=15 , A->5 , C->1
[9,2,2,4] + [1,0,1,5] , A=[5,8,0,2,2,9,1,4,2,9,7] , C=1 , 4+5+1=10 , A->0 , C->1
[9,2,2] + [1,0,1] , A=[0,5,8,0,2,2,9,1,4,2,9,7] , C=1 , 2+1+1=4 , A->4 , C->0
[9,2] + [1,0] , A=[4,0,5,8,0,2,2,9,1,4,2,9,7] , C=0 , 2+0+0=2 , A->2 , C->0
[9] + [1] , A=[2,4,0,5,8,0,2,2,9,1,4,2,9,7] , C=0 , 9+1+0=10 , A->0 , C->1
[] + [] , A=[0,2,4,0,5,8,0,2,2,9,1,4,2,9,7] C=1 , END
</scratch>
1024058022914297
| 1024058022914297 | 15 |
Input:
784805997421736+978555662850154
Target:
| Input:
784805997421736+978555662850154
Target:
[7,8,4,8,0,5,9,9,7,4,2,1,7,3,6] + [9,7,8,5,5,5,6,6,2,8,5,0,1,5,4] , A=[] , C=0 , 6+4+0=10 , A->0 , C->1
[7,8,4,8,0,5,9,9,7,4,2,1,7,3] + [9,7,8,5,5,5,6,6,2,8,5,0,1,5] , A=[0] , C=1 , 3+5+1=9 , A->9 , C->0
[7,8,4,8,0,5,9,9,7,4,2,1,7] + [9,7,8,5,5,5,6,6,2,8,5,0,1] , A=[9,0] , C=0 , 7+1+0=8 , A->8 , C->0
[7,8,4,8,0,5,9,9,7,4,2,1] + [9,7,8,5,5,5,6,6,2,8,5,0] , A=[8,9,0] , C=0 , 1+0+0=1 , A->1 , C->0
[7,8,4,8,0,5,9,9,7,4,2] + [9,7,8,5,5,5,6,6,2,8,5] , A=[1,8,9,0] , C=0 , 2+5+0=7 , A->7 , C->0
[7,8,4,8,0,5,9,9,7,4] + [9,7,8,5,5,5,6,6,2,8] , A=[7,1,8,9,0] , C=0 , 4+8+0=12 , A->2 , C->1
[7,8,4,8,0,5,9,9,7] + [9,7,8,5,5,5,6,6,2] , A=[2,7,1,8,9,0] , C=1 , 7+2+1=10 , A->0 , C->1
[7,8,4,8,0,5,9,9] + [9,7,8,5,5,5,6,6] , A=[0,2,7,1,8,9,0] , C=1 , 9+6+1=16 , A->6 , C->1
[7,8,4,8,0,5,9] + [9,7,8,5,5,5,6] , A=[6,0,2,7,1,8,9,0] , C=1 , 9+6+1=16 , A->6 , C->1
[7,8,4,8,0,5] + [9,7,8,5,5,5] , A=[6,6,0,2,7,1,8,9,0] , C=1 , 5+5+1=11 , A->1 , C->1
[7,8,4,8,0] + [9,7,8,5,5] , A=[1,6,6,0,2,7,1,8,9,0] , C=1 , 0+5+1=6 , A->6 , C->0
[7,8,4,8] + [9,7,8,5] , A=[6,1,6,6,0,2,7,1,8,9,0] , C=0 , 8+5+0=13 , A->3 , C->1
[7,8,4] + [9,7,8] , A=[3,6,1,6,6,0,2,7,1,8,9,0] , C=1 , 4+8+1=13 , A->3 , C->1
[7,8] + [9,7] , A=[3,3,6,1,6,6,0,2,7,1,8,9,0] , C=1 , 8+7+1=16 , A->6 , C->1
[7] + [9] , A=[6,3,3,6,1,6,6,0,2,7,1,8,9,0] , C=1 , 7+9+1=17 , A->7 , C->1
[] + [] , A=[7,6,3,3,6,1,6,6,0,2,7,1,8,9,0] C=1 , END
</scratch>
1763361660271890
| 1763361660271890 | 15 |
End of preview. Expand
in Dataset Viewer.
README.md exists but content is empty.
- Downloads last month
- 39