input_test
stringlengths 32
45
| scratchpad
stringlengths 1.11k
1.33k
| result_final
stringlengths 14
15
| y_digits
int64 1
14
|
---|---|---|---|
Input:
21377602928168+57408777427657
Target:
| Input:
21377602928168+57408777427657
Target:
[2,1,3,7,7,6,0,2,9,2,8,1,6,8] + [5,7,4,0,8,7,7,7,4,2,7,6,5,7] , A=[] , C=0 , 8+7+0=15 , A->5 , C->1
[2,1,3,7,7,6,0,2,9,2,8,1,6] + [5,7,4,0,8,7,7,7,4,2,7,6,5] , A=[5] , C=1 , 6+5+1=12 , A->2 , C->1
[2,1,3,7,7,6,0,2,9,2,8,1] + [5,7,4,0,8,7,7,7,4,2,7,6] , A=[2,5] , C=1 , 1+6+1=8 , A->8 , C->0
[2,1,3,7,7,6,0,2,9,2,8] + [5,7,4,0,8,7,7,7,4,2,7] , A=[8,2,5] , C=0 , 8+7+0=15 , A->5 , C->1
[2,1,3,7,7,6,0,2,9,2] + [5,7,4,0,8,7,7,7,4,2] , A=[5,8,2,5] , C=1 , 2+2+1=5 , A->5 , C->0
[2,1,3,7,7,6,0,2,9] + [5,7,4,0,8,7,7,7,4] , A=[5,5,8,2,5] , C=0 , 9+4+0=13 , A->3 , C->1
[2,1,3,7,7,6,0,2] + [5,7,4,0,8,7,7,7] , A=[3,5,5,8,2,5] , C=1 , 2+7+1=10 , A->0 , C->1
[2,1,3,7,7,6,0] + [5,7,4,0,8,7,7] , A=[0,3,5,5,8,2,5] , C=1 , 0+7+1=8 , A->8 , C->0
[2,1,3,7,7,6] + [5,7,4,0,8,7] , A=[8,0,3,5,5,8,2,5] , C=0 , 6+7+0=13 , A->3 , C->1
[2,1,3,7,7] + [5,7,4,0,8] , A=[3,8,0,3,5,5,8,2,5] , C=1 , 7+8+1=16 , A->6 , C->1
[2,1,3,7] + [5,7,4,0] , A=[6,3,8,0,3,5,5,8,2,5] , C=1 , 7+0+1=8 , A->8 , C->0
[2,1,3] + [5,7,4] , A=[8,6,3,8,0,3,5,5,8,2,5] , C=0 , 3+4+0=7 , A->7 , C->0
[2,1] + [5,7] , A=[7,8,6,3,8,0,3,5,5,8,2,5] , C=0 , 1+7+0=8 , A->8 , C->0
[2] + [5] , A=[8,7,8,6,3,8,0,3,5,5,8,2,5] , C=0 , 2+5+0=7 , A->7 , C->0
[] + [] , A=[7,8,7,8,6,3,8,0,3,5,5,8,2,5] C=0 , END
</scratch>
78786380355825
| 78786380355825 | 14 |
Input:
97625191138447+439209
Target:
| Input:
97625191138447+439209
Target:
[9,7,6,2,5,1,9,1,1,3,8,4,4,7] + [4,3,9,2,0,9] , A=[] , C=0 , 7+9+0=16 , A->6 , C->1
[9,7,6,2,5,1,9,1,1,3,8,4,4] + [4,3,9,2,0] , A=[6] , C=1 , 4+0+1=5 , A->5 , C->0
[9,7,6,2,5,1,9,1,1,3,8,4] + [4,3,9,2] , A=[5,6] , C=0 , 4+2+0=6 , A->6 , C->0
[9,7,6,2,5,1,9,1,1,3,8] + [4,3,9] , A=[6,5,6] , C=0 , 8+9+0=17 , A->7 , C->1
[9,7,6,2,5,1,9,1,1,3] + [4,3] , A=[7,6,5,6] , C=1 , 3+3+1=7 , A->7 , C->0
[9,7,6,2,5,1,9,1,1] + [4] , A=[7,7,6,5,6] , C=0 , 1+4+0=5 , A->5 , C->0
[9,7,6,2,5,1,9,1] + [] , A=[5,7,7,6,5,6] , C=0 , 1+0+0=1 , A->1 , C->0
[9,7,6,2,5,1,9] + [] , A=[1,5,7,7,6,5,6] , C=0 , 9+0+0=9 , A->9 , C->0
[9,7,6,2,5,1] + [] , A=[9,1,5,7,7,6,5,6] , C=0 , 1+0+0=1 , A->1 , C->0
[9,7,6,2,5] + [] , A=[1,9,1,5,7,7,6,5,6] , C=0 , 5+0+0=5 , A->5 , C->0
[9,7,6,2] + [] , A=[5,1,9,1,5,7,7,6,5,6] , C=0 , 2+0+0=2 , A->2 , C->0
[9,7,6] + [] , A=[2,5,1,9,1,5,7,7,6,5,6] , C=0 , 6+0+0=6 , A->6 , C->0
[9,7] + [] , A=[6,2,5,1,9,1,5,7,7,6,5,6] , C=0 , 7+0+0=7 , A->7 , C->0
[9] + [] , A=[7,6,2,5,1,9,1,5,7,7,6,5,6] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,7,6,2,5,1,9,1,5,7,7,6,5,6] C=0 , END
</scratch>
97625191577656
| 97625191577656 | 6 |
Input:
79949436515675+50629165
Target:
| Input:
79949436515675+50629165
Target:
[7,9,9,4,9,4,3,6,5,1,5,6,7,5] + [5,0,6,2,9,1,6,5] , A=[] , C=0 , 5+5+0=10 , A->0 , C->1
[7,9,9,4,9,4,3,6,5,1,5,6,7] + [5,0,6,2,9,1,6] , A=[0] , C=1 , 7+6+1=14 , A->4 , C->1
[7,9,9,4,9,4,3,6,5,1,5,6] + [5,0,6,2,9,1] , A=[4,0] , C=1 , 6+1+1=8 , A->8 , C->0
[7,9,9,4,9,4,3,6,5,1,5] + [5,0,6,2,9] , A=[8,4,0] , C=0 , 5+9+0=14 , A->4 , C->1
[7,9,9,4,9,4,3,6,5,1] + [5,0,6,2] , A=[4,8,4,0] , C=1 , 1+2+1=4 , A->4 , C->0
[7,9,9,4,9,4,3,6,5] + [5,0,6] , A=[4,4,8,4,0] , C=0 , 5+6+0=11 , A->1 , C->1
[7,9,9,4,9,4,3,6] + [5,0] , A=[1,4,4,8,4,0] , C=1 , 6+0+1=7 , A->7 , C->0
[7,9,9,4,9,4,3] + [5] , A=[7,1,4,4,8,4,0] , C=0 , 3+5+0=8 , A->8 , C->0
[7,9,9,4,9,4] + [] , A=[8,7,1,4,4,8,4,0] , C=0 , 4+0+0=4 , A->4 , C->0
[7,9,9,4,9] + [] , A=[4,8,7,1,4,4,8,4,0] , C=0 , 9+0+0=9 , A->9 , C->0
[7,9,9,4] + [] , A=[9,4,8,7,1,4,4,8,4,0] , C=0 , 4+0+0=4 , A->4 , C->0
[7,9,9] + [] , A=[4,9,4,8,7,1,4,4,8,4,0] , C=0 , 9+0+0=9 , A->9 , C->0
[7,9] + [] , A=[9,4,9,4,8,7,1,4,4,8,4,0] , C=0 , 9+0+0=9 , A->9 , C->0
[7] + [] , A=[9,9,4,9,4,8,7,1,4,4,8,4,0] , C=0 , 7+0+0=7 , A->7 , C->0
[] + [] , A=[7,9,9,4,9,4,8,7,1,4,4,8,4,0] C=0 , END
</scratch>
79949487144840
| 79949487144840 | 8 |
Input:
61644194890594+7516106650243
Target:
| Input:
61644194890594+7516106650243
Target:
[6,1,6,4,4,1,9,4,8,9,0,5,9,4] + [7,5,1,6,1,0,6,6,5,0,2,4,3] , A=[] , C=0 , 4+3+0=7 , A->7 , C->0
[6,1,6,4,4,1,9,4,8,9,0,5,9] + [7,5,1,6,1,0,6,6,5,0,2,4] , A=[7] , C=0 , 9+4+0=13 , A->3 , C->1
[6,1,6,4,4,1,9,4,8,9,0,5] + [7,5,1,6,1,0,6,6,5,0,2] , A=[3,7] , C=1 , 5+2+1=8 , A->8 , C->0
[6,1,6,4,4,1,9,4,8,9,0] + [7,5,1,6,1,0,6,6,5,0] , A=[8,3,7] , C=0 , 0+0+0=0 , A->0 , C->0
[6,1,6,4,4,1,9,4,8,9] + [7,5,1,6,1,0,6,6,5] , A=[0,8,3,7] , C=0 , 9+5+0=14 , A->4 , C->1
[6,1,6,4,4,1,9,4,8] + [7,5,1,6,1,0,6,6] , A=[4,0,8,3,7] , C=1 , 8+6+1=15 , A->5 , C->1
[6,1,6,4,4,1,9,4] + [7,5,1,6,1,0,6] , A=[5,4,0,8,3,7] , C=1 , 4+6+1=11 , A->1 , C->1
[6,1,6,4,4,1,9] + [7,5,1,6,1,0] , A=[1,5,4,0,8,3,7] , C=1 , 9+0+1=10 , A->0 , C->1
[6,1,6,4,4,1] + [7,5,1,6,1] , A=[0,1,5,4,0,8,3,7] , C=1 , 1+1+1=3 , A->3 , C->0
[6,1,6,4,4] + [7,5,1,6] , A=[3,0,1,5,4,0,8,3,7] , C=0 , 4+6+0=10 , A->0 , C->1
[6,1,6,4] + [7,5,1] , A=[0,3,0,1,5,4,0,8,3,7] , C=1 , 4+1+1=6 , A->6 , C->0
[6,1,6] + [7,5] , A=[6,0,3,0,1,5,4,0,8,3,7] , C=0 , 6+5+0=11 , A->1 , C->1
[6,1] + [7] , A=[1,6,0,3,0,1,5,4,0,8,3,7] , C=1 , 1+7+1=9 , A->9 , C->0
[6] + [] , A=[9,1,6,0,3,0,1,5,4,0,8,3,7] , C=0 , 6+0+0=6 , A->6 , C->0
[] + [] , A=[6,9,1,6,0,3,0,1,5,4,0,8,3,7] C=0 , END
</scratch>
69160301540837
| 69160301540837 | 13 |
Input:
2297564+60456252565836
Target:
| Input:
2297564+60456252565836
Target:
[2,2,9,7,5,6,4] + [6,0,4,5,6,2,5,2,5,6,5,8,3,6] , A=[] , C=0 , 4+6+0=10 , A->0 , C->1
[2,2,9,7,5,6] + [6,0,4,5,6,2,5,2,5,6,5,8,3] , A=[0] , C=1 , 6+3+1=10 , A->0 , C->1
[2,2,9,7,5] + [6,0,4,5,6,2,5,2,5,6,5,8] , A=[0,0] , C=1 , 5+8+1=14 , A->4 , C->1
[2,2,9,7] + [6,0,4,5,6,2,5,2,5,6,5] , A=[4,0,0] , C=1 , 7+5+1=13 , A->3 , C->1
[2,2,9] + [6,0,4,5,6,2,5,2,5,6] , A=[3,4,0,0] , C=1 , 9+6+1=16 , A->6 , C->1
[2,2] + [6,0,4,5,6,2,5,2,5] , A=[6,3,4,0,0] , C=1 , 2+5+1=8 , A->8 , C->0
[2] + [6,0,4,5,6,2,5,2] , A=[8,6,3,4,0,0] , C=0 , 2+2+0=4 , A->4 , C->0
[] + [6,0,4,5,6,2,5] , A=[4,8,6,3,4,0,0] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [6,0,4,5,6,2] , A=[5,4,8,6,3,4,0,0] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [6,0,4,5,6] , A=[2,5,4,8,6,3,4,0,0] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [6,0,4,5] , A=[6,2,5,4,8,6,3,4,0,0] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [6,0,4] , A=[5,6,2,5,4,8,6,3,4,0,0] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [6,0] , A=[4,5,6,2,5,4,8,6,3,4,0,0] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [6] , A=[0,4,5,6,2,5,4,8,6,3,4,0,0] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,0,4,5,6,2,5,4,8,6,3,4,0,0] C=0 , END
</scratch>
60456254863400
| 60456254863400 | 7 |
Input:
153210984966+11998116538406
Target:
| Input:
153210984966+11998116538406
Target:
[1,5,3,2,1,0,9,8,4,9,6,6] + [1,1,9,9,8,1,1,6,5,3,8,4,0,6] , A=[] , C=0 , 6+6+0=12 , A->2 , C->1
[1,5,3,2,1,0,9,8,4,9,6] + [1,1,9,9,8,1,1,6,5,3,8,4,0] , A=[2] , C=1 , 6+0+1=7 , A->7 , C->0
[1,5,3,2,1,0,9,8,4,9] + [1,1,9,9,8,1,1,6,5,3,8,4] , A=[7,2] , C=0 , 9+4+0=13 , A->3 , C->1
[1,5,3,2,1,0,9,8,4] + [1,1,9,9,8,1,1,6,5,3,8] , A=[3,7,2] , C=1 , 4+8+1=13 , A->3 , C->1
[1,5,3,2,1,0,9,8] + [1,1,9,9,8,1,1,6,5,3] , A=[3,3,7,2] , C=1 , 8+3+1=12 , A->2 , C->1
[1,5,3,2,1,0,9] + [1,1,9,9,8,1,1,6,5] , A=[2,3,3,7,2] , C=1 , 9+5+1=15 , A->5 , C->1
[1,5,3,2,1,0] + [1,1,9,9,8,1,1,6] , A=[5,2,3,3,7,2] , C=1 , 0+6+1=7 , A->7 , C->0
[1,5,3,2,1] + [1,1,9,9,8,1,1] , A=[7,5,2,3,3,7,2] , C=0 , 1+1+0=2 , A->2 , C->0
[1,5,3,2] + [1,1,9,9,8,1] , A=[2,7,5,2,3,3,7,2] , C=0 , 2+1+0=3 , A->3 , C->0
[1,5,3] + [1,1,9,9,8] , A=[3,2,7,5,2,3,3,7,2] , C=0 , 3+8+0=11 , A->1 , C->1
[1,5] + [1,1,9,9] , A=[1,3,2,7,5,2,3,3,7,2] , C=1 , 5+9+1=15 , A->5 , C->1
[1] + [1,1,9] , A=[5,1,3,2,7,5,2,3,3,7,2] , C=1 , 1+9+1=11 , A->1 , C->1
[] + [1,1] , A=[1,5,1,3,2,7,5,2,3,3,7,2] , C=1 , 0+1+1=2 , A->2 , C->0
[] + [1] , A=[2,1,5,1,3,2,7,5,2,3,3,7,2] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,2,1,5,1,3,2,7,5,2,3,3,7,2] C=0 , END
</scratch>
12151327523372
| 12151327523372 | 12 |
Input:
7912824+42589385984949
Target:
| Input:
7912824+42589385984949
Target:
[7,9,1,2,8,2,4] + [4,2,5,8,9,3,8,5,9,8,4,9,4,9] , A=[] , C=0 , 4+9+0=13 , A->3 , C->1
[7,9,1,2,8,2] + [4,2,5,8,9,3,8,5,9,8,4,9,4] , A=[3] , C=1 , 2+4+1=7 , A->7 , C->0
[7,9,1,2,8] + [4,2,5,8,9,3,8,5,9,8,4,9] , A=[7,3] , C=0 , 8+9+0=17 , A->7 , C->1
[7,9,1,2] + [4,2,5,8,9,3,8,5,9,8,4] , A=[7,7,3] , C=1 , 2+4+1=7 , A->7 , C->0
[7,9,1] + [4,2,5,8,9,3,8,5,9,8] , A=[7,7,7,3] , C=0 , 1+8+0=9 , A->9 , C->0
[7,9] + [4,2,5,8,9,3,8,5,9] , A=[9,7,7,7,3] , C=0 , 9+9+0=18 , A->8 , C->1
[7] + [4,2,5,8,9,3,8,5] , A=[8,9,7,7,7,3] , C=1 , 7+5+1=13 , A->3 , C->1
[] + [4,2,5,8,9,3,8] , A=[3,8,9,7,7,7,3] , C=1 , 0+8+1=9 , A->9 , C->0
[] + [4,2,5,8,9,3] , A=[9,3,8,9,7,7,7,3] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [4,2,5,8,9] , A=[3,9,3,8,9,7,7,7,3] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [4,2,5,8] , A=[9,3,9,3,8,9,7,7,7,3] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [4,2,5] , A=[8,9,3,9,3,8,9,7,7,7,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [4,2] , A=[5,8,9,3,9,3,8,9,7,7,7,3] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [4] , A=[2,5,8,9,3,9,3,8,9,7,7,7,3] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,2,5,8,9,3,9,3,8,9,7,7,7,3] C=0 , END
</scratch>
42589393897773
| 42589393897773 | 7 |
Input:
7610+98312731278097
Target:
| Input:
7610+98312731278097
Target:
[7,6,1,0] + [9,8,3,1,2,7,3,1,2,7,8,0,9,7] , A=[] , C=0 , 0+7+0=7 , A->7 , C->0
[7,6,1] + [9,8,3,1,2,7,3,1,2,7,8,0,9] , A=[7] , C=0 , 1+9+0=10 , A->0 , C->1
[7,6] + [9,8,3,1,2,7,3,1,2,7,8,0] , A=[0,7] , C=1 , 6+0+1=7 , A->7 , C->0
[7] + [9,8,3,1,2,7,3,1,2,7,8] , A=[7,0,7] , C=0 , 7+8+0=15 , A->5 , C->1
[] + [9,8,3,1,2,7,3,1,2,7] , A=[5,7,0,7] , C=1 , 0+7+1=8 , A->8 , C->0
[] + [9,8,3,1,2,7,3,1,2] , A=[8,5,7,0,7] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9,8,3,1,2,7,3,1] , A=[2,8,5,7,0,7] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [9,8,3,1,2,7,3] , A=[1,2,8,5,7,0,7] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [9,8,3,1,2,7] , A=[3,1,2,8,5,7,0,7] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [9,8,3,1,2] , A=[7,3,1,2,8,5,7,0,7] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9,8,3,1] , A=[2,7,3,1,2,8,5,7,0,7] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [9,8,3] , A=[1,2,7,3,1,2,8,5,7,0,7] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [9,8] , A=[3,1,2,7,3,1,2,8,5,7,0,7] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [9] , A=[8,3,1,2,7,3,1,2,8,5,7,0,7] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,8,3,1,2,7,3,1,2,8,5,7,0,7] C=0 , END
</scratch>
98312731285707
| 98312731285707 | 4 |
Input:
692199207+27740034307219
Target:
| Input:
692199207+27740034307219
Target:
[6,9,2,1,9,9,2,0,7] + [2,7,7,4,0,0,3,4,3,0,7,2,1,9] , A=[] , C=0 , 7+9+0=16 , A->6 , C->1
[6,9,2,1,9,9,2,0] + [2,7,7,4,0,0,3,4,3,0,7,2,1] , A=[6] , C=1 , 0+1+1=2 , A->2 , C->0
[6,9,2,1,9,9,2] + [2,7,7,4,0,0,3,4,3,0,7,2] , A=[2,6] , C=0 , 2+2+0=4 , A->4 , C->0
[6,9,2,1,9,9] + [2,7,7,4,0,0,3,4,3,0,7] , A=[4,2,6] , C=0 , 9+7+0=16 , A->6 , C->1
[6,9,2,1,9] + [2,7,7,4,0,0,3,4,3,0] , A=[6,4,2,6] , C=1 , 9+0+1=10 , A->0 , C->1
[6,9,2,1] + [2,7,7,4,0,0,3,4,3] , A=[0,6,4,2,6] , C=1 , 1+3+1=5 , A->5 , C->0
[6,9,2] + [2,7,7,4,0,0,3,4] , A=[5,0,6,4,2,6] , C=0 , 2+4+0=6 , A->6 , C->0
[6,9] + [2,7,7,4,0,0,3] , A=[6,5,0,6,4,2,6] , C=0 , 9+3+0=12 , A->2 , C->1
[6] + [2,7,7,4,0,0] , A=[2,6,5,0,6,4,2,6] , C=1 , 6+0+1=7 , A->7 , C->0
[] + [2,7,7,4,0] , A=[7,2,6,5,0,6,4,2,6] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [2,7,7,4] , A=[0,7,2,6,5,0,6,4,2,6] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [2,7,7] , A=[4,0,7,2,6,5,0,6,4,2,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [2,7] , A=[7,4,0,7,2,6,5,0,6,4,2,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [2] , A=[7,7,4,0,7,2,6,5,0,6,4,2,6] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,7,7,4,0,7,2,6,5,0,6,4,2,6] C=0 , END
</scratch>
27740726506426
| 27740726506426 | 9 |
Input:
4018+30564765712238
Target:
| Input:
4018+30564765712238
Target:
[4,0,1,8] + [3,0,5,6,4,7,6,5,7,1,2,2,3,8] , A=[] , C=0 , 8+8+0=16 , A->6 , C->1
[4,0,1] + [3,0,5,6,4,7,6,5,7,1,2,2,3] , A=[6] , C=1 , 1+3+1=5 , A->5 , C->0
[4,0] + [3,0,5,6,4,7,6,5,7,1,2,2] , A=[5,6] , C=0 , 0+2+0=2 , A->2 , C->0
[4] + [3,0,5,6,4,7,6,5,7,1,2] , A=[2,5,6] , C=0 , 4+2+0=6 , A->6 , C->0
[] + [3,0,5,6,4,7,6,5,7,1] , A=[6,2,5,6] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [3,0,5,6,4,7,6,5,7] , A=[1,6,2,5,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [3,0,5,6,4,7,6,5] , A=[7,1,6,2,5,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [3,0,5,6,4,7,6] , A=[5,7,1,6,2,5,6] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [3,0,5,6,4,7] , A=[6,5,7,1,6,2,5,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [3,0,5,6,4] , A=[7,6,5,7,1,6,2,5,6] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [3,0,5,6] , A=[4,7,6,5,7,1,6,2,5,6] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [3,0,5] , A=[6,4,7,6,5,7,1,6,2,5,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [3,0] , A=[5,6,4,7,6,5,7,1,6,2,5,6] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [3] , A=[0,5,6,4,7,6,5,7,1,6,2,5,6] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [] , A=[3,0,5,6,4,7,6,5,7,1,6,2,5,6] C=0 , END
</scratch>
30564765716256
| 30564765716256 | 4 |
Input:
37759333118251+65264459
Target:
| Input:
37759333118251+65264459
Target:
[3,7,7,5,9,3,3,3,1,1,8,2,5,1] + [6,5,2,6,4,4,5,9] , A=[] , C=0 , 1+9+0=10 , A->0 , C->1
[3,7,7,5,9,3,3,3,1,1,8,2,5] + [6,5,2,6,4,4,5] , A=[0] , C=1 , 5+5+1=11 , A->1 , C->1
[3,7,7,5,9,3,3,3,1,1,8,2] + [6,5,2,6,4,4] , A=[1,0] , C=1 , 2+4+1=7 , A->7 , C->0
[3,7,7,5,9,3,3,3,1,1,8] + [6,5,2,6,4] , A=[7,1,0] , C=0 , 8+4+0=12 , A->2 , C->1
[3,7,7,5,9,3,3,3,1,1] + [6,5,2,6] , A=[2,7,1,0] , C=1 , 1+6+1=8 , A->8 , C->0
[3,7,7,5,9,3,3,3,1] + [6,5,2] , A=[8,2,7,1,0] , C=0 , 1+2+0=3 , A->3 , C->0
[3,7,7,5,9,3,3,3] + [6,5] , A=[3,8,2,7,1,0] , C=0 , 3+5+0=8 , A->8 , C->0
[3,7,7,5,9,3,3] + [6] , A=[8,3,8,2,7,1,0] , C=0 , 3+6+0=9 , A->9 , C->0
[3,7,7,5,9,3] + [] , A=[9,8,3,8,2,7,1,0] , C=0 , 3+0+0=3 , A->3 , C->0
[3,7,7,5,9] + [] , A=[3,9,8,3,8,2,7,1,0] , C=0 , 9+0+0=9 , A->9 , C->0
[3,7,7,5] + [] , A=[9,3,9,8,3,8,2,7,1,0] , C=0 , 5+0+0=5 , A->5 , C->0
[3,7,7] + [] , A=[5,9,3,9,8,3,8,2,7,1,0] , C=0 , 7+0+0=7 , A->7 , C->0
[3,7] + [] , A=[7,5,9,3,9,8,3,8,2,7,1,0] , C=0 , 7+0+0=7 , A->7 , C->0
[3] + [] , A=[7,7,5,9,3,9,8,3,8,2,7,1,0] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,7,7,5,9,3,9,8,3,8,2,7,1,0] C=0 , END
</scratch>
37759398382710
| 37759398382710 | 8 |
Input:
4607439578953+15695105501190
Target:
| Input:
4607439578953+15695105501190
Target:
[4,6,0,7,4,3,9,5,7,8,9,5,3] + [1,5,6,9,5,1,0,5,5,0,1,1,9,0] , A=[] , C=0 , 3+0+0=3 , A->3 , C->0
[4,6,0,7,4,3,9,5,7,8,9,5] + [1,5,6,9,5,1,0,5,5,0,1,1,9] , A=[3] , C=0 , 5+9+0=14 , A->4 , C->1
[4,6,0,7,4,3,9,5,7,8,9] + [1,5,6,9,5,1,0,5,5,0,1,1] , A=[4,3] , C=1 , 9+1+1=11 , A->1 , C->1
[4,6,0,7,4,3,9,5,7,8] + [1,5,6,9,5,1,0,5,5,0,1] , A=[1,4,3] , C=1 , 8+1+1=10 , A->0 , C->1
[4,6,0,7,4,3,9,5,7] + [1,5,6,9,5,1,0,5,5,0] , A=[0,1,4,3] , C=1 , 7+0+1=8 , A->8 , C->0
[4,6,0,7,4,3,9,5] + [1,5,6,9,5,1,0,5,5] , A=[8,0,1,4,3] , C=0 , 5+5+0=10 , A->0 , C->1
[4,6,0,7,4,3,9] + [1,5,6,9,5,1,0,5] , A=[0,8,0,1,4,3] , C=1 , 9+5+1=15 , A->5 , C->1
[4,6,0,7,4,3] + [1,5,6,9,5,1,0] , A=[5,0,8,0,1,4,3] , C=1 , 3+0+1=4 , A->4 , C->0
[4,6,0,7,4] + [1,5,6,9,5,1] , A=[4,5,0,8,0,1,4,3] , C=0 , 4+1+0=5 , A->5 , C->0
[4,6,0,7] + [1,5,6,9,5] , A=[5,4,5,0,8,0,1,4,3] , C=0 , 7+5+0=12 , A->2 , C->1
[4,6,0] + [1,5,6,9] , A=[2,5,4,5,0,8,0,1,4,3] , C=1 , 0+9+1=10 , A->0 , C->1
[4,6] + [1,5,6] , A=[0,2,5,4,5,0,8,0,1,4,3] , C=1 , 6+6+1=13 , A->3 , C->1
[4] + [1,5] , A=[3,0,2,5,4,5,0,8,0,1,4,3] , C=1 , 4+5+1=10 , A->0 , C->1
[] + [1] , A=[0,3,0,2,5,4,5,0,8,0,1,4,3] , C=1 , 0+1+1=2 , A->2 , C->0
[] + [] , A=[2,0,3,0,2,5,4,5,0,8,0,1,4,3] C=0 , END
</scratch>
20302545080143
| 20302545080143 | 13 |
Input:
71230600263042+65882
Target:
| Input:
71230600263042+65882
Target:
[7,1,2,3,0,6,0,0,2,6,3,0,4,2] + [6,5,8,8,2] , A=[] , C=0 , 2+2+0=4 , A->4 , C->0
[7,1,2,3,0,6,0,0,2,6,3,0,4] + [6,5,8,8] , A=[4] , C=0 , 4+8+0=12 , A->2 , C->1
[7,1,2,3,0,6,0,0,2,6,3,0] + [6,5,8] , A=[2,4] , C=1 , 0+8+1=9 , A->9 , C->0
[7,1,2,3,0,6,0,0,2,6,3] + [6,5] , A=[9,2,4] , C=0 , 3+5+0=8 , A->8 , C->0
[7,1,2,3,0,6,0,0,2,6] + [6] , A=[8,9,2,4] , C=0 , 6+6+0=12 , A->2 , C->1
[7,1,2,3,0,6,0,0,2] + [] , A=[2,8,9,2,4] , C=1 , 2+0+1=3 , A->3 , C->0
[7,1,2,3,0,6,0,0] + [] , A=[3,2,8,9,2,4] , C=0 , 0+0+0=0 , A->0 , C->0
[7,1,2,3,0,6,0] + [] , A=[0,3,2,8,9,2,4] , C=0 , 0+0+0=0 , A->0 , C->0
[7,1,2,3,0,6] + [] , A=[0,0,3,2,8,9,2,4] , C=0 , 6+0+0=6 , A->6 , C->0
[7,1,2,3,0] + [] , A=[6,0,0,3,2,8,9,2,4] , C=0 , 0+0+0=0 , A->0 , C->0
[7,1,2,3] + [] , A=[0,6,0,0,3,2,8,9,2,4] , C=0 , 3+0+0=3 , A->3 , C->0
[7,1,2] + [] , A=[3,0,6,0,0,3,2,8,9,2,4] , C=0 , 2+0+0=2 , A->2 , C->0
[7,1] + [] , A=[2,3,0,6,0,0,3,2,8,9,2,4] , C=0 , 1+0+0=1 , A->1 , C->0
[7] + [] , A=[1,2,3,0,6,0,0,3,2,8,9,2,4] , C=0 , 7+0+0=7 , A->7 , C->0
[] + [] , A=[7,1,2,3,0,6,0,0,3,2,8,9,2,4] C=0 , END
</scratch>
71230600328924
| 71230600328924 | 5 |
Input:
99468705+98266733782007
Target:
| Input:
99468705+98266733782007
Target:
[9,9,4,6,8,7,0,5] + [9,8,2,6,6,7,3,3,7,8,2,0,0,7] , A=[] , C=0 , 5+7+0=12 , A->2 , C->1
[9,9,4,6,8,7,0] + [9,8,2,6,6,7,3,3,7,8,2,0,0] , A=[2] , C=1 , 0+0+1=1 , A->1 , C->0
[9,9,4,6,8,7] + [9,8,2,6,6,7,3,3,7,8,2,0] , A=[1,2] , C=0 , 7+0+0=7 , A->7 , C->0
[9,9,4,6,8] + [9,8,2,6,6,7,3,3,7,8,2] , A=[7,1,2] , C=0 , 8+2+0=10 , A->0 , C->1
[9,9,4,6] + [9,8,2,6,6,7,3,3,7,8] , A=[0,7,1,2] , C=1 , 6+8+1=15 , A->5 , C->1
[9,9,4] + [9,8,2,6,6,7,3,3,7] , A=[5,0,7,1,2] , C=1 , 4+7+1=12 , A->2 , C->1
[9,9] + [9,8,2,6,6,7,3,3] , A=[2,5,0,7,1,2] , C=1 , 9+3+1=13 , A->3 , C->1
[9] + [9,8,2,6,6,7,3] , A=[3,2,5,0,7,1,2] , C=1 , 9+3+1=13 , A->3 , C->1
[] + [9,8,2,6,6,7] , A=[3,3,2,5,0,7,1,2] , C=1 , 0+7+1=8 , A->8 , C->0
[] + [9,8,2,6,6] , A=[8,3,3,2,5,0,7,1,2] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [9,8,2,6] , A=[6,8,3,3,2,5,0,7,1,2] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [9,8,2] , A=[6,6,8,3,3,2,5,0,7,1,2] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9,8] , A=[2,6,6,8,3,3,2,5,0,7,1,2] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [9] , A=[8,2,6,6,8,3,3,2,5,0,7,1,2] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,8,2,6,6,8,3,3,2,5,0,7,1,2] C=0 , END
</scratch>
98266833250712
| 98266833250712 | 8 |
Input:
4889+13034896602480
Target:
| Input:
4889+13034896602480
Target:
[4,8,8,9] + [1,3,0,3,4,8,9,6,6,0,2,4,8,0] , A=[] , C=0 , 9+0+0=9 , A->9 , C->0
[4,8,8] + [1,3,0,3,4,8,9,6,6,0,2,4,8] , A=[9] , C=0 , 8+8+0=16 , A->6 , C->1
[4,8] + [1,3,0,3,4,8,9,6,6,0,2,4] , A=[6,9] , C=1 , 8+4+1=13 , A->3 , C->1
[4] + [1,3,0,3,4,8,9,6,6,0,2] , A=[3,6,9] , C=1 , 4+2+1=7 , A->7 , C->0
[] + [1,3,0,3,4,8,9,6,6,0] , A=[7,3,6,9] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [1,3,0,3,4,8,9,6,6] , A=[0,7,3,6,9] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [1,3,0,3,4,8,9,6] , A=[6,0,7,3,6,9] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [1,3,0,3,4,8,9] , A=[6,6,0,7,3,6,9] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [1,3,0,3,4,8] , A=[9,6,6,0,7,3,6,9] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [1,3,0,3,4] , A=[8,9,6,6,0,7,3,6,9] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [1,3,0,3] , A=[4,8,9,6,6,0,7,3,6,9] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [1,3,0] , A=[3,4,8,9,6,6,0,7,3,6,9] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [1,3] , A=[0,3,4,8,9,6,6,0,7,3,6,9] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [1] , A=[3,0,3,4,8,9,6,6,0,7,3,6,9] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,3,0,3,4,8,9,6,6,0,7,3,6,9] C=0 , END
</scratch>
13034896607369
| 13034896607369 | 4 |
Input:
817197+82453374480208
Target:
| Input:
817197+82453374480208
Target:
[8,1,7,1,9,7] + [8,2,4,5,3,3,7,4,4,8,0,2,0,8] , A=[] , C=0 , 7+8+0=15 , A->5 , C->1
[8,1,7,1,9] + [8,2,4,5,3,3,7,4,4,8,0,2,0] , A=[5] , C=1 , 9+0+1=10 , A->0 , C->1
[8,1,7,1] + [8,2,4,5,3,3,7,4,4,8,0,2] , A=[0,5] , C=1 , 1+2+1=4 , A->4 , C->0
[8,1,7] + [8,2,4,5,3,3,7,4,4,8,0] , A=[4,0,5] , C=0 , 7+0+0=7 , A->7 , C->0
[8,1] + [8,2,4,5,3,3,7,4,4,8] , A=[7,4,0,5] , C=0 , 1+8+0=9 , A->9 , C->0
[8] + [8,2,4,5,3,3,7,4,4] , A=[9,7,4,0,5] , C=0 , 8+4+0=12 , A->2 , C->1
[] + [8,2,4,5,3,3,7,4] , A=[2,9,7,4,0,5] , C=1 , 0+4+1=5 , A->5 , C->0
[] + [8,2,4,5,3,3,7] , A=[5,2,9,7,4,0,5] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [8,2,4,5,3,3] , A=[7,5,2,9,7,4,0,5] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [8,2,4,5,3] , A=[3,7,5,2,9,7,4,0,5] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [8,2,4,5] , A=[3,3,7,5,2,9,7,4,0,5] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [8,2,4] , A=[5,3,3,7,5,2,9,7,4,0,5] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [8,2] , A=[4,5,3,3,7,5,2,9,7,4,0,5] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [8] , A=[2,4,5,3,3,7,5,2,9,7,4,0,5] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [] , A=[8,2,4,5,3,3,7,5,2,9,7,4,0,5] C=0 , END
</scratch>
82453375297405
| 82453375297405 | 6 |
Input:
40346358387567+9089083
Target:
| Input:
40346358387567+9089083
Target:
[4,0,3,4,6,3,5,8,3,8,7,5,6,7] + [9,0,8,9,0,8,3] , A=[] , C=0 , 7+3+0=10 , A->0 , C->1
[4,0,3,4,6,3,5,8,3,8,7,5,6] + [9,0,8,9,0,8] , A=[0] , C=1 , 6+8+1=15 , A->5 , C->1
[4,0,3,4,6,3,5,8,3,8,7,5] + [9,0,8,9,0] , A=[5,0] , C=1 , 5+0+1=6 , A->6 , C->0
[4,0,3,4,6,3,5,8,3,8,7] + [9,0,8,9] , A=[6,5,0] , C=0 , 7+9+0=16 , A->6 , C->1
[4,0,3,4,6,3,5,8,3,8] + [9,0,8] , A=[6,6,5,0] , C=1 , 8+8+1=17 , A->7 , C->1
[4,0,3,4,6,3,5,8,3] + [9,0] , A=[7,6,6,5,0] , C=1 , 3+0+1=4 , A->4 , C->0
[4,0,3,4,6,3,5,8] + [9] , A=[4,7,6,6,5,0] , C=0 , 8+9+0=17 , A->7 , C->1
[4,0,3,4,6,3,5] + [] , A=[7,4,7,6,6,5,0] , C=1 , 5+0+1=6 , A->6 , C->0
[4,0,3,4,6,3] + [] , A=[6,7,4,7,6,6,5,0] , C=0 , 3+0+0=3 , A->3 , C->0
[4,0,3,4,6] + [] , A=[3,6,7,4,7,6,6,5,0] , C=0 , 6+0+0=6 , A->6 , C->0
[4,0,3,4] + [] , A=[6,3,6,7,4,7,6,6,5,0] , C=0 , 4+0+0=4 , A->4 , C->0
[4,0,3] + [] , A=[4,6,3,6,7,4,7,6,6,5,0] , C=0 , 3+0+0=3 , A->3 , C->0
[4,0] + [] , A=[3,4,6,3,6,7,4,7,6,6,5,0] , C=0 , 0+0+0=0 , A->0 , C->0
[4] + [] , A=[0,3,4,6,3,6,7,4,7,6,6,5,0] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,0,3,4,6,3,6,7,4,7,6,6,5,0] C=0 , END
</scratch>
40346367476650
| 40346367476650 | 7 |
Input:
43729390206893+5591
Target:
| Input:
43729390206893+5591
Target:
[4,3,7,2,9,3,9,0,2,0,6,8,9,3] + [5,5,9,1] , A=[] , C=0 , 3+1+0=4 , A->4 , C->0
[4,3,7,2,9,3,9,0,2,0,6,8,9] + [5,5,9] , A=[4] , C=0 , 9+9+0=18 , A->8 , C->1
[4,3,7,2,9,3,9,0,2,0,6,8] + [5,5] , A=[8,4] , C=1 , 8+5+1=14 , A->4 , C->1
[4,3,7,2,9,3,9,0,2,0,6] + [5] , A=[4,8,4] , C=1 , 6+5+1=12 , A->2 , C->1
[4,3,7,2,9,3,9,0,2,0] + [] , A=[2,4,8,4] , C=1 , 0+0+1=1 , A->1 , C->0
[4,3,7,2,9,3,9,0,2] + [] , A=[1,2,4,8,4] , C=0 , 2+0+0=2 , A->2 , C->0
[4,3,7,2,9,3,9,0] + [] , A=[2,1,2,4,8,4] , C=0 , 0+0+0=0 , A->0 , C->0
[4,3,7,2,9,3,9] + [] , A=[0,2,1,2,4,8,4] , C=0 , 9+0+0=9 , A->9 , C->0
[4,3,7,2,9,3] + [] , A=[9,0,2,1,2,4,8,4] , C=0 , 3+0+0=3 , A->3 , C->0
[4,3,7,2,9] + [] , A=[3,9,0,2,1,2,4,8,4] , C=0 , 9+0+0=9 , A->9 , C->0
[4,3,7,2] + [] , A=[9,3,9,0,2,1,2,4,8,4] , C=0 , 2+0+0=2 , A->2 , C->0
[4,3,7] + [] , A=[2,9,3,9,0,2,1,2,4,8,4] , C=0 , 7+0+0=7 , A->7 , C->0
[4,3] + [] , A=[7,2,9,3,9,0,2,1,2,4,8,4] , C=0 , 3+0+0=3 , A->3 , C->0
[4] + [] , A=[3,7,2,9,3,9,0,2,1,2,4,8,4] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,3,7,2,9,3,9,0,2,1,2,4,8,4] C=0 , END
</scratch>
43729390212484
| 43729390212484 | 4 |
Input:
85483034716580+1609662531055
Target:
| Input:
85483034716580+1609662531055
Target:
[8,5,4,8,3,0,3,4,7,1,6,5,8,0] + [1,6,0,9,6,6,2,5,3,1,0,5,5] , A=[] , C=0 , 0+5+0=5 , A->5 , C->0
[8,5,4,8,3,0,3,4,7,1,6,5,8] + [1,6,0,9,6,6,2,5,3,1,0,5] , A=[5] , C=0 , 8+5+0=13 , A->3 , C->1
[8,5,4,8,3,0,3,4,7,1,6,5] + [1,6,0,9,6,6,2,5,3,1,0] , A=[3,5] , C=1 , 5+0+1=6 , A->6 , C->0
[8,5,4,8,3,0,3,4,7,1,6] + [1,6,0,9,6,6,2,5,3,1] , A=[6,3,5] , C=0 , 6+1+0=7 , A->7 , C->0
[8,5,4,8,3,0,3,4,7,1] + [1,6,0,9,6,6,2,5,3] , A=[7,6,3,5] , C=0 , 1+3+0=4 , A->4 , C->0
[8,5,4,8,3,0,3,4,7] + [1,6,0,9,6,6,2,5] , A=[4,7,6,3,5] , C=0 , 7+5+0=12 , A->2 , C->1
[8,5,4,8,3,0,3,4] + [1,6,0,9,6,6,2] , A=[2,4,7,6,3,5] , C=1 , 4+2+1=7 , A->7 , C->0
[8,5,4,8,3,0,3] + [1,6,0,9,6,6] , A=[7,2,4,7,6,3,5] , C=0 , 3+6+0=9 , A->9 , C->0
[8,5,4,8,3,0] + [1,6,0,9,6] , A=[9,7,2,4,7,6,3,5] , C=0 , 0+6+0=6 , A->6 , C->0
[8,5,4,8,3] + [1,6,0,9] , A=[6,9,7,2,4,7,6,3,5] , C=0 , 3+9+0=12 , A->2 , C->1
[8,5,4,8] + [1,6,0] , A=[2,6,9,7,2,4,7,6,3,5] , C=1 , 8+0+1=9 , A->9 , C->0
[8,5,4] + [1,6] , A=[9,2,6,9,7,2,4,7,6,3,5] , C=0 , 4+6+0=10 , A->0 , C->1
[8,5] + [1] , A=[0,9,2,6,9,7,2,4,7,6,3,5] , C=1 , 5+1+1=7 , A->7 , C->0
[8] + [] , A=[7,0,9,2,6,9,7,2,4,7,6,3,5] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,7,0,9,2,6,9,7,2,4,7,6,3,5] C=0 , END
</scratch>
87092697247635
| 87092697247635 | 13 |
Input:
69181115914662+99309014
Target:
| Input:
69181115914662+99309014
Target:
[6,9,1,8,1,1,1,5,9,1,4,6,6,2] + [9,9,3,0,9,0,1,4] , A=[] , C=0 , 2+4+0=6 , A->6 , C->0
[6,9,1,8,1,1,1,5,9,1,4,6,6] + [9,9,3,0,9,0,1] , A=[6] , C=0 , 6+1+0=7 , A->7 , C->0
[6,9,1,8,1,1,1,5,9,1,4,6] + [9,9,3,0,9,0] , A=[7,6] , C=0 , 6+0+0=6 , A->6 , C->0
[6,9,1,8,1,1,1,5,9,1,4] + [9,9,3,0,9] , A=[6,7,6] , C=0 , 4+9+0=13 , A->3 , C->1
[6,9,1,8,1,1,1,5,9,1] + [9,9,3,0] , A=[3,6,7,6] , C=1 , 1+0+1=2 , A->2 , C->0
[6,9,1,8,1,1,1,5,9] + [9,9,3] , A=[2,3,6,7,6] , C=0 , 9+3+0=12 , A->2 , C->1
[6,9,1,8,1,1,1,5] + [9,9] , A=[2,2,3,6,7,6] , C=1 , 5+9+1=15 , A->5 , C->1
[6,9,1,8,1,1,1] + [9] , A=[5,2,2,3,6,7,6] , C=1 , 1+9+1=11 , A->1 , C->1
[6,9,1,8,1,1] + [] , A=[1,5,2,2,3,6,7,6] , C=1 , 1+0+1=2 , A->2 , C->0
[6,9,1,8,1] + [] , A=[2,1,5,2,2,3,6,7,6] , C=0 , 1+0+0=1 , A->1 , C->0
[6,9,1,8] + [] , A=[1,2,1,5,2,2,3,6,7,6] , C=0 , 8+0+0=8 , A->8 , C->0
[6,9,1] + [] , A=[8,1,2,1,5,2,2,3,6,7,6] , C=0 , 1+0+0=1 , A->1 , C->0
[6,9] + [] , A=[1,8,1,2,1,5,2,2,3,6,7,6] , C=0 , 9+0+0=9 , A->9 , C->0
[6] + [] , A=[9,1,8,1,2,1,5,2,2,3,6,7,6] , C=0 , 6+0+0=6 , A->6 , C->0
[] + [] , A=[6,9,1,8,1,2,1,5,2,2,3,6,7,6] C=0 , END
</scratch>
69181215223676
| 69181215223676 | 8 |
Input:
6557693713+84009098473498
Target:
| Input:
6557693713+84009098473498
Target:
[6,5,5,7,6,9,3,7,1,3] + [8,4,0,0,9,0,9,8,4,7,3,4,9,8] , A=[] , C=0 , 3+8+0=11 , A->1 , C->1
[6,5,5,7,6,9,3,7,1] + [8,4,0,0,9,0,9,8,4,7,3,4,9] , A=[1] , C=1 , 1+9+1=11 , A->1 , C->1
[6,5,5,7,6,9,3,7] + [8,4,0,0,9,0,9,8,4,7,3,4] , A=[1,1] , C=1 , 7+4+1=12 , A->2 , C->1
[6,5,5,7,6,9,3] + [8,4,0,0,9,0,9,8,4,7,3] , A=[2,1,1] , C=1 , 3+3+1=7 , A->7 , C->0
[6,5,5,7,6,9] + [8,4,0,0,9,0,9,8,4,7] , A=[7,2,1,1] , C=0 , 9+7+0=16 , A->6 , C->1
[6,5,5,7,6] + [8,4,0,0,9,0,9,8,4] , A=[6,7,2,1,1] , C=1 , 6+4+1=11 , A->1 , C->1
[6,5,5,7] + [8,4,0,0,9,0,9,8] , A=[1,6,7,2,1,1] , C=1 , 7+8+1=16 , A->6 , C->1
[6,5,5] + [8,4,0,0,9,0,9] , A=[6,1,6,7,2,1,1] , C=1 , 5+9+1=15 , A->5 , C->1
[6,5] + [8,4,0,0,9,0] , A=[5,6,1,6,7,2,1,1] , C=1 , 5+0+1=6 , A->6 , C->0
[6] + [8,4,0,0,9] , A=[6,5,6,1,6,7,2,1,1] , C=0 , 6+9+0=15 , A->5 , C->1
[] + [8,4,0,0] , A=[5,6,5,6,1,6,7,2,1,1] , C=1 , 0+0+1=1 , A->1 , C->0
[] + [8,4,0] , A=[1,5,6,5,6,1,6,7,2,1,1] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [8,4] , A=[0,1,5,6,5,6,1,6,7,2,1,1] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [8] , A=[4,0,1,5,6,5,6,1,6,7,2,1,1] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [] , A=[8,4,0,1,5,6,5,6,1,6,7,2,1,1] C=0 , END
</scratch>
84015656167211
| 84015656167211 | 10 |
Input:
90893771+63594359245769
Target:
| Input:
90893771+63594359245769
Target:
[9,0,8,9,3,7,7,1] + [6,3,5,9,4,3,5,9,2,4,5,7,6,9] , A=[] , C=0 , 1+9+0=10 , A->0 , C->1
[9,0,8,9,3,7,7] + [6,3,5,9,4,3,5,9,2,4,5,7,6] , A=[0] , C=1 , 7+6+1=14 , A->4 , C->1
[9,0,8,9,3,7] + [6,3,5,9,4,3,5,9,2,4,5,7] , A=[4,0] , C=1 , 7+7+1=15 , A->5 , C->1
[9,0,8,9,3] + [6,3,5,9,4,3,5,9,2,4,5] , A=[5,4,0] , C=1 , 3+5+1=9 , A->9 , C->0
[9,0,8,9] + [6,3,5,9,4,3,5,9,2,4] , A=[9,5,4,0] , C=0 , 9+4+0=13 , A->3 , C->1
[9,0,8] + [6,3,5,9,4,3,5,9,2] , A=[3,9,5,4,0] , C=1 , 8+2+1=11 , A->1 , C->1
[9,0] + [6,3,5,9,4,3,5,9] , A=[1,3,9,5,4,0] , C=1 , 0+9+1=10 , A->0 , C->1
[9] + [6,3,5,9,4,3,5] , A=[0,1,3,9,5,4,0] , C=1 , 9+5+1=15 , A->5 , C->1
[] + [6,3,5,9,4,3] , A=[5,0,1,3,9,5,4,0] , C=1 , 0+3+1=4 , A->4 , C->0
[] + [6,3,5,9,4] , A=[4,5,0,1,3,9,5,4,0] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [6,3,5,9] , A=[4,4,5,0,1,3,9,5,4,0] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [6,3,5] , A=[9,4,4,5,0,1,3,9,5,4,0] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [6,3] , A=[5,9,4,4,5,0,1,3,9,5,4,0] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [6] , A=[3,5,9,4,4,5,0,1,3,9,5,4,0] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,3,5,9,4,4,5,0,1,3,9,5,4,0] C=0 , END
</scratch>
63594450139540
| 63594450139540 | 8 |
Input:
25644986364538+95
Target:
| Input:
25644986364538+95
Target:
[2,5,6,4,4,9,8,6,3,6,4,5,3,8] + [9,5] , A=[] , C=0 , 8+5+0=13 , A->3 , C->1
[2,5,6,4,4,9,8,6,3,6,4,5,3] + [9] , A=[3] , C=1 , 3+9+1=13 , A->3 , C->1
[2,5,6,4,4,9,8,6,3,6,4,5] + [] , A=[3,3] , C=1 , 5+0+1=6 , A->6 , C->0
[2,5,6,4,4,9,8,6,3,6,4] + [] , A=[6,3,3] , C=0 , 4+0+0=4 , A->4 , C->0
[2,5,6,4,4,9,8,6,3,6] + [] , A=[4,6,3,3] , C=0 , 6+0+0=6 , A->6 , C->0
[2,5,6,4,4,9,8,6,3] + [] , A=[6,4,6,3,3] , C=0 , 3+0+0=3 , A->3 , C->0
[2,5,6,4,4,9,8,6] + [] , A=[3,6,4,6,3,3] , C=0 , 6+0+0=6 , A->6 , C->0
[2,5,6,4,4,9,8] + [] , A=[6,3,6,4,6,3,3] , C=0 , 8+0+0=8 , A->8 , C->0
[2,5,6,4,4,9] + [] , A=[8,6,3,6,4,6,3,3] , C=0 , 9+0+0=9 , A->9 , C->0
[2,5,6,4,4] + [] , A=[9,8,6,3,6,4,6,3,3] , C=0 , 4+0+0=4 , A->4 , C->0
[2,5,6,4] + [] , A=[4,9,8,6,3,6,4,6,3,3] , C=0 , 4+0+0=4 , A->4 , C->0
[2,5,6] + [] , A=[4,4,9,8,6,3,6,4,6,3,3] , C=0 , 6+0+0=6 , A->6 , C->0
[2,5] + [] , A=[6,4,4,9,8,6,3,6,4,6,3,3] , C=0 , 5+0+0=5 , A->5 , C->0
[2] + [] , A=[5,6,4,4,9,8,6,3,6,4,6,3,3] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [] , A=[2,5,6,4,4,9,8,6,3,6,4,6,3,3] C=0 , END
</scratch>
25644986364633
| 25644986364633 | 2 |
Input:
39778809929451+735049031292
Target:
| Input:
39778809929451+735049031292
Target:
[3,9,7,7,8,8,0,9,9,2,9,4,5,1] + [7,3,5,0,4,9,0,3,1,2,9,2] , A=[] , C=0 , 1+2+0=3 , A->3 , C->0
[3,9,7,7,8,8,0,9,9,2,9,4,5] + [7,3,5,0,4,9,0,3,1,2,9] , A=[3] , C=0 , 5+9+0=14 , A->4 , C->1
[3,9,7,7,8,8,0,9,9,2,9,4] + [7,3,5,0,4,9,0,3,1,2] , A=[4,3] , C=1 , 4+2+1=7 , A->7 , C->0
[3,9,7,7,8,8,0,9,9,2,9] + [7,3,5,0,4,9,0,3,1] , A=[7,4,3] , C=0 , 9+1+0=10 , A->0 , C->1
[3,9,7,7,8,8,0,9,9,2] + [7,3,5,0,4,9,0,3] , A=[0,7,4,3] , C=1 , 2+3+1=6 , A->6 , C->0
[3,9,7,7,8,8,0,9,9] + [7,3,5,0,4,9,0] , A=[6,0,7,4,3] , C=0 , 9+0+0=9 , A->9 , C->0
[3,9,7,7,8,8,0,9] + [7,3,5,0,4,9] , A=[9,6,0,7,4,3] , C=0 , 9+9+0=18 , A->8 , C->1
[3,9,7,7,8,8,0] + [7,3,5,0,4] , A=[8,9,6,0,7,4,3] , C=1 , 0+4+1=5 , A->5 , C->0
[3,9,7,7,8,8] + [7,3,5,0] , A=[5,8,9,6,0,7,4,3] , C=0 , 8+0+0=8 , A->8 , C->0
[3,9,7,7,8] + [7,3,5] , A=[8,5,8,9,6,0,7,4,3] , C=0 , 8+5+0=13 , A->3 , C->1
[3,9,7,7] + [7,3] , A=[3,8,5,8,9,6,0,7,4,3] , C=1 , 7+3+1=11 , A->1 , C->1
[3,9,7] + [7] , A=[1,3,8,5,8,9,6,0,7,4,3] , C=1 , 7+7+1=15 , A->5 , C->1
[3,9] + [] , A=[5,1,3,8,5,8,9,6,0,7,4,3] , C=1 , 9+0+1=10 , A->0 , C->1
[3] + [] , A=[0,5,1,3,8,5,8,9,6,0,7,4,3] , C=1 , 3+0+1=4 , A->4 , C->0
[] + [] , A=[4,0,5,1,3,8,5,8,9,6,0,7,4,3] C=0 , END
</scratch>
40513858960743
| 40513858960743 | 12 |
Input:
5273+76033817766571
Target:
| Input:
5273+76033817766571
Target:
[5,2,7,3] + [7,6,0,3,3,8,1,7,7,6,6,5,7,1] , A=[] , C=0 , 3+1+0=4 , A->4 , C->0
[5,2,7] + [7,6,0,3,3,8,1,7,7,6,6,5,7] , A=[4] , C=0 , 7+7+0=14 , A->4 , C->1
[5,2] + [7,6,0,3,3,8,1,7,7,6,6,5] , A=[4,4] , C=1 , 2+5+1=8 , A->8 , C->0
[5] + [7,6,0,3,3,8,1,7,7,6,6] , A=[8,4,4] , C=0 , 5+6+0=11 , A->1 , C->1
[] + [7,6,0,3,3,8,1,7,7,6] , A=[1,8,4,4] , C=1 , 0+6+1=7 , A->7 , C->0
[] + [7,6,0,3,3,8,1,7,7] , A=[7,1,8,4,4] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [7,6,0,3,3,8,1,7] , A=[7,7,1,8,4,4] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [7,6,0,3,3,8,1] , A=[7,7,7,1,8,4,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [7,6,0,3,3,8] , A=[1,7,7,7,1,8,4,4] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [7,6,0,3,3] , A=[8,1,7,7,7,1,8,4,4] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [7,6,0,3] , A=[3,8,1,7,7,7,1,8,4,4] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [7,6,0] , A=[3,3,8,1,7,7,7,1,8,4,4] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [7,6] , A=[0,3,3,8,1,7,7,7,1,8,4,4] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [7] , A=[6,0,3,3,8,1,7,7,7,1,8,4,4] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,6,0,3,3,8,1,7,7,7,1,8,4,4] C=0 , END
</scratch>
76033817771844
| 76033817771844 | 4 |
Input:
26246445571770+20578776798
Target:
| Input:
26246445571770+20578776798
Target:
[2,6,2,4,6,4,4,5,5,7,1,7,7,0] + [2,0,5,7,8,7,7,6,7,9,8] , A=[] , C=0 , 0+8+0=8 , A->8 , C->0
[2,6,2,4,6,4,4,5,5,7,1,7,7] + [2,0,5,7,8,7,7,6,7,9] , A=[8] , C=0 , 7+9+0=16 , A->6 , C->1
[2,6,2,4,6,4,4,5,5,7,1,7] + [2,0,5,7,8,7,7,6,7] , A=[6,8] , C=1 , 7+7+1=15 , A->5 , C->1
[2,6,2,4,6,4,4,5,5,7,1] + [2,0,5,7,8,7,7,6] , A=[5,6,8] , C=1 , 1+6+1=8 , A->8 , C->0
[2,6,2,4,6,4,4,5,5,7] + [2,0,5,7,8,7,7] , A=[8,5,6,8] , C=0 , 7+7+0=14 , A->4 , C->1
[2,6,2,4,6,4,4,5,5] + [2,0,5,7,8,7] , A=[4,8,5,6,8] , C=1 , 5+7+1=13 , A->3 , C->1
[2,6,2,4,6,4,4,5] + [2,0,5,7,8] , A=[3,4,8,5,6,8] , C=1 , 5+8+1=14 , A->4 , C->1
[2,6,2,4,6,4,4] + [2,0,5,7] , A=[4,3,4,8,5,6,8] , C=1 , 4+7+1=12 , A->2 , C->1
[2,6,2,4,6,4] + [2,0,5] , A=[2,4,3,4,8,5,6,8] , C=1 , 4+5+1=10 , A->0 , C->1
[2,6,2,4,6] + [2,0] , A=[0,2,4,3,4,8,5,6,8] , C=1 , 6+0+1=7 , A->7 , C->0
[2,6,2,4] + [2] , A=[7,0,2,4,3,4,8,5,6,8] , C=0 , 4+2+0=6 , A->6 , C->0
[2,6,2] + [] , A=[6,7,0,2,4,3,4,8,5,6,8] , C=0 , 2+0+0=2 , A->2 , C->0
[2,6] + [] , A=[2,6,7,0,2,4,3,4,8,5,6,8] , C=0 , 6+0+0=6 , A->6 , C->0
[2] + [] , A=[6,2,6,7,0,2,4,3,4,8,5,6,8] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [] , A=[2,6,2,6,7,0,2,4,3,4,8,5,6,8] C=0 , END
</scratch>
26267024348568
| 26267024348568 | 11 |
Input:
88649095936537+1951281452
Target:
| Input:
88649095936537+1951281452
Target:
[8,8,6,4,9,0,9,5,9,3,6,5,3,7] + [1,9,5,1,2,8,1,4,5,2] , A=[] , C=0 , 7+2+0=9 , A->9 , C->0
[8,8,6,4,9,0,9,5,9,3,6,5,3] + [1,9,5,1,2,8,1,4,5] , A=[9] , C=0 , 3+5+0=8 , A->8 , C->0
[8,8,6,4,9,0,9,5,9,3,6,5] + [1,9,5,1,2,8,1,4] , A=[8,9] , C=0 , 5+4+0=9 , A->9 , C->0
[8,8,6,4,9,0,9,5,9,3,6] + [1,9,5,1,2,8,1] , A=[9,8,9] , C=0 , 6+1+0=7 , A->7 , C->0
[8,8,6,4,9,0,9,5,9,3] + [1,9,5,1,2,8] , A=[7,9,8,9] , C=0 , 3+8+0=11 , A->1 , C->1
[8,8,6,4,9,0,9,5,9] + [1,9,5,1,2] , A=[1,7,9,8,9] , C=1 , 9+2+1=12 , A->2 , C->1
[8,8,6,4,9,0,9,5] + [1,9,5,1] , A=[2,1,7,9,8,9] , C=1 , 5+1+1=7 , A->7 , C->0
[8,8,6,4,9,0,9] + [1,9,5] , A=[7,2,1,7,9,8,9] , C=0 , 9+5+0=14 , A->4 , C->1
[8,8,6,4,9,0] + [1,9] , A=[4,7,2,1,7,9,8,9] , C=1 , 0+9+1=10 , A->0 , C->1
[8,8,6,4,9] + [1] , A=[0,4,7,2,1,7,9,8,9] , C=1 , 9+1+1=11 , A->1 , C->1
[8,8,6,4] + [] , A=[1,0,4,7,2,1,7,9,8,9] , C=1 , 4+0+1=5 , A->5 , C->0
[8,8,6] + [] , A=[5,1,0,4,7,2,1,7,9,8,9] , C=0 , 6+0+0=6 , A->6 , C->0
[8,8] + [] , A=[6,5,1,0,4,7,2,1,7,9,8,9] , C=0 , 8+0+0=8 , A->8 , C->0
[8] + [] , A=[8,6,5,1,0,4,7,2,1,7,9,8,9] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,8,6,5,1,0,4,7,2,1,7,9,8,9] C=0 , END
</scratch>
88651047217989
| 88651047217989 | 10 |
Input:
37331577208322+40728288185821
Target:
| Input:
37331577208322+40728288185821
Target:
[3,7,3,3,1,5,7,7,2,0,8,3,2,2] + [4,0,7,2,8,2,8,8,1,8,5,8,2,1] , A=[] , C=0 , 2+1+0=3 , A->3 , C->0
[3,7,3,3,1,5,7,7,2,0,8,3,2] + [4,0,7,2,8,2,8,8,1,8,5,8,2] , A=[3] , C=0 , 2+2+0=4 , A->4 , C->0
[3,7,3,3,1,5,7,7,2,0,8,3] + [4,0,7,2,8,2,8,8,1,8,5,8] , A=[4,3] , C=0 , 3+8+0=11 , A->1 , C->1
[3,7,3,3,1,5,7,7,2,0,8] + [4,0,7,2,8,2,8,8,1,8,5] , A=[1,4,3] , C=1 , 8+5+1=14 , A->4 , C->1
[3,7,3,3,1,5,7,7,2,0] + [4,0,7,2,8,2,8,8,1,8] , A=[4,1,4,3] , C=1 , 0+8+1=9 , A->9 , C->0
[3,7,3,3,1,5,7,7,2] + [4,0,7,2,8,2,8,8,1] , A=[9,4,1,4,3] , C=0 , 2+1+0=3 , A->3 , C->0
[3,7,3,3,1,5,7,7] + [4,0,7,2,8,2,8,8] , A=[3,9,4,1,4,3] , C=0 , 7+8+0=15 , A->5 , C->1
[3,7,3,3,1,5,7] + [4,0,7,2,8,2,8] , A=[5,3,9,4,1,4,3] , C=1 , 7+8+1=16 , A->6 , C->1
[3,7,3,3,1,5] + [4,0,7,2,8,2] , A=[6,5,3,9,4,1,4,3] , C=1 , 5+2+1=8 , A->8 , C->0
[3,7,3,3,1] + [4,0,7,2,8] , A=[8,6,5,3,9,4,1,4,3] , C=0 , 1+8+0=9 , A->9 , C->0
[3,7,3,3] + [4,0,7,2] , A=[9,8,6,5,3,9,4,1,4,3] , C=0 , 3+2+0=5 , A->5 , C->0
[3,7,3] + [4,0,7] , A=[5,9,8,6,5,3,9,4,1,4,3] , C=0 , 3+7+0=10 , A->0 , C->1
[3,7] + [4,0] , A=[0,5,9,8,6,5,3,9,4,1,4,3] , C=1 , 7+0+1=8 , A->8 , C->0
[3] + [4] , A=[8,0,5,9,8,6,5,3,9,4,1,4,3] , C=0 , 3+4+0=7 , A->7 , C->0
[] + [] , A=[7,8,0,5,9,8,6,5,3,9,4,1,4,3] C=0 , END
</scratch>
78059865394143
| 78059865394143 | 14 |
Input:
77010421004875+6283878221119
Target:
| Input:
77010421004875+6283878221119
Target:
[7,7,0,1,0,4,2,1,0,0,4,8,7,5] + [6,2,8,3,8,7,8,2,2,1,1,1,9] , A=[] , C=0 , 5+9+0=14 , A->4 , C->1
[7,7,0,1,0,4,2,1,0,0,4,8,7] + [6,2,8,3,8,7,8,2,2,1,1,1] , A=[4] , C=1 , 7+1+1=9 , A->9 , C->0
[7,7,0,1,0,4,2,1,0,0,4,8] + [6,2,8,3,8,7,8,2,2,1,1] , A=[9,4] , C=0 , 8+1+0=9 , A->9 , C->0
[7,7,0,1,0,4,2,1,0,0,4] + [6,2,8,3,8,7,8,2,2,1] , A=[9,9,4] , C=0 , 4+1+0=5 , A->5 , C->0
[7,7,0,1,0,4,2,1,0,0] + [6,2,8,3,8,7,8,2,2] , A=[5,9,9,4] , C=0 , 0+2+0=2 , A->2 , C->0
[7,7,0,1,0,4,2,1,0] + [6,2,8,3,8,7,8,2] , A=[2,5,9,9,4] , C=0 , 0+2+0=2 , A->2 , C->0
[7,7,0,1,0,4,2,1] + [6,2,8,3,8,7,8] , A=[2,2,5,9,9,4] , C=0 , 1+8+0=9 , A->9 , C->0
[7,7,0,1,0,4,2] + [6,2,8,3,8,7] , A=[9,2,2,5,9,9,4] , C=0 , 2+7+0=9 , A->9 , C->0
[7,7,0,1,0,4] + [6,2,8,3,8] , A=[9,9,2,2,5,9,9,4] , C=0 , 4+8+0=12 , A->2 , C->1
[7,7,0,1,0] + [6,2,8,3] , A=[2,9,9,2,2,5,9,9,4] , C=1 , 0+3+1=4 , A->4 , C->0
[7,7,0,1] + [6,2,8] , A=[4,2,9,9,2,2,5,9,9,4] , C=0 , 1+8+0=9 , A->9 , C->0
[7,7,0] + [6,2] , A=[9,4,2,9,9,2,2,5,9,9,4] , C=0 , 0+2+0=2 , A->2 , C->0
[7,7] + [6] , A=[2,9,4,2,9,9,2,2,5,9,9,4] , C=0 , 7+6+0=13 , A->3 , C->1
[7] + [] , A=[3,2,9,4,2,9,9,2,2,5,9,9,4] , C=1 , 7+0+1=8 , A->8 , C->0
[] + [] , A=[8,3,2,9,4,2,9,9,2,2,5,9,9,4] C=0 , END
</scratch>
83294299225994
| 83294299225994 | 13 |
Input:
20342440+13391085662272
Target:
| Input:
20342440+13391085662272
Target:
[2,0,3,4,2,4,4,0] + [1,3,3,9,1,0,8,5,6,6,2,2,7,2] , A=[] , C=0 , 0+2+0=2 , A->2 , C->0
[2,0,3,4,2,4,4] + [1,3,3,9,1,0,8,5,6,6,2,2,7] , A=[2] , C=0 , 4+7+0=11 , A->1 , C->1
[2,0,3,4,2,4] + [1,3,3,9,1,0,8,5,6,6,2,2] , A=[1,2] , C=1 , 4+2+1=7 , A->7 , C->0
[2,0,3,4,2] + [1,3,3,9,1,0,8,5,6,6,2] , A=[7,1,2] , C=0 , 2+2+0=4 , A->4 , C->0
[2,0,3,4] + [1,3,3,9,1,0,8,5,6,6] , A=[4,7,1,2] , C=0 , 4+6+0=10 , A->0 , C->1
[2,0,3] + [1,3,3,9,1,0,8,5,6] , A=[0,4,7,1,2] , C=1 , 3+6+1=10 , A->0 , C->1
[2,0] + [1,3,3,9,1,0,8,5] , A=[0,0,4,7,1,2] , C=1 , 0+5+1=6 , A->6 , C->0
[2] + [1,3,3,9,1,0,8] , A=[6,0,0,4,7,1,2] , C=0 , 2+8+0=10 , A->0 , C->1
[] + [1,3,3,9,1,0] , A=[0,6,0,0,4,7,1,2] , C=1 , 0+0+1=1 , A->1 , C->0
[] + [1,3,3,9,1] , A=[1,0,6,0,0,4,7,1,2] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [1,3,3,9] , A=[1,1,0,6,0,0,4,7,1,2] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [1,3,3] , A=[9,1,1,0,6,0,0,4,7,1,2] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [1,3] , A=[3,9,1,1,0,6,0,0,4,7,1,2] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [1] , A=[3,3,9,1,1,0,6,0,0,4,7,1,2] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,3,3,9,1,1,0,6,0,0,4,7,1,2] C=0 , END
</scratch>
13391106004712
| 13391106004712 | 8 |
Input:
60511519400823+43
Target:
| Input:
60511519400823+43
Target:
[6,0,5,1,1,5,1,9,4,0,0,8,2,3] + [4,3] , A=[] , C=0 , 3+3+0=6 , A->6 , C->0
[6,0,5,1,1,5,1,9,4,0,0,8,2] + [4] , A=[6] , C=0 , 2+4+0=6 , A->6 , C->0
[6,0,5,1,1,5,1,9,4,0,0,8] + [] , A=[6,6] , C=0 , 8+0+0=8 , A->8 , C->0
[6,0,5,1,1,5,1,9,4,0,0] + [] , A=[8,6,6] , C=0 , 0+0+0=0 , A->0 , C->0
[6,0,5,1,1,5,1,9,4,0] + [] , A=[0,8,6,6] , C=0 , 0+0+0=0 , A->0 , C->0
[6,0,5,1,1,5,1,9,4] + [] , A=[0,0,8,6,6] , C=0 , 4+0+0=4 , A->4 , C->0
[6,0,5,1,1,5,1,9] + [] , A=[4,0,0,8,6,6] , C=0 , 9+0+0=9 , A->9 , C->0
[6,0,5,1,1,5,1] + [] , A=[9,4,0,0,8,6,6] , C=0 , 1+0+0=1 , A->1 , C->0
[6,0,5,1,1,5] + [] , A=[1,9,4,0,0,8,6,6] , C=0 , 5+0+0=5 , A->5 , C->0
[6,0,5,1,1] + [] , A=[5,1,9,4,0,0,8,6,6] , C=0 , 1+0+0=1 , A->1 , C->0
[6,0,5,1] + [] , A=[1,5,1,9,4,0,0,8,6,6] , C=0 , 1+0+0=1 , A->1 , C->0
[6,0,5] + [] , A=[1,1,5,1,9,4,0,0,8,6,6] , C=0 , 5+0+0=5 , A->5 , C->0
[6,0] + [] , A=[5,1,1,5,1,9,4,0,0,8,6,6] , C=0 , 0+0+0=0 , A->0 , C->0
[6] + [] , A=[0,5,1,1,5,1,9,4,0,0,8,6,6] , C=0 , 6+0+0=6 , A->6 , C->0
[] + [] , A=[6,0,5,1,1,5,1,9,4,0,0,8,6,6] C=0 , END
</scratch>
60511519400866
| 60511519400866 | 2 |
Input:
7940643742+37530889890320
Target:
| Input:
7940643742+37530889890320
Target:
[7,9,4,0,6,4,3,7,4,2] + [3,7,5,3,0,8,8,9,8,9,0,3,2,0] , A=[] , C=0 , 2+0+0=2 , A->2 , C->0
[7,9,4,0,6,4,3,7,4] + [3,7,5,3,0,8,8,9,8,9,0,3,2] , A=[2] , C=0 , 4+2+0=6 , A->6 , C->0
[7,9,4,0,6,4,3,7] + [3,7,5,3,0,8,8,9,8,9,0,3] , A=[6,2] , C=0 , 7+3+0=10 , A->0 , C->1
[7,9,4,0,6,4,3] + [3,7,5,3,0,8,8,9,8,9,0] , A=[0,6,2] , C=1 , 3+0+1=4 , A->4 , C->0
[7,9,4,0,6,4] + [3,7,5,3,0,8,8,9,8,9] , A=[4,0,6,2] , C=0 , 4+9+0=13 , A->3 , C->1
[7,9,4,0,6] + [3,7,5,3,0,8,8,9,8] , A=[3,4,0,6,2] , C=1 , 6+8+1=15 , A->5 , C->1
[7,9,4,0] + [3,7,5,3,0,8,8,9] , A=[5,3,4,0,6,2] , C=1 , 0+9+1=10 , A->0 , C->1
[7,9,4] + [3,7,5,3,0,8,8] , A=[0,5,3,4,0,6,2] , C=1 , 4+8+1=13 , A->3 , C->1
[7,9] + [3,7,5,3,0,8] , A=[3,0,5,3,4,0,6,2] , C=1 , 9+8+1=18 , A->8 , C->1
[7] + [3,7,5,3,0] , A=[8,3,0,5,3,4,0,6,2] , C=1 , 7+0+1=8 , A->8 , C->0
[] + [3,7,5,3] , A=[8,8,3,0,5,3,4,0,6,2] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [3,7,5] , A=[3,8,8,3,0,5,3,4,0,6,2] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [3,7] , A=[5,3,8,8,3,0,5,3,4,0,6,2] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [3] , A=[7,5,3,8,8,3,0,5,3,4,0,6,2] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [] , A=[3,7,5,3,8,8,3,0,5,3,4,0,6,2] C=0 , END
</scratch>
37538830534062
| 37538830534062 | 10 |
Input:
539980296+78744838312487
Target:
| Input:
539980296+78744838312487
Target:
[5,3,9,9,8,0,2,9,6] + [7,8,7,4,4,8,3,8,3,1,2,4,8,7] , A=[] , C=0 , 6+7+0=13 , A->3 , C->1
[5,3,9,9,8,0,2,9] + [7,8,7,4,4,8,3,8,3,1,2,4,8] , A=[3] , C=1 , 9+8+1=18 , A->8 , C->1
[5,3,9,9,8,0,2] + [7,8,7,4,4,8,3,8,3,1,2,4] , A=[8,3] , C=1 , 2+4+1=7 , A->7 , C->0
[5,3,9,9,8,0] + [7,8,7,4,4,8,3,8,3,1,2] , A=[7,8,3] , C=0 , 0+2+0=2 , A->2 , C->0
[5,3,9,9,8] + [7,8,7,4,4,8,3,8,3,1] , A=[2,7,8,3] , C=0 , 8+1+0=9 , A->9 , C->0
[5,3,9,9] + [7,8,7,4,4,8,3,8,3] , A=[9,2,7,8,3] , C=0 , 9+3+0=12 , A->2 , C->1
[5,3,9] + [7,8,7,4,4,8,3,8] , A=[2,9,2,7,8,3] , C=1 , 9+8+1=18 , A->8 , C->1
[5,3] + [7,8,7,4,4,8,3] , A=[8,2,9,2,7,8,3] , C=1 , 3+3+1=7 , A->7 , C->0
[5] + [7,8,7,4,4,8] , A=[7,8,2,9,2,7,8,3] , C=0 , 5+8+0=13 , A->3 , C->1
[] + [7,8,7,4,4] , A=[3,7,8,2,9,2,7,8,3] , C=1 , 0+4+1=5 , A->5 , C->0
[] + [7,8,7,4] , A=[5,3,7,8,2,9,2,7,8,3] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [7,8,7] , A=[4,5,3,7,8,2,9,2,7,8,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [7,8] , A=[7,4,5,3,7,8,2,9,2,7,8,3] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [7] , A=[8,7,4,5,3,7,8,2,9,2,7,8,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,8,7,4,5,3,7,8,2,9,2,7,8,3] C=0 , END
</scratch>
78745378292783
| 78745378292783 | 9 |
Input:
852605677619+17468126541539
Target:
| Input:
852605677619+17468126541539
Target:
[8,5,2,6,0,5,6,7,7,6,1,9] + [1,7,4,6,8,1,2,6,5,4,1,5,3,9] , A=[] , C=0 , 9+9+0=18 , A->8 , C->1
[8,5,2,6,0,5,6,7,7,6,1] + [1,7,4,6,8,1,2,6,5,4,1,5,3] , A=[8] , C=1 , 1+3+1=5 , A->5 , C->0
[8,5,2,6,0,5,6,7,7,6] + [1,7,4,6,8,1,2,6,5,4,1,5] , A=[5,8] , C=0 , 6+5+0=11 , A->1 , C->1
[8,5,2,6,0,5,6,7,7] + [1,7,4,6,8,1,2,6,5,4,1] , A=[1,5,8] , C=1 , 7+1+1=9 , A->9 , C->0
[8,5,2,6,0,5,6,7] + [1,7,4,6,8,1,2,6,5,4] , A=[9,1,5,8] , C=0 , 7+4+0=11 , A->1 , C->1
[8,5,2,6,0,5,6] + [1,7,4,6,8,1,2,6,5] , A=[1,9,1,5,8] , C=1 , 6+5+1=12 , A->2 , C->1
[8,5,2,6,0,5] + [1,7,4,6,8,1,2,6] , A=[2,1,9,1,5,8] , C=1 , 5+6+1=12 , A->2 , C->1
[8,5,2,6,0] + [1,7,4,6,8,1,2] , A=[2,2,1,9,1,5,8] , C=1 , 0+2+1=3 , A->3 , C->0
[8,5,2,6] + [1,7,4,6,8,1] , A=[3,2,2,1,9,1,5,8] , C=0 , 6+1+0=7 , A->7 , C->0
[8,5,2] + [1,7,4,6,8] , A=[7,3,2,2,1,9,1,5,8] , C=0 , 2+8+0=10 , A->0 , C->1
[8,5] + [1,7,4,6] , A=[0,7,3,2,2,1,9,1,5,8] , C=1 , 5+6+1=12 , A->2 , C->1
[8] + [1,7,4] , A=[2,0,7,3,2,2,1,9,1,5,8] , C=1 , 8+4+1=13 , A->3 , C->1
[] + [1,7] , A=[3,2,0,7,3,2,2,1,9,1,5,8] , C=1 , 0+7+1=8 , A->8 , C->0
[] + [1] , A=[8,3,2,0,7,3,2,2,1,9,1,5,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,8,3,2,0,7,3,2,2,1,9,1,5,8] C=0 , END
</scratch>
18320732219158
| 18320732219158 | 12 |
Input:
23+61780063245000
Target:
| Input:
23+61780063245000
Target:
[2,3] + [6,1,7,8,0,0,6,3,2,4,5,0,0,0] , A=[] , C=0 , 3+0+0=3 , A->3 , C->0
[2] + [6,1,7,8,0,0,6,3,2,4,5,0,0] , A=[3] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [6,1,7,8,0,0,6,3,2,4,5,0] , A=[2,3] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [6,1,7,8,0,0,6,3,2,4,5] , A=[0,2,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [6,1,7,8,0,0,6,3,2,4] , A=[5,0,2,3] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [6,1,7,8,0,0,6,3,2] , A=[4,5,0,2,3] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [6,1,7,8,0,0,6,3] , A=[2,4,5,0,2,3] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [6,1,7,8,0,0,6] , A=[3,2,4,5,0,2,3] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [6,1,7,8,0,0] , A=[6,3,2,4,5,0,2,3] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [6,1,7,8,0] , A=[0,6,3,2,4,5,0,2,3] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [6,1,7,8] , A=[0,0,6,3,2,4,5,0,2,3] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [6,1,7] , A=[8,0,0,6,3,2,4,5,0,2,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6,1] , A=[7,8,0,0,6,3,2,4,5,0,2,3] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [6] , A=[1,7,8,0,0,6,3,2,4,5,0,2,3] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,1,7,8,0,0,6,3,2,4,5,0,2,3] C=0 , END
</scratch>
61780063245023
| 61780063245023 | 2 |
Input:
773252142+17021245380088
Target:
| Input:
773252142+17021245380088
Target:
[7,7,3,2,5,2,1,4,2] + [1,7,0,2,1,2,4,5,3,8,0,0,8,8] , A=[] , C=0 , 2+8+0=10 , A->0 , C->1
[7,7,3,2,5,2,1,4] + [1,7,0,2,1,2,4,5,3,8,0,0,8] , A=[0] , C=1 , 4+8+1=13 , A->3 , C->1
[7,7,3,2,5,2,1] + [1,7,0,2,1,2,4,5,3,8,0,0] , A=[3,0] , C=1 , 1+0+1=2 , A->2 , C->0
[7,7,3,2,5,2] + [1,7,0,2,1,2,4,5,3,8,0] , A=[2,3,0] , C=0 , 2+0+0=2 , A->2 , C->0
[7,7,3,2,5] + [1,7,0,2,1,2,4,5,3,8] , A=[2,2,3,0] , C=0 , 5+8+0=13 , A->3 , C->1
[7,7,3,2] + [1,7,0,2,1,2,4,5,3] , A=[3,2,2,3,0] , C=1 , 2+3+1=6 , A->6 , C->0
[7,7,3] + [1,7,0,2,1,2,4,5] , A=[6,3,2,2,3,0] , C=0 , 3+5+0=8 , A->8 , C->0
[7,7] + [1,7,0,2,1,2,4] , A=[8,6,3,2,2,3,0] , C=0 , 7+4+0=11 , A->1 , C->1
[7] + [1,7,0,2,1,2] , A=[1,8,6,3,2,2,3,0] , C=1 , 7+2+1=10 , A->0 , C->1
[] + [1,7,0,2,1] , A=[0,1,8,6,3,2,2,3,0] , C=1 , 0+1+1=2 , A->2 , C->0
[] + [1,7,0,2] , A=[2,0,1,8,6,3,2,2,3,0] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [1,7,0] , A=[2,2,0,1,8,6,3,2,2,3,0] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [1,7] , A=[0,2,2,0,1,8,6,3,2,2,3,0] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [1] , A=[7,0,2,2,0,1,8,6,3,2,2,3,0] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,7,0,2,2,0,1,8,6,3,2,2,3,0] C=0 , END
</scratch>
17022018632230
| 17022018632230 | 9 |
Input:
460+68181912970974
Target:
| Input:
460+68181912970974
Target:
[4,6,0] + [6,8,1,8,1,9,1,2,9,7,0,9,7,4] , A=[] , C=0 , 0+4+0=4 , A->4 , C->0
[4,6] + [6,8,1,8,1,9,1,2,9,7,0,9,7] , A=[4] , C=0 , 6+7+0=13 , A->3 , C->1
[4] + [6,8,1,8,1,9,1,2,9,7,0,9] , A=[3,4] , C=1 , 4+9+1=14 , A->4 , C->1
[] + [6,8,1,8,1,9,1,2,9,7,0] , A=[4,3,4] , C=1 , 0+0+1=1 , A->1 , C->0
[] + [6,8,1,8,1,9,1,2,9,7] , A=[1,4,3,4] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6,8,1,8,1,9,1,2,9] , A=[7,1,4,3,4] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [6,8,1,8,1,9,1,2] , A=[9,7,1,4,3,4] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [6,8,1,8,1,9,1] , A=[2,9,7,1,4,3,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [6,8,1,8,1,9] , A=[1,2,9,7,1,4,3,4] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [6,8,1,8,1] , A=[9,1,2,9,7,1,4,3,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [6,8,1,8] , A=[1,9,1,2,9,7,1,4,3,4] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [6,8,1] , A=[8,1,9,1,2,9,7,1,4,3,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [6,8] , A=[1,8,1,9,1,2,9,7,1,4,3,4] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [6] , A=[8,1,8,1,9,1,2,9,7,1,4,3,4] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,8,1,8,1,9,1,2,9,7,1,4,3,4] C=0 , END
</scratch>
68181912971434
| 68181912971434 | 3 |
Input:
35488408078568+66
Target:
| Input:
35488408078568+66
Target:
[3,5,4,8,8,4,0,8,0,7,8,5,6,8] + [6,6] , A=[] , C=0 , 8+6+0=14 , A->4 , C->1
[3,5,4,8,8,4,0,8,0,7,8,5,6] + [6] , A=[4] , C=1 , 6+6+1=13 , A->3 , C->1
[3,5,4,8,8,4,0,8,0,7,8,5] + [] , A=[3,4] , C=1 , 5+0+1=6 , A->6 , C->0
[3,5,4,8,8,4,0,8,0,7,8] + [] , A=[6,3,4] , C=0 , 8+0+0=8 , A->8 , C->0
[3,5,4,8,8,4,0,8,0,7] + [] , A=[8,6,3,4] , C=0 , 7+0+0=7 , A->7 , C->0
[3,5,4,8,8,4,0,8,0] + [] , A=[7,8,6,3,4] , C=0 , 0+0+0=0 , A->0 , C->0
[3,5,4,8,8,4,0,8] + [] , A=[0,7,8,6,3,4] , C=0 , 8+0+0=8 , A->8 , C->0
[3,5,4,8,8,4,0] + [] , A=[8,0,7,8,6,3,4] , C=0 , 0+0+0=0 , A->0 , C->0
[3,5,4,8,8,4] + [] , A=[0,8,0,7,8,6,3,4] , C=0 , 4+0+0=4 , A->4 , C->0
[3,5,4,8,8] + [] , A=[4,0,8,0,7,8,6,3,4] , C=0 , 8+0+0=8 , A->8 , C->0
[3,5,4,8] + [] , A=[8,4,0,8,0,7,8,6,3,4] , C=0 , 8+0+0=8 , A->8 , C->0
[3,5,4] + [] , A=[8,8,4,0,8,0,7,8,6,3,4] , C=0 , 4+0+0=4 , A->4 , C->0
[3,5] + [] , A=[4,8,8,4,0,8,0,7,8,6,3,4] , C=0 , 5+0+0=5 , A->5 , C->0
[3] + [] , A=[5,4,8,8,4,0,8,0,7,8,6,3,4] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,5,4,8,8,4,0,8,0,7,8,6,3,4] C=0 , END
</scratch>
35488408078634
| 35488408078634 | 2 |
Input:
94745442+17950767773351
Target:
| Input:
94745442+17950767773351
Target:
[9,4,7,4,5,4,4,2] + [1,7,9,5,0,7,6,7,7,7,3,3,5,1] , A=[] , C=0 , 2+1+0=3 , A->3 , C->0
[9,4,7,4,5,4,4] + [1,7,9,5,0,7,6,7,7,7,3,3,5] , A=[3] , C=0 , 4+5+0=9 , A->9 , C->0
[9,4,7,4,5,4] + [1,7,9,5,0,7,6,7,7,7,3,3] , A=[9,3] , C=0 , 4+3+0=7 , A->7 , C->0
[9,4,7,4,5] + [1,7,9,5,0,7,6,7,7,7,3] , A=[7,9,3] , C=0 , 5+3+0=8 , A->8 , C->0
[9,4,7,4] + [1,7,9,5,0,7,6,7,7,7] , A=[8,7,9,3] , C=0 , 4+7+0=11 , A->1 , C->1
[9,4,7] + [1,7,9,5,0,7,6,7,7] , A=[1,8,7,9,3] , C=1 , 7+7+1=15 , A->5 , C->1
[9,4] + [1,7,9,5,0,7,6,7] , A=[5,1,8,7,9,3] , C=1 , 4+7+1=12 , A->2 , C->1
[9] + [1,7,9,5,0,7,6] , A=[2,5,1,8,7,9,3] , C=1 , 9+6+1=16 , A->6 , C->1
[] + [1,7,9,5,0,7] , A=[6,2,5,1,8,7,9,3] , C=1 , 0+7+1=8 , A->8 , C->0
[] + [1,7,9,5,0] , A=[8,6,2,5,1,8,7,9,3] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [1,7,9,5] , A=[0,8,6,2,5,1,8,7,9,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1,7,9] , A=[5,0,8,6,2,5,1,8,7,9,3] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [1,7] , A=[9,5,0,8,6,2,5,1,8,7,9,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [1] , A=[7,9,5,0,8,6,2,5,1,8,7,9,3] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,7,9,5,0,8,6,2,5,1,8,7,9,3] C=0 , END
</scratch>
17950862518793
| 17950862518793 | 8 |
Input:
912301394+21572425370750
Target:
| Input:
912301394+21572425370750
Target:
[9,1,2,3,0,1,3,9,4] + [2,1,5,7,2,4,2,5,3,7,0,7,5,0] , A=[] , C=0 , 4+0+0=4 , A->4 , C->0
[9,1,2,3,0,1,3,9] + [2,1,5,7,2,4,2,5,3,7,0,7,5] , A=[4] , C=0 , 9+5+0=14 , A->4 , C->1
[9,1,2,3,0,1,3] + [2,1,5,7,2,4,2,5,3,7,0,7] , A=[4,4] , C=1 , 3+7+1=11 , A->1 , C->1
[9,1,2,3,0,1] + [2,1,5,7,2,4,2,5,3,7,0] , A=[1,4,4] , C=1 , 1+0+1=2 , A->2 , C->0
[9,1,2,3,0] + [2,1,5,7,2,4,2,5,3,7] , A=[2,1,4,4] , C=0 , 0+7+0=7 , A->7 , C->0
[9,1,2,3] + [2,1,5,7,2,4,2,5,3] , A=[7,2,1,4,4] , C=0 , 3+3+0=6 , A->6 , C->0
[9,1,2] + [2,1,5,7,2,4,2,5] , A=[6,7,2,1,4,4] , C=0 , 2+5+0=7 , A->7 , C->0
[9,1] + [2,1,5,7,2,4,2] , A=[7,6,7,2,1,4,4] , C=0 , 1+2+0=3 , A->3 , C->0
[9] + [2,1,5,7,2,4] , A=[3,7,6,7,2,1,4,4] , C=0 , 9+4+0=13 , A->3 , C->1
[] + [2,1,5,7,2] , A=[3,3,7,6,7,2,1,4,4] , C=1 , 0+2+1=3 , A->3 , C->0
[] + [2,1,5,7] , A=[3,3,3,7,6,7,2,1,4,4] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [2,1,5] , A=[7,3,3,3,7,6,7,2,1,4,4] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [2,1] , A=[5,7,3,3,3,7,6,7,2,1,4,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [2] , A=[1,5,7,3,3,3,7,6,7,2,1,4,4] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,1,5,7,3,3,3,7,6,7,2,1,4,4] C=0 , END
</scratch>
21573337672144
| 21573337672144 | 9 |
Input:
81171446023391+902206033
Target:
| Input:
81171446023391+902206033
Target:
[8,1,1,7,1,4,4,6,0,2,3,3,9,1] + [9,0,2,2,0,6,0,3,3] , A=[] , C=0 , 1+3+0=4 , A->4 , C->0
[8,1,1,7,1,4,4,6,0,2,3,3,9] + [9,0,2,2,0,6,0,3] , A=[4] , C=0 , 9+3+0=12 , A->2 , C->1
[8,1,1,7,1,4,4,6,0,2,3,3] + [9,0,2,2,0,6,0] , A=[2,4] , C=1 , 3+0+1=4 , A->4 , C->0
[8,1,1,7,1,4,4,6,0,2,3] + [9,0,2,2,0,6] , A=[4,2,4] , C=0 , 3+6+0=9 , A->9 , C->0
[8,1,1,7,1,4,4,6,0,2] + [9,0,2,2,0] , A=[9,4,2,4] , C=0 , 2+0+0=2 , A->2 , C->0
[8,1,1,7,1,4,4,6,0] + [9,0,2,2] , A=[2,9,4,2,4] , C=0 , 0+2+0=2 , A->2 , C->0
[8,1,1,7,1,4,4,6] + [9,0,2] , A=[2,2,9,4,2,4] , C=0 , 6+2+0=8 , A->8 , C->0
[8,1,1,7,1,4,4] + [9,0] , A=[8,2,2,9,4,2,4] , C=0 , 4+0+0=4 , A->4 , C->0
[8,1,1,7,1,4] + [9] , A=[4,8,2,2,9,4,2,4] , C=0 , 4+9+0=13 , A->3 , C->1
[8,1,1,7,1] + [] , A=[3,4,8,2,2,9,4,2,4] , C=1 , 1+0+1=2 , A->2 , C->0
[8,1,1,7] + [] , A=[2,3,4,8,2,2,9,4,2,4] , C=0 , 7+0+0=7 , A->7 , C->0
[8,1,1] + [] , A=[7,2,3,4,8,2,2,9,4,2,4] , C=0 , 1+0+0=1 , A->1 , C->0
[8,1] + [] , A=[1,7,2,3,4,8,2,2,9,4,2,4] , C=0 , 1+0+0=1 , A->1 , C->0
[8] + [] , A=[1,1,7,2,3,4,8,2,2,9,4,2,4] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,1,1,7,2,3,4,8,2,2,9,4,2,4] C=0 , END
</scratch>
81172348229424
| 81172348229424 | 9 |
Input:
489+42119688581566
Target:
| Input:
489+42119688581566
Target:
[4,8,9] + [4,2,1,1,9,6,8,8,5,8,1,5,6,6] , A=[] , C=0 , 9+6+0=15 , A->5 , C->1
[4,8] + [4,2,1,1,9,6,8,8,5,8,1,5,6] , A=[5] , C=1 , 8+6+1=15 , A->5 , C->1
[4] + [4,2,1,1,9,6,8,8,5,8,1,5] , A=[5,5] , C=1 , 4+5+1=10 , A->0 , C->1
[] + [4,2,1,1,9,6,8,8,5,8,1] , A=[0,5,5] , C=1 , 0+1+1=2 , A->2 , C->0
[] + [4,2,1,1,9,6,8,8,5,8] , A=[2,0,5,5] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [4,2,1,1,9,6,8,8,5] , A=[8,2,0,5,5] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [4,2,1,1,9,6,8,8] , A=[5,8,2,0,5,5] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [4,2,1,1,9,6,8] , A=[8,5,8,2,0,5,5] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [4,2,1,1,9,6] , A=[8,8,5,8,2,0,5,5] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [4,2,1,1,9] , A=[6,8,8,5,8,2,0,5,5] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [4,2,1,1] , A=[9,6,8,8,5,8,2,0,5,5] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [4,2,1] , A=[1,9,6,8,8,5,8,2,0,5,5] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [4,2] , A=[1,1,9,6,8,8,5,8,2,0,5,5] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [4] , A=[2,1,1,9,6,8,8,5,8,2,0,5,5] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,2,1,1,9,6,8,8,5,8,2,0,5,5] C=0 , END
</scratch>
42119688582055
| 42119688582055 | 3 |
Input:
30860912787847+9
Target:
| Input:
30860912787847+9
Target:
[3,0,8,6,0,9,1,2,7,8,7,8,4,7] + [9] , A=[] , C=0 , 7+9+0=16 , A->6 , C->1
[3,0,8,6,0,9,1,2,7,8,7,8,4] + [] , A=[6] , C=1 , 4+0+1=5 , A->5 , C->0
[3,0,8,6,0,9,1,2,7,8,7,8] + [] , A=[5,6] , C=0 , 8+0+0=8 , A->8 , C->0
[3,0,8,6,0,9,1,2,7,8,7] + [] , A=[8,5,6] , C=0 , 7+0+0=7 , A->7 , C->0
[3,0,8,6,0,9,1,2,7,8] + [] , A=[7,8,5,6] , C=0 , 8+0+0=8 , A->8 , C->0
[3,0,8,6,0,9,1,2,7] + [] , A=[8,7,8,5,6] , C=0 , 7+0+0=7 , A->7 , C->0
[3,0,8,6,0,9,1,2] + [] , A=[7,8,7,8,5,6] , C=0 , 2+0+0=2 , A->2 , C->0
[3,0,8,6,0,9,1] + [] , A=[2,7,8,7,8,5,6] , C=0 , 1+0+0=1 , A->1 , C->0
[3,0,8,6,0,9] + [] , A=[1,2,7,8,7,8,5,6] , C=0 , 9+0+0=9 , A->9 , C->0
[3,0,8,6,0] + [] , A=[9,1,2,7,8,7,8,5,6] , C=0 , 0+0+0=0 , A->0 , C->0
[3,0,8,6] + [] , A=[0,9,1,2,7,8,7,8,5,6] , C=0 , 6+0+0=6 , A->6 , C->0
[3,0,8] + [] , A=[6,0,9,1,2,7,8,7,8,5,6] , C=0 , 8+0+0=8 , A->8 , C->0
[3,0] + [] , A=[8,6,0,9,1,2,7,8,7,8,5,6] , C=0 , 0+0+0=0 , A->0 , C->0
[3] + [] , A=[0,8,6,0,9,1,2,7,8,7,8,5,6] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,0,8,6,0,9,1,2,7,8,7,8,5,6] C=0 , END
</scratch>
30860912787856
| 30860912787856 | 1 |
Input:
79438888540497+66507395869282
Target:
| Input:
79438888540497+66507395869282
Target:
[7,9,4,3,8,8,8,8,5,4,0,4,9,7] + [6,6,5,0,7,3,9,5,8,6,9,2,8,2] , A=[] , C=0 , 7+2+0=9 , A->9 , C->0
[7,9,4,3,8,8,8,8,5,4,0,4,9] + [6,6,5,0,7,3,9,5,8,6,9,2,8] , A=[9] , C=0 , 9+8+0=17 , A->7 , C->1
[7,9,4,3,8,8,8,8,5,4,0,4] + [6,6,5,0,7,3,9,5,8,6,9,2] , A=[7,9] , C=1 , 4+2+1=7 , A->7 , C->0
[7,9,4,3,8,8,8,8,5,4,0] + [6,6,5,0,7,3,9,5,8,6,9] , A=[7,7,9] , C=0 , 0+9+0=9 , A->9 , C->0
[7,9,4,3,8,8,8,8,5,4] + [6,6,5,0,7,3,9,5,8,6] , A=[9,7,7,9] , C=0 , 4+6+0=10 , A->0 , C->1
[7,9,4,3,8,8,8,8,5] + [6,6,5,0,7,3,9,5,8] , A=[0,9,7,7,9] , C=1 , 5+8+1=14 , A->4 , C->1
[7,9,4,3,8,8,8,8] + [6,6,5,0,7,3,9,5] , A=[4,0,9,7,7,9] , C=1 , 8+5+1=14 , A->4 , C->1
[7,9,4,3,8,8,8] + [6,6,5,0,7,3,9] , A=[4,4,0,9,7,7,9] , C=1 , 8+9+1=18 , A->8 , C->1
[7,9,4,3,8,8] + [6,6,5,0,7,3] , A=[8,4,4,0,9,7,7,9] , C=1 , 8+3+1=12 , A->2 , C->1
[7,9,4,3,8] + [6,6,5,0,7] , A=[2,8,4,4,0,9,7,7,9] , C=1 , 8+7+1=16 , A->6 , C->1
[7,9,4,3] + [6,6,5,0] , A=[6,2,8,4,4,0,9,7,7,9] , C=1 , 3+0+1=4 , A->4 , C->0
[7,9,4] + [6,6,5] , A=[4,6,2,8,4,4,0,9,7,7,9] , C=0 , 4+5+0=9 , A->9 , C->0
[7,9] + [6,6] , A=[9,4,6,2,8,4,4,0,9,7,7,9] , C=0 , 9+6+0=15 , A->5 , C->1
[7] + [6] , A=[5,9,4,6,2,8,4,4,0,9,7,7,9] , C=1 , 7+6+1=14 , A->4 , C->1
[] + [] , A=[4,5,9,4,6,2,8,4,4,0,9,7,7,9] C=1 , END
</scratch>
145946284409779
| 145946284409779 | 14 |
Input:
20377465449459+2687520204120
Target:
| Input:
20377465449459+2687520204120
Target:
[2,0,3,7,7,4,6,5,4,4,9,4,5,9] + [2,6,8,7,5,2,0,2,0,4,1,2,0] , A=[] , C=0 , 9+0+0=9 , A->9 , C->0
[2,0,3,7,7,4,6,5,4,4,9,4,5] + [2,6,8,7,5,2,0,2,0,4,1,2] , A=[9] , C=0 , 5+2+0=7 , A->7 , C->0
[2,0,3,7,7,4,6,5,4,4,9,4] + [2,6,8,7,5,2,0,2,0,4,1] , A=[7,9] , C=0 , 4+1+0=5 , A->5 , C->0
[2,0,3,7,7,4,6,5,4,4,9] + [2,6,8,7,5,2,0,2,0,4] , A=[5,7,9] , C=0 , 9+4+0=13 , A->3 , C->1
[2,0,3,7,7,4,6,5,4,4] + [2,6,8,7,5,2,0,2,0] , A=[3,5,7,9] , C=1 , 4+0+1=5 , A->5 , C->0
[2,0,3,7,7,4,6,5,4] + [2,6,8,7,5,2,0,2] , A=[5,3,5,7,9] , C=0 , 4+2+0=6 , A->6 , C->0
[2,0,3,7,7,4,6,5] + [2,6,8,7,5,2,0] , A=[6,5,3,5,7,9] , C=0 , 5+0+0=5 , A->5 , C->0
[2,0,3,7,7,4,6] + [2,6,8,7,5,2] , A=[5,6,5,3,5,7,9] , C=0 , 6+2+0=8 , A->8 , C->0
[2,0,3,7,7,4] + [2,6,8,7,5] , A=[8,5,6,5,3,5,7,9] , C=0 , 4+5+0=9 , A->9 , C->0
[2,0,3,7,7] + [2,6,8,7] , A=[9,8,5,6,5,3,5,7,9] , C=0 , 7+7+0=14 , A->4 , C->1
[2,0,3,7] + [2,6,8] , A=[4,9,8,5,6,5,3,5,7,9] , C=1 , 7+8+1=16 , A->6 , C->1
[2,0,3] + [2,6] , A=[6,4,9,8,5,6,5,3,5,7,9] , C=1 , 3+6+1=10 , A->0 , C->1
[2,0] + [2] , A=[0,6,4,9,8,5,6,5,3,5,7,9] , C=1 , 0+2+1=3 , A->3 , C->0
[2] + [] , A=[3,0,6,4,9,8,5,6,5,3,5,7,9] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [] , A=[2,3,0,6,4,9,8,5,6,5,3,5,7,9] C=0 , END
</scratch>
23064985653579
| 23064985653579 | 13 |
Input:
409425793830+19157064790953
Target:
| Input:
409425793830+19157064790953
Target:
[4,0,9,4,2,5,7,9,3,8,3,0] + [1,9,1,5,7,0,6,4,7,9,0,9,5,3] , A=[] , C=0 , 0+3+0=3 , A->3 , C->0
[4,0,9,4,2,5,7,9,3,8,3] + [1,9,1,5,7,0,6,4,7,9,0,9,5] , A=[3] , C=0 , 3+5+0=8 , A->8 , C->0
[4,0,9,4,2,5,7,9,3,8] + [1,9,1,5,7,0,6,4,7,9,0,9] , A=[8,3] , C=0 , 8+9+0=17 , A->7 , C->1
[4,0,9,4,2,5,7,9,3] + [1,9,1,5,7,0,6,4,7,9,0] , A=[7,8,3] , C=1 , 3+0+1=4 , A->4 , C->0
[4,0,9,4,2,5,7,9] + [1,9,1,5,7,0,6,4,7,9] , A=[4,7,8,3] , C=0 , 9+9+0=18 , A->8 , C->1
[4,0,9,4,2,5,7] + [1,9,1,5,7,0,6,4,7] , A=[8,4,7,8,3] , C=1 , 7+7+1=15 , A->5 , C->1
[4,0,9,4,2,5] + [1,9,1,5,7,0,6,4] , A=[5,8,4,7,8,3] , C=1 , 5+4+1=10 , A->0 , C->1
[4,0,9,4,2] + [1,9,1,5,7,0,6] , A=[0,5,8,4,7,8,3] , C=1 , 2+6+1=9 , A->9 , C->0
[4,0,9,4] + [1,9,1,5,7,0] , A=[9,0,5,8,4,7,8,3] , C=0 , 4+0+0=4 , A->4 , C->0
[4,0,9] + [1,9,1,5,7] , A=[4,9,0,5,8,4,7,8,3] , C=0 , 9+7+0=16 , A->6 , C->1
[4,0] + [1,9,1,5] , A=[6,4,9,0,5,8,4,7,8,3] , C=1 , 0+5+1=6 , A->6 , C->0
[4] + [1,9,1] , A=[6,6,4,9,0,5,8,4,7,8,3] , C=0 , 4+1+0=5 , A->5 , C->0
[] + [1,9] , A=[5,6,6,4,9,0,5,8,4,7,8,3] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [1] , A=[9,5,6,6,4,9,0,5,8,4,7,8,3] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,9,5,6,6,4,9,0,5,8,4,7,8,3] C=0 , END
</scratch>
19566490584783
| 19566490584783 | 12 |
Input:
90867591303787+9237714908
Target:
| Input:
90867591303787+9237714908
Target:
[9,0,8,6,7,5,9,1,3,0,3,7,8,7] + [9,2,3,7,7,1,4,9,0,8] , A=[] , C=0 , 7+8+0=15 , A->5 , C->1
[9,0,8,6,7,5,9,1,3,0,3,7,8] + [9,2,3,7,7,1,4,9,0] , A=[5] , C=1 , 8+0+1=9 , A->9 , C->0
[9,0,8,6,7,5,9,1,3,0,3,7] + [9,2,3,7,7,1,4,9] , A=[9,5] , C=0 , 7+9+0=16 , A->6 , C->1
[9,0,8,6,7,5,9,1,3,0,3] + [9,2,3,7,7,1,4] , A=[6,9,5] , C=1 , 3+4+1=8 , A->8 , C->0
[9,0,8,6,7,5,9,1,3,0] + [9,2,3,7,7,1] , A=[8,6,9,5] , C=0 , 0+1+0=1 , A->1 , C->0
[9,0,8,6,7,5,9,1,3] + [9,2,3,7,7] , A=[1,8,6,9,5] , C=0 , 3+7+0=10 , A->0 , C->1
[9,0,8,6,7,5,9,1] + [9,2,3,7] , A=[0,1,8,6,9,5] , C=1 , 1+7+1=9 , A->9 , C->0
[9,0,8,6,7,5,9] + [9,2,3] , A=[9,0,1,8,6,9,5] , C=0 , 9+3+0=12 , A->2 , C->1
[9,0,8,6,7,5] + [9,2] , A=[2,9,0,1,8,6,9,5] , C=1 , 5+2+1=8 , A->8 , C->0
[9,0,8,6,7] + [9] , A=[8,2,9,0,1,8,6,9,5] , C=0 , 7+9+0=16 , A->6 , C->1
[9,0,8,6] + [] , A=[6,8,2,9,0,1,8,6,9,5] , C=1 , 6+0+1=7 , A->7 , C->0
[9,0,8] + [] , A=[7,6,8,2,9,0,1,8,6,9,5] , C=0 , 8+0+0=8 , A->8 , C->0
[9,0] + [] , A=[8,7,6,8,2,9,0,1,8,6,9,5] , C=0 , 0+0+0=0 , A->0 , C->0
[9] + [] , A=[0,8,7,6,8,2,9,0,1,8,6,9,5] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,0,8,7,6,8,2,9,0,1,8,6,9,5] C=0 , END
</scratch>
90876829018695
| 90876829018695 | 10 |
Input:
42828864630704+4
Target:
| Input:
42828864630704+4
Target:
[4,2,8,2,8,8,6,4,6,3,0,7,0,4] + [4] , A=[] , C=0 , 4+4+0=8 , A->8 , C->0
[4,2,8,2,8,8,6,4,6,3,0,7,0] + [] , A=[8] , C=0 , 0+0+0=0 , A->0 , C->0
[4,2,8,2,8,8,6,4,6,3,0,7] + [] , A=[0,8] , C=0 , 7+0+0=7 , A->7 , C->0
[4,2,8,2,8,8,6,4,6,3,0] + [] , A=[7,0,8] , C=0 , 0+0+0=0 , A->0 , C->0
[4,2,8,2,8,8,6,4,6,3] + [] , A=[0,7,0,8] , C=0 , 3+0+0=3 , A->3 , C->0
[4,2,8,2,8,8,6,4,6] + [] , A=[3,0,7,0,8] , C=0 , 6+0+0=6 , A->6 , C->0
[4,2,8,2,8,8,6,4] + [] , A=[6,3,0,7,0,8] , C=0 , 4+0+0=4 , A->4 , C->0
[4,2,8,2,8,8,6] + [] , A=[4,6,3,0,7,0,8] , C=0 , 6+0+0=6 , A->6 , C->0
[4,2,8,2,8,8] + [] , A=[6,4,6,3,0,7,0,8] , C=0 , 8+0+0=8 , A->8 , C->0
[4,2,8,2,8] + [] , A=[8,6,4,6,3,0,7,0,8] , C=0 , 8+0+0=8 , A->8 , C->0
[4,2,8,2] + [] , A=[8,8,6,4,6,3,0,7,0,8] , C=0 , 2+0+0=2 , A->2 , C->0
[4,2,8] + [] , A=[2,8,8,6,4,6,3,0,7,0,8] , C=0 , 8+0+0=8 , A->8 , C->0
[4,2] + [] , A=[8,2,8,8,6,4,6,3,0,7,0,8] , C=0 , 2+0+0=2 , A->2 , C->0
[4] + [] , A=[2,8,2,8,8,6,4,6,3,0,7,0,8] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,2,8,2,8,8,6,4,6,3,0,7,0,8] C=0 , END
</scratch>
42828864630708
| 42828864630708 | 1 |
Input:
95061702387474+4446
Target:
| Input:
95061702387474+4446
Target:
[9,5,0,6,1,7,0,2,3,8,7,4,7,4] + [4,4,4,6] , A=[] , C=0 , 4+6+0=10 , A->0 , C->1
[9,5,0,6,1,7,0,2,3,8,7,4,7] + [4,4,4] , A=[0] , C=1 , 7+4+1=12 , A->2 , C->1
[9,5,0,6,1,7,0,2,3,8,7,4] + [4,4] , A=[2,0] , C=1 , 4+4+1=9 , A->9 , C->0
[9,5,0,6,1,7,0,2,3,8,7] + [4] , A=[9,2,0] , C=0 , 7+4+0=11 , A->1 , C->1
[9,5,0,6,1,7,0,2,3,8] + [] , A=[1,9,2,0] , C=1 , 8+0+1=9 , A->9 , C->0
[9,5,0,6,1,7,0,2,3] + [] , A=[9,1,9,2,0] , C=0 , 3+0+0=3 , A->3 , C->0
[9,5,0,6,1,7,0,2] + [] , A=[3,9,1,9,2,0] , C=0 , 2+0+0=2 , A->2 , C->0
[9,5,0,6,1,7,0] + [] , A=[2,3,9,1,9,2,0] , C=0 , 0+0+0=0 , A->0 , C->0
[9,5,0,6,1,7] + [] , A=[0,2,3,9,1,9,2,0] , C=0 , 7+0+0=7 , A->7 , C->0
[9,5,0,6,1] + [] , A=[7,0,2,3,9,1,9,2,0] , C=0 , 1+0+0=1 , A->1 , C->0
[9,5,0,6] + [] , A=[1,7,0,2,3,9,1,9,2,0] , C=0 , 6+0+0=6 , A->6 , C->0
[9,5,0] + [] , A=[6,1,7,0,2,3,9,1,9,2,0] , C=0 , 0+0+0=0 , A->0 , C->0
[9,5] + [] , A=[0,6,1,7,0,2,3,9,1,9,2,0] , C=0 , 5+0+0=5 , A->5 , C->0
[9] + [] , A=[5,0,6,1,7,0,2,3,9,1,9,2,0] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,5,0,6,1,7,0,2,3,9,1,9,2,0] C=0 , END
</scratch>
95061702391920
| 95061702391920 | 4 |
Input:
61687977181379+269164
Target:
| Input:
61687977181379+269164
Target:
[6,1,6,8,7,9,7,7,1,8,1,3,7,9] + [2,6,9,1,6,4] , A=[] , C=0 , 9+4+0=13 , A->3 , C->1
[6,1,6,8,7,9,7,7,1,8,1,3,7] + [2,6,9,1,6] , A=[3] , C=1 , 7+6+1=14 , A->4 , C->1
[6,1,6,8,7,9,7,7,1,8,1,3] + [2,6,9,1] , A=[4,3] , C=1 , 3+1+1=5 , A->5 , C->0
[6,1,6,8,7,9,7,7,1,8,1] + [2,6,9] , A=[5,4,3] , C=0 , 1+9+0=10 , A->0 , C->1
[6,1,6,8,7,9,7,7,1,8] + [2,6] , A=[0,5,4,3] , C=1 , 8+6+1=15 , A->5 , C->1
[6,1,6,8,7,9,7,7,1] + [2] , A=[5,0,5,4,3] , C=1 , 1+2+1=4 , A->4 , C->0
[6,1,6,8,7,9,7,7] + [] , A=[4,5,0,5,4,3] , C=0 , 7+0+0=7 , A->7 , C->0
[6,1,6,8,7,9,7] + [] , A=[7,4,5,0,5,4,3] , C=0 , 7+0+0=7 , A->7 , C->0
[6,1,6,8,7,9] + [] , A=[7,7,4,5,0,5,4,3] , C=0 , 9+0+0=9 , A->9 , C->0
[6,1,6,8,7] + [] , A=[9,7,7,4,5,0,5,4,3] , C=0 , 7+0+0=7 , A->7 , C->0
[6,1,6,8] + [] , A=[7,9,7,7,4,5,0,5,4,3] , C=0 , 8+0+0=8 , A->8 , C->0
[6,1,6] + [] , A=[8,7,9,7,7,4,5,0,5,4,3] , C=0 , 6+0+0=6 , A->6 , C->0
[6,1] + [] , A=[6,8,7,9,7,7,4,5,0,5,4,3] , C=0 , 1+0+0=1 , A->1 , C->0
[6] + [] , A=[1,6,8,7,9,7,7,4,5,0,5,4,3] , C=0 , 6+0+0=6 , A->6 , C->0
[] + [] , A=[6,1,6,8,7,9,7,7,4,5,0,5,4,3] C=0 , END
</scratch>
61687977450543
| 61687977450543 | 6 |
Input:
348418+79450210494862
Target:
| Input:
348418+79450210494862
Target:
[3,4,8,4,1,8] + [7,9,4,5,0,2,1,0,4,9,4,8,6,2] , A=[] , C=0 , 8+2+0=10 , A->0 , C->1
[3,4,8,4,1] + [7,9,4,5,0,2,1,0,4,9,4,8,6] , A=[0] , C=1 , 1+6+1=8 , A->8 , C->0
[3,4,8,4] + [7,9,4,5,0,2,1,0,4,9,4,8] , A=[8,0] , C=0 , 4+8+0=12 , A->2 , C->1
[3,4,8] + [7,9,4,5,0,2,1,0,4,9,4] , A=[2,8,0] , C=1 , 8+4+1=13 , A->3 , C->1
[3,4] + [7,9,4,5,0,2,1,0,4,9] , A=[3,2,8,0] , C=1 , 4+9+1=14 , A->4 , C->1
[3] + [7,9,4,5,0,2,1,0,4] , A=[4,3,2,8,0] , C=1 , 3+4+1=8 , A->8 , C->0
[] + [7,9,4,5,0,2,1,0] , A=[8,4,3,2,8,0] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [7,9,4,5,0,2,1] , A=[0,8,4,3,2,8,0] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [7,9,4,5,0,2] , A=[1,0,8,4,3,2,8,0] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [7,9,4,5,0] , A=[2,1,0,8,4,3,2,8,0] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [7,9,4,5] , A=[0,2,1,0,8,4,3,2,8,0] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [7,9,4] , A=[5,0,2,1,0,8,4,3,2,8,0] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [7,9] , A=[4,5,0,2,1,0,8,4,3,2,8,0] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [7] , A=[9,4,5,0,2,1,0,8,4,3,2,8,0] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,9,4,5,0,2,1,0,8,4,3,2,8,0] C=0 , END
</scratch>
79450210843280
| 79450210843280 | 6 |
Input:
51946429315+48389298933392
Target:
| Input:
51946429315+48389298933392
Target:
[5,1,9,4,6,4,2,9,3,1,5] + [4,8,3,8,9,2,9,8,9,3,3,3,9,2] , A=[] , C=0 , 5+2+0=7 , A->7 , C->0
[5,1,9,4,6,4,2,9,3,1] + [4,8,3,8,9,2,9,8,9,3,3,3,9] , A=[7] , C=0 , 1+9+0=10 , A->0 , C->1
[5,1,9,4,6,4,2,9,3] + [4,8,3,8,9,2,9,8,9,3,3,3] , A=[0,7] , C=1 , 3+3+1=7 , A->7 , C->0
[5,1,9,4,6,4,2,9] + [4,8,3,8,9,2,9,8,9,3,3] , A=[7,0,7] , C=0 , 9+3+0=12 , A->2 , C->1
[5,1,9,4,6,4,2] + [4,8,3,8,9,2,9,8,9,3] , A=[2,7,0,7] , C=1 , 2+3+1=6 , A->6 , C->0
[5,1,9,4,6,4] + [4,8,3,8,9,2,9,8,9] , A=[6,2,7,0,7] , C=0 , 4+9+0=13 , A->3 , C->1
[5,1,9,4,6] + [4,8,3,8,9,2,9,8] , A=[3,6,2,7,0,7] , C=1 , 6+8+1=15 , A->5 , C->1
[5,1,9,4] + [4,8,3,8,9,2,9] , A=[5,3,6,2,7,0,7] , C=1 , 4+9+1=14 , A->4 , C->1
[5,1,9] + [4,8,3,8,9,2] , A=[4,5,3,6,2,7,0,7] , C=1 , 9+2+1=12 , A->2 , C->1
[5,1] + [4,8,3,8,9] , A=[2,4,5,3,6,2,7,0,7] , C=1 , 1+9+1=11 , A->1 , C->1
[5] + [4,8,3,8] , A=[1,2,4,5,3,6,2,7,0,7] , C=1 , 5+8+1=14 , A->4 , C->1
[] + [4,8,3] , A=[4,1,2,4,5,3,6,2,7,0,7] , C=1 , 0+3+1=4 , A->4 , C->0
[] + [4,8] , A=[4,4,1,2,4,5,3,6,2,7,0,7] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [4] , A=[8,4,4,1,2,4,5,3,6,2,7,0,7] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,8,4,4,1,2,4,5,3,6,2,7,0,7] C=0 , END
</scratch>
48441245362707
| 48441245362707 | 11 |
Input:
94995+29847156085473
Target:
| Input:
94995+29847156085473
Target:
[9,4,9,9,5] + [2,9,8,4,7,1,5,6,0,8,5,4,7,3] , A=[] , C=0 , 5+3+0=8 , A->8 , C->0
[9,4,9,9] + [2,9,8,4,7,1,5,6,0,8,5,4,7] , A=[8] , C=0 , 9+7+0=16 , A->6 , C->1
[9,4,9] + [2,9,8,4,7,1,5,6,0,8,5,4] , A=[6,8] , C=1 , 9+4+1=14 , A->4 , C->1
[9,4] + [2,9,8,4,7,1,5,6,0,8,5] , A=[4,6,8] , C=1 , 4+5+1=10 , A->0 , C->1
[9] + [2,9,8,4,7,1,5,6,0,8] , A=[0,4,6,8] , C=1 , 9+8+1=18 , A->8 , C->1
[] + [2,9,8,4,7,1,5,6,0] , A=[8,0,4,6,8] , C=1 , 0+0+1=1 , A->1 , C->0
[] + [2,9,8,4,7,1,5,6] , A=[1,8,0,4,6,8] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [2,9,8,4,7,1,5] , A=[6,1,8,0,4,6,8] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [2,9,8,4,7,1] , A=[5,6,1,8,0,4,6,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [2,9,8,4,7] , A=[1,5,6,1,8,0,4,6,8] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [2,9,8,4] , A=[7,1,5,6,1,8,0,4,6,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [2,9,8] , A=[4,7,1,5,6,1,8,0,4,6,8] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [2,9] , A=[8,4,7,1,5,6,1,8,0,4,6,8] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [2] , A=[9,8,4,7,1,5,6,1,8,0,4,6,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,9,8,4,7,1,5,6,1,8,0,4,6,8] C=0 , END
</scratch>
29847156180468
| 29847156180468 | 5 |
Input:
15869159+43507532271925
Target:
| Input:
15869159+43507532271925
Target:
[1,5,8,6,9,1,5,9] + [4,3,5,0,7,5,3,2,2,7,1,9,2,5] , A=[] , C=0 , 9+5+0=14 , A->4 , C->1
[1,5,8,6,9,1,5] + [4,3,5,0,7,5,3,2,2,7,1,9,2] , A=[4] , C=1 , 5+2+1=8 , A->8 , C->0
[1,5,8,6,9,1] + [4,3,5,0,7,5,3,2,2,7,1,9] , A=[8,4] , C=0 , 1+9+0=10 , A->0 , C->1
[1,5,8,6,9] + [4,3,5,0,7,5,3,2,2,7,1] , A=[0,8,4] , C=1 , 9+1+1=11 , A->1 , C->1
[1,5,8,6] + [4,3,5,0,7,5,3,2,2,7] , A=[1,0,8,4] , C=1 , 6+7+1=14 , A->4 , C->1
[1,5,8] + [4,3,5,0,7,5,3,2,2] , A=[4,1,0,8,4] , C=1 , 8+2+1=11 , A->1 , C->1
[1,5] + [4,3,5,0,7,5,3,2] , A=[1,4,1,0,8,4] , C=1 , 5+2+1=8 , A->8 , C->0
[1] + [4,3,5,0,7,5,3] , A=[8,1,4,1,0,8,4] , C=0 , 1+3+0=4 , A->4 , C->0
[] + [4,3,5,0,7,5] , A=[4,8,1,4,1,0,8,4] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [4,3,5,0,7] , A=[5,4,8,1,4,1,0,8,4] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [4,3,5,0] , A=[7,5,4,8,1,4,1,0,8,4] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [4,3,5] , A=[0,7,5,4,8,1,4,1,0,8,4] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [4,3] , A=[5,0,7,5,4,8,1,4,1,0,8,4] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [4] , A=[3,5,0,7,5,4,8,1,4,1,0,8,4] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,3,5,0,7,5,4,8,1,4,1,0,8,4] C=0 , END
</scratch>
43507548141084
| 43507548141084 | 8 |
Input:
72+12038632504515
Target:
| Input:
72+12038632504515
Target:
[7,2] + [1,2,0,3,8,6,3,2,5,0,4,5,1,5] , A=[] , C=0 , 2+5+0=7 , A->7 , C->0
[7] + [1,2,0,3,8,6,3,2,5,0,4,5,1] , A=[7] , C=0 , 7+1+0=8 , A->8 , C->0
[] + [1,2,0,3,8,6,3,2,5,0,4,5] , A=[8,7] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1,2,0,3,8,6,3,2,5,0,4] , A=[5,8,7] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [1,2,0,3,8,6,3,2,5,0] , A=[4,5,8,7] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [1,2,0,3,8,6,3,2,5] , A=[0,4,5,8,7] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1,2,0,3,8,6,3,2] , A=[5,0,4,5,8,7] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [1,2,0,3,8,6,3] , A=[2,5,0,4,5,8,7] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [1,2,0,3,8,6] , A=[3,2,5,0,4,5,8,7] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [1,2,0,3,8] , A=[6,3,2,5,0,4,5,8,7] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [1,2,0,3] , A=[8,6,3,2,5,0,4,5,8,7] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [1,2,0] , A=[3,8,6,3,2,5,0,4,5,8,7] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [1,2] , A=[0,3,8,6,3,2,5,0,4,5,8,7] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [1] , A=[2,0,3,8,6,3,2,5,0,4,5,8,7] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,2,0,3,8,6,3,2,5,0,4,5,8,7] C=0 , END
</scratch>
12038632504587
| 12038632504587 | 2 |
Input:
52059657849745+39972534753160
Target:
| Input:
52059657849745+39972534753160
Target:
[5,2,0,5,9,6,5,7,8,4,9,7,4,5] + [3,9,9,7,2,5,3,4,7,5,3,1,6,0] , A=[] , C=0 , 5+0+0=5 , A->5 , C->0
[5,2,0,5,9,6,5,7,8,4,9,7,4] + [3,9,9,7,2,5,3,4,7,5,3,1,6] , A=[5] , C=0 , 4+6+0=10 , A->0 , C->1
[5,2,0,5,9,6,5,7,8,4,9,7] + [3,9,9,7,2,5,3,4,7,5,3,1] , A=[0,5] , C=1 , 7+1+1=9 , A->9 , C->0
[5,2,0,5,9,6,5,7,8,4,9] + [3,9,9,7,2,5,3,4,7,5,3] , A=[9,0,5] , C=0 , 9+3+0=12 , A->2 , C->1
[5,2,0,5,9,6,5,7,8,4] + [3,9,9,7,2,5,3,4,7,5] , A=[2,9,0,5] , C=1 , 4+5+1=10 , A->0 , C->1
[5,2,0,5,9,6,5,7,8] + [3,9,9,7,2,5,3,4,7] , A=[0,2,9,0,5] , C=1 , 8+7+1=16 , A->6 , C->1
[5,2,0,5,9,6,5,7] + [3,9,9,7,2,5,3,4] , A=[6,0,2,9,0,5] , C=1 , 7+4+1=12 , A->2 , C->1
[5,2,0,5,9,6,5] + [3,9,9,7,2,5,3] , A=[2,6,0,2,9,0,5] , C=1 , 5+3+1=9 , A->9 , C->0
[5,2,0,5,9,6] + [3,9,9,7,2,5] , A=[9,2,6,0,2,9,0,5] , C=0 , 6+5+0=11 , A->1 , C->1
[5,2,0,5,9] + [3,9,9,7,2] , A=[1,9,2,6,0,2,9,0,5] , C=1 , 9+2+1=12 , A->2 , C->1
[5,2,0,5] + [3,9,9,7] , A=[2,1,9,2,6,0,2,9,0,5] , C=1 , 5+7+1=13 , A->3 , C->1
[5,2,0] + [3,9,9] , A=[3,2,1,9,2,6,0,2,9,0,5] , C=1 , 0+9+1=10 , A->0 , C->1
[5,2] + [3,9] , A=[0,3,2,1,9,2,6,0,2,9,0,5] , C=1 , 2+9+1=12 , A->2 , C->1
[5] + [3] , A=[2,0,3,2,1,9,2,6,0,2,9,0,5] , C=1 , 5+3+1=9 , A->9 , C->0
[] + [] , A=[9,2,0,3,2,1,9,2,6,0,2,9,0,5] C=0 , END
</scratch>
92032192602905
| 92032192602905 | 14 |
Input:
49406241992697+312331244
Target:
| Input:
49406241992697+312331244
Target:
[4,9,4,0,6,2,4,1,9,9,2,6,9,7] + [3,1,2,3,3,1,2,4,4] , A=[] , C=0 , 7+4+0=11 , A->1 , C->1
[4,9,4,0,6,2,4,1,9,9,2,6,9] + [3,1,2,3,3,1,2,4] , A=[1] , C=1 , 9+4+1=14 , A->4 , C->1
[4,9,4,0,6,2,4,1,9,9,2,6] + [3,1,2,3,3,1,2] , A=[4,1] , C=1 , 6+2+1=9 , A->9 , C->0
[4,9,4,0,6,2,4,1,9,9,2] + [3,1,2,3,3,1] , A=[9,4,1] , C=0 , 2+1+0=3 , A->3 , C->0
[4,9,4,0,6,2,4,1,9,9] + [3,1,2,3,3] , A=[3,9,4,1] , C=0 , 9+3+0=12 , A->2 , C->1
[4,9,4,0,6,2,4,1,9] + [3,1,2,3] , A=[2,3,9,4,1] , C=1 , 9+3+1=13 , A->3 , C->1
[4,9,4,0,6,2,4,1] + [3,1,2] , A=[3,2,3,9,4,1] , C=1 , 1+2+1=4 , A->4 , C->0
[4,9,4,0,6,2,4] + [3,1] , A=[4,3,2,3,9,4,1] , C=0 , 4+1+0=5 , A->5 , C->0
[4,9,4,0,6,2] + [3] , A=[5,4,3,2,3,9,4,1] , C=0 , 2+3+0=5 , A->5 , C->0
[4,9,4,0,6] + [] , A=[5,5,4,3,2,3,9,4,1] , C=0 , 6+0+0=6 , A->6 , C->0
[4,9,4,0] + [] , A=[6,5,5,4,3,2,3,9,4,1] , C=0 , 0+0+0=0 , A->0 , C->0
[4,9,4] + [] , A=[0,6,5,5,4,3,2,3,9,4,1] , C=0 , 4+0+0=4 , A->4 , C->0
[4,9] + [] , A=[4,0,6,5,5,4,3,2,3,9,4,1] , C=0 , 9+0+0=9 , A->9 , C->0
[4] + [] , A=[9,4,0,6,5,5,4,3,2,3,9,4,1] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,9,4,0,6,5,5,4,3,2,3,9,4,1] C=0 , END
</scratch>
49406554323941
| 49406554323941 | 9 |
Input:
4642416+83801188807618
Target:
| Input:
4642416+83801188807618
Target:
[4,6,4,2,4,1,6] + [8,3,8,0,1,1,8,8,8,0,7,6,1,8] , A=[] , C=0 , 6+8+0=14 , A->4 , C->1
[4,6,4,2,4,1] + [8,3,8,0,1,1,8,8,8,0,7,6,1] , A=[4] , C=1 , 1+1+1=3 , A->3 , C->0
[4,6,4,2,4] + [8,3,8,0,1,1,8,8,8,0,7,6] , A=[3,4] , C=0 , 4+6+0=10 , A->0 , C->1
[4,6,4,2] + [8,3,8,0,1,1,8,8,8,0,7] , A=[0,3,4] , C=1 , 2+7+1=10 , A->0 , C->1
[4,6,4] + [8,3,8,0,1,1,8,8,8,0] , A=[0,0,3,4] , C=1 , 4+0+1=5 , A->5 , C->0
[4,6] + [8,3,8,0,1,1,8,8,8] , A=[5,0,0,3,4] , C=0 , 6+8+0=14 , A->4 , C->1
[4] + [8,3,8,0,1,1,8,8] , A=[4,5,0,0,3,4] , C=1 , 4+8+1=13 , A->3 , C->1
[] + [8,3,8,0,1,1,8] , A=[3,4,5,0,0,3,4] , C=1 , 0+8+1=9 , A->9 , C->0
[] + [8,3,8,0,1,1] , A=[9,3,4,5,0,0,3,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [8,3,8,0,1] , A=[1,9,3,4,5,0,0,3,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [8,3,8,0] , A=[1,1,9,3,4,5,0,0,3,4] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [8,3,8] , A=[0,1,1,9,3,4,5,0,0,3,4] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [8,3] , A=[8,0,1,1,9,3,4,5,0,0,3,4] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [8] , A=[3,8,0,1,1,9,3,4,5,0,0,3,4] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [] , A=[8,3,8,0,1,1,9,3,4,5,0,0,3,4] C=0 , END
</scratch>
83801193450034
| 83801193450034 | 7 |
Input:
82659561665610+829627
Target:
| Input:
82659561665610+829627
Target:
[8,2,6,5,9,5,6,1,6,6,5,6,1,0] + [8,2,9,6,2,7] , A=[] , C=0 , 0+7+0=7 , A->7 , C->0
[8,2,6,5,9,5,6,1,6,6,5,6,1] + [8,2,9,6,2] , A=[7] , C=0 , 1+2+0=3 , A->3 , C->0
[8,2,6,5,9,5,6,1,6,6,5,6] + [8,2,9,6] , A=[3,7] , C=0 , 6+6+0=12 , A->2 , C->1
[8,2,6,5,9,5,6,1,6,6,5] + [8,2,9] , A=[2,3,7] , C=1 , 5+9+1=15 , A->5 , C->1
[8,2,6,5,9,5,6,1,6,6] + [8,2] , A=[5,2,3,7] , C=1 , 6+2+1=9 , A->9 , C->0
[8,2,6,5,9,5,6,1,6] + [8] , A=[9,5,2,3,7] , C=0 , 6+8+0=14 , A->4 , C->1
[8,2,6,5,9,5,6,1] + [] , A=[4,9,5,2,3,7] , C=1 , 1+0+1=2 , A->2 , C->0
[8,2,6,5,9,5,6] + [] , A=[2,4,9,5,2,3,7] , C=0 , 6+0+0=6 , A->6 , C->0
[8,2,6,5,9,5] + [] , A=[6,2,4,9,5,2,3,7] , C=0 , 5+0+0=5 , A->5 , C->0
[8,2,6,5,9] + [] , A=[5,6,2,4,9,5,2,3,7] , C=0 , 9+0+0=9 , A->9 , C->0
[8,2,6,5] + [] , A=[9,5,6,2,4,9,5,2,3,7] , C=0 , 5+0+0=5 , A->5 , C->0
[8,2,6] + [] , A=[5,9,5,6,2,4,9,5,2,3,7] , C=0 , 6+0+0=6 , A->6 , C->0
[8,2] + [] , A=[6,5,9,5,6,2,4,9,5,2,3,7] , C=0 , 2+0+0=2 , A->2 , C->0
[8] + [] , A=[2,6,5,9,5,6,2,4,9,5,2,3,7] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,2,6,5,9,5,6,2,4,9,5,2,3,7] C=0 , END
</scratch>
82659562495237
| 82659562495237 | 6 |
Input:
72662498927544+7022922
Target:
| Input:
72662498927544+7022922
Target:
[7,2,6,6,2,4,9,8,9,2,7,5,4,4] + [7,0,2,2,9,2,2] , A=[] , C=0 , 4+2+0=6 , A->6 , C->0
[7,2,6,6,2,4,9,8,9,2,7,5,4] + [7,0,2,2,9,2] , A=[6] , C=0 , 4+2+0=6 , A->6 , C->0
[7,2,6,6,2,4,9,8,9,2,7,5] + [7,0,2,2,9] , A=[6,6] , C=0 , 5+9+0=14 , A->4 , C->1
[7,2,6,6,2,4,9,8,9,2,7] + [7,0,2,2] , A=[4,6,6] , C=1 , 7+2+1=10 , A->0 , C->1
[7,2,6,6,2,4,9,8,9,2] + [7,0,2] , A=[0,4,6,6] , C=1 , 2+2+1=5 , A->5 , C->0
[7,2,6,6,2,4,9,8,9] + [7,0] , A=[5,0,4,6,6] , C=0 , 9+0+0=9 , A->9 , C->0
[7,2,6,6,2,4,9,8] + [7] , A=[9,5,0,4,6,6] , C=0 , 8+7+0=15 , A->5 , C->1
[7,2,6,6,2,4,9] + [] , A=[5,9,5,0,4,6,6] , C=1 , 9+0+1=10 , A->0 , C->1
[7,2,6,6,2,4] + [] , A=[0,5,9,5,0,4,6,6] , C=1 , 4+0+1=5 , A->5 , C->0
[7,2,6,6,2] + [] , A=[5,0,5,9,5,0,4,6,6] , C=0 , 2+0+0=2 , A->2 , C->0
[7,2,6,6] + [] , A=[2,5,0,5,9,5,0,4,6,6] , C=0 , 6+0+0=6 , A->6 , C->0
[7,2,6] + [] , A=[6,2,5,0,5,9,5,0,4,6,6] , C=0 , 6+0+0=6 , A->6 , C->0
[7,2] + [] , A=[6,6,2,5,0,5,9,5,0,4,6,6] , C=0 , 2+0+0=2 , A->2 , C->0
[7] + [] , A=[2,6,6,2,5,0,5,9,5,0,4,6,6] , C=0 , 7+0+0=7 , A->7 , C->0
[] + [] , A=[7,2,6,6,2,5,0,5,9,5,0,4,6,6] C=0 , END
</scratch>
72662505950466
| 72662505950466 | 7 |
Input:
11+53226341965120
Target:
| Input:
11+53226341965120
Target:
[1,1] + [5,3,2,2,6,3,4,1,9,6,5,1,2,0] , A=[] , C=0 , 1+0+0=1 , A->1 , C->0
[1] + [5,3,2,2,6,3,4,1,9,6,5,1,2] , A=[1] , C=0 , 1+2+0=3 , A->3 , C->0
[] + [5,3,2,2,6,3,4,1,9,6,5,1] , A=[3,1] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [5,3,2,2,6,3,4,1,9,6,5] , A=[1,3,1] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [5,3,2,2,6,3,4,1,9,6] , A=[5,1,3,1] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [5,3,2,2,6,3,4,1,9] , A=[6,5,1,3,1] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [5,3,2,2,6,3,4,1] , A=[9,6,5,1,3,1] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [5,3,2,2,6,3,4] , A=[1,9,6,5,1,3,1] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [5,3,2,2,6,3] , A=[4,1,9,6,5,1,3,1] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [5,3,2,2,6] , A=[3,4,1,9,6,5,1,3,1] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [5,3,2,2] , A=[6,3,4,1,9,6,5,1,3,1] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [5,3,2] , A=[2,6,3,4,1,9,6,5,1,3,1] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [5,3] , A=[2,2,6,3,4,1,9,6,5,1,3,1] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [5] , A=[3,2,2,6,3,4,1,9,6,5,1,3,1] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,3,2,2,6,3,4,1,9,6,5,1,3,1] C=0 , END
</scratch>
53226341965131
| 53226341965131 | 2 |
Input:
6412209196+64703742552993
Target:
| Input:
6412209196+64703742552993
Target:
[6,4,1,2,2,0,9,1,9,6] + [6,4,7,0,3,7,4,2,5,5,2,9,9,3] , A=[] , C=0 , 6+3+0=9 , A->9 , C->0
[6,4,1,2,2,0,9,1,9] + [6,4,7,0,3,7,4,2,5,5,2,9,9] , A=[9] , C=0 , 9+9+0=18 , A->8 , C->1
[6,4,1,2,2,0,9,1] + [6,4,7,0,3,7,4,2,5,5,2,9] , A=[8,9] , C=1 , 1+9+1=11 , A->1 , C->1
[6,4,1,2,2,0,9] + [6,4,7,0,3,7,4,2,5,5,2] , A=[1,8,9] , C=1 , 9+2+1=12 , A->2 , C->1
[6,4,1,2,2,0] + [6,4,7,0,3,7,4,2,5,5] , A=[2,1,8,9] , C=1 , 0+5+1=6 , A->6 , C->0
[6,4,1,2,2] + [6,4,7,0,3,7,4,2,5] , A=[6,2,1,8,9] , C=0 , 2+5+0=7 , A->7 , C->0
[6,4,1,2] + [6,4,7,0,3,7,4,2] , A=[7,6,2,1,8,9] , C=0 , 2+2+0=4 , A->4 , C->0
[6,4,1] + [6,4,7,0,3,7,4] , A=[4,7,6,2,1,8,9] , C=0 , 1+4+0=5 , A->5 , C->0
[6,4] + [6,4,7,0,3,7] , A=[5,4,7,6,2,1,8,9] , C=0 , 4+7+0=11 , A->1 , C->1
[6] + [6,4,7,0,3] , A=[1,5,4,7,6,2,1,8,9] , C=1 , 6+3+1=10 , A->0 , C->1
[] + [6,4,7,0] , A=[0,1,5,4,7,6,2,1,8,9] , C=1 , 0+0+1=1 , A->1 , C->0
[] + [6,4,7] , A=[1,0,1,5,4,7,6,2,1,8,9] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6,4] , A=[7,1,0,1,5,4,7,6,2,1,8,9] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [6] , A=[4,7,1,0,1,5,4,7,6,2,1,8,9] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,4,7,1,0,1,5,4,7,6,2,1,8,9] C=0 , END
</scratch>
64710154762189
| 64710154762189 | 10 |
Input:
14043330464372+7937
Target:
| Input:
14043330464372+7937
Target:
[1,4,0,4,3,3,3,0,4,6,4,3,7,2] + [7,9,3,7] , A=[] , C=0 , 2+7+0=9 , A->9 , C->0
[1,4,0,4,3,3,3,0,4,6,4,3,7] + [7,9,3] , A=[9] , C=0 , 7+3+0=10 , A->0 , C->1
[1,4,0,4,3,3,3,0,4,6,4,3] + [7,9] , A=[0,9] , C=1 , 3+9+1=13 , A->3 , C->1
[1,4,0,4,3,3,3,0,4,6,4] + [7] , A=[3,0,9] , C=1 , 4+7+1=12 , A->2 , C->1
[1,4,0,4,3,3,3,0,4,6] + [] , A=[2,3,0,9] , C=1 , 6+0+1=7 , A->7 , C->0
[1,4,0,4,3,3,3,0,4] + [] , A=[7,2,3,0,9] , C=0 , 4+0+0=4 , A->4 , C->0
[1,4,0,4,3,3,3,0] + [] , A=[4,7,2,3,0,9] , C=0 , 0+0+0=0 , A->0 , C->0
[1,4,0,4,3,3,3] + [] , A=[0,4,7,2,3,0,9] , C=0 , 3+0+0=3 , A->3 , C->0
[1,4,0,4,3,3] + [] , A=[3,0,4,7,2,3,0,9] , C=0 , 3+0+0=3 , A->3 , C->0
[1,4,0,4,3] + [] , A=[3,3,0,4,7,2,3,0,9] , C=0 , 3+0+0=3 , A->3 , C->0
[1,4,0,4] + [] , A=[3,3,3,0,4,7,2,3,0,9] , C=0 , 4+0+0=4 , A->4 , C->0
[1,4,0] + [] , A=[4,3,3,3,0,4,7,2,3,0,9] , C=0 , 0+0+0=0 , A->0 , C->0
[1,4] + [] , A=[0,4,3,3,3,0,4,7,2,3,0,9] , C=0 , 4+0+0=4 , A->4 , C->0
[1] + [] , A=[4,0,4,3,3,3,0,4,7,2,3,0,9] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,4,0,4,3,3,3,0,4,7,2,3,0,9] C=0 , END
</scratch>
14043330472309
| 14043330472309 | 4 |
Input:
4459775+50312933149196
Target:
| Input:
4459775+50312933149196
Target:
[4,4,5,9,7,7,5] + [5,0,3,1,2,9,3,3,1,4,9,1,9,6] , A=[] , C=0 , 5+6+0=11 , A->1 , C->1
[4,4,5,9,7,7] + [5,0,3,1,2,9,3,3,1,4,9,1,9] , A=[1] , C=1 , 7+9+1=17 , A->7 , C->1
[4,4,5,9,7] + [5,0,3,1,2,9,3,3,1,4,9,1] , A=[7,1] , C=1 , 7+1+1=9 , A->9 , C->0
[4,4,5,9] + [5,0,3,1,2,9,3,3,1,4,9] , A=[9,7,1] , C=0 , 9+9+0=18 , A->8 , C->1
[4,4,5] + [5,0,3,1,2,9,3,3,1,4] , A=[8,9,7,1] , C=1 , 5+4+1=10 , A->0 , C->1
[4,4] + [5,0,3,1,2,9,3,3,1] , A=[0,8,9,7,1] , C=1 , 4+1+1=6 , A->6 , C->0
[4] + [5,0,3,1,2,9,3,3] , A=[6,0,8,9,7,1] , C=0 , 4+3+0=7 , A->7 , C->0
[] + [5,0,3,1,2,9,3] , A=[7,6,0,8,9,7,1] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [5,0,3,1,2,9] , A=[3,7,6,0,8,9,7,1] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [5,0,3,1,2] , A=[9,3,7,6,0,8,9,7,1] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [5,0,3,1] , A=[2,9,3,7,6,0,8,9,7,1] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [5,0,3] , A=[1,2,9,3,7,6,0,8,9,7,1] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [5,0] , A=[3,1,2,9,3,7,6,0,8,9,7,1] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [5] , A=[0,3,1,2,9,3,7,6,0,8,9,7,1] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,0,3,1,2,9,3,7,6,0,8,9,7,1] C=0 , END
</scratch>
50312937608971
| 50312937608971 | 7 |
Input:
40624588057419+182685460356
Target:
| Input:
40624588057419+182685460356
Target:
[4,0,6,2,4,5,8,8,0,5,7,4,1,9] + [1,8,2,6,8,5,4,6,0,3,5,6] , A=[] , C=0 , 9+6+0=15 , A->5 , C->1
[4,0,6,2,4,5,8,8,0,5,7,4,1] + [1,8,2,6,8,5,4,6,0,3,5] , A=[5] , C=1 , 1+5+1=7 , A->7 , C->0
[4,0,6,2,4,5,8,8,0,5,7,4] + [1,8,2,6,8,5,4,6,0,3] , A=[7,5] , C=0 , 4+3+0=7 , A->7 , C->0
[4,0,6,2,4,5,8,8,0,5,7] + [1,8,2,6,8,5,4,6,0] , A=[7,7,5] , C=0 , 7+0+0=7 , A->7 , C->0
[4,0,6,2,4,5,8,8,0,5] + [1,8,2,6,8,5,4,6] , A=[7,7,7,5] , C=0 , 5+6+0=11 , A->1 , C->1
[4,0,6,2,4,5,8,8,0] + [1,8,2,6,8,5,4] , A=[1,7,7,7,5] , C=1 , 0+4+1=5 , A->5 , C->0
[4,0,6,2,4,5,8,8] + [1,8,2,6,8,5] , A=[5,1,7,7,7,5] , C=0 , 8+5+0=13 , A->3 , C->1
[4,0,6,2,4,5,8] + [1,8,2,6,8] , A=[3,5,1,7,7,7,5] , C=1 , 8+8+1=17 , A->7 , C->1
[4,0,6,2,4,5] + [1,8,2,6] , A=[7,3,5,1,7,7,7,5] , C=1 , 5+6+1=12 , A->2 , C->1
[4,0,6,2,4] + [1,8,2] , A=[2,7,3,5,1,7,7,7,5] , C=1 , 4+2+1=7 , A->7 , C->0
[4,0,6,2] + [1,8] , A=[7,2,7,3,5,1,7,7,7,5] , C=0 , 2+8+0=10 , A->0 , C->1
[4,0,6] + [1] , A=[0,7,2,7,3,5,1,7,7,7,5] , C=1 , 6+1+1=8 , A->8 , C->0
[4,0] + [] , A=[8,0,7,2,7,3,5,1,7,7,7,5] , C=0 , 0+0+0=0 , A->0 , C->0
[4] + [] , A=[0,8,0,7,2,7,3,5,1,7,7,7,5] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,0,8,0,7,2,7,3,5,1,7,7,7,5] C=0 , END
</scratch>
40807273517775
| 40807273517775 | 12 |
Input:
57931+58987810822247
Target:
| Input:
57931+58987810822247
Target:
[5,7,9,3,1] + [5,8,9,8,7,8,1,0,8,2,2,2,4,7] , A=[] , C=0 , 1+7+0=8 , A->8 , C->0
[5,7,9,3] + [5,8,9,8,7,8,1,0,8,2,2,2,4] , A=[8] , C=0 , 3+4+0=7 , A->7 , C->0
[5,7,9] + [5,8,9,8,7,8,1,0,8,2,2,2] , A=[7,8] , C=0 , 9+2+0=11 , A->1 , C->1
[5,7] + [5,8,9,8,7,8,1,0,8,2,2] , A=[1,7,8] , C=1 , 7+2+1=10 , A->0 , C->1
[5] + [5,8,9,8,7,8,1,0,8,2] , A=[0,1,7,8] , C=1 , 5+2+1=8 , A->8 , C->0
[] + [5,8,9,8,7,8,1,0,8] , A=[8,0,1,7,8] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [5,8,9,8,7,8,1,0] , A=[8,8,0,1,7,8] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [5,8,9,8,7,8,1] , A=[0,8,8,0,1,7,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [5,8,9,8,7,8] , A=[1,0,8,8,0,1,7,8] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [5,8,9,8,7] , A=[8,1,0,8,8,0,1,7,8] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [5,8,9,8] , A=[7,8,1,0,8,8,0,1,7,8] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [5,8,9] , A=[8,7,8,1,0,8,8,0,1,7,8] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [5,8] , A=[9,8,7,8,1,0,8,8,0,1,7,8] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [5] , A=[8,9,8,7,8,1,0,8,8,0,1,7,8] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,8,9,8,7,8,1,0,8,8,0,1,7,8] C=0 , END
</scratch>
58987810880178
| 58987810880178 | 5 |
Input:
7199685106757+23268902984873
Target:
| Input:
7199685106757+23268902984873
Target:
[7,1,9,9,6,8,5,1,0,6,7,5,7] + [2,3,2,6,8,9,0,2,9,8,4,8,7,3] , A=[] , C=0 , 7+3+0=10 , A->0 , C->1
[7,1,9,9,6,8,5,1,0,6,7,5] + [2,3,2,6,8,9,0,2,9,8,4,8,7] , A=[0] , C=1 , 5+7+1=13 , A->3 , C->1
[7,1,9,9,6,8,5,1,0,6,7] + [2,3,2,6,8,9,0,2,9,8,4,8] , A=[3,0] , C=1 , 7+8+1=16 , A->6 , C->1
[7,1,9,9,6,8,5,1,0,6] + [2,3,2,6,8,9,0,2,9,8,4] , A=[6,3,0] , C=1 , 6+4+1=11 , A->1 , C->1
[7,1,9,9,6,8,5,1,0] + [2,3,2,6,8,9,0,2,9,8] , A=[1,6,3,0] , C=1 , 0+8+1=9 , A->9 , C->0
[7,1,9,9,6,8,5,1] + [2,3,2,6,8,9,0,2,9] , A=[9,1,6,3,0] , C=0 , 1+9+0=10 , A->0 , C->1
[7,1,9,9,6,8,5] + [2,3,2,6,8,9,0,2] , A=[0,9,1,6,3,0] , C=1 , 5+2+1=8 , A->8 , C->0
[7,1,9,9,6,8] + [2,3,2,6,8,9,0] , A=[8,0,9,1,6,3,0] , C=0 , 8+0+0=8 , A->8 , C->0
[7,1,9,9,6] + [2,3,2,6,8,9] , A=[8,8,0,9,1,6,3,0] , C=0 , 6+9+0=15 , A->5 , C->1
[7,1,9,9] + [2,3,2,6,8] , A=[5,8,8,0,9,1,6,3,0] , C=1 , 9+8+1=18 , A->8 , C->1
[7,1,9] + [2,3,2,6] , A=[8,5,8,8,0,9,1,6,3,0] , C=1 , 9+6+1=16 , A->6 , C->1
[7,1] + [2,3,2] , A=[6,8,5,8,8,0,9,1,6,3,0] , C=1 , 1+2+1=4 , A->4 , C->0
[7] + [2,3] , A=[4,6,8,5,8,8,0,9,1,6,3,0] , C=0 , 7+3+0=10 , A->0 , C->1
[] + [2] , A=[0,4,6,8,5,8,8,0,9,1,6,3,0] , C=1 , 0+2+1=3 , A->3 , C->0
[] + [] , A=[3,0,4,6,8,5,8,8,0,9,1,6,3,0] C=0 , END
</scratch>
30468588091630
| 30468588091630 | 13 |
Input:
22874307178325+221542
Target:
| Input:
22874307178325+221542
Target:
[2,2,8,7,4,3,0,7,1,7,8,3,2,5] + [2,2,1,5,4,2] , A=[] , C=0 , 5+2+0=7 , A->7 , C->0
[2,2,8,7,4,3,0,7,1,7,8,3,2] + [2,2,1,5,4] , A=[7] , C=0 , 2+4+0=6 , A->6 , C->0
[2,2,8,7,4,3,0,7,1,7,8,3] + [2,2,1,5] , A=[6,7] , C=0 , 3+5+0=8 , A->8 , C->0
[2,2,8,7,4,3,0,7,1,7,8] + [2,2,1] , A=[8,6,7] , C=0 , 8+1+0=9 , A->9 , C->0
[2,2,8,7,4,3,0,7,1,7] + [2,2] , A=[9,8,6,7] , C=0 , 7+2+0=9 , A->9 , C->0
[2,2,8,7,4,3,0,7,1] + [2] , A=[9,9,8,6,7] , C=0 , 1+2+0=3 , A->3 , C->0
[2,2,8,7,4,3,0,7] + [] , A=[3,9,9,8,6,7] , C=0 , 7+0+0=7 , A->7 , C->0
[2,2,8,7,4,3,0] + [] , A=[7,3,9,9,8,6,7] , C=0 , 0+0+0=0 , A->0 , C->0
[2,2,8,7,4,3] + [] , A=[0,7,3,9,9,8,6,7] , C=0 , 3+0+0=3 , A->3 , C->0
[2,2,8,7,4] + [] , A=[3,0,7,3,9,9,8,6,7] , C=0 , 4+0+0=4 , A->4 , C->0
[2,2,8,7] + [] , A=[4,3,0,7,3,9,9,8,6,7] , C=0 , 7+0+0=7 , A->7 , C->0
[2,2,8] + [] , A=[7,4,3,0,7,3,9,9,8,6,7] , C=0 , 8+0+0=8 , A->8 , C->0
[2,2] + [] , A=[8,7,4,3,0,7,3,9,9,8,6,7] , C=0 , 2+0+0=2 , A->2 , C->0
[2] + [] , A=[2,8,7,4,3,0,7,3,9,9,8,6,7] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [] , A=[2,2,8,7,4,3,0,7,3,9,9,8,6,7] C=0 , END
</scratch>
22874307399867
| 22874307399867 | 6 |
Input:
74669691052832+779
Target:
| Input:
74669691052832+779
Target:
[7,4,6,6,9,6,9,1,0,5,2,8,3,2] + [7,7,9] , A=[] , C=0 , 2+9+0=11 , A->1 , C->1
[7,4,6,6,9,6,9,1,0,5,2,8,3] + [7,7] , A=[1] , C=1 , 3+7+1=11 , A->1 , C->1
[7,4,6,6,9,6,9,1,0,5,2,8] + [7] , A=[1,1] , C=1 , 8+7+1=16 , A->6 , C->1
[7,4,6,6,9,6,9,1,0,5,2] + [] , A=[6,1,1] , C=1 , 2+0+1=3 , A->3 , C->0
[7,4,6,6,9,6,9,1,0,5] + [] , A=[3,6,1,1] , C=0 , 5+0+0=5 , A->5 , C->0
[7,4,6,6,9,6,9,1,0] + [] , A=[5,3,6,1,1] , C=0 , 0+0+0=0 , A->0 , C->0
[7,4,6,6,9,6,9,1] + [] , A=[0,5,3,6,1,1] , C=0 , 1+0+0=1 , A->1 , C->0
[7,4,6,6,9,6,9] + [] , A=[1,0,5,3,6,1,1] , C=0 , 9+0+0=9 , A->9 , C->0
[7,4,6,6,9,6] + [] , A=[9,1,0,5,3,6,1,1] , C=0 , 6+0+0=6 , A->6 , C->0
[7,4,6,6,9] + [] , A=[6,9,1,0,5,3,6,1,1] , C=0 , 9+0+0=9 , A->9 , C->0
[7,4,6,6] + [] , A=[9,6,9,1,0,5,3,6,1,1] , C=0 , 6+0+0=6 , A->6 , C->0
[7,4,6] + [] , A=[6,9,6,9,1,0,5,3,6,1,1] , C=0 , 6+0+0=6 , A->6 , C->0
[7,4] + [] , A=[6,6,9,6,9,1,0,5,3,6,1,1] , C=0 , 4+0+0=4 , A->4 , C->0
[7] + [] , A=[4,6,6,9,6,9,1,0,5,3,6,1,1] , C=0 , 7+0+0=7 , A->7 , C->0
[] + [] , A=[7,4,6,6,9,6,9,1,0,5,3,6,1,1] C=0 , END
</scratch>
74669691053611
| 74669691053611 | 3 |
Input:
41446890037189+872366050393
Target:
| Input:
41446890037189+872366050393
Target:
[4,1,4,4,6,8,9,0,0,3,7,1,8,9] + [8,7,2,3,6,6,0,5,0,3,9,3] , A=[] , C=0 , 9+3+0=12 , A->2 , C->1
[4,1,4,4,6,8,9,0,0,3,7,1,8] + [8,7,2,3,6,6,0,5,0,3,9] , A=[2] , C=1 , 8+9+1=18 , A->8 , C->1
[4,1,4,4,6,8,9,0,0,3,7,1] + [8,7,2,3,6,6,0,5,0,3] , A=[8,2] , C=1 , 1+3+1=5 , A->5 , C->0
[4,1,4,4,6,8,9,0,0,3,7] + [8,7,2,3,6,6,0,5,0] , A=[5,8,2] , C=0 , 7+0+0=7 , A->7 , C->0
[4,1,4,4,6,8,9,0,0,3] + [8,7,2,3,6,6,0,5] , A=[7,5,8,2] , C=0 , 3+5+0=8 , A->8 , C->0
[4,1,4,4,6,8,9,0,0] + [8,7,2,3,6,6,0] , A=[8,7,5,8,2] , C=0 , 0+0+0=0 , A->0 , C->0
[4,1,4,4,6,8,9,0] + [8,7,2,3,6,6] , A=[0,8,7,5,8,2] , C=0 , 0+6+0=6 , A->6 , C->0
[4,1,4,4,6,8,9] + [8,7,2,3,6] , A=[6,0,8,7,5,8,2] , C=0 , 9+6+0=15 , A->5 , C->1
[4,1,4,4,6,8] + [8,7,2,3] , A=[5,6,0,8,7,5,8,2] , C=1 , 8+3+1=12 , A->2 , C->1
[4,1,4,4,6] + [8,7,2] , A=[2,5,6,0,8,7,5,8,2] , C=1 , 6+2+1=9 , A->9 , C->0
[4,1,4,4] + [8,7] , A=[9,2,5,6,0,8,7,5,8,2] , C=0 , 4+7+0=11 , A->1 , C->1
[4,1,4] + [8] , A=[1,9,2,5,6,0,8,7,5,8,2] , C=1 , 4+8+1=13 , A->3 , C->1
[4,1] + [] , A=[3,1,9,2,5,6,0,8,7,5,8,2] , C=1 , 1+0+1=2 , A->2 , C->0
[4] + [] , A=[2,3,1,9,2,5,6,0,8,7,5,8,2] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,2,3,1,9,2,5,6,0,8,7,5,8,2] C=0 , END
</scratch>
42319256087582
| 42319256087582 | 12 |
Input:
42486432034563+4038032
Target:
| Input:
42486432034563+4038032
Target:
[4,2,4,8,6,4,3,2,0,3,4,5,6,3] + [4,0,3,8,0,3,2] , A=[] , C=0 , 3+2+0=5 , A->5 , C->0
[4,2,4,8,6,4,3,2,0,3,4,5,6] + [4,0,3,8,0,3] , A=[5] , C=0 , 6+3+0=9 , A->9 , C->0
[4,2,4,8,6,4,3,2,0,3,4,5] + [4,0,3,8,0] , A=[9,5] , C=0 , 5+0+0=5 , A->5 , C->0
[4,2,4,8,6,4,3,2,0,3,4] + [4,0,3,8] , A=[5,9,5] , C=0 , 4+8+0=12 , A->2 , C->1
[4,2,4,8,6,4,3,2,0,3] + [4,0,3] , A=[2,5,9,5] , C=1 , 3+3+1=7 , A->7 , C->0
[4,2,4,8,6,4,3,2,0] + [4,0] , A=[7,2,5,9,5] , C=0 , 0+0+0=0 , A->0 , C->0
[4,2,4,8,6,4,3,2] + [4] , A=[0,7,2,5,9,5] , C=0 , 2+4+0=6 , A->6 , C->0
[4,2,4,8,6,4,3] + [] , A=[6,0,7,2,5,9,5] , C=0 , 3+0+0=3 , A->3 , C->0
[4,2,4,8,6,4] + [] , A=[3,6,0,7,2,5,9,5] , C=0 , 4+0+0=4 , A->4 , C->0
[4,2,4,8,6] + [] , A=[4,3,6,0,7,2,5,9,5] , C=0 , 6+0+0=6 , A->6 , C->0
[4,2,4,8] + [] , A=[6,4,3,6,0,7,2,5,9,5] , C=0 , 8+0+0=8 , A->8 , C->0
[4,2,4] + [] , A=[8,6,4,3,6,0,7,2,5,9,5] , C=0 , 4+0+0=4 , A->4 , C->0
[4,2] + [] , A=[4,8,6,4,3,6,0,7,2,5,9,5] , C=0 , 2+0+0=2 , A->2 , C->0
[4] + [] , A=[2,4,8,6,4,3,6,0,7,2,5,9,5] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,2,4,8,6,4,3,6,0,7,2,5,9,5] C=0 , END
</scratch>
42486436072595
| 42486436072595 | 7 |
Input:
22754579002470+28583948479158
Target:
| Input:
22754579002470+28583948479158
Target:
[2,2,7,5,4,5,7,9,0,0,2,4,7,0] + [2,8,5,8,3,9,4,8,4,7,9,1,5,8] , A=[] , C=0 , 0+8+0=8 , A->8 , C->0
[2,2,7,5,4,5,7,9,0,0,2,4,7] + [2,8,5,8,3,9,4,8,4,7,9,1,5] , A=[8] , C=0 , 7+5+0=12 , A->2 , C->1
[2,2,7,5,4,5,7,9,0,0,2,4] + [2,8,5,8,3,9,4,8,4,7,9,1] , A=[2,8] , C=1 , 4+1+1=6 , A->6 , C->0
[2,2,7,5,4,5,7,9,0,0,2] + [2,8,5,8,3,9,4,8,4,7,9] , A=[6,2,8] , C=0 , 2+9+0=11 , A->1 , C->1
[2,2,7,5,4,5,7,9,0,0] + [2,8,5,8,3,9,4,8,4,7] , A=[1,6,2,8] , C=1 , 0+7+1=8 , A->8 , C->0
[2,2,7,5,4,5,7,9,0] + [2,8,5,8,3,9,4,8,4] , A=[8,1,6,2,8] , C=0 , 0+4+0=4 , A->4 , C->0
[2,2,7,5,4,5,7,9] + [2,8,5,8,3,9,4,8] , A=[4,8,1,6,2,8] , C=0 , 9+8+0=17 , A->7 , C->1
[2,2,7,5,4,5,7] + [2,8,5,8,3,9,4] , A=[7,4,8,1,6,2,8] , C=1 , 7+4+1=12 , A->2 , C->1
[2,2,7,5,4,5] + [2,8,5,8,3,9] , A=[2,7,4,8,1,6,2,8] , C=1 , 5+9+1=15 , A->5 , C->1
[2,2,7,5,4] + [2,8,5,8,3] , A=[5,2,7,4,8,1,6,2,8] , C=1 , 4+3+1=8 , A->8 , C->0
[2,2,7,5] + [2,8,5,8] , A=[8,5,2,7,4,8,1,6,2,8] , C=0 , 5+8+0=13 , A->3 , C->1
[2,2,7] + [2,8,5] , A=[3,8,5,2,7,4,8,1,6,2,8] , C=1 , 7+5+1=13 , A->3 , C->1
[2,2] + [2,8] , A=[3,3,8,5,2,7,4,8,1,6,2,8] , C=1 , 2+8+1=11 , A->1 , C->1
[2] + [2] , A=[1,3,3,8,5,2,7,4,8,1,6,2,8] , C=1 , 2+2+1=5 , A->5 , C->0
[] + [] , A=[5,1,3,3,8,5,2,7,4,8,1,6,2,8] C=0 , END
</scratch>
51338527481628
| 51338527481628 | 14 |
Input:
36101946331+63141816966594
Target:
| Input:
36101946331+63141816966594
Target:
[3,6,1,0,1,9,4,6,3,3,1] + [6,3,1,4,1,8,1,6,9,6,6,5,9,4] , A=[] , C=0 , 1+4+0=5 , A->5 , C->0
[3,6,1,0,1,9,4,6,3,3] + [6,3,1,4,1,8,1,6,9,6,6,5,9] , A=[5] , C=0 , 3+9+0=12 , A->2 , C->1
[3,6,1,0,1,9,4,6,3] + [6,3,1,4,1,8,1,6,9,6,6,5] , A=[2,5] , C=1 , 3+5+1=9 , A->9 , C->0
[3,6,1,0,1,9,4,6] + [6,3,1,4,1,8,1,6,9,6,6] , A=[9,2,5] , C=0 , 6+6+0=12 , A->2 , C->1
[3,6,1,0,1,9,4] + [6,3,1,4,1,8,1,6,9,6] , A=[2,9,2,5] , C=1 , 4+6+1=11 , A->1 , C->1
[3,6,1,0,1,9] + [6,3,1,4,1,8,1,6,9] , A=[1,2,9,2,5] , C=1 , 9+9+1=19 , A->9 , C->1
[3,6,1,0,1] + [6,3,1,4,1,8,1,6] , A=[9,1,2,9,2,5] , C=1 , 1+6+1=8 , A->8 , C->0
[3,6,1,0] + [6,3,1,4,1,8,1] , A=[8,9,1,2,9,2,5] , C=0 , 0+1+0=1 , A->1 , C->0
[3,6,1] + [6,3,1,4,1,8] , A=[1,8,9,1,2,9,2,5] , C=0 , 1+8+0=9 , A->9 , C->0
[3,6] + [6,3,1,4,1] , A=[9,1,8,9,1,2,9,2,5] , C=0 , 6+1+0=7 , A->7 , C->0
[3] + [6,3,1,4] , A=[7,9,1,8,9,1,2,9,2,5] , C=0 , 3+4+0=7 , A->7 , C->0
[] + [6,3,1] , A=[7,7,9,1,8,9,1,2,9,2,5] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [6,3] , A=[1,7,7,9,1,8,9,1,2,9,2,5] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [6] , A=[3,1,7,7,9,1,8,9,1,2,9,2,5] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,3,1,7,7,9,1,8,9,1,2,9,2,5] C=0 , END
</scratch>
63177918912925
| 63177918912925 | 11 |
Input:
23317266065208+301
Target:
| Input:
23317266065208+301
Target:
[2,3,3,1,7,2,6,6,0,6,5,2,0,8] + [3,0,1] , A=[] , C=0 , 8+1+0=9 , A->9 , C->0
[2,3,3,1,7,2,6,6,0,6,5,2,0] + [3,0] , A=[9] , C=0 , 0+0+0=0 , A->0 , C->0
[2,3,3,1,7,2,6,6,0,6,5,2] + [3] , A=[0,9] , C=0 , 2+3+0=5 , A->5 , C->0
[2,3,3,1,7,2,6,6,0,6,5] + [] , A=[5,0,9] , C=0 , 5+0+0=5 , A->5 , C->0
[2,3,3,1,7,2,6,6,0,6] + [] , A=[5,5,0,9] , C=0 , 6+0+0=6 , A->6 , C->0
[2,3,3,1,7,2,6,6,0] + [] , A=[6,5,5,0,9] , C=0 , 0+0+0=0 , A->0 , C->0
[2,3,3,1,7,2,6,6] + [] , A=[0,6,5,5,0,9] , C=0 , 6+0+0=6 , A->6 , C->0
[2,3,3,1,7,2,6] + [] , A=[6,0,6,5,5,0,9] , C=0 , 6+0+0=6 , A->6 , C->0
[2,3,3,1,7,2] + [] , A=[6,6,0,6,5,5,0,9] , C=0 , 2+0+0=2 , A->2 , C->0
[2,3,3,1,7] + [] , A=[2,6,6,0,6,5,5,0,9] , C=0 , 7+0+0=7 , A->7 , C->0
[2,3,3,1] + [] , A=[7,2,6,6,0,6,5,5,0,9] , C=0 , 1+0+0=1 , A->1 , C->0
[2,3,3] + [] , A=[1,7,2,6,6,0,6,5,5,0,9] , C=0 , 3+0+0=3 , A->3 , C->0
[2,3] + [] , A=[3,1,7,2,6,6,0,6,5,5,0,9] , C=0 , 3+0+0=3 , A->3 , C->0
[2] + [] , A=[3,3,1,7,2,6,6,0,6,5,5,0,9] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [] , A=[2,3,3,1,7,2,6,6,0,6,5,5,0,9] C=0 , END
</scratch>
23317266065509
| 23317266065509 | 3 |
Input:
20961713+65722655914527
Target:
| Input:
20961713+65722655914527
Target:
[2,0,9,6,1,7,1,3] + [6,5,7,2,2,6,5,5,9,1,4,5,2,7] , A=[] , C=0 , 3+7+0=10 , A->0 , C->1
[2,0,9,6,1,7,1] + [6,5,7,2,2,6,5,5,9,1,4,5,2] , A=[0] , C=1 , 1+2+1=4 , A->4 , C->0
[2,0,9,6,1,7] + [6,5,7,2,2,6,5,5,9,1,4,5] , A=[4,0] , C=0 , 7+5+0=12 , A->2 , C->1
[2,0,9,6,1] + [6,5,7,2,2,6,5,5,9,1,4] , A=[2,4,0] , C=1 , 1+4+1=6 , A->6 , C->0
[2,0,9,6] + [6,5,7,2,2,6,5,5,9,1] , A=[6,2,4,0] , C=0 , 6+1+0=7 , A->7 , C->0
[2,0,9] + [6,5,7,2,2,6,5,5,9] , A=[7,6,2,4,0] , C=0 , 9+9+0=18 , A->8 , C->1
[2,0] + [6,5,7,2,2,6,5,5] , A=[8,7,6,2,4,0] , C=1 , 0+5+1=6 , A->6 , C->0
[2] + [6,5,7,2,2,6,5] , A=[6,8,7,6,2,4,0] , C=0 , 2+5+0=7 , A->7 , C->0
[] + [6,5,7,2,2,6] , A=[7,6,8,7,6,2,4,0] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [6,5,7,2,2] , A=[6,7,6,8,7,6,2,4,0] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [6,5,7,2] , A=[2,6,7,6,8,7,6,2,4,0] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [6,5,7] , A=[2,2,6,7,6,8,7,6,2,4,0] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6,5] , A=[7,2,2,6,7,6,8,7,6,2,4,0] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [6] , A=[5,7,2,2,6,7,6,8,7,6,2,4,0] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,5,7,2,2,6,7,6,8,7,6,2,4,0] C=0 , END
</scratch>
65722676876240
| 65722676876240 | 8 |
Input:
516+67592440545840
Target:
| Input:
516+67592440545840
Target:
[5,1,6] + [6,7,5,9,2,4,4,0,5,4,5,8,4,0] , A=[] , C=0 , 6+0+0=6 , A->6 , C->0
[5,1] + [6,7,5,9,2,4,4,0,5,4,5,8,4] , A=[6] , C=0 , 1+4+0=5 , A->5 , C->0
[5] + [6,7,5,9,2,4,4,0,5,4,5,8] , A=[5,6] , C=0 , 5+8+0=13 , A->3 , C->1
[] + [6,7,5,9,2,4,4,0,5,4,5] , A=[3,5,6] , C=1 , 0+5+1=6 , A->6 , C->0
[] + [6,7,5,9,2,4,4,0,5,4] , A=[6,3,5,6] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [6,7,5,9,2,4,4,0,5] , A=[4,6,3,5,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [6,7,5,9,2,4,4,0] , A=[5,4,6,3,5,6] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [6,7,5,9,2,4,4] , A=[0,5,4,6,3,5,6] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [6,7,5,9,2,4] , A=[4,0,5,4,6,3,5,6] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [6,7,5,9,2] , A=[4,4,0,5,4,6,3,5,6] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [6,7,5,9] , A=[2,4,4,0,5,4,6,3,5,6] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [6,7,5] , A=[9,2,4,4,0,5,4,6,3,5,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [6,7] , A=[5,9,2,4,4,0,5,4,6,3,5,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6] , A=[7,5,9,2,4,4,0,5,4,6,3,5,6] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,7,5,9,2,4,4,0,5,4,6,3,5,6] C=0 , END
</scratch>
67592440546356
| 67592440546356 | 3 |
Input:
79707109205189+234057286494
Target:
| Input:
79707109205189+234057286494
Target:
[7,9,7,0,7,1,0,9,2,0,5,1,8,9] + [2,3,4,0,5,7,2,8,6,4,9,4] , A=[] , C=0 , 9+4+0=13 , A->3 , C->1
[7,9,7,0,7,1,0,9,2,0,5,1,8] + [2,3,4,0,5,7,2,8,6,4,9] , A=[3] , C=1 , 8+9+1=18 , A->8 , C->1
[7,9,7,0,7,1,0,9,2,0,5,1] + [2,3,4,0,5,7,2,8,6,4] , A=[8,3] , C=1 , 1+4+1=6 , A->6 , C->0
[7,9,7,0,7,1,0,9,2,0,5] + [2,3,4,0,5,7,2,8,6] , A=[6,8,3] , C=0 , 5+6+0=11 , A->1 , C->1
[7,9,7,0,7,1,0,9,2,0] + [2,3,4,0,5,7,2,8] , A=[1,6,8,3] , C=1 , 0+8+1=9 , A->9 , C->0
[7,9,7,0,7,1,0,9,2] + [2,3,4,0,5,7,2] , A=[9,1,6,8,3] , C=0 , 2+2+0=4 , A->4 , C->0
[7,9,7,0,7,1,0,9] + [2,3,4,0,5,7] , A=[4,9,1,6,8,3] , C=0 , 9+7+0=16 , A->6 , C->1
[7,9,7,0,7,1,0] + [2,3,4,0,5] , A=[6,4,9,1,6,8,3] , C=1 , 0+5+1=6 , A->6 , C->0
[7,9,7,0,7,1] + [2,3,4,0] , A=[6,6,4,9,1,6,8,3] , C=0 , 1+0+0=1 , A->1 , C->0
[7,9,7,0,7] + [2,3,4] , A=[1,6,6,4,9,1,6,8,3] , C=0 , 7+4+0=11 , A->1 , C->1
[7,9,7,0] + [2,3] , A=[1,1,6,6,4,9,1,6,8,3] , C=1 , 0+3+1=4 , A->4 , C->0
[7,9,7] + [2] , A=[4,1,1,6,6,4,9,1,6,8,3] , C=0 , 7+2+0=9 , A->9 , C->0
[7,9] + [] , A=[9,4,1,1,6,6,4,9,1,6,8,3] , C=0 , 9+0+0=9 , A->9 , C->0
[7] + [] , A=[9,9,4,1,1,6,6,4,9,1,6,8,3] , C=0 , 7+0+0=7 , A->7 , C->0
[] + [] , A=[7,9,9,4,1,1,6,6,4,9,1,6,8,3] C=0 , END
</scratch>
79941166491683
| 79941166491683 | 12 |
Input:
42479+97499856571594
Target:
| Input:
42479+97499856571594
Target:
[4,2,4,7,9] + [9,7,4,9,9,8,5,6,5,7,1,5,9,4] , A=[] , C=0 , 9+4+0=13 , A->3 , C->1
[4,2,4,7] + [9,7,4,9,9,8,5,6,5,7,1,5,9] , A=[3] , C=1 , 7+9+1=17 , A->7 , C->1
[4,2,4] + [9,7,4,9,9,8,5,6,5,7,1,5] , A=[7,3] , C=1 , 4+5+1=10 , A->0 , C->1
[4,2] + [9,7,4,9,9,8,5,6,5,7,1] , A=[0,7,3] , C=1 , 2+1+1=4 , A->4 , C->0
[4] + [9,7,4,9,9,8,5,6,5,7] , A=[4,0,7,3] , C=0 , 4+7+0=11 , A->1 , C->1
[] + [9,7,4,9,9,8,5,6,5] , A=[1,4,0,7,3] , C=1 , 0+5+1=6 , A->6 , C->0
[] + [9,7,4,9,9,8,5,6] , A=[6,1,4,0,7,3] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [9,7,4,9,9,8,5] , A=[6,6,1,4,0,7,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,7,4,9,9,8] , A=[5,6,6,1,4,0,7,3] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [9,7,4,9,9] , A=[8,5,6,6,1,4,0,7,3] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [9,7,4,9] , A=[9,8,5,6,6,1,4,0,7,3] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [9,7,4] , A=[9,9,8,5,6,6,1,4,0,7,3] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [9,7] , A=[4,9,9,8,5,6,6,1,4,0,7,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [9] , A=[7,4,9,9,8,5,6,6,1,4,0,7,3] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,7,4,9,9,8,5,6,6,1,4,0,7,3] C=0 , END
</scratch>
97499856614073
| 97499856614073 | 5 |
Input:
28819022016332+2826823575
Target:
| Input:
28819022016332+2826823575
Target:
[2,8,8,1,9,0,2,2,0,1,6,3,3,2] + [2,8,2,6,8,2,3,5,7,5] , A=[] , C=0 , 2+5+0=7 , A->7 , C->0
[2,8,8,1,9,0,2,2,0,1,6,3,3] + [2,8,2,6,8,2,3,5,7] , A=[7] , C=0 , 3+7+0=10 , A->0 , C->1
[2,8,8,1,9,0,2,2,0,1,6,3] + [2,8,2,6,8,2,3,5] , A=[0,7] , C=1 , 3+5+1=9 , A->9 , C->0
[2,8,8,1,9,0,2,2,0,1,6] + [2,8,2,6,8,2,3] , A=[9,0,7] , C=0 , 6+3+0=9 , A->9 , C->0
[2,8,8,1,9,0,2,2,0,1] + [2,8,2,6,8,2] , A=[9,9,0,7] , C=0 , 1+2+0=3 , A->3 , C->0
[2,8,8,1,9,0,2,2,0] + [2,8,2,6,8] , A=[3,9,9,0,7] , C=0 , 0+8+0=8 , A->8 , C->0
[2,8,8,1,9,0,2,2] + [2,8,2,6] , A=[8,3,9,9,0,7] , C=0 , 2+6+0=8 , A->8 , C->0
[2,8,8,1,9,0,2] + [2,8,2] , A=[8,8,3,9,9,0,7] , C=0 , 2+2+0=4 , A->4 , C->0
[2,8,8,1,9,0] + [2,8] , A=[4,8,8,3,9,9,0,7] , C=0 , 0+8+0=8 , A->8 , C->0
[2,8,8,1,9] + [2] , A=[8,4,8,8,3,9,9,0,7] , C=0 , 9+2+0=11 , A->1 , C->1
[2,8,8,1] + [] , A=[1,8,4,8,8,3,9,9,0,7] , C=1 , 1+0+1=2 , A->2 , C->0
[2,8,8] + [] , A=[2,1,8,4,8,8,3,9,9,0,7] , C=0 , 8+0+0=8 , A->8 , C->0
[2,8] + [] , A=[8,2,1,8,4,8,8,3,9,9,0,7] , C=0 , 8+0+0=8 , A->8 , C->0
[2] + [] , A=[8,8,2,1,8,4,8,8,3,9,9,0,7] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [] , A=[2,8,8,2,1,8,4,8,8,3,9,9,0,7] C=0 , END
</scratch>
28821848839907
| 28821848839907 | 10 |
Input:
73983+67693469228591
Target:
| Input:
73983+67693469228591
Target:
[7,3,9,8,3] + [6,7,6,9,3,4,6,9,2,2,8,5,9,1] , A=[] , C=0 , 3+1+0=4 , A->4 , C->0
[7,3,9,8] + [6,7,6,9,3,4,6,9,2,2,8,5,9] , A=[4] , C=0 , 8+9+0=17 , A->7 , C->1
[7,3,9] + [6,7,6,9,3,4,6,9,2,2,8,5] , A=[7,4] , C=1 , 9+5+1=15 , A->5 , C->1
[7,3] + [6,7,6,9,3,4,6,9,2,2,8] , A=[5,7,4] , C=1 , 3+8+1=12 , A->2 , C->1
[7] + [6,7,6,9,3,4,6,9,2,2] , A=[2,5,7,4] , C=1 , 7+2+1=10 , A->0 , C->1
[] + [6,7,6,9,3,4,6,9,2] , A=[0,2,5,7,4] , C=1 , 0+2+1=3 , A->3 , C->0
[] + [6,7,6,9,3,4,6,9] , A=[3,0,2,5,7,4] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [6,7,6,9,3,4,6] , A=[9,3,0,2,5,7,4] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [6,7,6,9,3,4] , A=[6,9,3,0,2,5,7,4] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [6,7,6,9,3] , A=[4,6,9,3,0,2,5,7,4] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [6,7,6,9] , A=[3,4,6,9,3,0,2,5,7,4] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [6,7,6] , A=[9,3,4,6,9,3,0,2,5,7,4] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [6,7] , A=[6,9,3,4,6,9,3,0,2,5,7,4] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6] , A=[7,6,9,3,4,6,9,3,0,2,5,7,4] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,7,6,9,3,4,6,9,3,0,2,5,7,4] C=0 , END
</scratch>
67693469302574
| 67693469302574 | 5 |
Input:
64162491481639+91961364961023
Target:
| Input:
64162491481639+91961364961023
Target:
[6,4,1,6,2,4,9,1,4,8,1,6,3,9] + [9,1,9,6,1,3,6,4,9,6,1,0,2,3] , A=[] , C=0 , 9+3+0=12 , A->2 , C->1
[6,4,1,6,2,4,9,1,4,8,1,6,3] + [9,1,9,6,1,3,6,4,9,6,1,0,2] , A=[2] , C=1 , 3+2+1=6 , A->6 , C->0
[6,4,1,6,2,4,9,1,4,8,1,6] + [9,1,9,6,1,3,6,4,9,6,1,0] , A=[6,2] , C=0 , 6+0+0=6 , A->6 , C->0
[6,4,1,6,2,4,9,1,4,8,1] + [9,1,9,6,1,3,6,4,9,6,1] , A=[6,6,2] , C=0 , 1+1+0=2 , A->2 , C->0
[6,4,1,6,2,4,9,1,4,8] + [9,1,9,6,1,3,6,4,9,6] , A=[2,6,6,2] , C=0 , 8+6+0=14 , A->4 , C->1
[6,4,1,6,2,4,9,1,4] + [9,1,9,6,1,3,6,4,9] , A=[4,2,6,6,2] , C=1 , 4+9+1=14 , A->4 , C->1
[6,4,1,6,2,4,9,1] + [9,1,9,6,1,3,6,4] , A=[4,4,2,6,6,2] , C=1 , 1+4+1=6 , A->6 , C->0
[6,4,1,6,2,4,9] + [9,1,9,6,1,3,6] , A=[6,4,4,2,6,6,2] , C=0 , 9+6+0=15 , A->5 , C->1
[6,4,1,6,2,4] + [9,1,9,6,1,3] , A=[5,6,4,4,2,6,6,2] , C=1 , 4+3+1=8 , A->8 , C->0
[6,4,1,6,2] + [9,1,9,6,1] , A=[8,5,6,4,4,2,6,6,2] , C=0 , 2+1+0=3 , A->3 , C->0
[6,4,1,6] + [9,1,9,6] , A=[3,8,5,6,4,4,2,6,6,2] , C=0 , 6+6+0=12 , A->2 , C->1
[6,4,1] + [9,1,9] , A=[2,3,8,5,6,4,4,2,6,6,2] , C=1 , 1+9+1=11 , A->1 , C->1
[6,4] + [9,1] , A=[1,2,3,8,5,6,4,4,2,6,6,2] , C=1 , 4+1+1=6 , A->6 , C->0
[6] + [9] , A=[6,1,2,3,8,5,6,4,4,2,6,6,2] , C=0 , 6+9+0=15 , A->5 , C->1
[] + [] , A=[5,6,1,2,3,8,5,6,4,4,2,6,6,2] C=1 , END
</scratch>
156123856442662
| 156123856442662 | 14 |
Input:
48007700+29478250131793
Target:
| Input:
48007700+29478250131793
Target:
[4,8,0,0,7,7,0,0] + [2,9,4,7,8,2,5,0,1,3,1,7,9,3] , A=[] , C=0 , 0+3+0=3 , A->3 , C->0
[4,8,0,0,7,7,0] + [2,9,4,7,8,2,5,0,1,3,1,7,9] , A=[3] , C=0 , 0+9+0=9 , A->9 , C->0
[4,8,0,0,7,7] + [2,9,4,7,8,2,5,0,1,3,1,7] , A=[9,3] , C=0 , 7+7+0=14 , A->4 , C->1
[4,8,0,0,7] + [2,9,4,7,8,2,5,0,1,3,1] , A=[4,9,3] , C=1 , 7+1+1=9 , A->9 , C->0
[4,8,0,0] + [2,9,4,7,8,2,5,0,1,3] , A=[9,4,9,3] , C=0 , 0+3+0=3 , A->3 , C->0
[4,8,0] + [2,9,4,7,8,2,5,0,1] , A=[3,9,4,9,3] , C=0 , 0+1+0=1 , A->1 , C->0
[4,8] + [2,9,4,7,8,2,5,0] , A=[1,3,9,4,9,3] , C=0 , 8+0+0=8 , A->8 , C->0
[4] + [2,9,4,7,8,2,5] , A=[8,1,3,9,4,9,3] , C=0 , 4+5+0=9 , A->9 , C->0
[] + [2,9,4,7,8,2] , A=[9,8,1,3,9,4,9,3] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [2,9,4,7,8] , A=[2,9,8,1,3,9,4,9,3] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [2,9,4,7] , A=[8,2,9,8,1,3,9,4,9,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [2,9,4] , A=[7,8,2,9,8,1,3,9,4,9,3] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [2,9] , A=[4,7,8,2,9,8,1,3,9,4,9,3] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [2] , A=[9,4,7,8,2,9,8,1,3,9,4,9,3] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,9,4,7,8,2,9,8,1,3,9,4,9,3] C=0 , END
</scratch>
29478298139493
| 29478298139493 | 8 |
Input:
362778341967+67669943511814
Target:
| Input:
362778341967+67669943511814
Target:
[3,6,2,7,7,8,3,4,1,9,6,7] + [6,7,6,6,9,9,4,3,5,1,1,8,1,4] , A=[] , C=0 , 7+4+0=11 , A->1 , C->1
[3,6,2,7,7,8,3,4,1,9,6] + [6,7,6,6,9,9,4,3,5,1,1,8,1] , A=[1] , C=1 , 6+1+1=8 , A->8 , C->0
[3,6,2,7,7,8,3,4,1,9] + [6,7,6,6,9,9,4,3,5,1,1,8] , A=[8,1] , C=0 , 9+8+0=17 , A->7 , C->1
[3,6,2,7,7,8,3,4,1] + [6,7,6,6,9,9,4,3,5,1,1] , A=[7,8,1] , C=1 , 1+1+1=3 , A->3 , C->0
[3,6,2,7,7,8,3,4] + [6,7,6,6,9,9,4,3,5,1] , A=[3,7,8,1] , C=0 , 4+1+0=5 , A->5 , C->0
[3,6,2,7,7,8,3] + [6,7,6,6,9,9,4,3,5] , A=[5,3,7,8,1] , C=0 , 3+5+0=8 , A->8 , C->0
[3,6,2,7,7,8] + [6,7,6,6,9,9,4,3] , A=[8,5,3,7,8,1] , C=0 , 8+3+0=11 , A->1 , C->1
[3,6,2,7,7] + [6,7,6,6,9,9,4] , A=[1,8,5,3,7,8,1] , C=1 , 7+4+1=12 , A->2 , C->1
[3,6,2,7] + [6,7,6,6,9,9] , A=[2,1,8,5,3,7,8,1] , C=1 , 7+9+1=17 , A->7 , C->1
[3,6,2] + [6,7,6,6,9] , A=[7,2,1,8,5,3,7,8,1] , C=1 , 2+9+1=12 , A->2 , C->1
[3,6] + [6,7,6,6] , A=[2,7,2,1,8,5,3,7,8,1] , C=1 , 6+6+1=13 , A->3 , C->1
[3] + [6,7,6] , A=[3,2,7,2,1,8,5,3,7,8,1] , C=1 , 3+6+1=10 , A->0 , C->1
[] + [6,7] , A=[0,3,2,7,2,1,8,5,3,7,8,1] , C=1 , 0+7+1=8 , A->8 , C->0
[] + [6] , A=[8,0,3,2,7,2,1,8,5,3,7,8,1] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,8,0,3,2,7,2,1,8,5,3,7,8,1] C=0 , END
</scratch>
68032721853781
| 68032721853781 | 12 |
Input:
9+15986530845438
Target:
| Input:
9+15986530845438
Target:
[9] + [1,5,9,8,6,5,3,0,8,4,5,4,3,8] , A=[] , C=0 , 9+8+0=17 , A->7 , C->1
[] + [1,5,9,8,6,5,3,0,8,4,5,4,3] , A=[7] , C=1 , 0+3+1=4 , A->4 , C->0
[] + [1,5,9,8,6,5,3,0,8,4,5,4] , A=[4,7] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [1,5,9,8,6,5,3,0,8,4,5] , A=[4,4,7] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1,5,9,8,6,5,3,0,8,4] , A=[5,4,4,7] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [1,5,9,8,6,5,3,0,8] , A=[4,5,4,4,7] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [1,5,9,8,6,5,3,0] , A=[8,4,5,4,4,7] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [1,5,9,8,6,5,3] , A=[0,8,4,5,4,4,7] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [1,5,9,8,6,5] , A=[3,0,8,4,5,4,4,7] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1,5,9,8,6] , A=[5,3,0,8,4,5,4,4,7] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [1,5,9,8] , A=[6,5,3,0,8,4,5,4,4,7] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [1,5,9] , A=[8,6,5,3,0,8,4,5,4,4,7] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [1,5] , A=[9,8,6,5,3,0,8,4,5,4,4,7] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1] , A=[5,9,8,6,5,3,0,8,4,5,4,4,7] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,5,9,8,6,5,3,0,8,4,5,4,4,7] C=0 , END
</scratch>
15986530845447
| 15986530845447 | 1 |
Input:
26884070482794+684
Target:
| Input:
26884070482794+684
Target:
[2,6,8,8,4,0,7,0,4,8,2,7,9,4] + [6,8,4] , A=[] , C=0 , 4+4+0=8 , A->8 , C->0
[2,6,8,8,4,0,7,0,4,8,2,7,9] + [6,8] , A=[8] , C=0 , 9+8+0=17 , A->7 , C->1
[2,6,8,8,4,0,7,0,4,8,2,7] + [6] , A=[7,8] , C=1 , 7+6+1=14 , A->4 , C->1
[2,6,8,8,4,0,7,0,4,8,2] + [] , A=[4,7,8] , C=1 , 2+0+1=3 , A->3 , C->0
[2,6,8,8,4,0,7,0,4,8] + [] , A=[3,4,7,8] , C=0 , 8+0+0=8 , A->8 , C->0
[2,6,8,8,4,0,7,0,4] + [] , A=[8,3,4,7,8] , C=0 , 4+0+0=4 , A->4 , C->0
[2,6,8,8,4,0,7,0] + [] , A=[4,8,3,4,7,8] , C=0 , 0+0+0=0 , A->0 , C->0
[2,6,8,8,4,0,7] + [] , A=[0,4,8,3,4,7,8] , C=0 , 7+0+0=7 , A->7 , C->0
[2,6,8,8,4,0] + [] , A=[7,0,4,8,3,4,7,8] , C=0 , 0+0+0=0 , A->0 , C->0
[2,6,8,8,4] + [] , A=[0,7,0,4,8,3,4,7,8] , C=0 , 4+0+0=4 , A->4 , C->0
[2,6,8,8] + [] , A=[4,0,7,0,4,8,3,4,7,8] , C=0 , 8+0+0=8 , A->8 , C->0
[2,6,8] + [] , A=[8,4,0,7,0,4,8,3,4,7,8] , C=0 , 8+0+0=8 , A->8 , C->0
[2,6] + [] , A=[8,8,4,0,7,0,4,8,3,4,7,8] , C=0 , 6+0+0=6 , A->6 , C->0
[2] + [] , A=[6,8,8,4,0,7,0,4,8,3,4,7,8] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [] , A=[2,6,8,8,4,0,7,0,4,8,3,4,7,8] C=0 , END
</scratch>
26884070483478
| 26884070483478 | 3 |
Input:
11775+19387941158029
Target:
| Input:
11775+19387941158029
Target:
[1,1,7,7,5] + [1,9,3,8,7,9,4,1,1,5,8,0,2,9] , A=[] , C=0 , 5+9+0=14 , A->4 , C->1
[1,1,7,7] + [1,9,3,8,7,9,4,1,1,5,8,0,2] , A=[4] , C=1 , 7+2+1=10 , A->0 , C->1
[1,1,7] + [1,9,3,8,7,9,4,1,1,5,8,0] , A=[0,4] , C=1 , 7+0+1=8 , A->8 , C->0
[1,1] + [1,9,3,8,7,9,4,1,1,5,8] , A=[8,0,4] , C=0 , 1+8+0=9 , A->9 , C->0
[1] + [1,9,3,8,7,9,4,1,1,5] , A=[9,8,0,4] , C=0 , 1+5+0=6 , A->6 , C->0
[] + [1,9,3,8,7,9,4,1,1] , A=[6,9,8,0,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [1,9,3,8,7,9,4,1] , A=[1,6,9,8,0,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [1,9,3,8,7,9,4] , A=[1,1,6,9,8,0,4] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [1,9,3,8,7,9] , A=[4,1,1,6,9,8,0,4] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [1,9,3,8,7] , A=[9,4,1,1,6,9,8,0,4] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [1,9,3,8] , A=[7,9,4,1,1,6,9,8,0,4] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [1,9,3] , A=[8,7,9,4,1,1,6,9,8,0,4] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [1,9] , A=[3,8,7,9,4,1,1,6,9,8,0,4] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [1] , A=[9,3,8,7,9,4,1,1,6,9,8,0,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,9,3,8,7,9,4,1,1,6,9,8,0,4] C=0 , END
</scratch>
19387941169804
| 19387941169804 | 5 |
Input:
67377+53714455503219
Target:
| Input:
67377+53714455503219
Target:
[6,7,3,7,7] + [5,3,7,1,4,4,5,5,5,0,3,2,1,9] , A=[] , C=0 , 7+9+0=16 , A->6 , C->1
[6,7,3,7] + [5,3,7,1,4,4,5,5,5,0,3,2,1] , A=[6] , C=1 , 7+1+1=9 , A->9 , C->0
[6,7,3] + [5,3,7,1,4,4,5,5,5,0,3,2] , A=[9,6] , C=0 , 3+2+0=5 , A->5 , C->0
[6,7] + [5,3,7,1,4,4,5,5,5,0,3] , A=[5,9,6] , C=0 , 7+3+0=10 , A->0 , C->1
[6] + [5,3,7,1,4,4,5,5,5,0] , A=[0,5,9,6] , C=1 , 6+0+1=7 , A->7 , C->0
[] + [5,3,7,1,4,4,5,5,5] , A=[7,0,5,9,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [5,3,7,1,4,4,5,5] , A=[5,7,0,5,9,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [5,3,7,1,4,4,5] , A=[5,5,7,0,5,9,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [5,3,7,1,4,4] , A=[5,5,5,7,0,5,9,6] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [5,3,7,1,4] , A=[4,5,5,5,7,0,5,9,6] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [5,3,7,1] , A=[4,4,5,5,5,7,0,5,9,6] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [5,3,7] , A=[1,4,4,5,5,5,7,0,5,9,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [5,3] , A=[7,1,4,4,5,5,5,7,0,5,9,6] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [5] , A=[3,7,1,4,4,5,5,5,7,0,5,9,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,3,7,1,4,4,5,5,5,7,0,5,9,6] C=0 , END
</scratch>
53714455570596
| 53714455570596 | 5 |
Input:
15372163953839+6666200774
Target:
| Input:
15372163953839+6666200774
Target:
[1,5,3,7,2,1,6,3,9,5,3,8,3,9] + [6,6,6,6,2,0,0,7,7,4] , A=[] , C=0 , 9+4+0=13 , A->3 , C->1
[1,5,3,7,2,1,6,3,9,5,3,8,3] + [6,6,6,6,2,0,0,7,7] , A=[3] , C=1 , 3+7+1=11 , A->1 , C->1
[1,5,3,7,2,1,6,3,9,5,3,8] + [6,6,6,6,2,0,0,7] , A=[1,3] , C=1 , 8+7+1=16 , A->6 , C->1
[1,5,3,7,2,1,6,3,9,5,3] + [6,6,6,6,2,0,0] , A=[6,1,3] , C=1 , 3+0+1=4 , A->4 , C->0
[1,5,3,7,2,1,6,3,9,5] + [6,6,6,6,2,0] , A=[4,6,1,3] , C=0 , 5+0+0=5 , A->5 , C->0
[1,5,3,7,2,1,6,3,9] + [6,6,6,6,2] , A=[5,4,6,1,3] , C=0 , 9+2+0=11 , A->1 , C->1
[1,5,3,7,2,1,6,3] + [6,6,6,6] , A=[1,5,4,6,1,3] , C=1 , 3+6+1=10 , A->0 , C->1
[1,5,3,7,2,1,6] + [6,6,6] , A=[0,1,5,4,6,1,3] , C=1 , 6+6+1=13 , A->3 , C->1
[1,5,3,7,2,1] + [6,6] , A=[3,0,1,5,4,6,1,3] , C=1 , 1+6+1=8 , A->8 , C->0
[1,5,3,7,2] + [6] , A=[8,3,0,1,5,4,6,1,3] , C=0 , 2+6+0=8 , A->8 , C->0
[1,5,3,7] + [] , A=[8,8,3,0,1,5,4,6,1,3] , C=0 , 7+0+0=7 , A->7 , C->0
[1,5,3] + [] , A=[7,8,8,3,0,1,5,4,6,1,3] , C=0 , 3+0+0=3 , A->3 , C->0
[1,5] + [] , A=[3,7,8,8,3,0,1,5,4,6,1,3] , C=0 , 5+0+0=5 , A->5 , C->0
[1] + [] , A=[5,3,7,8,8,3,0,1,5,4,6,1,3] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,5,3,7,8,8,3,0,1,5,4,6,1,3] C=0 , END
</scratch>
15378830154613
| 15378830154613 | 10 |
Input:
97582222624851+36947960139445
Target:
| Input:
97582222624851+36947960139445
Target:
[9,7,5,8,2,2,2,2,6,2,4,8,5,1] + [3,6,9,4,7,9,6,0,1,3,9,4,4,5] , A=[] , C=0 , 1+5+0=6 , A->6 , C->0
[9,7,5,8,2,2,2,2,6,2,4,8,5] + [3,6,9,4,7,9,6,0,1,3,9,4,4] , A=[6] , C=0 , 5+4+0=9 , A->9 , C->0
[9,7,5,8,2,2,2,2,6,2,4,8] + [3,6,9,4,7,9,6,0,1,3,9,4] , A=[9,6] , C=0 , 8+4+0=12 , A->2 , C->1
[9,7,5,8,2,2,2,2,6,2,4] + [3,6,9,4,7,9,6,0,1,3,9] , A=[2,9,6] , C=1 , 4+9+1=14 , A->4 , C->1
[9,7,5,8,2,2,2,2,6,2] + [3,6,9,4,7,9,6,0,1,3] , A=[4,2,9,6] , C=1 , 2+3+1=6 , A->6 , C->0
[9,7,5,8,2,2,2,2,6] + [3,6,9,4,7,9,6,0,1] , A=[6,4,2,9,6] , C=0 , 6+1+0=7 , A->7 , C->0
[9,7,5,8,2,2,2,2] + [3,6,9,4,7,9,6,0] , A=[7,6,4,2,9,6] , C=0 , 2+0+0=2 , A->2 , C->0
[9,7,5,8,2,2,2] + [3,6,9,4,7,9,6] , A=[2,7,6,4,2,9,6] , C=0 , 2+6+0=8 , A->8 , C->0
[9,7,5,8,2,2] + [3,6,9,4,7,9] , A=[8,2,7,6,4,2,9,6] , C=0 , 2+9+0=11 , A->1 , C->1
[9,7,5,8,2] + [3,6,9,4,7] , A=[1,8,2,7,6,4,2,9,6] , C=1 , 2+7+1=10 , A->0 , C->1
[9,7,5,8] + [3,6,9,4] , A=[0,1,8,2,7,6,4,2,9,6] , C=1 , 8+4+1=13 , A->3 , C->1
[9,7,5] + [3,6,9] , A=[3,0,1,8,2,7,6,4,2,9,6] , C=1 , 5+9+1=15 , A->5 , C->1
[9,7] + [3,6] , A=[5,3,0,1,8,2,7,6,4,2,9,6] , C=1 , 7+6+1=14 , A->4 , C->1
[9] + [3] , A=[4,5,3,0,1,8,2,7,6,4,2,9,6] , C=1 , 9+3+1=13 , A->3 , C->1
[] + [] , A=[3,4,5,3,0,1,8,2,7,6,4,2,9,6] C=1 , END
</scratch>
134530182764296
| 134530182764296 | 14 |
Input:
90398282460625+92252633
Target:
| Input:
90398282460625+92252633
Target:
[9,0,3,9,8,2,8,2,4,6,0,6,2,5] + [9,2,2,5,2,6,3,3] , A=[] , C=0 , 5+3+0=8 , A->8 , C->0
[9,0,3,9,8,2,8,2,4,6,0,6,2] + [9,2,2,5,2,6,3] , A=[8] , C=0 , 2+3+0=5 , A->5 , C->0
[9,0,3,9,8,2,8,2,4,6,0,6] + [9,2,2,5,2,6] , A=[5,8] , C=0 , 6+6+0=12 , A->2 , C->1
[9,0,3,9,8,2,8,2,4,6,0] + [9,2,2,5,2] , A=[2,5,8] , C=1 , 0+2+1=3 , A->3 , C->0
[9,0,3,9,8,2,8,2,4,6] + [9,2,2,5] , A=[3,2,5,8] , C=0 , 6+5+0=11 , A->1 , C->1
[9,0,3,9,8,2,8,2,4] + [9,2,2] , A=[1,3,2,5,8] , C=1 , 4+2+1=7 , A->7 , C->0
[9,0,3,9,8,2,8,2] + [9,2] , A=[7,1,3,2,5,8] , C=0 , 2+2+0=4 , A->4 , C->0
[9,0,3,9,8,2,8] + [9] , A=[4,7,1,3,2,5,8] , C=0 , 8+9+0=17 , A->7 , C->1
[9,0,3,9,8,2] + [] , A=[7,4,7,1,3,2,5,8] , C=1 , 2+0+1=3 , A->3 , C->0
[9,0,3,9,8] + [] , A=[3,7,4,7,1,3,2,5,8] , C=0 , 8+0+0=8 , A->8 , C->0
[9,0,3,9] + [] , A=[8,3,7,4,7,1,3,2,5,8] , C=0 , 9+0+0=9 , A->9 , C->0
[9,0,3] + [] , A=[9,8,3,7,4,7,1,3,2,5,8] , C=0 , 3+0+0=3 , A->3 , C->0
[9,0] + [] , A=[3,9,8,3,7,4,7,1,3,2,5,8] , C=0 , 0+0+0=0 , A->0 , C->0
[9] + [] , A=[0,3,9,8,3,7,4,7,1,3,2,5,8] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,0,3,9,8,3,7,4,7,1,3,2,5,8] C=0 , END
</scratch>
90398374713258
| 90398374713258 | 8 |
Input:
32357386068+74344282374150
Target:
| Input:
32357386068+74344282374150
Target:
[3,2,3,5,7,3,8,6,0,6,8] + [7,4,3,4,4,2,8,2,3,7,4,1,5,0] , A=[] , C=0 , 8+0+0=8 , A->8 , C->0
[3,2,3,5,7,3,8,6,0,6] + [7,4,3,4,4,2,8,2,3,7,4,1,5] , A=[8] , C=0 , 6+5+0=11 , A->1 , C->1
[3,2,3,5,7,3,8,6,0] + [7,4,3,4,4,2,8,2,3,7,4,1] , A=[1,8] , C=1 , 0+1+1=2 , A->2 , C->0
[3,2,3,5,7,3,8,6] + [7,4,3,4,4,2,8,2,3,7,4] , A=[2,1,8] , C=0 , 6+4+0=10 , A->0 , C->1
[3,2,3,5,7,3,8] + [7,4,3,4,4,2,8,2,3,7] , A=[0,2,1,8] , C=1 , 8+7+1=16 , A->6 , C->1
[3,2,3,5,7,3] + [7,4,3,4,4,2,8,2,3] , A=[6,0,2,1,8] , C=1 , 3+3+1=7 , A->7 , C->0
[3,2,3,5,7] + [7,4,3,4,4,2,8,2] , A=[7,6,0,2,1,8] , C=0 , 7+2+0=9 , A->9 , C->0
[3,2,3,5] + [7,4,3,4,4,2,8] , A=[9,7,6,0,2,1,8] , C=0 , 5+8+0=13 , A->3 , C->1
[3,2,3] + [7,4,3,4,4,2] , A=[3,9,7,6,0,2,1,8] , C=1 , 3+2+1=6 , A->6 , C->0
[3,2] + [7,4,3,4,4] , A=[6,3,9,7,6,0,2,1,8] , C=0 , 2+4+0=6 , A->6 , C->0
[3] + [7,4,3,4] , A=[6,6,3,9,7,6,0,2,1,8] , C=0 , 3+4+0=7 , A->7 , C->0
[] + [7,4,3] , A=[7,6,6,3,9,7,6,0,2,1,8] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [7,4] , A=[3,7,6,6,3,9,7,6,0,2,1,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [7] , A=[4,3,7,6,6,3,9,7,6,0,2,1,8] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,4,3,7,6,6,3,9,7,6,0,2,1,8] C=0 , END
</scratch>
74376639760218
| 74376639760218 | 11 |
Input:
13981648213515+20483118219742
Target:
| Input:
13981648213515+20483118219742
Target:
[1,3,9,8,1,6,4,8,2,1,3,5,1,5] + [2,0,4,8,3,1,1,8,2,1,9,7,4,2] , A=[] , C=0 , 5+2+0=7 , A->7 , C->0
[1,3,9,8,1,6,4,8,2,1,3,5,1] + [2,0,4,8,3,1,1,8,2,1,9,7,4] , A=[7] , C=0 , 1+4+0=5 , A->5 , C->0
[1,3,9,8,1,6,4,8,2,1,3,5] + [2,0,4,8,3,1,1,8,2,1,9,7] , A=[5,7] , C=0 , 5+7+0=12 , A->2 , C->1
[1,3,9,8,1,6,4,8,2,1,3] + [2,0,4,8,3,1,1,8,2,1,9] , A=[2,5,7] , C=1 , 3+9+1=13 , A->3 , C->1
[1,3,9,8,1,6,4,8,2,1] + [2,0,4,8,3,1,1,8,2,1] , A=[3,2,5,7] , C=1 , 1+1+1=3 , A->3 , C->0
[1,3,9,8,1,6,4,8,2] + [2,0,4,8,3,1,1,8,2] , A=[3,3,2,5,7] , C=0 , 2+2+0=4 , A->4 , C->0
[1,3,9,8,1,6,4,8] + [2,0,4,8,3,1,1,8] , A=[4,3,3,2,5,7] , C=0 , 8+8+0=16 , A->6 , C->1
[1,3,9,8,1,6,4] + [2,0,4,8,3,1,1] , A=[6,4,3,3,2,5,7] , C=1 , 4+1+1=6 , A->6 , C->0
[1,3,9,8,1,6] + [2,0,4,8,3,1] , A=[6,6,4,3,3,2,5,7] , C=0 , 6+1+0=7 , A->7 , C->0
[1,3,9,8,1] + [2,0,4,8,3] , A=[7,6,6,4,3,3,2,5,7] , C=0 , 1+3+0=4 , A->4 , C->0
[1,3,9,8] + [2,0,4,8] , A=[4,7,6,6,4,3,3,2,5,7] , C=0 , 8+8+0=16 , A->6 , C->1
[1,3,9] + [2,0,4] , A=[6,4,7,6,6,4,3,3,2,5,7] , C=1 , 9+4+1=14 , A->4 , C->1
[1,3] + [2,0] , A=[4,6,4,7,6,6,4,3,3,2,5,7] , C=1 , 3+0+1=4 , A->4 , C->0
[1] + [2] , A=[4,4,6,4,7,6,6,4,3,3,2,5,7] , C=0 , 1+2+0=3 , A->3 , C->0
[] + [] , A=[3,4,4,6,4,7,6,6,4,3,3,2,5,7] C=0 , END
</scratch>
34464766433257
| 34464766433257 | 14 |
Input:
97918608337733+7
Target:
| Input:
97918608337733+7
Target:
[9,7,9,1,8,6,0,8,3,3,7,7,3,3] + [7] , A=[] , C=0 , 3+7+0=10 , A->0 , C->1
[9,7,9,1,8,6,0,8,3,3,7,7,3] + [] , A=[0] , C=1 , 3+0+1=4 , A->4 , C->0
[9,7,9,1,8,6,0,8,3,3,7,7] + [] , A=[4,0] , C=0 , 7+0+0=7 , A->7 , C->0
[9,7,9,1,8,6,0,8,3,3,7] + [] , A=[7,4,0] , C=0 , 7+0+0=7 , A->7 , C->0
[9,7,9,1,8,6,0,8,3,3] + [] , A=[7,7,4,0] , C=0 , 3+0+0=3 , A->3 , C->0
[9,7,9,1,8,6,0,8,3] + [] , A=[3,7,7,4,0] , C=0 , 3+0+0=3 , A->3 , C->0
[9,7,9,1,8,6,0,8] + [] , A=[3,3,7,7,4,0] , C=0 , 8+0+0=8 , A->8 , C->0
[9,7,9,1,8,6,0] + [] , A=[8,3,3,7,7,4,0] , C=0 , 0+0+0=0 , A->0 , C->0
[9,7,9,1,8,6] + [] , A=[0,8,3,3,7,7,4,0] , C=0 , 6+0+0=6 , A->6 , C->0
[9,7,9,1,8] + [] , A=[6,0,8,3,3,7,7,4,0] , C=0 , 8+0+0=8 , A->8 , C->0
[9,7,9,1] + [] , A=[8,6,0,8,3,3,7,7,4,0] , C=0 , 1+0+0=1 , A->1 , C->0
[9,7,9] + [] , A=[1,8,6,0,8,3,3,7,7,4,0] , C=0 , 9+0+0=9 , A->9 , C->0
[9,7] + [] , A=[9,1,8,6,0,8,3,3,7,7,4,0] , C=0 , 7+0+0=7 , A->7 , C->0
[9] + [] , A=[7,9,1,8,6,0,8,3,3,7,7,4,0] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,7,9,1,8,6,0,8,3,3,7,7,4,0] C=0 , END
</scratch>
97918608337740
| 97918608337740 | 1 |
Input:
89792990835876+542
Target:
| Input:
89792990835876+542
Target:
[8,9,7,9,2,9,9,0,8,3,5,8,7,6] + [5,4,2] , A=[] , C=0 , 6+2+0=8 , A->8 , C->0
[8,9,7,9,2,9,9,0,8,3,5,8,7] + [5,4] , A=[8] , C=0 , 7+4+0=11 , A->1 , C->1
[8,9,7,9,2,9,9,0,8,3,5,8] + [5] , A=[1,8] , C=1 , 8+5+1=14 , A->4 , C->1
[8,9,7,9,2,9,9,0,8,3,5] + [] , A=[4,1,8] , C=1 , 5+0+1=6 , A->6 , C->0
[8,9,7,9,2,9,9,0,8,3] + [] , A=[6,4,1,8] , C=0 , 3+0+0=3 , A->3 , C->0
[8,9,7,9,2,9,9,0,8] + [] , A=[3,6,4,1,8] , C=0 , 8+0+0=8 , A->8 , C->0
[8,9,7,9,2,9,9,0] + [] , A=[8,3,6,4,1,8] , C=0 , 0+0+0=0 , A->0 , C->0
[8,9,7,9,2,9,9] + [] , A=[0,8,3,6,4,1,8] , C=0 , 9+0+0=9 , A->9 , C->0
[8,9,7,9,2,9] + [] , A=[9,0,8,3,6,4,1,8] , C=0 , 9+0+0=9 , A->9 , C->0
[8,9,7,9,2] + [] , A=[9,9,0,8,3,6,4,1,8] , C=0 , 2+0+0=2 , A->2 , C->0
[8,9,7,9] + [] , A=[2,9,9,0,8,3,6,4,1,8] , C=0 , 9+0+0=9 , A->9 , C->0
[8,9,7] + [] , A=[9,2,9,9,0,8,3,6,4,1,8] , C=0 , 7+0+0=7 , A->7 , C->0
[8,9] + [] , A=[7,9,2,9,9,0,8,3,6,4,1,8] , C=0 , 9+0+0=9 , A->9 , C->0
[8] + [] , A=[9,7,9,2,9,9,0,8,3,6,4,1,8] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,9,7,9,2,9,9,0,8,3,6,4,1,8] C=0 , END
</scratch>
89792990836418
| 89792990836418 | 3 |
Input:
118635+13026524392691
Target:
| Input:
118635+13026524392691
Target:
[1,1,8,6,3,5] + [1,3,0,2,6,5,2,4,3,9,2,6,9,1] , A=[] , C=0 , 5+1+0=6 , A->6 , C->0
[1,1,8,6,3] + [1,3,0,2,6,5,2,4,3,9,2,6,9] , A=[6] , C=0 , 3+9+0=12 , A->2 , C->1
[1,1,8,6] + [1,3,0,2,6,5,2,4,3,9,2,6] , A=[2,6] , C=1 , 6+6+1=13 , A->3 , C->1
[1,1,8] + [1,3,0,2,6,5,2,4,3,9,2] , A=[3,2,6] , C=1 , 8+2+1=11 , A->1 , C->1
[1,1] + [1,3,0,2,6,5,2,4,3,9] , A=[1,3,2,6] , C=1 , 1+9+1=11 , A->1 , C->1
[1] + [1,3,0,2,6,5,2,4,3] , A=[1,1,3,2,6] , C=1 , 1+3+1=5 , A->5 , C->0
[] + [1,3,0,2,6,5,2,4] , A=[5,1,1,3,2,6] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [1,3,0,2,6,5,2] , A=[4,5,1,1,3,2,6] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [1,3,0,2,6,5] , A=[2,4,5,1,1,3,2,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1,3,0,2,6] , A=[5,2,4,5,1,1,3,2,6] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [1,3,0,2] , A=[6,5,2,4,5,1,1,3,2,6] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [1,3,0] , A=[2,6,5,2,4,5,1,1,3,2,6] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [1,3] , A=[0,2,6,5,2,4,5,1,1,3,2,6] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [1] , A=[3,0,2,6,5,2,4,5,1,1,3,2,6] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,3,0,2,6,5,2,4,5,1,1,3,2,6] C=0 , END
</scratch>
13026524511326
| 13026524511326 | 6 |
Input:
35240019470800+23802147
Target:
| Input:
35240019470800+23802147
Target:
[3,5,2,4,0,0,1,9,4,7,0,8,0,0] + [2,3,8,0,2,1,4,7] , A=[] , C=0 , 0+7+0=7 , A->7 , C->0
[3,5,2,4,0,0,1,9,4,7,0,8,0] + [2,3,8,0,2,1,4] , A=[7] , C=0 , 0+4+0=4 , A->4 , C->0
[3,5,2,4,0,0,1,9,4,7,0,8] + [2,3,8,0,2,1] , A=[4,7] , C=0 , 8+1+0=9 , A->9 , C->0
[3,5,2,4,0,0,1,9,4,7,0] + [2,3,8,0,2] , A=[9,4,7] , C=0 , 0+2+0=2 , A->2 , C->0
[3,5,2,4,0,0,1,9,4,7] + [2,3,8,0] , A=[2,9,4,7] , C=0 , 7+0+0=7 , A->7 , C->0
[3,5,2,4,0,0,1,9,4] + [2,3,8] , A=[7,2,9,4,7] , C=0 , 4+8+0=12 , A->2 , C->1
[3,5,2,4,0,0,1,9] + [2,3] , A=[2,7,2,9,4,7] , C=1 , 9+3+1=13 , A->3 , C->1
[3,5,2,4,0,0,1] + [2] , A=[3,2,7,2,9,4,7] , C=1 , 1+2+1=4 , A->4 , C->0
[3,5,2,4,0,0] + [] , A=[4,3,2,7,2,9,4,7] , C=0 , 0+0+0=0 , A->0 , C->0
[3,5,2,4,0] + [] , A=[0,4,3,2,7,2,9,4,7] , C=0 , 0+0+0=0 , A->0 , C->0
[3,5,2,4] + [] , A=[0,0,4,3,2,7,2,9,4,7] , C=0 , 4+0+0=4 , A->4 , C->0
[3,5,2] + [] , A=[4,0,0,4,3,2,7,2,9,4,7] , C=0 , 2+0+0=2 , A->2 , C->0
[3,5] + [] , A=[2,4,0,0,4,3,2,7,2,9,4,7] , C=0 , 5+0+0=5 , A->5 , C->0
[3] + [] , A=[5,2,4,0,0,4,3,2,7,2,9,4,7] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,5,2,4,0,0,4,3,2,7,2,9,4,7] C=0 , END
</scratch>
35240043272947
| 35240043272947 | 8 |
Input:
9468829353+85824514666982
Target:
| Input:
9468829353+85824514666982
Target:
[9,4,6,8,8,2,9,3,5,3] + [8,5,8,2,4,5,1,4,6,6,6,9,8,2] , A=[] , C=0 , 3+2+0=5 , A->5 , C->0
[9,4,6,8,8,2,9,3,5] + [8,5,8,2,4,5,1,4,6,6,6,9,8] , A=[5] , C=0 , 5+8+0=13 , A->3 , C->1
[9,4,6,8,8,2,9,3] + [8,5,8,2,4,5,1,4,6,6,6,9] , A=[3,5] , C=1 , 3+9+1=13 , A->3 , C->1
[9,4,6,8,8,2,9] + [8,5,8,2,4,5,1,4,6,6,6] , A=[3,3,5] , C=1 , 9+6+1=16 , A->6 , C->1
[9,4,6,8,8,2] + [8,5,8,2,4,5,1,4,6,6] , A=[6,3,3,5] , C=1 , 2+6+1=9 , A->9 , C->0
[9,4,6,8,8] + [8,5,8,2,4,5,1,4,6] , A=[9,6,3,3,5] , C=0 , 8+6+0=14 , A->4 , C->1
[9,4,6,8] + [8,5,8,2,4,5,1,4] , A=[4,9,6,3,3,5] , C=1 , 8+4+1=13 , A->3 , C->1
[9,4,6] + [8,5,8,2,4,5,1] , A=[3,4,9,6,3,3,5] , C=1 , 6+1+1=8 , A->8 , C->0
[9,4] + [8,5,8,2,4,5] , A=[8,3,4,9,6,3,3,5] , C=0 , 4+5+0=9 , A->9 , C->0
[9] + [8,5,8,2,4] , A=[9,8,3,4,9,6,3,3,5] , C=0 , 9+4+0=13 , A->3 , C->1
[] + [8,5,8,2] , A=[3,9,8,3,4,9,6,3,3,5] , C=1 , 0+2+1=3 , A->3 , C->0
[] + [8,5,8] , A=[3,3,9,8,3,4,9,6,3,3,5] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [8,5] , A=[8,3,3,9,8,3,4,9,6,3,3,5] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [8] , A=[5,8,3,3,9,8,3,4,9,6,3,3,5] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [] , A=[8,5,8,3,3,9,8,3,4,9,6,3,3,5] C=0 , END
</scratch>
85833983496335
| 85833983496335 | 10 |
Input:
24921340157571+32772257365189
Target:
| Input:
24921340157571+32772257365189
Target:
[2,4,9,2,1,3,4,0,1,5,7,5,7,1] + [3,2,7,7,2,2,5,7,3,6,5,1,8,9] , A=[] , C=0 , 1+9+0=10 , A->0 , C->1
[2,4,9,2,1,3,4,0,1,5,7,5,7] + [3,2,7,7,2,2,5,7,3,6,5,1,8] , A=[0] , C=1 , 7+8+1=16 , A->6 , C->1
[2,4,9,2,1,3,4,0,1,5,7,5] + [3,2,7,7,2,2,5,7,3,6,5,1] , A=[6,0] , C=1 , 5+1+1=7 , A->7 , C->0
[2,4,9,2,1,3,4,0,1,5,7] + [3,2,7,7,2,2,5,7,3,6,5] , A=[7,6,0] , C=0 , 7+5+0=12 , A->2 , C->1
[2,4,9,2,1,3,4,0,1,5] + [3,2,7,7,2,2,5,7,3,6] , A=[2,7,6,0] , C=1 , 5+6+1=12 , A->2 , C->1
[2,4,9,2,1,3,4,0,1] + [3,2,7,7,2,2,5,7,3] , A=[2,2,7,6,0] , C=1 , 1+3+1=5 , A->5 , C->0
[2,4,9,2,1,3,4,0] + [3,2,7,7,2,2,5,7] , A=[5,2,2,7,6,0] , C=0 , 0+7+0=7 , A->7 , C->0
[2,4,9,2,1,3,4] + [3,2,7,7,2,2,5] , A=[7,5,2,2,7,6,0] , C=0 , 4+5+0=9 , A->9 , C->0
[2,4,9,2,1,3] + [3,2,7,7,2,2] , A=[9,7,5,2,2,7,6,0] , C=0 , 3+2+0=5 , A->5 , C->0
[2,4,9,2,1] + [3,2,7,7,2] , A=[5,9,7,5,2,2,7,6,0] , C=0 , 1+2+0=3 , A->3 , C->0
[2,4,9,2] + [3,2,7,7] , A=[3,5,9,7,5,2,2,7,6,0] , C=0 , 2+7+0=9 , A->9 , C->0
[2,4,9] + [3,2,7] , A=[9,3,5,9,7,5,2,2,7,6,0] , C=0 , 9+7+0=16 , A->6 , C->1
[2,4] + [3,2] , A=[6,9,3,5,9,7,5,2,2,7,6,0] , C=1 , 4+2+1=7 , A->7 , C->0
[2] + [3] , A=[7,6,9,3,5,9,7,5,2,2,7,6,0] , C=0 , 2+3+0=5 , A->5 , C->0
[] + [] , A=[5,7,6,9,3,5,9,7,5,2,2,7,6,0] C=0 , END
</scratch>
57693597522760
| 57693597522760 | 14 |
Input:
68+53410717520674
Target:
| Input:
68+53410717520674
Target:
[6,8] + [5,3,4,1,0,7,1,7,5,2,0,6,7,4] , A=[] , C=0 , 8+4+0=12 , A->2 , C->1
[6] + [5,3,4,1,0,7,1,7,5,2,0,6,7] , A=[2] , C=1 , 6+7+1=14 , A->4 , C->1
[] + [5,3,4,1,0,7,1,7,5,2,0,6] , A=[4,2] , C=1 , 0+6+1=7 , A->7 , C->0
[] + [5,3,4,1,0,7,1,7,5,2,0] , A=[7,4,2] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [5,3,4,1,0,7,1,7,5,2] , A=[0,7,4,2] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [5,3,4,1,0,7,1,7,5] , A=[2,0,7,4,2] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [5,3,4,1,0,7,1,7] , A=[5,2,0,7,4,2] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [5,3,4,1,0,7,1] , A=[7,5,2,0,7,4,2] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [5,3,4,1,0,7] , A=[1,7,5,2,0,7,4,2] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [5,3,4,1,0] , A=[7,1,7,5,2,0,7,4,2] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [5,3,4,1] , A=[0,7,1,7,5,2,0,7,4,2] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [5,3,4] , A=[1,0,7,1,7,5,2,0,7,4,2] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [5,3] , A=[4,1,0,7,1,7,5,2,0,7,4,2] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [5] , A=[3,4,1,0,7,1,7,5,2,0,7,4,2] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,3,4,1,0,7,1,7,5,2,0,7,4,2] C=0 , END
</scratch>
53410717520742
| 53410717520742 | 2 |
Input:
67142553116226+6067026
Target:
| Input:
67142553116226+6067026
Target:
[6,7,1,4,2,5,5,3,1,1,6,2,2,6] + [6,0,6,7,0,2,6] , A=[] , C=0 , 6+6+0=12 , A->2 , C->1
[6,7,1,4,2,5,5,3,1,1,6,2,2] + [6,0,6,7,0,2] , A=[2] , C=1 , 2+2+1=5 , A->5 , C->0
[6,7,1,4,2,5,5,3,1,1,6,2] + [6,0,6,7,0] , A=[5,2] , C=0 , 2+0+0=2 , A->2 , C->0
[6,7,1,4,2,5,5,3,1,1,6] + [6,0,6,7] , A=[2,5,2] , C=0 , 6+7+0=13 , A->3 , C->1
[6,7,1,4,2,5,5,3,1,1] + [6,0,6] , A=[3,2,5,2] , C=1 , 1+6+1=8 , A->8 , C->0
[6,7,1,4,2,5,5,3,1] + [6,0] , A=[8,3,2,5,2] , C=0 , 1+0+0=1 , A->1 , C->0
[6,7,1,4,2,5,5,3] + [6] , A=[1,8,3,2,5,2] , C=0 , 3+6+0=9 , A->9 , C->0
[6,7,1,4,2,5,5] + [] , A=[9,1,8,3,2,5,2] , C=0 , 5+0+0=5 , A->5 , C->0
[6,7,1,4,2,5] + [] , A=[5,9,1,8,3,2,5,2] , C=0 , 5+0+0=5 , A->5 , C->0
[6,7,1,4,2] + [] , A=[5,5,9,1,8,3,2,5,2] , C=0 , 2+0+0=2 , A->2 , C->0
[6,7,1,4] + [] , A=[2,5,5,9,1,8,3,2,5,2] , C=0 , 4+0+0=4 , A->4 , C->0
[6,7,1] + [] , A=[4,2,5,5,9,1,8,3,2,5,2] , C=0 , 1+0+0=1 , A->1 , C->0
[6,7] + [] , A=[1,4,2,5,5,9,1,8,3,2,5,2] , C=0 , 7+0+0=7 , A->7 , C->0
[6] + [] , A=[7,1,4,2,5,5,9,1,8,3,2,5,2] , C=0 , 6+0+0=6 , A->6 , C->0
[] + [] , A=[6,7,1,4,2,5,5,9,1,8,3,2,5,2] C=0 , END
</scratch>
67142559183252
| 67142559183252 | 7 |
End of preview. Expand
in Dataset Viewer.
README.md exists but content is empty.
- Downloads last month
- 35