input_test
stringlengths 28
37
| scratchpad
stringlengths 726
844
| result_final
stringlengths 10
11
| y_digits
int64 1
10
|
---|---|---|---|
Input:
7212402991+9452470741
Target:
| Input:
7212402991+9452470741
Target:
[7,2,1,2,4,0,2,9,9,1] + [9,4,5,2,4,7,0,7,4,1] , A=[] , C=0 , 1+1+0=2 , A->2 , C->0
[7,2,1,2,4,0,2,9,9] + [9,4,5,2,4,7,0,7,4] , A=[2] , C=0 , 9+4+0=13 , A->3 , C->1
[7,2,1,2,4,0,2,9] + [9,4,5,2,4,7,0,7] , A=[3,2] , C=1 , 9+7+1=17 , A->7 , C->1
[7,2,1,2,4,0,2] + [9,4,5,2,4,7,0] , A=[7,3,2] , C=1 , 2+0+1=3 , A->3 , C->0
[7,2,1,2,4,0] + [9,4,5,2,4,7] , A=[3,7,3,2] , C=0 , 0+7+0=7 , A->7 , C->0
[7,2,1,2,4] + [9,4,5,2,4] , A=[7,3,7,3,2] , C=0 , 4+4+0=8 , A->8 , C->0
[7,2,1,2] + [9,4,5,2] , A=[8,7,3,7,3,2] , C=0 , 2+2+0=4 , A->4 , C->0
[7,2,1] + [9,4,5] , A=[4,8,7,3,7,3,2] , C=0 , 1+5+0=6 , A->6 , C->0
[7,2] + [9,4] , A=[6,4,8,7,3,7,3,2] , C=0 , 2+4+0=6 , A->6 , C->0
[7] + [9] , A=[6,6,4,8,7,3,7,3,2] , C=0 , 7+9+0=16 , A->6 , C->1
[] + [] , A=[6,6,6,4,8,7,3,7,3,2] C=1 , END
</scratch>
16664873732
| 16664873732 | 10 |
Input:
332+5240298855
Target:
| Input:
332+5240298855
Target:
[3,3,2] + [5,2,4,0,2,9,8,8,5,5] , A=[] , C=0 , 2+5+0=7 , A->7 , C->0
[3,3] + [5,2,4,0,2,9,8,8,5] , A=[7] , C=0 , 3+5+0=8 , A->8 , C->0
[3] + [5,2,4,0,2,9,8,8] , A=[8,7] , C=0 , 3+8+0=11 , A->1 , C->1
[] + [5,2,4,0,2,9,8] , A=[1,8,7] , C=1 , 0+8+1=9 , A->9 , C->0
[] + [5,2,4,0,2,9] , A=[9,1,8,7] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [5,2,4,0,2] , A=[9,9,1,8,7] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [5,2,4,0] , A=[2,9,9,1,8,7] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [5,2,4] , A=[0,2,9,9,1,8,7] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [5,2] , A=[4,0,2,9,9,1,8,7] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [5] , A=[2,4,0,2,9,9,1,8,7] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,2,4,0,2,9,9,1,8,7] C=0 , END
</scratch>
5240299187
| 5240299187 | 3 |
Input:
6998679621+251367151
Target:
| Input:
6998679621+251367151
Target:
[6,9,9,8,6,7,9,6,2,1] + [2,5,1,3,6,7,1,5,1] , A=[] , C=0 , 1+1+0=2 , A->2 , C->0
[6,9,9,8,6,7,9,6,2] + [2,5,1,3,6,7,1,5] , A=[2] , C=0 , 2+5+0=7 , A->7 , C->0
[6,9,9,8,6,7,9,6] + [2,5,1,3,6,7,1] , A=[7,2] , C=0 , 6+1+0=7 , A->7 , C->0
[6,9,9,8,6,7,9] + [2,5,1,3,6,7] , A=[7,7,2] , C=0 , 9+7+0=16 , A->6 , C->1
[6,9,9,8,6,7] + [2,5,1,3,6] , A=[6,7,7,2] , C=1 , 7+6+1=14 , A->4 , C->1
[6,9,9,8,6] + [2,5,1,3] , A=[4,6,7,7,2] , C=1 , 6+3+1=10 , A->0 , C->1
[6,9,9,8] + [2,5,1] , A=[0,4,6,7,7,2] , C=1 , 8+1+1=10 , A->0 , C->1
[6,9,9] + [2,5] , A=[0,0,4,6,7,7,2] , C=1 , 9+5+1=15 , A->5 , C->1
[6,9] + [2] , A=[5,0,0,4,6,7,7,2] , C=1 , 9+2+1=12 , A->2 , C->1
[6] + [] , A=[2,5,0,0,4,6,7,7,2] , C=1 , 6+0+1=7 , A->7 , C->0
[] + [] , A=[7,2,5,0,0,4,6,7,7,2] C=0 , END
</scratch>
7250046772
| 7250046772 | 9 |
Input:
9510255238+166443638
Target:
| Input:
9510255238+166443638
Target:
[9,5,1,0,2,5,5,2,3,8] + [1,6,6,4,4,3,6,3,8] , A=[] , C=0 , 8+8+0=16 , A->6 , C->1
[9,5,1,0,2,5,5,2,3] + [1,6,6,4,4,3,6,3] , A=[6] , C=1 , 3+3+1=7 , A->7 , C->0
[9,5,1,0,2,5,5,2] + [1,6,6,4,4,3,6] , A=[7,6] , C=0 , 2+6+0=8 , A->8 , C->0
[9,5,1,0,2,5,5] + [1,6,6,4,4,3] , A=[8,7,6] , C=0 , 5+3+0=8 , A->8 , C->0
[9,5,1,0,2,5] + [1,6,6,4,4] , A=[8,8,7,6] , C=0 , 5+4+0=9 , A->9 , C->0
[9,5,1,0,2] + [1,6,6,4] , A=[9,8,8,7,6] , C=0 , 2+4+0=6 , A->6 , C->0
[9,5,1,0] + [1,6,6] , A=[6,9,8,8,7,6] , C=0 , 0+6+0=6 , A->6 , C->0
[9,5,1] + [1,6] , A=[6,6,9,8,8,7,6] , C=0 , 1+6+0=7 , A->7 , C->0
[9,5] + [1] , A=[7,6,6,9,8,8,7,6] , C=0 , 5+1+0=6 , A->6 , C->0
[9] + [] , A=[6,7,6,6,9,8,8,7,6] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,6,7,6,6,9,8,8,7,6] C=0 , END
</scratch>
9676698876
| 9676698876 | 9 |
Input:
76+8739082173
Target:
| Input:
76+8739082173
Target:
[7,6] + [8,7,3,9,0,8,2,1,7,3] , A=[] , C=0 , 6+3+0=9 , A->9 , C->0
[7] + [8,7,3,9,0,8,2,1,7] , A=[9] , C=0 , 7+7+0=14 , A->4 , C->1
[] + [8,7,3,9,0,8,2,1] , A=[4,9] , C=1 , 0+1+1=2 , A->2 , C->0
[] + [8,7,3,9,0,8,2] , A=[2,4,9] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [8,7,3,9,0,8] , A=[2,2,4,9] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [8,7,3,9,0] , A=[8,2,2,4,9] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [8,7,3,9] , A=[0,8,2,2,4,9] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [8,7,3] , A=[9,0,8,2,2,4,9] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [8,7] , A=[3,9,0,8,2,2,4,9] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [8] , A=[7,3,9,0,8,2,2,4,9] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [] , A=[8,7,3,9,0,8,2,2,4,9] C=0 , END
</scratch>
8739082249
| 8739082249 | 2 |
Input:
8+5469792197
Target:
| Input:
8+5469792197
Target:
[8] + [5,4,6,9,7,9,2,1,9,7] , A=[] , C=0 , 8+7+0=15 , A->5 , C->1
[] + [5,4,6,9,7,9,2,1,9] , A=[5] , C=1 , 0+9+1=10 , A->0 , C->1
[] + [5,4,6,9,7,9,2,1] , A=[0,5] , C=1 , 0+1+1=2 , A->2 , C->0
[] + [5,4,6,9,7,9,2] , A=[2,0,5] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [5,4,6,9,7,9] , A=[2,2,0,5] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [5,4,6,9,7] , A=[9,2,2,0,5] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [5,4,6,9] , A=[7,9,2,2,0,5] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [5,4,6] , A=[9,7,9,2,2,0,5] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [5,4] , A=[6,9,7,9,2,2,0,5] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [5] , A=[4,6,9,7,9,2,2,0,5] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,4,6,9,7,9,2,2,0,5] C=0 , END
</scratch>
5469792205
| 5469792205 | 1 |
Input:
3464816516+3742387627
Target:
| Input:
3464816516+3742387627
Target:
[3,4,6,4,8,1,6,5,1,6] + [3,7,4,2,3,8,7,6,2,7] , A=[] , C=0 , 6+7+0=13 , A->3 , C->1
[3,4,6,4,8,1,6,5,1] + [3,7,4,2,3,8,7,6,2] , A=[3] , C=1 , 1+2+1=4 , A->4 , C->0
[3,4,6,4,8,1,6,5] + [3,7,4,2,3,8,7,6] , A=[4,3] , C=0 , 5+6+0=11 , A->1 , C->1
[3,4,6,4,8,1,6] + [3,7,4,2,3,8,7] , A=[1,4,3] , C=1 , 6+7+1=14 , A->4 , C->1
[3,4,6,4,8,1] + [3,7,4,2,3,8] , A=[4,1,4,3] , C=1 , 1+8+1=10 , A->0 , C->1
[3,4,6,4,8] + [3,7,4,2,3] , A=[0,4,1,4,3] , C=1 , 8+3+1=12 , A->2 , C->1
[3,4,6,4] + [3,7,4,2] , A=[2,0,4,1,4,3] , C=1 , 4+2+1=7 , A->7 , C->0
[3,4,6] + [3,7,4] , A=[7,2,0,4,1,4,3] , C=0 , 6+4+0=10 , A->0 , C->1
[3,4] + [3,7] , A=[0,7,2,0,4,1,4,3] , C=1 , 4+7+1=12 , A->2 , C->1
[3] + [3] , A=[2,0,7,2,0,4,1,4,3] , C=1 , 3+3+1=7 , A->7 , C->0
[] + [] , A=[7,2,0,7,2,0,4,1,4,3] C=0 , END
</scratch>
7207204143
| 7207204143 | 10 |
Input:
9419+5090922958
Target:
| Input:
9419+5090922958
Target:
[9,4,1,9] + [5,0,9,0,9,2,2,9,5,8] , A=[] , C=0 , 9+8+0=17 , A->7 , C->1
[9,4,1] + [5,0,9,0,9,2,2,9,5] , A=[7] , C=1 , 1+5+1=7 , A->7 , C->0
[9,4] + [5,0,9,0,9,2,2,9] , A=[7,7] , C=0 , 4+9+0=13 , A->3 , C->1
[9] + [5,0,9,0,9,2,2] , A=[3,7,7] , C=1 , 9+2+1=12 , A->2 , C->1
[] + [5,0,9,0,9,2] , A=[2,3,7,7] , C=1 , 0+2+1=3 , A->3 , C->0
[] + [5,0,9,0,9] , A=[3,2,3,7,7] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [5,0,9,0] , A=[9,3,2,3,7,7] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [5,0,9] , A=[0,9,3,2,3,7,7] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [5,0] , A=[9,0,9,3,2,3,7,7] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [5] , A=[0,9,0,9,3,2,3,7,7] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,0,9,0,9,3,2,3,7,7] C=0 , END
</scratch>
5090932377
| 5090932377 | 4 |
Input:
1517068897+7613
Target:
| Input:
1517068897+7613
Target:
[1,5,1,7,0,6,8,8,9,7] + [7,6,1,3] , A=[] , C=0 , 7+3+0=10 , A->0 , C->1
[1,5,1,7,0,6,8,8,9] + [7,6,1] , A=[0] , C=1 , 9+1+1=11 , A->1 , C->1
[1,5,1,7,0,6,8,8] + [7,6] , A=[1,0] , C=1 , 8+6+1=15 , A->5 , C->1
[1,5,1,7,0,6,8] + [7] , A=[5,1,0] , C=1 , 8+7+1=16 , A->6 , C->1
[1,5,1,7,0,6] + [] , A=[6,5,1,0] , C=1 , 6+0+1=7 , A->7 , C->0
[1,5,1,7,0] + [] , A=[7,6,5,1,0] , C=0 , 0+0+0=0 , A->0 , C->0
[1,5,1,7] + [] , A=[0,7,6,5,1,0] , C=0 , 7+0+0=7 , A->7 , C->0
[1,5,1] + [] , A=[7,0,7,6,5,1,0] , C=0 , 1+0+0=1 , A->1 , C->0
[1,5] + [] , A=[1,7,0,7,6,5,1,0] , C=0 , 5+0+0=5 , A->5 , C->0
[1] + [] , A=[5,1,7,0,7,6,5,1,0] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,5,1,7,0,7,6,5,1,0] C=0 , END
</scratch>
1517076510
| 1517076510 | 4 |
Input:
9747+2345425066
Target:
| Input:
9747+2345425066
Target:
[9,7,4,7] + [2,3,4,5,4,2,5,0,6,6] , A=[] , C=0 , 7+6+0=13 , A->3 , C->1
[9,7,4] + [2,3,4,5,4,2,5,0,6] , A=[3] , C=1 , 4+6+1=11 , A->1 , C->1
[9,7] + [2,3,4,5,4,2,5,0] , A=[1,3] , C=1 , 7+0+1=8 , A->8 , C->0
[9] + [2,3,4,5,4,2,5] , A=[8,1,3] , C=0 , 9+5+0=14 , A->4 , C->1
[] + [2,3,4,5,4,2] , A=[4,8,1,3] , C=1 , 0+2+1=3 , A->3 , C->0
[] + [2,3,4,5,4] , A=[3,4,8,1,3] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [2,3,4,5] , A=[4,3,4,8,1,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [2,3,4] , A=[5,4,3,4,8,1,3] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [2,3] , A=[4,5,4,3,4,8,1,3] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [2] , A=[3,4,5,4,3,4,8,1,3] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,3,4,5,4,3,4,8,1,3] C=0 , END
</scratch>
2345434813
| 2345434813 | 4 |
Input:
5695537567+3050
Target:
| Input:
5695537567+3050
Target:
[5,6,9,5,5,3,7,5,6,7] + [3,0,5,0] , A=[] , C=0 , 7+0+0=7 , A->7 , C->0
[5,6,9,5,5,3,7,5,6] + [3,0,5] , A=[7] , C=0 , 6+5+0=11 , A->1 , C->1
[5,6,9,5,5,3,7,5] + [3,0] , A=[1,7] , C=1 , 5+0+1=6 , A->6 , C->0
[5,6,9,5,5,3,7] + [3] , A=[6,1,7] , C=0 , 7+3+0=10 , A->0 , C->1
[5,6,9,5,5,3] + [] , A=[0,6,1,7] , C=1 , 3+0+1=4 , A->4 , C->0
[5,6,9,5,5] + [] , A=[4,0,6,1,7] , C=0 , 5+0+0=5 , A->5 , C->0
[5,6,9,5] + [] , A=[5,4,0,6,1,7] , C=0 , 5+0+0=5 , A->5 , C->0
[5,6,9] + [] , A=[5,5,4,0,6,1,7] , C=0 , 9+0+0=9 , A->9 , C->0
[5,6] + [] , A=[9,5,5,4,0,6,1,7] , C=0 , 6+0+0=6 , A->6 , C->0
[5] + [] , A=[6,9,5,5,4,0,6,1,7] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,6,9,5,5,4,0,6,1,7] C=0 , END
</scratch>
5695540617
| 5695540617 | 4 |
Input:
4425+1542392359
Target:
| Input:
4425+1542392359
Target:
[4,4,2,5] + [1,5,4,2,3,9,2,3,5,9] , A=[] , C=0 , 5+9+0=14 , A->4 , C->1
[4,4,2] + [1,5,4,2,3,9,2,3,5] , A=[4] , C=1 , 2+5+1=8 , A->8 , C->0
[4,4] + [1,5,4,2,3,9,2,3] , A=[8,4] , C=0 , 4+3+0=7 , A->7 , C->0
[4] + [1,5,4,2,3,9,2] , A=[7,8,4] , C=0 , 4+2+0=6 , A->6 , C->0
[] + [1,5,4,2,3,9] , A=[6,7,8,4] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [1,5,4,2,3] , A=[9,6,7,8,4] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [1,5,4,2] , A=[3,9,6,7,8,4] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [1,5,4] , A=[2,3,9,6,7,8,4] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [1,5] , A=[4,2,3,9,6,7,8,4] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1] , A=[5,4,2,3,9,6,7,8,4] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,5,4,2,3,9,6,7,8,4] C=0 , END
</scratch>
1542396784
| 1542396784 | 4 |
Input:
37866+6582444798
Target:
| Input:
37866+6582444798
Target:
[3,7,8,6,6] + [6,5,8,2,4,4,4,7,9,8] , A=[] , C=0 , 6+8+0=14 , A->4 , C->1
[3,7,8,6] + [6,5,8,2,4,4,4,7,9] , A=[4] , C=1 , 6+9+1=16 , A->6 , C->1
[3,7,8] + [6,5,8,2,4,4,4,7] , A=[6,4] , C=1 , 8+7+1=16 , A->6 , C->1
[3,7] + [6,5,8,2,4,4,4] , A=[6,6,4] , C=1 , 7+4+1=12 , A->2 , C->1
[3] + [6,5,8,2,4,4] , A=[2,6,6,4] , C=1 , 3+4+1=8 , A->8 , C->0
[] + [6,5,8,2,4] , A=[8,2,6,6,4] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [6,5,8,2] , A=[4,8,2,6,6,4] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [6,5,8] , A=[2,4,8,2,6,6,4] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [6,5] , A=[8,2,4,8,2,6,6,4] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [6] , A=[5,8,2,4,8,2,6,6,4] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,5,8,2,4,8,2,6,6,4] C=0 , END
</scratch>
6582482664
| 6582482664 | 5 |
Input:
9674440107+9
Target:
| Input:
9674440107+9
Target:
[9,6,7,4,4,4,0,1,0,7] + [9] , A=[] , C=0 , 7+9+0=16 , A->6 , C->1
[9,6,7,4,4,4,0,1,0] + [] , A=[6] , C=1 , 0+0+1=1 , A->1 , C->0
[9,6,7,4,4,4,0,1] + [] , A=[1,6] , C=0 , 1+0+0=1 , A->1 , C->0
[9,6,7,4,4,4,0] + [] , A=[1,1,6] , C=0 , 0+0+0=0 , A->0 , C->0
[9,6,7,4,4,4] + [] , A=[0,1,1,6] , C=0 , 4+0+0=4 , A->4 , C->0
[9,6,7,4,4] + [] , A=[4,0,1,1,6] , C=0 , 4+0+0=4 , A->4 , C->0
[9,6,7,4] + [] , A=[4,4,0,1,1,6] , C=0 , 4+0+0=4 , A->4 , C->0
[9,6,7] + [] , A=[4,4,4,0,1,1,6] , C=0 , 7+0+0=7 , A->7 , C->0
[9,6] + [] , A=[7,4,4,4,0,1,1,6] , C=0 , 6+0+0=6 , A->6 , C->0
[9] + [] , A=[6,7,4,4,4,0,1,1,6] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,6,7,4,4,4,0,1,1,6] C=0 , END
</scratch>
9674440116
| 9674440116 | 1 |
Input:
6982831346+1474
Target:
| Input:
6982831346+1474
Target:
[6,9,8,2,8,3,1,3,4,6] + [1,4,7,4] , A=[] , C=0 , 6+4+0=10 , A->0 , C->1
[6,9,8,2,8,3,1,3,4] + [1,4,7] , A=[0] , C=1 , 4+7+1=12 , A->2 , C->1
[6,9,8,2,8,3,1,3] + [1,4] , A=[2,0] , C=1 , 3+4+1=8 , A->8 , C->0
[6,9,8,2,8,3,1] + [1] , A=[8,2,0] , C=0 , 1+1+0=2 , A->2 , C->0
[6,9,8,2,8,3] + [] , A=[2,8,2,0] , C=0 , 3+0+0=3 , A->3 , C->0
[6,9,8,2,8] + [] , A=[3,2,8,2,0] , C=0 , 8+0+0=8 , A->8 , C->0
[6,9,8,2] + [] , A=[8,3,2,8,2,0] , C=0 , 2+0+0=2 , A->2 , C->0
[6,9,8] + [] , A=[2,8,3,2,8,2,0] , C=0 , 8+0+0=8 , A->8 , C->0
[6,9] + [] , A=[8,2,8,3,2,8,2,0] , C=0 , 9+0+0=9 , A->9 , C->0
[6] + [] , A=[9,8,2,8,3,2,8,2,0] , C=0 , 6+0+0=6 , A->6 , C->0
[] + [] , A=[6,9,8,2,8,3,2,8,2,0] C=0 , END
</scratch>
6982832820
| 6982832820 | 4 |
Input:
9085242593+6261
Target:
| Input:
9085242593+6261
Target:
[9,0,8,5,2,4,2,5,9,3] + [6,2,6,1] , A=[] , C=0 , 3+1+0=4 , A->4 , C->0
[9,0,8,5,2,4,2,5,9] + [6,2,6] , A=[4] , C=0 , 9+6+0=15 , A->5 , C->1
[9,0,8,5,2,4,2,5] + [6,2] , A=[5,4] , C=1 , 5+2+1=8 , A->8 , C->0
[9,0,8,5,2,4,2] + [6] , A=[8,5,4] , C=0 , 2+6+0=8 , A->8 , C->0
[9,0,8,5,2,4] + [] , A=[8,8,5,4] , C=0 , 4+0+0=4 , A->4 , C->0
[9,0,8,5,2] + [] , A=[4,8,8,5,4] , C=0 , 2+0+0=2 , A->2 , C->0
[9,0,8,5] + [] , A=[2,4,8,8,5,4] , C=0 , 5+0+0=5 , A->5 , C->0
[9,0,8] + [] , A=[5,2,4,8,8,5,4] , C=0 , 8+0+0=8 , A->8 , C->0
[9,0] + [] , A=[8,5,2,4,8,8,5,4] , C=0 , 0+0+0=0 , A->0 , C->0
[9] + [] , A=[0,8,5,2,4,8,8,5,4] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,0,8,5,2,4,8,8,5,4] C=0 , END
</scratch>
9085248854
| 9085248854 | 4 |
Input:
5+7404680303
Target:
| Input:
5+7404680303
Target:
[5] + [7,4,0,4,6,8,0,3,0,3] , A=[] , C=0 , 5+3+0=8 , A->8 , C->0
[] + [7,4,0,4,6,8,0,3,0] , A=[8] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [7,4,0,4,6,8,0,3] , A=[0,8] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [7,4,0,4,6,8,0] , A=[3,0,8] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [7,4,0,4,6,8] , A=[0,3,0,8] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [7,4,0,4,6] , A=[8,0,3,0,8] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [7,4,0,4] , A=[6,8,0,3,0,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [7,4,0] , A=[4,6,8,0,3,0,8] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [7,4] , A=[0,4,6,8,0,3,0,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [7] , A=[4,0,4,6,8,0,3,0,8] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,4,0,4,6,8,0,3,0,8] C=0 , END
</scratch>
7404680308
| 7404680308 | 1 |
Input:
140+2089010473
Target:
| Input:
140+2089010473
Target:
[1,4,0] + [2,0,8,9,0,1,0,4,7,3] , A=[] , C=0 , 0+3+0=3 , A->3 , C->0
[1,4] + [2,0,8,9,0,1,0,4,7] , A=[3] , C=0 , 4+7+0=11 , A->1 , C->1
[1] + [2,0,8,9,0,1,0,4] , A=[1,3] , C=1 , 1+4+1=6 , A->6 , C->0
[] + [2,0,8,9,0,1,0] , A=[6,1,3] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [2,0,8,9,0,1] , A=[0,6,1,3] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [2,0,8,9,0] , A=[1,0,6,1,3] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [2,0,8,9] , A=[0,1,0,6,1,3] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [2,0,8] , A=[9,0,1,0,6,1,3] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [2,0] , A=[8,9,0,1,0,6,1,3] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [2] , A=[0,8,9,0,1,0,6,1,3] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,0,8,9,0,1,0,6,1,3] C=0 , END
</scratch>
2089010613
| 2089010613 | 3 |
Input:
2613856472+60
Target:
| Input:
2613856472+60
Target:
[2,6,1,3,8,5,6,4,7,2] + [6,0] , A=[] , C=0 , 2+0+0=2 , A->2 , C->0
[2,6,1,3,8,5,6,4,7] + [6] , A=[2] , C=0 , 7+6+0=13 , A->3 , C->1
[2,6,1,3,8,5,6,4] + [] , A=[3,2] , C=1 , 4+0+1=5 , A->5 , C->0
[2,6,1,3,8,5,6] + [] , A=[5,3,2] , C=0 , 6+0+0=6 , A->6 , C->0
[2,6,1,3,8,5] + [] , A=[6,5,3,2] , C=0 , 5+0+0=5 , A->5 , C->0
[2,6,1,3,8] + [] , A=[5,6,5,3,2] , C=0 , 8+0+0=8 , A->8 , C->0
[2,6,1,3] + [] , A=[8,5,6,5,3,2] , C=0 , 3+0+0=3 , A->3 , C->0
[2,6,1] + [] , A=[3,8,5,6,5,3,2] , C=0 , 1+0+0=1 , A->1 , C->0
[2,6] + [] , A=[1,3,8,5,6,5,3,2] , C=0 , 6+0+0=6 , A->6 , C->0
[2] + [] , A=[6,1,3,8,5,6,5,3,2] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [] , A=[2,6,1,3,8,5,6,5,3,2] C=0 , END
</scratch>
2613856532
| 2613856532 | 2 |
Input:
8331966326+43821946
Target:
| Input:
8331966326+43821946
Target:
[8,3,3,1,9,6,6,3,2,6] + [4,3,8,2,1,9,4,6] , A=[] , C=0 , 6+6+0=12 , A->2 , C->1
[8,3,3,1,9,6,6,3,2] + [4,3,8,2,1,9,4] , A=[2] , C=1 , 2+4+1=7 , A->7 , C->0
[8,3,3,1,9,6,6,3] + [4,3,8,2,1,9] , A=[7,2] , C=0 , 3+9+0=12 , A->2 , C->1
[8,3,3,1,9,6,6] + [4,3,8,2,1] , A=[2,7,2] , C=1 , 6+1+1=8 , A->8 , C->0
[8,3,3,1,9,6] + [4,3,8,2] , A=[8,2,7,2] , C=0 , 6+2+0=8 , A->8 , C->0
[8,3,3,1,9] + [4,3,8] , A=[8,8,2,7,2] , C=0 , 9+8+0=17 , A->7 , C->1
[8,3,3,1] + [4,3] , A=[7,8,8,2,7,2] , C=1 , 1+3+1=5 , A->5 , C->0
[8,3,3] + [4] , A=[5,7,8,8,2,7,2] , C=0 , 3+4+0=7 , A->7 , C->0
[8,3] + [] , A=[7,5,7,8,8,2,7,2] , C=0 , 3+0+0=3 , A->3 , C->0
[8] + [] , A=[3,7,5,7,8,8,2,7,2] , C=0 , 8+0+0=8 , A->8 , C->0
[] + [] , A=[8,3,7,5,7,8,8,2,7,2] C=0 , END
</scratch>
8375788272
| 8375788272 | 8 |
Input:
775+1207907224
Target:
| Input:
775+1207907224
Target:
[7,7,5] + [1,2,0,7,9,0,7,2,2,4] , A=[] , C=0 , 5+4+0=9 , A->9 , C->0
[7,7] + [1,2,0,7,9,0,7,2,2] , A=[9] , C=0 , 7+2+0=9 , A->9 , C->0
[7] + [1,2,0,7,9,0,7,2] , A=[9,9] , C=0 , 7+2+0=9 , A->9 , C->0
[] + [1,2,0,7,9,0,7] , A=[9,9,9] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [1,2,0,7,9,0] , A=[7,9,9,9] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [1,2,0,7,9] , A=[0,7,9,9,9] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [1,2,0,7] , A=[9,0,7,9,9,9] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [1,2,0] , A=[7,9,0,7,9,9,9] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [1,2] , A=[0,7,9,0,7,9,9,9] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [1] , A=[2,0,7,9,0,7,9,9,9] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,2,0,7,9,0,7,9,9,9] C=0 , END
</scratch>
1207907999
| 1207907999 | 3 |
Input:
4737+7768036689
Target:
| Input:
4737+7768036689
Target:
[4,7,3,7] + [7,7,6,8,0,3,6,6,8,9] , A=[] , C=0 , 7+9+0=16 , A->6 , C->1
[4,7,3] + [7,7,6,8,0,3,6,6,8] , A=[6] , C=1 , 3+8+1=12 , A->2 , C->1
[4,7] + [7,7,6,8,0,3,6,6] , A=[2,6] , C=1 , 7+6+1=14 , A->4 , C->1
[4] + [7,7,6,8,0,3,6] , A=[4,2,6] , C=1 , 4+6+1=11 , A->1 , C->1
[] + [7,7,6,8,0,3] , A=[1,4,2,6] , C=1 , 0+3+1=4 , A->4 , C->0
[] + [7,7,6,8,0] , A=[4,1,4,2,6] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [7,7,6,8] , A=[0,4,1,4,2,6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [7,7,6] , A=[8,0,4,1,4,2,6] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [7,7] , A=[6,8,0,4,1,4,2,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [7] , A=[7,6,8,0,4,1,4,2,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,7,6,8,0,4,1,4,2,6] C=0 , END
</scratch>
7768041426
| 7768041426 | 4 |
Input:
6549241877+79790
Target:
| Input:
6549241877+79790
Target:
[6,5,4,9,2,4,1,8,7,7] + [7,9,7,9,0] , A=[] , C=0 , 7+0+0=7 , A->7 , C->0
[6,5,4,9,2,4,1,8,7] + [7,9,7,9] , A=[7] , C=0 , 7+9+0=16 , A->6 , C->1
[6,5,4,9,2,4,1,8] + [7,9,7] , A=[6,7] , C=1 , 8+7+1=16 , A->6 , C->1
[6,5,4,9,2,4,1] + [7,9] , A=[6,6,7] , C=1 , 1+9+1=11 , A->1 , C->1
[6,5,4,9,2,4] + [7] , A=[1,6,6,7] , C=1 , 4+7+1=12 , A->2 , C->1
[6,5,4,9,2] + [] , A=[2,1,6,6,7] , C=1 , 2+0+1=3 , A->3 , C->0
[6,5,4,9] + [] , A=[3,2,1,6,6,7] , C=0 , 9+0+0=9 , A->9 , C->0
[6,5,4] + [] , A=[9,3,2,1,6,6,7] , C=0 , 4+0+0=4 , A->4 , C->0
[6,5] + [] , A=[4,9,3,2,1,6,6,7] , C=0 , 5+0+0=5 , A->5 , C->0
[6] + [] , A=[5,4,9,3,2,1,6,6,7] , C=0 , 6+0+0=6 , A->6 , C->0
[] + [] , A=[6,5,4,9,3,2,1,6,6,7] C=0 , END
</scratch>
6549321667
| 6549321667 | 5 |
Input:
5976757922+701807
Target:
| Input:
5976757922+701807
Target:
[5,9,7,6,7,5,7,9,2,2] + [7,0,1,8,0,7] , A=[] , C=0 , 2+7+0=9 , A->9 , C->0
[5,9,7,6,7,5,7,9,2] + [7,0,1,8,0] , A=[9] , C=0 , 2+0+0=2 , A->2 , C->0
[5,9,7,6,7,5,7,9] + [7,0,1,8] , A=[2,9] , C=0 , 9+8+0=17 , A->7 , C->1
[5,9,7,6,7,5,7] + [7,0,1] , A=[7,2,9] , C=1 , 7+1+1=9 , A->9 , C->0
[5,9,7,6,7,5] + [7,0] , A=[9,7,2,9] , C=0 , 5+0+0=5 , A->5 , C->0
[5,9,7,6,7] + [7] , A=[5,9,7,2,9] , C=0 , 7+7+0=14 , A->4 , C->1
[5,9,7,6] + [] , A=[4,5,9,7,2,9] , C=1 , 6+0+1=7 , A->7 , C->0
[5,9,7] + [] , A=[7,4,5,9,7,2,9] , C=0 , 7+0+0=7 , A->7 , C->0
[5,9] + [] , A=[7,7,4,5,9,7,2,9] , C=0 , 9+0+0=9 , A->9 , C->0
[5] + [] , A=[9,7,7,4,5,9,7,2,9] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,9,7,7,4,5,9,7,2,9] C=0 , END
</scratch>
5977459729
| 5977459729 | 6 |
Input:
7056280669+103374
Target:
| Input:
7056280669+103374
Target:
[7,0,5,6,2,8,0,6,6,9] + [1,0,3,3,7,4] , A=[] , C=0 , 9+4+0=13 , A->3 , C->1
[7,0,5,6,2,8,0,6,6] + [1,0,3,3,7] , A=[3] , C=1 , 6+7+1=14 , A->4 , C->1
[7,0,5,6,2,8,0,6] + [1,0,3,3] , A=[4,3] , C=1 , 6+3+1=10 , A->0 , C->1
[7,0,5,6,2,8,0] + [1,0,3] , A=[0,4,3] , C=1 , 0+3+1=4 , A->4 , C->0
[7,0,5,6,2,8] + [1,0] , A=[4,0,4,3] , C=0 , 8+0+0=8 , A->8 , C->0
[7,0,5,6,2] + [1] , A=[8,4,0,4,3] , C=0 , 2+1+0=3 , A->3 , C->0
[7,0,5,6] + [] , A=[3,8,4,0,4,3] , C=0 , 6+0+0=6 , A->6 , C->0
[7,0,5] + [] , A=[6,3,8,4,0,4,3] , C=0 , 5+0+0=5 , A->5 , C->0
[7,0] + [] , A=[5,6,3,8,4,0,4,3] , C=0 , 0+0+0=0 , A->0 , C->0
[7] + [] , A=[0,5,6,3,8,4,0,4,3] , C=0 , 7+0+0=7 , A->7 , C->0
[] + [] , A=[7,0,5,6,3,8,4,0,4,3] C=0 , END
</scratch>
7056384043
| 7056384043 | 6 |
Input:
6+1415743734
Target:
| Input:
6+1415743734
Target:
[6] + [1,4,1,5,7,4,3,7,3,4] , A=[] , C=0 , 6+4+0=10 , A->0 , C->1
[] + [1,4,1,5,7,4,3,7,3] , A=[0] , C=1 , 0+3+1=4 , A->4 , C->0
[] + [1,4,1,5,7,4,3,7] , A=[4,0] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [1,4,1,5,7,4,3] , A=[7,4,0] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [1,4,1,5,7,4] , A=[3,7,4,0] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [1,4,1,5,7] , A=[4,3,7,4,0] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [1,4,1,5] , A=[7,4,3,7,4,0] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1,4,1] , A=[5,7,4,3,7,4,0] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [1,4] , A=[1,5,7,4,3,7,4,0] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [1] , A=[4,1,5,7,4,3,7,4,0] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,4,1,5,7,4,3,7,4,0] C=0 , END
</scratch>
1415743740
| 1415743740 | 1 |
Input:
1691+4049114195
Target:
| Input:
1691+4049114195
Target:
[1,6,9,1] + [4,0,4,9,1,1,4,1,9,5] , A=[] , C=0 , 1+5+0=6 , A->6 , C->0
[1,6,9] + [4,0,4,9,1,1,4,1,9] , A=[6] , C=0 , 9+9+0=18 , A->8 , C->1
[1,6] + [4,0,4,9,1,1,4,1] , A=[8,6] , C=1 , 6+1+1=8 , A->8 , C->0
[1] + [4,0,4,9,1,1,4] , A=[8,8,6] , C=0 , 1+4+0=5 , A->5 , C->0
[] + [4,0,4,9,1,1] , A=[5,8,8,6] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [4,0,4,9,1] , A=[1,5,8,8,6] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [4,0,4,9] , A=[1,1,5,8,8,6] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [4,0,4] , A=[9,1,1,5,8,8,6] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [4,0] , A=[4,9,1,1,5,8,8,6] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [4] , A=[0,4,9,1,1,5,8,8,6] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,0,4,9,1,1,5,8,8,6] C=0 , END
</scratch>
4049115886
| 4049115886 | 4 |
Input:
4045667368+8694157081
Target:
| Input:
4045667368+8694157081
Target:
[4,0,4,5,6,6,7,3,6,8] + [8,6,9,4,1,5,7,0,8,1] , A=[] , C=0 , 8+1+0=9 , A->9 , C->0
[4,0,4,5,6,6,7,3,6] + [8,6,9,4,1,5,7,0,8] , A=[9] , C=0 , 6+8+0=14 , A->4 , C->1
[4,0,4,5,6,6,7,3] + [8,6,9,4,1,5,7,0] , A=[4,9] , C=1 , 3+0+1=4 , A->4 , C->0
[4,0,4,5,6,6,7] + [8,6,9,4,1,5,7] , A=[4,4,9] , C=0 , 7+7+0=14 , A->4 , C->1
[4,0,4,5,6,6] + [8,6,9,4,1,5] , A=[4,4,4,9] , C=1 , 6+5+1=12 , A->2 , C->1
[4,0,4,5,6] + [8,6,9,4,1] , A=[2,4,4,4,9] , C=1 , 6+1+1=8 , A->8 , C->0
[4,0,4,5] + [8,6,9,4] , A=[8,2,4,4,4,9] , C=0 , 5+4+0=9 , A->9 , C->0
[4,0,4] + [8,6,9] , A=[9,8,2,4,4,4,9] , C=0 , 4+9+0=13 , A->3 , C->1
[4,0] + [8,6] , A=[3,9,8,2,4,4,4,9] , C=1 , 0+6+1=7 , A->7 , C->0
[4] + [8] , A=[7,3,9,8,2,4,4,4,9] , C=0 , 4+8+0=12 , A->2 , C->1
[] + [] , A=[2,7,3,9,8,2,4,4,4,9] C=1 , END
</scratch>
12739824449
| 12739824449 | 10 |
Input:
79+1876509938
Target:
| Input:
79+1876509938
Target:
[7,9] + [1,8,7,6,5,0,9,9,3,8] , A=[] , C=0 , 9+8+0=17 , A->7 , C->1
[7] + [1,8,7,6,5,0,9,9,3] , A=[7] , C=1 , 7+3+1=11 , A->1 , C->1
[] + [1,8,7,6,5,0,9,9] , A=[1,7] , C=1 , 0+9+1=10 , A->0 , C->1
[] + [1,8,7,6,5,0,9] , A=[0,1,7] , C=1 , 0+9+1=10 , A->0 , C->1
[] + [1,8,7,6,5,0] , A=[0,0,1,7] , C=1 , 0+0+1=1 , A->1 , C->0
[] + [1,8,7,6,5] , A=[1,0,0,1,7] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1,8,7,6] , A=[5,1,0,0,1,7] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [1,8,7] , A=[6,5,1,0,0,1,7] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [1,8] , A=[7,6,5,1,0,0,1,7] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [1] , A=[8,7,6,5,1,0,0,1,7] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,8,7,6,5,1,0,0,1,7] C=0 , END
</scratch>
1876510017
| 1876510017 | 2 |
Input:
227617425+3751199495
Target:
| Input:
227617425+3751199495
Target:
[2,2,7,6,1,7,4,2,5] + [3,7,5,1,1,9,9,4,9,5] , A=[] , C=0 , 5+5+0=10 , A->0 , C->1
[2,2,7,6,1,7,4,2] + [3,7,5,1,1,9,9,4,9] , A=[0] , C=1 , 2+9+1=12 , A->2 , C->1
[2,2,7,6,1,7,4] + [3,7,5,1,1,9,9,4] , A=[2,0] , C=1 , 4+4+1=9 , A->9 , C->0
[2,2,7,6,1,7] + [3,7,5,1,1,9,9] , A=[9,2,0] , C=0 , 7+9+0=16 , A->6 , C->1
[2,2,7,6,1] + [3,7,5,1,1,9] , A=[6,9,2,0] , C=1 , 1+9+1=11 , A->1 , C->1
[2,2,7,6] + [3,7,5,1,1] , A=[1,6,9,2,0] , C=1 , 6+1+1=8 , A->8 , C->0
[2,2,7] + [3,7,5,1] , A=[8,1,6,9,2,0] , C=0 , 7+1+0=8 , A->8 , C->0
[2,2] + [3,7,5] , A=[8,8,1,6,9,2,0] , C=0 , 2+5+0=7 , A->7 , C->0
[2] + [3,7] , A=[7,8,8,1,6,9,2,0] , C=0 , 2+7+0=9 , A->9 , C->0
[] + [3] , A=[9,7,8,8,1,6,9,2,0] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [] , A=[3,9,7,8,8,1,6,9,2,0] C=0 , END
</scratch>
3978816920
| 3978816920 | 9 |
Input:
3002053572+47922
Target:
| Input:
3002053572+47922
Target:
[3,0,0,2,0,5,3,5,7,2] + [4,7,9,2,2] , A=[] , C=0 , 2+2+0=4 , A->4 , C->0
[3,0,0,2,0,5,3,5,7] + [4,7,9,2] , A=[4] , C=0 , 7+2+0=9 , A->9 , C->0
[3,0,0,2,0,5,3,5] + [4,7,9] , A=[9,4] , C=0 , 5+9+0=14 , A->4 , C->1
[3,0,0,2,0,5,3] + [4,7] , A=[4,9,4] , C=1 , 3+7+1=11 , A->1 , C->1
[3,0,0,2,0,5] + [4] , A=[1,4,9,4] , C=1 , 5+4+1=10 , A->0 , C->1
[3,0,0,2,0] + [] , A=[0,1,4,9,4] , C=1 , 0+0+1=1 , A->1 , C->0
[3,0,0,2] + [] , A=[1,0,1,4,9,4] , C=0 , 2+0+0=2 , A->2 , C->0
[3,0,0] + [] , A=[2,1,0,1,4,9,4] , C=0 , 0+0+0=0 , A->0 , C->0
[3,0] + [] , A=[0,2,1,0,1,4,9,4] , C=0 , 0+0+0=0 , A->0 , C->0
[3] + [] , A=[0,0,2,1,0,1,4,9,4] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,0,0,2,1,0,1,4,9,4] C=0 , END
</scratch>
3002101494
| 3002101494 | 5 |
Input:
9328189144+6
Target:
| Input:
9328189144+6
Target:
[9,3,2,8,1,8,9,1,4,4] + [6] , A=[] , C=0 , 4+6+0=10 , A->0 , C->1
[9,3,2,8,1,8,9,1,4] + [] , A=[0] , C=1 , 4+0+1=5 , A->5 , C->0
[9,3,2,8,1,8,9,1] + [] , A=[5,0] , C=0 , 1+0+0=1 , A->1 , C->0
[9,3,2,8,1,8,9] + [] , A=[1,5,0] , C=0 , 9+0+0=9 , A->9 , C->0
[9,3,2,8,1,8] + [] , A=[9,1,5,0] , C=0 , 8+0+0=8 , A->8 , C->0
[9,3,2,8,1] + [] , A=[8,9,1,5,0] , C=0 , 1+0+0=1 , A->1 , C->0
[9,3,2,8] + [] , A=[1,8,9,1,5,0] , C=0 , 8+0+0=8 , A->8 , C->0
[9,3,2] + [] , A=[8,1,8,9,1,5,0] , C=0 , 2+0+0=2 , A->2 , C->0
[9,3] + [] , A=[2,8,1,8,9,1,5,0] , C=0 , 3+0+0=3 , A->3 , C->0
[9] + [] , A=[3,2,8,1,8,9,1,5,0] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,3,2,8,1,8,9,1,5,0] C=0 , END
</scratch>
9328189150
| 9328189150 | 1 |
Input:
5551050235+430617961
Target:
| Input:
5551050235+430617961
Target:
[5,5,5,1,0,5,0,2,3,5] + [4,3,0,6,1,7,9,6,1] , A=[] , C=0 , 5+1+0=6 , A->6 , C->0
[5,5,5,1,0,5,0,2,3] + [4,3,0,6,1,7,9,6] , A=[6] , C=0 , 3+6+0=9 , A->9 , C->0
[5,5,5,1,0,5,0,2] + [4,3,0,6,1,7,9] , A=[9,6] , C=0 , 2+9+0=11 , A->1 , C->1
[5,5,5,1,0,5,0] + [4,3,0,6,1,7] , A=[1,9,6] , C=1 , 0+7+1=8 , A->8 , C->0
[5,5,5,1,0,5] + [4,3,0,6,1] , A=[8,1,9,6] , C=0 , 5+1+0=6 , A->6 , C->0
[5,5,5,1,0] + [4,3,0,6] , A=[6,8,1,9,6] , C=0 , 0+6+0=6 , A->6 , C->0
[5,5,5,1] + [4,3,0] , A=[6,6,8,1,9,6] , C=0 , 1+0+0=1 , A->1 , C->0
[5,5,5] + [4,3] , A=[1,6,6,8,1,9,6] , C=0 , 5+3+0=8 , A->8 , C->0
[5,5] + [4] , A=[8,1,6,6,8,1,9,6] , C=0 , 5+4+0=9 , A->9 , C->0
[5] + [] , A=[9,8,1,6,6,8,1,9,6] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,9,8,1,6,6,8,1,9,6] C=0 , END
</scratch>
5981668196
| 5981668196 | 9 |
Input:
24+8845030805
Target:
| Input:
24+8845030805
Target:
[2,4] + [8,8,4,5,0,3,0,8,0,5] , A=[] , C=0 , 4+5+0=9 , A->9 , C->0
[2] + [8,8,4,5,0,3,0,8,0] , A=[9] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [8,8,4,5,0,3,0,8] , A=[2,9] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [8,8,4,5,0,3,0] , A=[8,2,9] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [8,8,4,5,0,3] , A=[0,8,2,9] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [8,8,4,5,0] , A=[3,0,8,2,9] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [8,8,4,5] , A=[0,3,0,8,2,9] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [8,8,4] , A=[5,0,3,0,8,2,9] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [8,8] , A=[4,5,0,3,0,8,2,9] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [8] , A=[8,4,5,0,3,0,8,2,9] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [] , A=[8,8,4,5,0,3,0,8,2,9] C=0 , END
</scratch>
8845030829
| 8845030829 | 2 |
Input:
4171531672+126635880
Target:
| Input:
4171531672+126635880
Target:
[4,1,7,1,5,3,1,6,7,2] + [1,2,6,6,3,5,8,8,0] , A=[] , C=0 , 2+0+0=2 , A->2 , C->0
[4,1,7,1,5,3,1,6,7] + [1,2,6,6,3,5,8,8] , A=[2] , C=0 , 7+8+0=15 , A->5 , C->1
[4,1,7,1,5,3,1,6] + [1,2,6,6,3,5,8] , A=[5,2] , C=1 , 6+8+1=15 , A->5 , C->1
[4,1,7,1,5,3,1] + [1,2,6,6,3,5] , A=[5,5,2] , C=1 , 1+5+1=7 , A->7 , C->0
[4,1,7,1,5,3] + [1,2,6,6,3] , A=[7,5,5,2] , C=0 , 3+3+0=6 , A->6 , C->0
[4,1,7,1,5] + [1,2,6,6] , A=[6,7,5,5,2] , C=0 , 5+6+0=11 , A->1 , C->1
[4,1,7,1] + [1,2,6] , A=[1,6,7,5,5,2] , C=1 , 1+6+1=8 , A->8 , C->0
[4,1,7] + [1,2] , A=[8,1,6,7,5,5,2] , C=0 , 7+2+0=9 , A->9 , C->0
[4,1] + [1] , A=[9,8,1,6,7,5,5,2] , C=0 , 1+1+0=2 , A->2 , C->0
[4] + [] , A=[2,9,8,1,6,7,5,5,2] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,2,9,8,1,6,7,5,5,2] C=0 , END
</scratch>
4298167552
| 4298167552 | 9 |
Input:
9459125528+5122846080
Target:
| Input:
9459125528+5122846080
Target:
[9,4,5,9,1,2,5,5,2,8] + [5,1,2,2,8,4,6,0,8,0] , A=[] , C=0 , 8+0+0=8 , A->8 , C->0
[9,4,5,9,1,2,5,5,2] + [5,1,2,2,8,4,6,0,8] , A=[8] , C=0 , 2+8+0=10 , A->0 , C->1
[9,4,5,9,1,2,5,5] + [5,1,2,2,8,4,6,0] , A=[0,8] , C=1 , 5+0+1=6 , A->6 , C->0
[9,4,5,9,1,2,5] + [5,1,2,2,8,4,6] , A=[6,0,8] , C=0 , 5+6+0=11 , A->1 , C->1
[9,4,5,9,1,2] + [5,1,2,2,8,4] , A=[1,6,0,8] , C=1 , 2+4+1=7 , A->7 , C->0
[9,4,5,9,1] + [5,1,2,2,8] , A=[7,1,6,0,8] , C=0 , 1+8+0=9 , A->9 , C->0
[9,4,5,9] + [5,1,2,2] , A=[9,7,1,6,0,8] , C=0 , 9+2+0=11 , A->1 , C->1
[9,4,5] + [5,1,2] , A=[1,9,7,1,6,0,8] , C=1 , 5+2+1=8 , A->8 , C->0
[9,4] + [5,1] , A=[8,1,9,7,1,6,0,8] , C=0 , 4+1+0=5 , A->5 , C->0
[9] + [5] , A=[5,8,1,9,7,1,6,0,8] , C=0 , 9+5+0=14 , A->4 , C->1
[] + [] , A=[4,5,8,1,9,7,1,6,0,8] C=1 , END
</scratch>
14581971608
| 14581971608 | 10 |
Input:
9424093029+59637
Target:
| Input:
9424093029+59637
Target:
[9,4,2,4,0,9,3,0,2,9] + [5,9,6,3,7] , A=[] , C=0 , 9+7+0=16 , A->6 , C->1
[9,4,2,4,0,9,3,0,2] + [5,9,6,3] , A=[6] , C=1 , 2+3+1=6 , A->6 , C->0
[9,4,2,4,0,9,3,0] + [5,9,6] , A=[6,6] , C=0 , 0+6+0=6 , A->6 , C->0
[9,4,2,4,0,9,3] + [5,9] , A=[6,6,6] , C=0 , 3+9+0=12 , A->2 , C->1
[9,4,2,4,0,9] + [5] , A=[2,6,6,6] , C=1 , 9+5+1=15 , A->5 , C->1
[9,4,2,4,0] + [] , A=[5,2,6,6,6] , C=1 , 0+0+1=1 , A->1 , C->0
[9,4,2,4] + [] , A=[1,5,2,6,6,6] , C=0 , 4+0+0=4 , A->4 , C->0
[9,4,2] + [] , A=[4,1,5,2,6,6,6] , C=0 , 2+0+0=2 , A->2 , C->0
[9,4] + [] , A=[2,4,1,5,2,6,6,6] , C=0 , 4+0+0=4 , A->4 , C->0
[9] + [] , A=[4,2,4,1,5,2,6,6,6] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,4,2,4,1,5,2,6,6,6] C=0 , END
</scratch>
9424152666
| 9424152666 | 5 |
Input:
9312697086+8
Target:
| Input:
9312697086+8
Target:
[9,3,1,2,6,9,7,0,8,6] + [8] , A=[] , C=0 , 6+8+0=14 , A->4 , C->1
[9,3,1,2,6,9,7,0,8] + [] , A=[4] , C=1 , 8+0+1=9 , A->9 , C->0
[9,3,1,2,6,9,7,0] + [] , A=[9,4] , C=0 , 0+0+0=0 , A->0 , C->0
[9,3,1,2,6,9,7] + [] , A=[0,9,4] , C=0 , 7+0+0=7 , A->7 , C->0
[9,3,1,2,6,9] + [] , A=[7,0,9,4] , C=0 , 9+0+0=9 , A->9 , C->0
[9,3,1,2,6] + [] , A=[9,7,0,9,4] , C=0 , 6+0+0=6 , A->6 , C->0
[9,3,1,2] + [] , A=[6,9,7,0,9,4] , C=0 , 2+0+0=2 , A->2 , C->0
[9,3,1] + [] , A=[2,6,9,7,0,9,4] , C=0 , 1+0+0=1 , A->1 , C->0
[9,3] + [] , A=[1,2,6,9,7,0,9,4] , C=0 , 3+0+0=3 , A->3 , C->0
[9] + [] , A=[3,1,2,6,9,7,0,9,4] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,3,1,2,6,9,7,0,9,4] C=0 , END
</scratch>
9312697094
| 9312697094 | 1 |
Input:
1278681035+7180709
Target:
| Input:
1278681035+7180709
Target:
[1,2,7,8,6,8,1,0,3,5] + [7,1,8,0,7,0,9] , A=[] , C=0 , 5+9+0=14 , A->4 , C->1
[1,2,7,8,6,8,1,0,3] + [7,1,8,0,7,0] , A=[4] , C=1 , 3+0+1=4 , A->4 , C->0
[1,2,7,8,6,8,1,0] + [7,1,8,0,7] , A=[4,4] , C=0 , 0+7+0=7 , A->7 , C->0
[1,2,7,8,6,8,1] + [7,1,8,0] , A=[7,4,4] , C=0 , 1+0+0=1 , A->1 , C->0
[1,2,7,8,6,8] + [7,1,8] , A=[1,7,4,4] , C=0 , 8+8+0=16 , A->6 , C->1
[1,2,7,8,6] + [7,1] , A=[6,1,7,4,4] , C=1 , 6+1+1=8 , A->8 , C->0
[1,2,7,8] + [7] , A=[8,6,1,7,4,4] , C=0 , 8+7+0=15 , A->5 , C->1
[1,2,7] + [] , A=[5,8,6,1,7,4,4] , C=1 , 7+0+1=8 , A->8 , C->0
[1,2] + [] , A=[8,5,8,6,1,7,4,4] , C=0 , 2+0+0=2 , A->2 , C->0
[1] + [] , A=[2,8,5,8,6,1,7,4,4] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,2,8,5,8,6,1,7,4,4] C=0 , END
</scratch>
1285861744
| 1285861744 | 7 |
Input:
93197+1995469921
Target:
| Input:
93197+1995469921
Target:
[9,3,1,9,7] + [1,9,9,5,4,6,9,9,2,1] , A=[] , C=0 , 7+1+0=8 , A->8 , C->0
[9,3,1,9] + [1,9,9,5,4,6,9,9,2] , A=[8] , C=0 , 9+2+0=11 , A->1 , C->1
[9,3,1] + [1,9,9,5,4,6,9,9] , A=[1,8] , C=1 , 1+9+1=11 , A->1 , C->1
[9,3] + [1,9,9,5,4,6,9] , A=[1,1,8] , C=1 , 3+9+1=13 , A->3 , C->1
[9] + [1,9,9,5,4,6] , A=[3,1,1,8] , C=1 , 9+6+1=16 , A->6 , C->1
[] + [1,9,9,5,4] , A=[6,3,1,1,8] , C=1 , 0+4+1=5 , A->5 , C->0
[] + [1,9,9,5] , A=[5,6,3,1,1,8] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1,9,9] , A=[5,5,6,3,1,1,8] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [1,9] , A=[9,5,5,6,3,1,1,8] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [1] , A=[9,9,5,5,6,3,1,1,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,9,9,5,5,6,3,1,1,8] C=0 , END
</scratch>
1995563118
| 1995563118 | 5 |
Input:
1993027+6906496345
Target:
| Input:
1993027+6906496345
Target:
[1,9,9,3,0,2,7] + [6,9,0,6,4,9,6,3,4,5] , A=[] , C=0 , 7+5+0=12 , A->2 , C->1
[1,9,9,3,0,2] + [6,9,0,6,4,9,6,3,4] , A=[2] , C=1 , 2+4+1=7 , A->7 , C->0
[1,9,9,3,0] + [6,9,0,6,4,9,6,3] , A=[7,2] , C=0 , 0+3+0=3 , A->3 , C->0
[1,9,9,3] + [6,9,0,6,4,9,6] , A=[3,7,2] , C=0 , 3+6+0=9 , A->9 , C->0
[1,9,9] + [6,9,0,6,4,9] , A=[9,3,7,2] , C=0 , 9+9+0=18 , A->8 , C->1
[1,9] + [6,9,0,6,4] , A=[8,9,3,7,2] , C=1 , 9+4+1=14 , A->4 , C->1
[1] + [6,9,0,6] , A=[4,8,9,3,7,2] , C=1 , 1+6+1=8 , A->8 , C->0
[] + [6,9,0] , A=[8,4,8,9,3,7,2] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [6,9] , A=[0,8,4,8,9,3,7,2] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [6] , A=[9,0,8,4,8,9,3,7,2] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,9,0,8,4,8,9,3,7,2] C=0 , END
</scratch>
6908489372
| 6908489372 | 7 |
Input:
832529+8421118349
Target:
| Input:
832529+8421118349
Target:
[8,3,2,5,2,9] + [8,4,2,1,1,1,8,3,4,9] , A=[] , C=0 , 9+9+0=18 , A->8 , C->1
[8,3,2,5,2] + [8,4,2,1,1,1,8,3,4] , A=[8] , C=1 , 2+4+1=7 , A->7 , C->0
[8,3,2,5] + [8,4,2,1,1,1,8,3] , A=[7,8] , C=0 , 5+3+0=8 , A->8 , C->0
[8,3,2] + [8,4,2,1,1,1,8] , A=[8,7,8] , C=0 , 2+8+0=10 , A->0 , C->1
[8,3] + [8,4,2,1,1,1] , A=[0,8,7,8] , C=1 , 3+1+1=5 , A->5 , C->0
[8] + [8,4,2,1,1] , A=[5,0,8,7,8] , C=0 , 8+1+0=9 , A->9 , C->0
[] + [8,4,2,1] , A=[9,5,0,8,7,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [8,4,2] , A=[1,9,5,0,8,7,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [8,4] , A=[2,1,9,5,0,8,7,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [8] , A=[4,2,1,9,5,0,8,7,8] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [] , A=[8,4,2,1,9,5,0,8,7,8] C=0 , END
</scratch>
8421950878
| 8421950878 | 6 |
Input:
4431363+4636420719
Target:
| Input:
4431363+4636420719
Target:
[4,4,3,1,3,6,3] + [4,6,3,6,4,2,0,7,1,9] , A=[] , C=0 , 3+9+0=12 , A->2 , C->1
[4,4,3,1,3,6] + [4,6,3,6,4,2,0,7,1] , A=[2] , C=1 , 6+1+1=8 , A->8 , C->0
[4,4,3,1,3] + [4,6,3,6,4,2,0,7] , A=[8,2] , C=0 , 3+7+0=10 , A->0 , C->1
[4,4,3,1] + [4,6,3,6,4,2,0] , A=[0,8,2] , C=1 , 1+0+1=2 , A->2 , C->0
[4,4,3] + [4,6,3,6,4,2] , A=[2,0,8,2] , C=0 , 3+2+0=5 , A->5 , C->0
[4,4] + [4,6,3,6,4] , A=[5,2,0,8,2] , C=0 , 4+4+0=8 , A->8 , C->0
[4] + [4,6,3,6] , A=[8,5,2,0,8,2] , C=0 , 4+6+0=10 , A->0 , C->1
[] + [4,6,3] , A=[0,8,5,2,0,8,2] , C=1 , 0+3+1=4 , A->4 , C->0
[] + [4,6] , A=[4,0,8,5,2,0,8,2] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [4] , A=[6,4,0,8,5,2,0,8,2] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,6,4,0,8,5,2,0,8,2] C=0 , END
</scratch>
4640852082
| 4640852082 | 7 |
Input:
7370544296+5650
Target:
| Input:
7370544296+5650
Target:
[7,3,7,0,5,4,4,2,9,6] + [5,6,5,0] , A=[] , C=0 , 6+0+0=6 , A->6 , C->0
[7,3,7,0,5,4,4,2,9] + [5,6,5] , A=[6] , C=0 , 9+5+0=14 , A->4 , C->1
[7,3,7,0,5,4,4,2] + [5,6] , A=[4,6] , C=1 , 2+6+1=9 , A->9 , C->0
[7,3,7,0,5,4,4] + [5] , A=[9,4,6] , C=0 , 4+5+0=9 , A->9 , C->0
[7,3,7,0,5,4] + [] , A=[9,9,4,6] , C=0 , 4+0+0=4 , A->4 , C->0
[7,3,7,0,5] + [] , A=[4,9,9,4,6] , C=0 , 5+0+0=5 , A->5 , C->0
[7,3,7,0] + [] , A=[5,4,9,9,4,6] , C=0 , 0+0+0=0 , A->0 , C->0
[7,3,7] + [] , A=[0,5,4,9,9,4,6] , C=0 , 7+0+0=7 , A->7 , C->0
[7,3] + [] , A=[7,0,5,4,9,9,4,6] , C=0 , 3+0+0=3 , A->3 , C->0
[7] + [] , A=[3,7,0,5,4,9,9,4,6] , C=0 , 7+0+0=7 , A->7 , C->0
[] + [] , A=[7,3,7,0,5,4,9,9,4,6] C=0 , END
</scratch>
7370549946
| 7370549946 | 4 |
Input:
20758189+1617826636
Target:
| Input:
20758189+1617826636
Target:
[2,0,7,5,8,1,8,9] + [1,6,1,7,8,2,6,6,3,6] , A=[] , C=0 , 9+6+0=15 , A->5 , C->1
[2,0,7,5,8,1,8] + [1,6,1,7,8,2,6,6,3] , A=[5] , C=1 , 8+3+1=12 , A->2 , C->1
[2,0,7,5,8,1] + [1,6,1,7,8,2,6,6] , A=[2,5] , C=1 , 1+6+1=8 , A->8 , C->0
[2,0,7,5,8] + [1,6,1,7,8,2,6] , A=[8,2,5] , C=0 , 8+6+0=14 , A->4 , C->1
[2,0,7,5] + [1,6,1,7,8,2] , A=[4,8,2,5] , C=1 , 5+2+1=8 , A->8 , C->0
[2,0,7] + [1,6,1,7,8] , A=[8,4,8,2,5] , C=0 , 7+8+0=15 , A->5 , C->1
[2,0] + [1,6,1,7] , A=[5,8,4,8,2,5] , C=1 , 0+7+1=8 , A->8 , C->0
[2] + [1,6,1] , A=[8,5,8,4,8,2,5] , C=0 , 2+1+0=3 , A->3 , C->0
[] + [1,6] , A=[3,8,5,8,4,8,2,5] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [1] , A=[6,3,8,5,8,4,8,2,5] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,6,3,8,5,8,4,8,2,5] C=0 , END
</scratch>
1638584825
| 1638584825 | 8 |
Input:
6389845191+8465052888
Target:
| Input:
6389845191+8465052888
Target:
[6,3,8,9,8,4,5,1,9,1] + [8,4,6,5,0,5,2,8,8,8] , A=[] , C=0 , 1+8+0=9 , A->9 , C->0
[6,3,8,9,8,4,5,1,9] + [8,4,6,5,0,5,2,8,8] , A=[9] , C=0 , 9+8+0=17 , A->7 , C->1
[6,3,8,9,8,4,5,1] + [8,4,6,5,0,5,2,8] , A=[7,9] , C=1 , 1+8+1=10 , A->0 , C->1
[6,3,8,9,8,4,5] + [8,4,6,5,0,5,2] , A=[0,7,9] , C=1 , 5+2+1=8 , A->8 , C->0
[6,3,8,9,8,4] + [8,4,6,5,0,5] , A=[8,0,7,9] , C=0 , 4+5+0=9 , A->9 , C->0
[6,3,8,9,8] + [8,4,6,5,0] , A=[9,8,0,7,9] , C=0 , 8+0+0=8 , A->8 , C->0
[6,3,8,9] + [8,4,6,5] , A=[8,9,8,0,7,9] , C=0 , 9+5+0=14 , A->4 , C->1
[6,3,8] + [8,4,6] , A=[4,8,9,8,0,7,9] , C=1 , 8+6+1=15 , A->5 , C->1
[6,3] + [8,4] , A=[5,4,8,9,8,0,7,9] , C=1 , 3+4+1=8 , A->8 , C->0
[6] + [8] , A=[8,5,4,8,9,8,0,7,9] , C=0 , 6+8+0=14 , A->4 , C->1
[] + [] , A=[4,8,5,4,8,9,8,0,7,9] C=1 , END
</scratch>
14854898079
| 14854898079 | 10 |
Input:
9167960608+563362370
Target:
| Input:
9167960608+563362370
Target:
[9,1,6,7,9,6,0,6,0,8] + [5,6,3,3,6,2,3,7,0] , A=[] , C=0 , 8+0+0=8 , A->8 , C->0
[9,1,6,7,9,6,0,6,0] + [5,6,3,3,6,2,3,7] , A=[8] , C=0 , 0+7+0=7 , A->7 , C->0
[9,1,6,7,9,6,0,6] + [5,6,3,3,6,2,3] , A=[7,8] , C=0 , 6+3+0=9 , A->9 , C->0
[9,1,6,7,9,6,0] + [5,6,3,3,6,2] , A=[9,7,8] , C=0 , 0+2+0=2 , A->2 , C->0
[9,1,6,7,9,6] + [5,6,3,3,6] , A=[2,9,7,8] , C=0 , 6+6+0=12 , A->2 , C->1
[9,1,6,7,9] + [5,6,3,3] , A=[2,2,9,7,8] , C=1 , 9+3+1=13 , A->3 , C->1
[9,1,6,7] + [5,6,3] , A=[3,2,2,9,7,8] , C=1 , 7+3+1=11 , A->1 , C->1
[9,1,6] + [5,6] , A=[1,3,2,2,9,7,8] , C=1 , 6+6+1=13 , A->3 , C->1
[9,1] + [5] , A=[3,1,3,2,2,9,7,8] , C=1 , 1+5+1=7 , A->7 , C->0
[9] + [] , A=[7,3,1,3,2,2,9,7,8] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,7,3,1,3,2,2,9,7,8] C=0 , END
</scratch>
9731322978
| 9731322978 | 9 |
Input:
771559318+4024349107
Target:
| Input:
771559318+4024349107
Target:
[7,7,1,5,5,9,3,1,8] + [4,0,2,4,3,4,9,1,0,7] , A=[] , C=0 , 8+7+0=15 , A->5 , C->1
[7,7,1,5,5,9,3,1] + [4,0,2,4,3,4,9,1,0] , A=[5] , C=1 , 1+0+1=2 , A->2 , C->0
[7,7,1,5,5,9,3] + [4,0,2,4,3,4,9,1] , A=[2,5] , C=0 , 3+1+0=4 , A->4 , C->0
[7,7,1,5,5,9] + [4,0,2,4,3,4,9] , A=[4,2,5] , C=0 , 9+9+0=18 , A->8 , C->1
[7,7,1,5,5] + [4,0,2,4,3,4] , A=[8,4,2,5] , C=1 , 5+4+1=10 , A->0 , C->1
[7,7,1,5] + [4,0,2,4,3] , A=[0,8,4,2,5] , C=1 , 5+3+1=9 , A->9 , C->0
[7,7,1] + [4,0,2,4] , A=[9,0,8,4,2,5] , C=0 , 1+4+0=5 , A->5 , C->0
[7,7] + [4,0,2] , A=[5,9,0,8,4,2,5] , C=0 , 7+2+0=9 , A->9 , C->0
[7] + [4,0] , A=[9,5,9,0,8,4,2,5] , C=0 , 7+0+0=7 , A->7 , C->0
[] + [4] , A=[7,9,5,9,0,8,4,2,5] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,7,9,5,9,0,8,4,2,5] C=0 , END
</scratch>
4795908425
| 4795908425 | 9 |
Input:
9201253089+74
Target:
| Input:
9201253089+74
Target:
[9,2,0,1,2,5,3,0,8,9] + [7,4] , A=[] , C=0 , 9+4+0=13 , A->3 , C->1
[9,2,0,1,2,5,3,0,8] + [7] , A=[3] , C=1 , 8+7+1=16 , A->6 , C->1
[9,2,0,1,2,5,3,0] + [] , A=[6,3] , C=1 , 0+0+1=1 , A->1 , C->0
[9,2,0,1,2,5,3] + [] , A=[1,6,3] , C=0 , 3+0+0=3 , A->3 , C->0
[9,2,0,1,2,5] + [] , A=[3,1,6,3] , C=0 , 5+0+0=5 , A->5 , C->0
[9,2,0,1,2] + [] , A=[5,3,1,6,3] , C=0 , 2+0+0=2 , A->2 , C->0
[9,2,0,1] + [] , A=[2,5,3,1,6,3] , C=0 , 1+0+0=1 , A->1 , C->0
[9,2,0] + [] , A=[1,2,5,3,1,6,3] , C=0 , 0+0+0=0 , A->0 , C->0
[9,2] + [] , A=[0,1,2,5,3,1,6,3] , C=0 , 2+0+0=2 , A->2 , C->0
[9] + [] , A=[2,0,1,2,5,3,1,6,3] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,2,0,1,2,5,3,1,6,3] C=0 , END
</scratch>
9201253163
| 9201253163 | 2 |
Input:
3+4959443608
Target:
| Input:
3+4959443608
Target:
[3] + [4,9,5,9,4,4,3,6,0,8] , A=[] , C=0 , 3+8+0=11 , A->1 , C->1
[] + [4,9,5,9,4,4,3,6,0] , A=[1] , C=1 , 0+0+1=1 , A->1 , C->0
[] + [4,9,5,9,4,4,3,6] , A=[1,1] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [4,9,5,9,4,4,3] , A=[6,1,1] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [4,9,5,9,4,4] , A=[3,6,1,1] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [4,9,5,9,4] , A=[4,3,6,1,1] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [4,9,5,9] , A=[4,4,3,6,1,1] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [4,9,5] , A=[9,4,4,3,6,1,1] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [4,9] , A=[5,9,4,4,3,6,1,1] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [4] , A=[9,5,9,4,4,3,6,1,1] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,9,5,9,4,4,3,6,1,1] C=0 , END
</scratch>
4959443611
| 4959443611 | 1 |
Input:
9897262809+13702323
Target:
| Input:
9897262809+13702323
Target:
[9,8,9,7,2,6,2,8,0,9] + [1,3,7,0,2,3,2,3] , A=[] , C=0 , 9+3+0=12 , A->2 , C->1
[9,8,9,7,2,6,2,8,0] + [1,3,7,0,2,3,2] , A=[2] , C=1 , 0+2+1=3 , A->3 , C->0
[9,8,9,7,2,6,2,8] + [1,3,7,0,2,3] , A=[3,2] , C=0 , 8+3+0=11 , A->1 , C->1
[9,8,9,7,2,6,2] + [1,3,7,0,2] , A=[1,3,2] , C=1 , 2+2+1=5 , A->5 , C->0
[9,8,9,7,2,6] + [1,3,7,0] , A=[5,1,3,2] , C=0 , 6+0+0=6 , A->6 , C->0
[9,8,9,7,2] + [1,3,7] , A=[6,5,1,3,2] , C=0 , 2+7+0=9 , A->9 , C->0
[9,8,9,7] + [1,3] , A=[9,6,5,1,3,2] , C=0 , 7+3+0=10 , A->0 , C->1
[9,8,9] + [1] , A=[0,9,6,5,1,3,2] , C=1 , 9+1+1=11 , A->1 , C->1
[9,8] + [] , A=[1,0,9,6,5,1,3,2] , C=1 , 8+0+1=9 , A->9 , C->0
[9] + [] , A=[9,1,0,9,6,5,1,3,2] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,9,1,0,9,6,5,1,3,2] C=0 , END
</scratch>
9910965132
| 9910965132 | 8 |
Input:
1347433308+46791
Target:
| Input:
1347433308+46791
Target:
[1,3,4,7,4,3,3,3,0,8] + [4,6,7,9,1] , A=[] , C=0 , 8+1+0=9 , A->9 , C->0
[1,3,4,7,4,3,3,3,0] + [4,6,7,9] , A=[9] , C=0 , 0+9+0=9 , A->9 , C->0
[1,3,4,7,4,3,3,3] + [4,6,7] , A=[9,9] , C=0 , 3+7+0=10 , A->0 , C->1
[1,3,4,7,4,3,3] + [4,6] , A=[0,9,9] , C=1 , 3+6+1=10 , A->0 , C->1
[1,3,4,7,4,3] + [4] , A=[0,0,9,9] , C=1 , 3+4+1=8 , A->8 , C->0
[1,3,4,7,4] + [] , A=[8,0,0,9,9] , C=0 , 4+0+0=4 , A->4 , C->0
[1,3,4,7] + [] , A=[4,8,0,0,9,9] , C=0 , 7+0+0=7 , A->7 , C->0
[1,3,4] + [] , A=[7,4,8,0,0,9,9] , C=0 , 4+0+0=4 , A->4 , C->0
[1,3] + [] , A=[4,7,4,8,0,0,9,9] , C=0 , 3+0+0=3 , A->3 , C->0
[1] + [] , A=[3,4,7,4,8,0,0,9,9] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,3,4,7,4,8,0,0,9,9] C=0 , END
</scratch>
1347480099
| 1347480099 | 5 |
Input:
1245+3546215033
Target:
| Input:
1245+3546215033
Target:
[1,2,4,5] + [3,5,4,6,2,1,5,0,3,3] , A=[] , C=0 , 5+3+0=8 , A->8 , C->0
[1,2,4] + [3,5,4,6,2,1,5,0,3] , A=[8] , C=0 , 4+3+0=7 , A->7 , C->0
[1,2] + [3,5,4,6,2,1,5,0] , A=[7,8] , C=0 , 2+0+0=2 , A->2 , C->0
[1] + [3,5,4,6,2,1,5] , A=[2,7,8] , C=0 , 1+5+0=6 , A->6 , C->0
[] + [3,5,4,6,2,1] , A=[6,2,7,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [3,5,4,6,2] , A=[1,6,2,7,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [3,5,4,6] , A=[2,1,6,2,7,8] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [3,5,4] , A=[6,2,1,6,2,7,8] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [3,5] , A=[4,6,2,1,6,2,7,8] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [3] , A=[5,4,6,2,1,6,2,7,8] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [] , A=[3,5,4,6,2,1,6,2,7,8] C=0 , END
</scratch>
3546216278
| 3546216278 | 4 |
Input:
4735+8735460037
Target:
| Input:
4735+8735460037
Target:
[4,7,3,5] + [8,7,3,5,4,6,0,0,3,7] , A=[] , C=0 , 5+7+0=12 , A->2 , C->1
[4,7,3] + [8,7,3,5,4,6,0,0,3] , A=[2] , C=1 , 3+3+1=7 , A->7 , C->0
[4,7] + [8,7,3,5,4,6,0,0] , A=[7,2] , C=0 , 7+0+0=7 , A->7 , C->0
[4] + [8,7,3,5,4,6,0] , A=[7,7,2] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [8,7,3,5,4,6] , A=[4,7,7,2] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [8,7,3,5,4] , A=[6,4,7,7,2] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [8,7,3,5] , A=[4,6,4,7,7,2] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [8,7,3] , A=[5,4,6,4,7,7,2] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [8,7] , A=[3,5,4,6,4,7,7,2] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [8] , A=[7,3,5,4,6,4,7,7,2] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [] , A=[8,7,3,5,4,6,4,7,7,2] C=0 , END
</scratch>
8735464772
| 8735464772 | 4 |
Input:
4044491785+33786660
Target:
| Input:
4044491785+33786660
Target:
[4,0,4,4,4,9,1,7,8,5] + [3,3,7,8,6,6,6,0] , A=[] , C=0 , 5+0+0=5 , A->5 , C->0
[4,0,4,4,4,9,1,7,8] + [3,3,7,8,6,6,6] , A=[5] , C=0 , 8+6+0=14 , A->4 , C->1
[4,0,4,4,4,9,1,7] + [3,3,7,8,6,6] , A=[4,5] , C=1 , 7+6+1=14 , A->4 , C->1
[4,0,4,4,4,9,1] + [3,3,7,8,6] , A=[4,4,5] , C=1 , 1+6+1=8 , A->8 , C->0
[4,0,4,4,4,9] + [3,3,7,8] , A=[8,4,4,5] , C=0 , 9+8+0=17 , A->7 , C->1
[4,0,4,4,4] + [3,3,7] , A=[7,8,4,4,5] , C=1 , 4+7+1=12 , A->2 , C->1
[4,0,4,4] + [3,3] , A=[2,7,8,4,4,5] , C=1 , 4+3+1=8 , A->8 , C->0
[4,0,4] + [3] , A=[8,2,7,8,4,4,5] , C=0 , 4+3+0=7 , A->7 , C->0
[4,0] + [] , A=[7,8,2,7,8,4,4,5] , C=0 , 0+0+0=0 , A->0 , C->0
[4] + [] , A=[0,7,8,2,7,8,4,4,5] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,0,7,8,2,7,8,4,4,5] C=0 , END
</scratch>
4078278445
| 4078278445 | 8 |
Input:
2144+2011222844
Target:
| Input:
2144+2011222844
Target:
[2,1,4,4] + [2,0,1,1,2,2,2,8,4,4] , A=[] , C=0 , 4+4+0=8 , A->8 , C->0
[2,1,4] + [2,0,1,1,2,2,2,8,4] , A=[8] , C=0 , 4+4+0=8 , A->8 , C->0
[2,1] + [2,0,1,1,2,2,2,8] , A=[8,8] , C=0 , 1+8+0=9 , A->9 , C->0
[2] + [2,0,1,1,2,2,2] , A=[9,8,8] , C=0 , 2+2+0=4 , A->4 , C->0
[] + [2,0,1,1,2,2] , A=[4,9,8,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [2,0,1,1,2] , A=[2,4,9,8,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [2,0,1,1] , A=[2,2,4,9,8,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [2,0,1] , A=[1,2,2,4,9,8,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [2,0] , A=[1,1,2,2,4,9,8,8] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [2] , A=[0,1,1,2,2,4,9,8,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,0,1,1,2,2,4,9,8,8] C=0 , END
</scratch>
2011224988
| 2011224988 | 4 |
Input:
66193217+9661717741
Target:
| Input:
66193217+9661717741
Target:
[6,6,1,9,3,2,1,7] + [9,6,6,1,7,1,7,7,4,1] , A=[] , C=0 , 7+1+0=8 , A->8 , C->0
[6,6,1,9,3,2,1] + [9,6,6,1,7,1,7,7,4] , A=[8] , C=0 , 1+4+0=5 , A->5 , C->0
[6,6,1,9,3,2] + [9,6,6,1,7,1,7,7] , A=[5,8] , C=0 , 2+7+0=9 , A->9 , C->0
[6,6,1,9,3] + [9,6,6,1,7,1,7] , A=[9,5,8] , C=0 , 3+7+0=10 , A->0 , C->1
[6,6,1,9] + [9,6,6,1,7,1] , A=[0,9,5,8] , C=1 , 9+1+1=11 , A->1 , C->1
[6,6,1] + [9,6,6,1,7] , A=[1,0,9,5,8] , C=1 , 1+7+1=9 , A->9 , C->0
[6,6] + [9,6,6,1] , A=[9,1,0,9,5,8] , C=0 , 6+1+0=7 , A->7 , C->0
[6] + [9,6,6] , A=[7,9,1,0,9,5,8] , C=0 , 6+6+0=12 , A->2 , C->1
[] + [9,6] , A=[2,7,9,1,0,9,5,8] , C=1 , 0+6+1=7 , A->7 , C->0
[] + [9] , A=[7,2,7,9,1,0,9,5,8] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,7,2,7,9,1,0,9,5,8] C=0 , END
</scratch>
9727910958
| 9727910958 | 8 |
Input:
2050214219+5311362360
Target:
| Input:
2050214219+5311362360
Target:
[2,0,5,0,2,1,4,2,1,9] + [5,3,1,1,3,6,2,3,6,0] , A=[] , C=0 , 9+0+0=9 , A->9 , C->0
[2,0,5,0,2,1,4,2,1] + [5,3,1,1,3,6,2,3,6] , A=[9] , C=0 , 1+6+0=7 , A->7 , C->0
[2,0,5,0,2,1,4,2] + [5,3,1,1,3,6,2,3] , A=[7,9] , C=0 , 2+3+0=5 , A->5 , C->0
[2,0,5,0,2,1,4] + [5,3,1,1,3,6,2] , A=[5,7,9] , C=0 , 4+2+0=6 , A->6 , C->0
[2,0,5,0,2,1] + [5,3,1,1,3,6] , A=[6,5,7,9] , C=0 , 1+6+0=7 , A->7 , C->0
[2,0,5,0,2] + [5,3,1,1,3] , A=[7,6,5,7,9] , C=0 , 2+3+0=5 , A->5 , C->0
[2,0,5,0] + [5,3,1,1] , A=[5,7,6,5,7,9] , C=0 , 0+1+0=1 , A->1 , C->0
[2,0,5] + [5,3,1] , A=[1,5,7,6,5,7,9] , C=0 , 5+1+0=6 , A->6 , C->0
[2,0] + [5,3] , A=[6,1,5,7,6,5,7,9] , C=0 , 0+3+0=3 , A->3 , C->0
[2] + [5] , A=[3,6,1,5,7,6,5,7,9] , C=0 , 2+5+0=7 , A->7 , C->0
[] + [] , A=[7,3,6,1,5,7,6,5,7,9] C=0 , END
</scratch>
7361576579
| 7361576579 | 10 |
Input:
36+2440891339
Target:
| Input:
36+2440891339
Target:
[3,6] + [2,4,4,0,8,9,1,3,3,9] , A=[] , C=0 , 6+9+0=15 , A->5 , C->1
[3] + [2,4,4,0,8,9,1,3,3] , A=[5] , C=1 , 3+3+1=7 , A->7 , C->0
[] + [2,4,4,0,8,9,1,3] , A=[7,5] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [2,4,4,0,8,9,1] , A=[3,7,5] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [2,4,4,0,8,9] , A=[1,3,7,5] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [2,4,4,0,8] , A=[9,1,3,7,5] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [2,4,4,0] , A=[8,9,1,3,7,5] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [2,4,4] , A=[0,8,9,1,3,7,5] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [2,4] , A=[4,0,8,9,1,3,7,5] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [2] , A=[4,4,0,8,9,1,3,7,5] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,4,4,0,8,9,1,3,7,5] C=0 , END
</scratch>
2440891375
| 2440891375 | 2 |
Input:
1024943726+8425888922
Target:
| Input:
1024943726+8425888922
Target:
[1,0,2,4,9,4,3,7,2,6] + [8,4,2,5,8,8,8,9,2,2] , A=[] , C=0 , 6+2+0=8 , A->8 , C->0
[1,0,2,4,9,4,3,7,2] + [8,4,2,5,8,8,8,9,2] , A=[8] , C=0 , 2+2+0=4 , A->4 , C->0
[1,0,2,4,9,4,3,7] + [8,4,2,5,8,8,8,9] , A=[4,8] , C=0 , 7+9+0=16 , A->6 , C->1
[1,0,2,4,9,4,3] + [8,4,2,5,8,8,8] , A=[6,4,8] , C=1 , 3+8+1=12 , A->2 , C->1
[1,0,2,4,9,4] + [8,4,2,5,8,8] , A=[2,6,4,8] , C=1 , 4+8+1=13 , A->3 , C->1
[1,0,2,4,9] + [8,4,2,5,8] , A=[3,2,6,4,8] , C=1 , 9+8+1=18 , A->8 , C->1
[1,0,2,4] + [8,4,2,5] , A=[8,3,2,6,4,8] , C=1 , 4+5+1=10 , A->0 , C->1
[1,0,2] + [8,4,2] , A=[0,8,3,2,6,4,8] , C=1 , 2+2+1=5 , A->5 , C->0
[1,0] + [8,4] , A=[5,0,8,3,2,6,4,8] , C=0 , 0+4+0=4 , A->4 , C->0
[1] + [8] , A=[4,5,0,8,3,2,6,4,8] , C=0 , 1+8+0=9 , A->9 , C->0
[] + [] , A=[9,4,5,0,8,3,2,6,4,8] C=0 , END
</scratch>
9450832648
| 9450832648 | 10 |
Input:
68+9227398538
Target:
| Input:
68+9227398538
Target:
[6,8] + [9,2,2,7,3,9,8,5,3,8] , A=[] , C=0 , 8+8+0=16 , A->6 , C->1
[6] + [9,2,2,7,3,9,8,5,3] , A=[6] , C=1 , 6+3+1=10 , A->0 , C->1
[] + [9,2,2,7,3,9,8,5] , A=[0,6] , C=1 , 0+5+1=6 , A->6 , C->0
[] + [9,2,2,7,3,9,8] , A=[6,0,6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [9,2,2,7,3,9] , A=[8,6,0,6] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [9,2,2,7,3] , A=[9,8,6,0,6] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [9,2,2,7] , A=[3,9,8,6,0,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [9,2,2] , A=[7,3,9,8,6,0,6] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9,2] , A=[2,7,3,9,8,6,0,6] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [9] , A=[2,2,7,3,9,8,6,0,6] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,2,2,7,3,9,8,6,0,6] C=0 , END
</scratch>
9227398606
| 9227398606 | 2 |
Input:
1114596979+4208
Target:
| Input:
1114596979+4208
Target:
[1,1,1,4,5,9,6,9,7,9] + [4,2,0,8] , A=[] , C=0 , 9+8+0=17 , A->7 , C->1
[1,1,1,4,5,9,6,9,7] + [4,2,0] , A=[7] , C=1 , 7+0+1=8 , A->8 , C->0
[1,1,1,4,5,9,6,9] + [4,2] , A=[8,7] , C=0 , 9+2+0=11 , A->1 , C->1
[1,1,1,4,5,9,6] + [4] , A=[1,8,7] , C=1 , 6+4+1=11 , A->1 , C->1
[1,1,1,4,5,9] + [] , A=[1,1,8,7] , C=1 , 9+0+1=10 , A->0 , C->1
[1,1,1,4,5] + [] , A=[0,1,1,8,7] , C=1 , 5+0+1=6 , A->6 , C->0
[1,1,1,4] + [] , A=[6,0,1,1,8,7] , C=0 , 4+0+0=4 , A->4 , C->0
[1,1,1] + [] , A=[4,6,0,1,1,8,7] , C=0 , 1+0+0=1 , A->1 , C->0
[1,1] + [] , A=[1,4,6,0,1,1,8,7] , C=0 , 1+0+0=1 , A->1 , C->0
[1] + [] , A=[1,1,4,6,0,1,1,8,7] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,1,1,4,6,0,1,1,8,7] C=0 , END
</scratch>
1114601187
| 1114601187 | 4 |
Input:
6466+3295138154
Target:
| Input:
6466+3295138154
Target:
[6,4,6,6] + [3,2,9,5,1,3,8,1,5,4] , A=[] , C=0 , 6+4+0=10 , A->0 , C->1
[6,4,6] + [3,2,9,5,1,3,8,1,5] , A=[0] , C=1 , 6+5+1=12 , A->2 , C->1
[6,4] + [3,2,9,5,1,3,8,1] , A=[2,0] , C=1 , 4+1+1=6 , A->6 , C->0
[6] + [3,2,9,5,1,3,8] , A=[6,2,0] , C=0 , 6+8+0=14 , A->4 , C->1
[] + [3,2,9,5,1,3] , A=[4,6,2,0] , C=1 , 0+3+1=4 , A->4 , C->0
[] + [3,2,9,5,1] , A=[4,4,6,2,0] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [3,2,9,5] , A=[1,4,4,6,2,0] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [3,2,9] , A=[5,1,4,4,6,2,0] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [3,2] , A=[9,5,1,4,4,6,2,0] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [3] , A=[2,9,5,1,4,4,6,2,0] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [] , A=[3,2,9,5,1,4,4,6,2,0] C=0 , END
</scratch>
3295144620
| 3295144620 | 4 |
Input:
3+4043221783
Target:
| Input:
3+4043221783
Target:
[3] + [4,0,4,3,2,2,1,7,8,3] , A=[] , C=0 , 3+3+0=6 , A->6 , C->0
[] + [4,0,4,3,2,2,1,7,8] , A=[6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [4,0,4,3,2,2,1,7] , A=[8,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [4,0,4,3,2,2,1] , A=[7,8,6] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [4,0,4,3,2,2] , A=[1,7,8,6] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [4,0,4,3,2] , A=[2,1,7,8,6] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [4,0,4,3] , A=[2,2,1,7,8,6] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [4,0,4] , A=[3,2,2,1,7,8,6] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [4,0] , A=[4,3,2,2,1,7,8,6] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [4] , A=[0,4,3,2,2,1,7,8,6] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [] , A=[4,0,4,3,2,2,1,7,8,6] C=0 , END
</scratch>
4043221786
| 4043221786 | 1 |
Input:
3032756353+79
Target:
| Input:
3032756353+79
Target:
[3,0,3,2,7,5,6,3,5,3] + [7,9] , A=[] , C=0 , 3+9+0=12 , A->2 , C->1
[3,0,3,2,7,5,6,3,5] + [7] , A=[2] , C=1 , 5+7+1=13 , A->3 , C->1
[3,0,3,2,7,5,6,3] + [] , A=[3,2] , C=1 , 3+0+1=4 , A->4 , C->0
[3,0,3,2,7,5,6] + [] , A=[4,3,2] , C=0 , 6+0+0=6 , A->6 , C->0
[3,0,3,2,7,5] + [] , A=[6,4,3,2] , C=0 , 5+0+0=5 , A->5 , C->0
[3,0,3,2,7] + [] , A=[5,6,4,3,2] , C=0 , 7+0+0=7 , A->7 , C->0
[3,0,3,2] + [] , A=[7,5,6,4,3,2] , C=0 , 2+0+0=2 , A->2 , C->0
[3,0,3] + [] , A=[2,7,5,6,4,3,2] , C=0 , 3+0+0=3 , A->3 , C->0
[3,0] + [] , A=[3,2,7,5,6,4,3,2] , C=0 , 0+0+0=0 , A->0 , C->0
[3] + [] , A=[0,3,2,7,5,6,4,3,2] , C=0 , 3+0+0=3 , A->3 , C->0
[] + [] , A=[3,0,3,2,7,5,6,4,3,2] C=0 , END
</scratch>
3032756432
| 3032756432 | 2 |
Input:
4269227+9830073916
Target:
| Input:
4269227+9830073916
Target:
[4,2,6,9,2,2,7] + [9,8,3,0,0,7,3,9,1,6] , A=[] , C=0 , 7+6+0=13 , A->3 , C->1
[4,2,6,9,2,2] + [9,8,3,0,0,7,3,9,1] , A=[3] , C=1 , 2+1+1=4 , A->4 , C->0
[4,2,6,9,2] + [9,8,3,0,0,7,3,9] , A=[4,3] , C=0 , 2+9+0=11 , A->1 , C->1
[4,2,6,9] + [9,8,3,0,0,7,3] , A=[1,4,3] , C=1 , 9+3+1=13 , A->3 , C->1
[4,2,6] + [9,8,3,0,0,7] , A=[3,1,4,3] , C=1 , 6+7+1=14 , A->4 , C->1
[4,2] + [9,8,3,0,0] , A=[4,3,1,4,3] , C=1 , 2+0+1=3 , A->3 , C->0
[4] + [9,8,3,0] , A=[3,4,3,1,4,3] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [9,8,3] , A=[4,3,4,3,1,4,3] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [9,8] , A=[3,4,3,4,3,1,4,3] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [9] , A=[8,3,4,3,4,3,1,4,3] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,8,3,4,3,4,3,1,4,3] C=0 , END
</scratch>
9834343143
| 9834343143 | 7 |
Input:
913633229+8431893845
Target:
| Input:
913633229+8431893845
Target:
[9,1,3,6,3,3,2,2,9] + [8,4,3,1,8,9,3,8,4,5] , A=[] , C=0 , 9+5+0=14 , A->4 , C->1
[9,1,3,6,3,3,2,2] + [8,4,3,1,8,9,3,8,4] , A=[4] , C=1 , 2+4+1=7 , A->7 , C->0
[9,1,3,6,3,3,2] + [8,4,3,1,8,9,3,8] , A=[7,4] , C=0 , 2+8+0=10 , A->0 , C->1
[9,1,3,6,3,3] + [8,4,3,1,8,9,3] , A=[0,7,4] , C=1 , 3+3+1=7 , A->7 , C->0
[9,1,3,6,3] + [8,4,3,1,8,9] , A=[7,0,7,4] , C=0 , 3+9+0=12 , A->2 , C->1
[9,1,3,6] + [8,4,3,1,8] , A=[2,7,0,7,4] , C=1 , 6+8+1=15 , A->5 , C->1
[9,1,3] + [8,4,3,1] , A=[5,2,7,0,7,4] , C=1 , 3+1+1=5 , A->5 , C->0
[9,1] + [8,4,3] , A=[5,5,2,7,0,7,4] , C=0 , 1+3+0=4 , A->4 , C->0
[9] + [8,4] , A=[4,5,5,2,7,0,7,4] , C=0 , 9+4+0=13 , A->3 , C->1
[] + [8] , A=[3,4,5,5,2,7,0,7,4] , C=1 , 0+8+1=9 , A->9 , C->0
[] + [] , A=[9,3,4,5,5,2,7,0,7,4] C=0 , END
</scratch>
9345527074
| 9345527074 | 9 |
Input:
11401505+8300357985
Target:
| Input:
11401505+8300357985
Target:
[1,1,4,0,1,5,0,5] + [8,3,0,0,3,5,7,9,8,5] , A=[] , C=0 , 5+5+0=10 , A->0 , C->1
[1,1,4,0,1,5,0] + [8,3,0,0,3,5,7,9,8] , A=[0] , C=1 , 0+8+1=9 , A->9 , C->0
[1,1,4,0,1,5] + [8,3,0,0,3,5,7,9] , A=[9,0] , C=0 , 5+9+0=14 , A->4 , C->1
[1,1,4,0,1] + [8,3,0,0,3,5,7] , A=[4,9,0] , C=1 , 1+7+1=9 , A->9 , C->0
[1,1,4,0] + [8,3,0,0,3,5] , A=[9,4,9,0] , C=0 , 0+5+0=5 , A->5 , C->0
[1,1,4] + [8,3,0,0,3] , A=[5,9,4,9,0] , C=0 , 4+3+0=7 , A->7 , C->0
[1,1] + [8,3,0,0] , A=[7,5,9,4,9,0] , C=0 , 1+0+0=1 , A->1 , C->0
[1] + [8,3,0] , A=[1,7,5,9,4,9,0] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [8,3] , A=[1,1,7,5,9,4,9,0] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [8] , A=[3,1,1,7,5,9,4,9,0] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [] , A=[8,3,1,1,7,5,9,4,9,0] C=0 , END
</scratch>
8311759490
| 8311759490 | 8 |
Input:
4198228063+3
Target:
| Input:
4198228063+3
Target:
[4,1,9,8,2,2,8,0,6,3] + [3] , A=[] , C=0 , 3+3+0=6 , A->6 , C->0
[4,1,9,8,2,2,8,0,6] + [] , A=[6] , C=0 , 6+0+0=6 , A->6 , C->0
[4,1,9,8,2,2,8,0] + [] , A=[6,6] , C=0 , 0+0+0=0 , A->0 , C->0
[4,1,9,8,2,2,8] + [] , A=[0,6,6] , C=0 , 8+0+0=8 , A->8 , C->0
[4,1,9,8,2,2] + [] , A=[8,0,6,6] , C=0 , 2+0+0=2 , A->2 , C->0
[4,1,9,8,2] + [] , A=[2,8,0,6,6] , C=0 , 2+0+0=2 , A->2 , C->0
[4,1,9,8] + [] , A=[2,2,8,0,6,6] , C=0 , 8+0+0=8 , A->8 , C->0
[4,1,9] + [] , A=[8,2,2,8,0,6,6] , C=0 , 9+0+0=9 , A->9 , C->0
[4,1] + [] , A=[9,8,2,2,8,0,6,6] , C=0 , 1+0+0=1 , A->1 , C->0
[4] + [] , A=[1,9,8,2,2,8,0,6,6] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,1,9,8,2,2,8,0,6,6] C=0 , END
</scratch>
4198228066
| 4198228066 | 1 |
Input:
6994930477+397589
Target:
| Input:
6994930477+397589
Target:
[6,9,9,4,9,3,0,4,7,7] + [3,9,7,5,8,9] , A=[] , C=0 , 7+9+0=16 , A->6 , C->1
[6,9,9,4,9,3,0,4,7] + [3,9,7,5,8] , A=[6] , C=1 , 7+8+1=16 , A->6 , C->1
[6,9,9,4,9,3,0,4] + [3,9,7,5] , A=[6,6] , C=1 , 4+5+1=10 , A->0 , C->1
[6,9,9,4,9,3,0] + [3,9,7] , A=[0,6,6] , C=1 , 0+7+1=8 , A->8 , C->0
[6,9,9,4,9,3] + [3,9] , A=[8,0,6,6] , C=0 , 3+9+0=12 , A->2 , C->1
[6,9,9,4,9] + [3] , A=[2,8,0,6,6] , C=1 , 9+3+1=13 , A->3 , C->1
[6,9,9,4] + [] , A=[3,2,8,0,6,6] , C=1 , 4+0+1=5 , A->5 , C->0
[6,9,9] + [] , A=[5,3,2,8,0,6,6] , C=0 , 9+0+0=9 , A->9 , C->0
[6,9] + [] , A=[9,5,3,2,8,0,6,6] , C=0 , 9+0+0=9 , A->9 , C->0
[6] + [] , A=[9,9,5,3,2,8,0,6,6] , C=0 , 6+0+0=6 , A->6 , C->0
[] + [] , A=[6,9,9,5,3,2,8,0,6,6] C=0 , END
</scratch>
6995328066
| 6995328066 | 6 |
Input:
4414065299+9861
Target:
| Input:
4414065299+9861
Target:
[4,4,1,4,0,6,5,2,9,9] + [9,8,6,1] , A=[] , C=0 , 9+1+0=10 , A->0 , C->1
[4,4,1,4,0,6,5,2,9] + [9,8,6] , A=[0] , C=1 , 9+6+1=16 , A->6 , C->1
[4,4,1,4,0,6,5,2] + [9,8] , A=[6,0] , C=1 , 2+8+1=11 , A->1 , C->1
[4,4,1,4,0,6,5] + [9] , A=[1,6,0] , C=1 , 5+9+1=15 , A->5 , C->1
[4,4,1,4,0,6] + [] , A=[5,1,6,0] , C=1 , 6+0+1=7 , A->7 , C->0
[4,4,1,4,0] + [] , A=[7,5,1,6,0] , C=0 , 0+0+0=0 , A->0 , C->0
[4,4,1,4] + [] , A=[0,7,5,1,6,0] , C=0 , 4+0+0=4 , A->4 , C->0
[4,4,1] + [] , A=[4,0,7,5,1,6,0] , C=0 , 1+0+0=1 , A->1 , C->0
[4,4] + [] , A=[1,4,0,7,5,1,6,0] , C=0 , 4+0+0=4 , A->4 , C->0
[4] + [] , A=[4,1,4,0,7,5,1,6,0] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,4,1,4,0,7,5,1,6,0] C=0 , END
</scratch>
4414075160
| 4414075160 | 4 |
Input:
6044659973+76436
Target:
| Input:
6044659973+76436
Target:
[6,0,4,4,6,5,9,9,7,3] + [7,6,4,3,6] , A=[] , C=0 , 3+6+0=9 , A->9 , C->0
[6,0,4,4,6,5,9,9,7] + [7,6,4,3] , A=[9] , C=0 , 7+3+0=10 , A->0 , C->1
[6,0,4,4,6,5,9,9] + [7,6,4] , A=[0,9] , C=1 , 9+4+1=14 , A->4 , C->1
[6,0,4,4,6,5,9] + [7,6] , A=[4,0,9] , C=1 , 9+6+1=16 , A->6 , C->1
[6,0,4,4,6,5] + [7] , A=[6,4,0,9] , C=1 , 5+7+1=13 , A->3 , C->1
[6,0,4,4,6] + [] , A=[3,6,4,0,9] , C=1 , 6+0+1=7 , A->7 , C->0
[6,0,4,4] + [] , A=[7,3,6,4,0,9] , C=0 , 4+0+0=4 , A->4 , C->0
[6,0,4] + [] , A=[4,7,3,6,4,0,9] , C=0 , 4+0+0=4 , A->4 , C->0
[6,0] + [] , A=[4,4,7,3,6,4,0,9] , C=0 , 0+0+0=0 , A->0 , C->0
[6] + [] , A=[0,4,4,7,3,6,4,0,9] , C=0 , 6+0+0=6 , A->6 , C->0
[] + [] , A=[6,0,4,4,7,3,6,4,0,9] C=0 , END
</scratch>
6044736409
| 6044736409 | 5 |
Input:
13020+6447982247
Target:
| Input:
13020+6447982247
Target:
[1,3,0,2,0] + [6,4,4,7,9,8,2,2,4,7] , A=[] , C=0 , 0+7+0=7 , A->7 , C->0
[1,3,0,2] + [6,4,4,7,9,8,2,2,4] , A=[7] , C=0 , 2+4+0=6 , A->6 , C->0
[1,3,0] + [6,4,4,7,9,8,2,2] , A=[6,7] , C=0 , 0+2+0=2 , A->2 , C->0
[1,3] + [6,4,4,7,9,8,2] , A=[2,6,7] , C=0 , 3+2+0=5 , A->5 , C->0
[1] + [6,4,4,7,9,8] , A=[5,2,6,7] , C=0 , 1+8+0=9 , A->9 , C->0
[] + [6,4,4,7,9] , A=[9,5,2,6,7] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [6,4,4,7] , A=[9,9,5,2,6,7] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [6,4,4] , A=[7,9,9,5,2,6,7] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [6,4] , A=[4,7,9,9,5,2,6,7] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [6] , A=[4,4,7,9,9,5,2,6,7] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [] , A=[6,4,4,7,9,9,5,2,6,7] C=0 , END
</scratch>
6447995267
| 6447995267 | 5 |
Input:
80+2235833636
Target:
| Input:
80+2235833636
Target:
[8,0] + [2,2,3,5,8,3,3,6,3,6] , A=[] , C=0 , 0+6+0=6 , A->6 , C->0
[8] + [2,2,3,5,8,3,3,6,3] , A=[6] , C=0 , 8+3+0=11 , A->1 , C->1
[] + [2,2,3,5,8,3,3,6] , A=[1,6] , C=1 , 0+6+1=7 , A->7 , C->0
[] + [2,2,3,5,8,3,3] , A=[7,1,6] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [2,2,3,5,8,3] , A=[3,7,1,6] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [2,2,3,5,8] , A=[3,3,7,1,6] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [2,2,3,5] , A=[8,3,3,7,1,6] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [2,2,3] , A=[5,8,3,3,7,1,6] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [2,2] , A=[3,5,8,3,3,7,1,6] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [2] , A=[2,3,5,8,3,3,7,1,6] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,2,3,5,8,3,3,7,1,6] C=0 , END
</scratch>
2235833716
| 2235833716 | 2 |
Input:
6+7367955284
Target:
| Input:
6+7367955284
Target:
[6] + [7,3,6,7,9,5,5,2,8,4] , A=[] , C=0 , 6+4+0=10 , A->0 , C->1
[] + [7,3,6,7,9,5,5,2,8] , A=[0] , C=1 , 0+8+1=9 , A->9 , C->0
[] + [7,3,6,7,9,5,5,2] , A=[9,0] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [7,3,6,7,9,5,5] , A=[2,9,0] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [7,3,6,7,9,5] , A=[5,2,9,0] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [7,3,6,7,9] , A=[5,5,2,9,0] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [7,3,6,7] , A=[9,5,5,2,9,0] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [7,3,6] , A=[7,9,5,5,2,9,0] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [7,3] , A=[6,7,9,5,5,2,9,0] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [7] , A=[3,6,7,9,5,5,2,9,0] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,3,6,7,9,5,5,2,9,0] C=0 , END
</scratch>
7367955290
| 7367955290 | 1 |
Input:
7329651088+341
Target:
| Input:
7329651088+341
Target:
[7,3,2,9,6,5,1,0,8,8] + [3,4,1] , A=[] , C=0 , 8+1+0=9 , A->9 , C->0
[7,3,2,9,6,5,1,0,8] + [3,4] , A=[9] , C=0 , 8+4+0=12 , A->2 , C->1
[7,3,2,9,6,5,1,0] + [3] , A=[2,9] , C=1 , 0+3+1=4 , A->4 , C->0
[7,3,2,9,6,5,1] + [] , A=[4,2,9] , C=0 , 1+0+0=1 , A->1 , C->0
[7,3,2,9,6,5] + [] , A=[1,4,2,9] , C=0 , 5+0+0=5 , A->5 , C->0
[7,3,2,9,6] + [] , A=[5,1,4,2,9] , C=0 , 6+0+0=6 , A->6 , C->0
[7,3,2,9] + [] , A=[6,5,1,4,2,9] , C=0 , 9+0+0=9 , A->9 , C->0
[7,3,2] + [] , A=[9,6,5,1,4,2,9] , C=0 , 2+0+0=2 , A->2 , C->0
[7,3] + [] , A=[2,9,6,5,1,4,2,9] , C=0 , 3+0+0=3 , A->3 , C->0
[7] + [] , A=[3,2,9,6,5,1,4,2,9] , C=0 , 7+0+0=7 , A->7 , C->0
[] + [] , A=[7,3,2,9,6,5,1,4,2,9] C=0 , END
</scratch>
7329651429
| 7329651429 | 3 |
Input:
3+5071807454
Target:
| Input:
3+5071807454
Target:
[3] + [5,0,7,1,8,0,7,4,5,4] , A=[] , C=0 , 3+4+0=7 , A->7 , C->0
[] + [5,0,7,1,8,0,7,4,5] , A=[7] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [5,0,7,1,8,0,7,4] , A=[5,7] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [5,0,7,1,8,0,7] , A=[4,5,7] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [5,0,7,1,8,0] , A=[7,4,5,7] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [5,0,7,1,8] , A=[0,7,4,5,7] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [5,0,7,1] , A=[8,0,7,4,5,7] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [5,0,7] , A=[1,8,0,7,4,5,7] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [5,0] , A=[7,1,8,0,7,4,5,7] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [5] , A=[0,7,1,8,0,7,4,5,7] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,0,7,1,8,0,7,4,5,7] C=0 , END
</scratch>
5071807457
| 5071807457 | 1 |
Input:
2511467113+6859687912
Target:
| Input:
2511467113+6859687912
Target:
[2,5,1,1,4,6,7,1,1,3] + [6,8,5,9,6,8,7,9,1,2] , A=[] , C=0 , 3+2+0=5 , A->5 , C->0
[2,5,1,1,4,6,7,1,1] + [6,8,5,9,6,8,7,9,1] , A=[5] , C=0 , 1+1+0=2 , A->2 , C->0
[2,5,1,1,4,6,7,1] + [6,8,5,9,6,8,7,9] , A=[2,5] , C=0 , 1+9+0=10 , A->0 , C->1
[2,5,1,1,4,6,7] + [6,8,5,9,6,8,7] , A=[0,2,5] , C=1 , 7+7+1=15 , A->5 , C->1
[2,5,1,1,4,6] + [6,8,5,9,6,8] , A=[5,0,2,5] , C=1 , 6+8+1=15 , A->5 , C->1
[2,5,1,1,4] + [6,8,5,9,6] , A=[5,5,0,2,5] , C=1 , 4+6+1=11 , A->1 , C->1
[2,5,1,1] + [6,8,5,9] , A=[1,5,5,0,2,5] , C=1 , 1+9+1=11 , A->1 , C->1
[2,5,1] + [6,8,5] , A=[1,1,5,5,0,2,5] , C=1 , 1+5+1=7 , A->7 , C->0
[2,5] + [6,8] , A=[7,1,1,5,5,0,2,5] , C=0 , 5+8+0=13 , A->3 , C->1
[2] + [6] , A=[3,7,1,1,5,5,0,2,5] , C=1 , 2+6+1=9 , A->9 , C->0
[] + [] , A=[9,3,7,1,1,5,5,0,2,5] C=0 , END
</scratch>
9371155025
| 9371155025 | 10 |
Input:
204040+5377267595
Target:
| Input:
204040+5377267595
Target:
[2,0,4,0,4,0] + [5,3,7,7,2,6,7,5,9,5] , A=[] , C=0 , 0+5+0=5 , A->5 , C->0
[2,0,4,0,4] + [5,3,7,7,2,6,7,5,9] , A=[5] , C=0 , 4+9+0=13 , A->3 , C->1
[2,0,4,0] + [5,3,7,7,2,6,7,5] , A=[3,5] , C=1 , 0+5+1=6 , A->6 , C->0
[2,0,4] + [5,3,7,7,2,6,7] , A=[6,3,5] , C=0 , 4+7+0=11 , A->1 , C->1
[2,0] + [5,3,7,7,2,6] , A=[1,6,3,5] , C=1 , 0+6+1=7 , A->7 , C->0
[2] + [5,3,7,7,2] , A=[7,1,6,3,5] , C=0 , 2+2+0=4 , A->4 , C->0
[] + [5,3,7,7] , A=[4,7,1,6,3,5] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [5,3,7] , A=[7,4,7,1,6,3,5] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [5,3] , A=[7,7,4,7,1,6,3,5] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [5] , A=[3,7,7,4,7,1,6,3,5] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [] , A=[5,3,7,7,4,7,1,6,3,5] C=0 , END
</scratch>
5377471635
| 5377471635 | 6 |
Input:
8519593669+507081284
Target:
| Input:
8519593669+507081284
Target:
[8,5,1,9,5,9,3,6,6,9] + [5,0,7,0,8,1,2,8,4] , A=[] , C=0 , 9+4+0=13 , A->3 , C->1
[8,5,1,9,5,9,3,6,6] + [5,0,7,0,8,1,2,8] , A=[3] , C=1 , 6+8+1=15 , A->5 , C->1
[8,5,1,9,5,9,3,6] + [5,0,7,0,8,1,2] , A=[5,3] , C=1 , 6+2+1=9 , A->9 , C->0
[8,5,1,9,5,9,3] + [5,0,7,0,8,1] , A=[9,5,3] , C=0 , 3+1+0=4 , A->4 , C->0
[8,5,1,9,5,9] + [5,0,7,0,8] , A=[4,9,5,3] , C=0 , 9+8+0=17 , A->7 , C->1
[8,5,1,9,5] + [5,0,7,0] , A=[7,4,9,5,3] , C=1 , 5+0+1=6 , A->6 , C->0
[8,5,1,9] + [5,0,7] , A=[6,7,4,9,5,3] , C=0 , 9+7+0=16 , A->6 , C->1
[8,5,1] + [5,0] , A=[6,6,7,4,9,5,3] , C=1 , 1+0+1=2 , A->2 , C->0
[8,5] + [5] , A=[2,6,6,7,4,9,5,3] , C=0 , 5+5+0=10 , A->0 , C->1
[8] + [] , A=[0,2,6,6,7,4,9,5,3] , C=1 , 8+0+1=9 , A->9 , C->0
[] + [] , A=[9,0,2,6,6,7,4,9,5,3] C=0 , END
</scratch>
9026674953
| 9026674953 | 9 |
Input:
425+7382109214
Target:
| Input:
425+7382109214
Target:
[4,2,5] + [7,3,8,2,1,0,9,2,1,4] , A=[] , C=0 , 5+4+0=9 , A->9 , C->0
[4,2] + [7,3,8,2,1,0,9,2,1] , A=[9] , C=0 , 2+1+0=3 , A->3 , C->0
[4] + [7,3,8,2,1,0,9,2] , A=[3,9] , C=0 , 4+2+0=6 , A->6 , C->0
[] + [7,3,8,2,1,0,9] , A=[6,3,9] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [7,3,8,2,1,0] , A=[9,6,3,9] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [7,3,8,2,1] , A=[0,9,6,3,9] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [7,3,8,2] , A=[1,0,9,6,3,9] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [7,3,8] , A=[2,1,0,9,6,3,9] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [7,3] , A=[8,2,1,0,9,6,3,9] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [7] , A=[3,8,2,1,0,9,6,3,9] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [] , A=[7,3,8,2,1,0,9,6,3,9] C=0 , END
</scratch>
7382109639
| 7382109639 | 3 |
Input:
942422+9674134694
Target:
| Input:
942422+9674134694
Target:
[9,4,2,4,2,2] + [9,6,7,4,1,3,4,6,9,4] , A=[] , C=0 , 2+4+0=6 , A->6 , C->0
[9,4,2,4,2] + [9,6,7,4,1,3,4,6,9] , A=[6] , C=0 , 2+9+0=11 , A->1 , C->1
[9,4,2,4] + [9,6,7,4,1,3,4,6] , A=[1,6] , C=1 , 4+6+1=11 , A->1 , C->1
[9,4,2] + [9,6,7,4,1,3,4] , A=[1,1,6] , C=1 , 2+4+1=7 , A->7 , C->0
[9,4] + [9,6,7,4,1,3] , A=[7,1,1,6] , C=0 , 4+3+0=7 , A->7 , C->0
[9] + [9,6,7,4,1] , A=[7,7,1,1,6] , C=0 , 9+1+0=10 , A->0 , C->1
[] + [9,6,7,4] , A=[0,7,7,1,1,6] , C=1 , 0+4+1=5 , A->5 , C->0
[] + [9,6,7] , A=[5,0,7,7,1,1,6] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [9,6] , A=[7,5,0,7,7,1,1,6] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [9] , A=[6,7,5,0,7,7,1,1,6] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,6,7,5,0,7,7,1,1,6] C=0 , END
</scratch>
9675077116
| 9675077116 | 6 |
Input:
2+8785287781
Target:
| Input:
2+8785287781
Target:
[2] + [8,7,8,5,2,8,7,7,8,1] , A=[] , C=0 , 2+1+0=3 , A->3 , C->0
[] + [8,7,8,5,2,8,7,7,8] , A=[3] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [8,7,8,5,2,8,7,7] , A=[8,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [8,7,8,5,2,8,7] , A=[7,8,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [8,7,8,5,2,8] , A=[7,7,8,3] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [8,7,8,5,2] , A=[8,7,7,8,3] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [8,7,8,5] , A=[2,8,7,7,8,3] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [8,7,8] , A=[5,2,8,7,7,8,3] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [8,7] , A=[8,5,2,8,7,7,8,3] , C=0 , 0+7+0=7 , A->7 , C->0
[] + [8] , A=[7,8,5,2,8,7,7,8,3] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [] , A=[8,7,8,5,2,8,7,7,8,3] C=0 , END
</scratch>
8785287783
| 8785287783 | 1 |
Input:
1846749848+962
Target:
| Input:
1846749848+962
Target:
[1,8,4,6,7,4,9,8,4,8] + [9,6,2] , A=[] , C=0 , 8+2+0=10 , A->0 , C->1
[1,8,4,6,7,4,9,8,4] + [9,6] , A=[0] , C=1 , 4+6+1=11 , A->1 , C->1
[1,8,4,6,7,4,9,8] + [9] , A=[1,0] , C=1 , 8+9+1=18 , A->8 , C->1
[1,8,4,6,7,4,9] + [] , A=[8,1,0] , C=1 , 9+0+1=10 , A->0 , C->1
[1,8,4,6,7,4] + [] , A=[0,8,1,0] , C=1 , 4+0+1=5 , A->5 , C->0
[1,8,4,6,7] + [] , A=[5,0,8,1,0] , C=0 , 7+0+0=7 , A->7 , C->0
[1,8,4,6] + [] , A=[7,5,0,8,1,0] , C=0 , 6+0+0=6 , A->6 , C->0
[1,8,4] + [] , A=[6,7,5,0,8,1,0] , C=0 , 4+0+0=4 , A->4 , C->0
[1,8] + [] , A=[4,6,7,5,0,8,1,0] , C=0 , 8+0+0=8 , A->8 , C->0
[1] + [] , A=[8,4,6,7,5,0,8,1,0] , C=0 , 1+0+0=1 , A->1 , C->0
[] + [] , A=[1,8,4,6,7,5,0,8,1,0] C=0 , END
</scratch>
1846750810
| 1846750810 | 3 |
Input:
4357130793+8594760
Target:
| Input:
4357130793+8594760
Target:
[4,3,5,7,1,3,0,7,9,3] + [8,5,9,4,7,6,0] , A=[] , C=0 , 3+0+0=3 , A->3 , C->0
[4,3,5,7,1,3,0,7,9] + [8,5,9,4,7,6] , A=[3] , C=0 , 9+6+0=15 , A->5 , C->1
[4,3,5,7,1,3,0,7] + [8,5,9,4,7] , A=[5,3] , C=1 , 7+7+1=15 , A->5 , C->1
[4,3,5,7,1,3,0] + [8,5,9,4] , A=[5,5,3] , C=1 , 0+4+1=5 , A->5 , C->0
[4,3,5,7,1,3] + [8,5,9] , A=[5,5,5,3] , C=0 , 3+9+0=12 , A->2 , C->1
[4,3,5,7,1] + [8,5] , A=[2,5,5,5,3] , C=1 , 1+5+1=7 , A->7 , C->0
[4,3,5,7] + [8] , A=[7,2,5,5,5,3] , C=0 , 7+8+0=15 , A->5 , C->1
[4,3,5] + [] , A=[5,7,2,5,5,5,3] , C=1 , 5+0+1=6 , A->6 , C->0
[4,3] + [] , A=[6,5,7,2,5,5,5,3] , C=0 , 3+0+0=3 , A->3 , C->0
[4] + [] , A=[3,6,5,7,2,5,5,5,3] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,3,6,5,7,2,5,5,5,3] C=0 , END
</scratch>
4365725553
| 4365725553 | 7 |
Input:
763185221+3684712604
Target:
| Input:
763185221+3684712604
Target:
[7,6,3,1,8,5,2,2,1] + [3,6,8,4,7,1,2,6,0,4] , A=[] , C=0 , 1+4+0=5 , A->5 , C->0
[7,6,3,1,8,5,2,2] + [3,6,8,4,7,1,2,6,0] , A=[5] , C=0 , 2+0+0=2 , A->2 , C->0
[7,6,3,1,8,5,2] + [3,6,8,4,7,1,2,6] , A=[2,5] , C=0 , 2+6+0=8 , A->8 , C->0
[7,6,3,1,8,5] + [3,6,8,4,7,1,2] , A=[8,2,5] , C=0 , 5+2+0=7 , A->7 , C->0
[7,6,3,1,8] + [3,6,8,4,7,1] , A=[7,8,2,5] , C=0 , 8+1+0=9 , A->9 , C->0
[7,6,3,1] + [3,6,8,4,7] , A=[9,7,8,2,5] , C=0 , 1+7+0=8 , A->8 , C->0
[7,6,3] + [3,6,8,4] , A=[8,9,7,8,2,5] , C=0 , 3+4+0=7 , A->7 , C->0
[7,6] + [3,6,8] , A=[7,8,9,7,8,2,5] , C=0 , 6+8+0=14 , A->4 , C->1
[7] + [3,6] , A=[4,7,8,9,7,8,2,5] , C=1 , 7+6+1=14 , A->4 , C->1
[] + [3] , A=[4,4,7,8,9,7,8,2,5] , C=1 , 0+3+1=4 , A->4 , C->0
[] + [] , A=[4,4,4,7,8,9,7,8,2,5] C=0 , END
</scratch>
4447897825
| 4447897825 | 9 |
Input:
9146853766+8794477394
Target:
| Input:
9146853766+8794477394
Target:
[9,1,4,6,8,5,3,7,6,6] + [8,7,9,4,4,7,7,3,9,4] , A=[] , C=0 , 6+4+0=10 , A->0 , C->1
[9,1,4,6,8,5,3,7,6] + [8,7,9,4,4,7,7,3,9] , A=[0] , C=1 , 6+9+1=16 , A->6 , C->1
[9,1,4,6,8,5,3,7] + [8,7,9,4,4,7,7,3] , A=[6,0] , C=1 , 7+3+1=11 , A->1 , C->1
[9,1,4,6,8,5,3] + [8,7,9,4,4,7,7] , A=[1,6,0] , C=1 , 3+7+1=11 , A->1 , C->1
[9,1,4,6,8,5] + [8,7,9,4,4,7] , A=[1,1,6,0] , C=1 , 5+7+1=13 , A->3 , C->1
[9,1,4,6,8] + [8,7,9,4,4] , A=[3,1,1,6,0] , C=1 , 8+4+1=13 , A->3 , C->1
[9,1,4,6] + [8,7,9,4] , A=[3,3,1,1,6,0] , C=1 , 6+4+1=11 , A->1 , C->1
[9,1,4] + [8,7,9] , A=[1,3,3,1,1,6,0] , C=1 , 4+9+1=14 , A->4 , C->1
[9,1] + [8,7] , A=[4,1,3,3,1,1,6,0] , C=1 , 1+7+1=9 , A->9 , C->0
[9] + [8] , A=[9,4,1,3,3,1,1,6,0] , C=0 , 9+8+0=17 , A->7 , C->1
[] + [] , A=[7,9,4,1,3,3,1,1,6,0] C=1 , END
</scratch>
17941331160
| 17941331160 | 10 |
Input:
2490861809+544
Target:
| Input:
2490861809+544
Target:
[2,4,9,0,8,6,1,8,0,9] + [5,4,4] , A=[] , C=0 , 9+4+0=13 , A->3 , C->1
[2,4,9,0,8,6,1,8,0] + [5,4] , A=[3] , C=1 , 0+4+1=5 , A->5 , C->0
[2,4,9,0,8,6,1,8] + [5] , A=[5,3] , C=0 , 8+5+0=13 , A->3 , C->1
[2,4,9,0,8,6,1] + [] , A=[3,5,3] , C=1 , 1+0+1=2 , A->2 , C->0
[2,4,9,0,8,6] + [] , A=[2,3,5,3] , C=0 , 6+0+0=6 , A->6 , C->0
[2,4,9,0,8] + [] , A=[6,2,3,5,3] , C=0 , 8+0+0=8 , A->8 , C->0
[2,4,9,0] + [] , A=[8,6,2,3,5,3] , C=0 , 0+0+0=0 , A->0 , C->0
[2,4,9] + [] , A=[0,8,6,2,3,5,3] , C=0 , 9+0+0=9 , A->9 , C->0
[2,4] + [] , A=[9,0,8,6,2,3,5,3] , C=0 , 4+0+0=4 , A->4 , C->0
[2] + [] , A=[4,9,0,8,6,2,3,5,3] , C=0 , 2+0+0=2 , A->2 , C->0
[] + [] , A=[2,4,9,0,8,6,2,3,5,3] C=0 , END
</scratch>
2490862353
| 2490862353 | 3 |
Input:
5634656049+9979298480
Target:
| Input:
5634656049+9979298480
Target:
[5,6,3,4,6,5,6,0,4,9] + [9,9,7,9,2,9,8,4,8,0] , A=[] , C=0 , 9+0+0=9 , A->9 , C->0
[5,6,3,4,6,5,6,0,4] + [9,9,7,9,2,9,8,4,8] , A=[9] , C=0 , 4+8+0=12 , A->2 , C->1
[5,6,3,4,6,5,6,0] + [9,9,7,9,2,9,8,4] , A=[2,9] , C=1 , 0+4+1=5 , A->5 , C->0
[5,6,3,4,6,5,6] + [9,9,7,9,2,9,8] , A=[5,2,9] , C=0 , 6+8+0=14 , A->4 , C->1
[5,6,3,4,6,5] + [9,9,7,9,2,9] , A=[4,5,2,9] , C=1 , 5+9+1=15 , A->5 , C->1
[5,6,3,4,6] + [9,9,7,9,2] , A=[5,4,5,2,9] , C=1 , 6+2+1=9 , A->9 , C->0
[5,6,3,4] + [9,9,7,9] , A=[9,5,4,5,2,9] , C=0 , 4+9+0=13 , A->3 , C->1
[5,6,3] + [9,9,7] , A=[3,9,5,4,5,2,9] , C=1 , 3+7+1=11 , A->1 , C->1
[5,6] + [9,9] , A=[1,3,9,5,4,5,2,9] , C=1 , 6+9+1=16 , A->6 , C->1
[5] + [9] , A=[6,1,3,9,5,4,5,2,9] , C=1 , 5+9+1=15 , A->5 , C->1
[] + [] , A=[5,6,1,3,9,5,4,5,2,9] C=1 , END
</scratch>
15613954529
| 15613954529 | 10 |
Input:
5889868+8488512241
Target:
| Input:
5889868+8488512241
Target:
[5,8,8,9,8,6,8] + [8,4,8,8,5,1,2,2,4,1] , A=[] , C=0 , 8+1+0=9 , A->9 , C->0
[5,8,8,9,8,6] + [8,4,8,8,5,1,2,2,4] , A=[9] , C=0 , 6+4+0=10 , A->0 , C->1
[5,8,8,9,8] + [8,4,8,8,5,1,2,2] , A=[0,9] , C=1 , 8+2+1=11 , A->1 , C->1
[5,8,8,9] + [8,4,8,8,5,1,2] , A=[1,0,9] , C=1 , 9+2+1=12 , A->2 , C->1
[5,8,8] + [8,4,8,8,5,1] , A=[2,1,0,9] , C=1 , 8+1+1=10 , A->0 , C->1
[5,8] + [8,4,8,8,5] , A=[0,2,1,0,9] , C=1 , 8+5+1=14 , A->4 , C->1
[5] + [8,4,8,8] , A=[4,0,2,1,0,9] , C=1 , 5+8+1=14 , A->4 , C->1
[] + [8,4,8] , A=[4,4,0,2,1,0,9] , C=1 , 0+8+1=9 , A->9 , C->0
[] + [8,4] , A=[9,4,4,0,2,1,0,9] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [8] , A=[4,9,4,4,0,2,1,0,9] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [] , A=[8,4,9,4,4,0,2,1,0,9] C=0 , END
</scratch>
8494402109
| 8494402109 | 7 |
Input:
79463666+8945243932
Target:
| Input:
79463666+8945243932
Target:
[7,9,4,6,3,6,6,6] + [8,9,4,5,2,4,3,9,3,2] , A=[] , C=0 , 6+2+0=8 , A->8 , C->0
[7,9,4,6,3,6,6] + [8,9,4,5,2,4,3,9,3] , A=[8] , C=0 , 6+3+0=9 , A->9 , C->0
[7,9,4,6,3,6] + [8,9,4,5,2,4,3,9] , A=[9,8] , C=0 , 6+9+0=15 , A->5 , C->1
[7,9,4,6,3] + [8,9,4,5,2,4,3] , A=[5,9,8] , C=1 , 3+3+1=7 , A->7 , C->0
[7,9,4,6] + [8,9,4,5,2,4] , A=[7,5,9,8] , C=0 , 6+4+0=10 , A->0 , C->1
[7,9,4] + [8,9,4,5,2] , A=[0,7,5,9,8] , C=1 , 4+2+1=7 , A->7 , C->0
[7,9] + [8,9,4,5] , A=[7,0,7,5,9,8] , C=0 , 9+5+0=14 , A->4 , C->1
[7] + [8,9,4] , A=[4,7,0,7,5,9,8] , C=1 , 7+4+1=12 , A->2 , C->1
[] + [8,9] , A=[2,4,7,0,7,5,9,8] , C=1 , 0+9+1=10 , A->0 , C->1
[] + [8] , A=[0,2,4,7,0,7,5,9,8] , C=1 , 0+8+1=9 , A->9 , C->0
[] + [] , A=[9,0,2,4,7,0,7,5,9,8] C=0 , END
</scratch>
9024707598
| 9024707598 | 8 |
Input:
9738851553+29
Target:
| Input:
9738851553+29
Target:
[9,7,3,8,8,5,1,5,5,3] + [2,9] , A=[] , C=0 , 3+9+0=12 , A->2 , C->1
[9,7,3,8,8,5,1,5,5] + [2] , A=[2] , C=1 , 5+2+1=8 , A->8 , C->0
[9,7,3,8,8,5,1,5] + [] , A=[8,2] , C=0 , 5+0+0=5 , A->5 , C->0
[9,7,3,8,8,5,1] + [] , A=[5,8,2] , C=0 , 1+0+0=1 , A->1 , C->0
[9,7,3,8,8,5] + [] , A=[1,5,8,2] , C=0 , 5+0+0=5 , A->5 , C->0
[9,7,3,8,8] + [] , A=[5,1,5,8,2] , C=0 , 8+0+0=8 , A->8 , C->0
[9,7,3,8] + [] , A=[8,5,1,5,8,2] , C=0 , 8+0+0=8 , A->8 , C->0
[9,7,3] + [] , A=[8,8,5,1,5,8,2] , C=0 , 3+0+0=3 , A->3 , C->0
[9,7] + [] , A=[3,8,8,5,1,5,8,2] , C=0 , 7+0+0=7 , A->7 , C->0
[9] + [] , A=[7,3,8,8,5,1,5,8,2] , C=0 , 9+0+0=9 , A->9 , C->0
[] + [] , A=[9,7,3,8,8,5,1,5,8,2] C=0 , END
</scratch>
9738851582
| 9738851582 | 2 |
Input:
7483052653+2842
Target:
| Input:
7483052653+2842
Target:
[7,4,8,3,0,5,2,6,5,3] + [2,8,4,2] , A=[] , C=0 , 3+2+0=5 , A->5 , C->0
[7,4,8,3,0,5,2,6,5] + [2,8,4] , A=[5] , C=0 , 5+4+0=9 , A->9 , C->0
[7,4,8,3,0,5,2,6] + [2,8] , A=[9,5] , C=0 , 6+8+0=14 , A->4 , C->1
[7,4,8,3,0,5,2] + [2] , A=[4,9,5] , C=1 , 2+2+1=5 , A->5 , C->0
[7,4,8,3,0,5] + [] , A=[5,4,9,5] , C=0 , 5+0+0=5 , A->5 , C->0
[7,4,8,3,0] + [] , A=[5,5,4,9,5] , C=0 , 0+0+0=0 , A->0 , C->0
[7,4,8,3] + [] , A=[0,5,5,4,9,5] , C=0 , 3+0+0=3 , A->3 , C->0
[7,4,8] + [] , A=[3,0,5,5,4,9,5] , C=0 , 8+0+0=8 , A->8 , C->0
[7,4] + [] , A=[8,3,0,5,5,4,9,5] , C=0 , 4+0+0=4 , A->4 , C->0
[7] + [] , A=[4,8,3,0,5,5,4,9,5] , C=0 , 7+0+0=7 , A->7 , C->0
[] + [] , A=[7,4,8,3,0,5,5,4,9,5] C=0 , END
</scratch>
7483055495
| 7483055495 | 4 |
Input:
9405+9334573796
Target:
| Input:
9405+9334573796
Target:
[9,4,0,5] + [9,3,3,4,5,7,3,7,9,6] , A=[] , C=0 , 5+6+0=11 , A->1 , C->1
[9,4,0] + [9,3,3,4,5,7,3,7,9] , A=[1] , C=1 , 0+9+1=10 , A->0 , C->1
[9,4] + [9,3,3,4,5,7,3,7] , A=[0,1] , C=1 , 4+7+1=12 , A->2 , C->1
[9] + [9,3,3,4,5,7,3] , A=[2,0,1] , C=1 , 9+3+1=13 , A->3 , C->1
[] + [9,3,3,4,5,7] , A=[3,2,0,1] , C=1 , 0+7+1=8 , A->8 , C->0
[] + [9,3,3,4,5] , A=[8,3,2,0,1] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [9,3,3,4] , A=[5,8,3,2,0,1] , C=0 , 0+4+0=4 , A->4 , C->0
[] + [9,3,3] , A=[4,5,8,3,2,0,1] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [9,3] , A=[3,4,5,8,3,2,0,1] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [9] , A=[3,3,4,5,8,3,2,0,1] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [] , A=[9,3,3,4,5,8,3,2,0,1] C=0 , END
</scratch>
9334583201
| 9334583201 | 4 |
Input:
869805994+3305091300
Target:
| Input:
869805994+3305091300
Target:
[8,6,9,8,0,5,9,9,4] + [3,3,0,5,0,9,1,3,0,0] , A=[] , C=0 , 4+0+0=4 , A->4 , C->0
[8,6,9,8,0,5,9,9] + [3,3,0,5,0,9,1,3,0] , A=[4] , C=0 , 9+0+0=9 , A->9 , C->0
[8,6,9,8,0,5,9] + [3,3,0,5,0,9,1,3] , A=[9,4] , C=0 , 9+3+0=12 , A->2 , C->1
[8,6,9,8,0,5] + [3,3,0,5,0,9,1] , A=[2,9,4] , C=1 , 5+1+1=7 , A->7 , C->0
[8,6,9,8,0] + [3,3,0,5,0,9] , A=[7,2,9,4] , C=0 , 0+9+0=9 , A->9 , C->0
[8,6,9,8] + [3,3,0,5,0] , A=[9,7,2,9,4] , C=0 , 8+0+0=8 , A->8 , C->0
[8,6,9] + [3,3,0,5] , A=[8,9,7,2,9,4] , C=0 , 9+5+0=14 , A->4 , C->1
[8,6] + [3,3,0] , A=[4,8,9,7,2,9,4] , C=1 , 6+0+1=7 , A->7 , C->0
[8] + [3,3] , A=[7,4,8,9,7,2,9,4] , C=0 , 8+3+0=11 , A->1 , C->1
[] + [3] , A=[1,7,4,8,9,7,2,9,4] , C=1 , 0+3+1=4 , A->4 , C->0
[] + [] , A=[4,1,7,4,8,9,7,2,9,4] C=0 , END
</scratch>
4174897294
| 4174897294 | 9 |
Input:
38369+2803981291
Target:
| Input:
38369+2803981291
Target:
[3,8,3,6,9] + [2,8,0,3,9,8,1,2,9,1] , A=[] , C=0 , 9+1+0=10 , A->0 , C->1
[3,8,3,6] + [2,8,0,3,9,8,1,2,9] , A=[0] , C=1 , 6+9+1=16 , A->6 , C->1
[3,8,3] + [2,8,0,3,9,8,1,2] , A=[6,0] , C=1 , 3+2+1=6 , A->6 , C->0
[3,8] + [2,8,0,3,9,8,1] , A=[6,6,0] , C=0 , 8+1+0=9 , A->9 , C->0
[3] + [2,8,0,3,9,8] , A=[9,6,6,0] , C=0 , 3+8+0=11 , A->1 , C->1
[] + [2,8,0,3,9] , A=[1,9,6,6,0] , C=1 , 0+9+1=10 , A->0 , C->1
[] + [2,8,0,3] , A=[0,1,9,6,6,0] , C=1 , 0+3+1=4 , A->4 , C->0
[] + [2,8,0] , A=[4,0,1,9,6,6,0] , C=0 , 0+0+0=0 , A->0 , C->0
[] + [2,8] , A=[0,4,0,1,9,6,6,0] , C=0 , 0+8+0=8 , A->8 , C->0
[] + [2] , A=[8,0,4,0,1,9,6,6,0] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [] , A=[2,8,0,4,0,1,9,6,6,0] C=0 , END
</scratch>
2804019660
| 2804019660 | 5 |
Input:
73+1952361925
Target:
| Input:
73+1952361925
Target:
[7,3] + [1,9,5,2,3,6,1,9,2,5] , A=[] , C=0 , 3+5+0=8 , A->8 , C->0
[7] + [1,9,5,2,3,6,1,9,2] , A=[8] , C=0 , 7+2+0=9 , A->9 , C->0
[] + [1,9,5,2,3,6,1,9] , A=[9,8] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [1,9,5,2,3,6,1] , A=[9,9,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [1,9,5,2,3,6] , A=[1,9,9,8] , C=0 , 0+6+0=6 , A->6 , C->0
[] + [1,9,5,2,3] , A=[6,1,9,9,8] , C=0 , 0+3+0=3 , A->3 , C->0
[] + [1,9,5,2] , A=[3,6,1,9,9,8] , C=0 , 0+2+0=2 , A->2 , C->0
[] + [1,9,5] , A=[2,3,6,1,9,9,8] , C=0 , 0+5+0=5 , A->5 , C->0
[] + [1,9] , A=[5,2,3,6,1,9,9,8] , C=0 , 0+9+0=9 , A->9 , C->0
[] + [1] , A=[9,5,2,3,6,1,9,9,8] , C=0 , 0+1+0=1 , A->1 , C->0
[] + [] , A=[1,9,5,2,3,6,1,9,9,8] C=0 , END
</scratch>
1952361998
| 1952361998 | 2 |
Input:
4430771912+1584451
Target:
| Input:
4430771912+1584451
Target:
[4,4,3,0,7,7,1,9,1,2] + [1,5,8,4,4,5,1] , A=[] , C=0 , 2+1+0=3 , A->3 , C->0
[4,4,3,0,7,7,1,9,1] + [1,5,8,4,4,5] , A=[3] , C=0 , 1+5+0=6 , A->6 , C->0
[4,4,3,0,7,7,1,9] + [1,5,8,4,4] , A=[6,3] , C=0 , 9+4+0=13 , A->3 , C->1
[4,4,3,0,7,7,1] + [1,5,8,4] , A=[3,6,3] , C=1 , 1+4+1=6 , A->6 , C->0
[4,4,3,0,7,7] + [1,5,8] , A=[6,3,6,3] , C=0 , 7+8+0=15 , A->5 , C->1
[4,4,3,0,7] + [1,5] , A=[5,6,3,6,3] , C=1 , 7+5+1=13 , A->3 , C->1
[4,4,3,0] + [1] , A=[3,5,6,3,6,3] , C=1 , 0+1+1=2 , A->2 , C->0
[4,4,3] + [] , A=[2,3,5,6,3,6,3] , C=0 , 3+0+0=3 , A->3 , C->0
[4,4] + [] , A=[3,2,3,5,6,3,6,3] , C=0 , 4+0+0=4 , A->4 , C->0
[4] + [] , A=[4,3,2,3,5,6,3,6,3] , C=0 , 4+0+0=4 , A->4 , C->0
[] + [] , A=[4,4,3,2,3,5,6,3,6,3] C=0 , END
</scratch>
4432356363
| 4432356363 | 7 |
Input:
5502941275+9176707066
Target:
| Input:
5502941275+9176707066
Target:
[5,5,0,2,9,4,1,2,7,5] + [9,1,7,6,7,0,7,0,6,6] , A=[] , C=0 , 5+6+0=11 , A->1 , C->1
[5,5,0,2,9,4,1,2,7] + [9,1,7,6,7,0,7,0,6] , A=[1] , C=1 , 7+6+1=14 , A->4 , C->1
[5,5,0,2,9,4,1,2] + [9,1,7,6,7,0,7,0] , A=[4,1] , C=1 , 2+0+1=3 , A->3 , C->0
[5,5,0,2,9,4,1] + [9,1,7,6,7,0,7] , A=[3,4,1] , C=0 , 1+7+0=8 , A->8 , C->0
[5,5,0,2,9,4] + [9,1,7,6,7,0] , A=[8,3,4,1] , C=0 , 4+0+0=4 , A->4 , C->0
[5,5,0,2,9] + [9,1,7,6,7] , A=[4,8,3,4,1] , C=0 , 9+7+0=16 , A->6 , C->1
[5,5,0,2] + [9,1,7,6] , A=[6,4,8,3,4,1] , C=1 , 2+6+1=9 , A->9 , C->0
[5,5,0] + [9,1,7] , A=[9,6,4,8,3,4,1] , C=0 , 0+7+0=7 , A->7 , C->0
[5,5] + [9,1] , A=[7,9,6,4,8,3,4,1] , C=0 , 5+1+0=6 , A->6 , C->0
[5] + [9] , A=[6,7,9,6,4,8,3,4,1] , C=0 , 5+9+0=14 , A->4 , C->1
[] + [] , A=[4,6,7,9,6,4,8,3,4,1] C=1 , END
</scratch>
14679648341
| 14679648341 | 10 |
Input:
5875582111+2
Target:
| Input:
5875582111+2
Target:
[5,8,7,5,5,8,2,1,1,1] + [2] , A=[] , C=0 , 1+2+0=3 , A->3 , C->0
[5,8,7,5,5,8,2,1,1] + [] , A=[3] , C=0 , 1+0+0=1 , A->1 , C->0
[5,8,7,5,5,8,2,1] + [] , A=[1,3] , C=0 , 1+0+0=1 , A->1 , C->0
[5,8,7,5,5,8,2] + [] , A=[1,1,3] , C=0 , 2+0+0=2 , A->2 , C->0
[5,8,7,5,5,8] + [] , A=[2,1,1,3] , C=0 , 8+0+0=8 , A->8 , C->0
[5,8,7,5,5] + [] , A=[8,2,1,1,3] , C=0 , 5+0+0=5 , A->5 , C->0
[5,8,7,5] + [] , A=[5,8,2,1,1,3] , C=0 , 5+0+0=5 , A->5 , C->0
[5,8,7] + [] , A=[5,5,8,2,1,1,3] , C=0 , 7+0+0=7 , A->7 , C->0
[5,8] + [] , A=[7,5,5,8,2,1,1,3] , C=0 , 8+0+0=8 , A->8 , C->0
[5] + [] , A=[8,7,5,5,8,2,1,1,3] , C=0 , 5+0+0=5 , A->5 , C->0
[] + [] , A=[5,8,7,5,5,8,2,1,1,3] C=0 , END
</scratch>
5875582113
| 5875582113 | 1 |
End of preview. Expand
in Dataset Viewer.
README.md exists but content is empty.
Use the Edit dataset card button to edit it.
- Downloads last month
- 35