Skip to content

Commit 57aaa4b

Browse files
committed
counting bits to flip to convert A to B
1 parent b3d0261 commit 57aaa4b

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#include<iostream>
2+
3+
4+
using namespace std;
5+
6+
//count number of bits to be flipped in a to convert it to b
7+
8+
int main()
9+
{
10+
11+
return 0;
12+
}

General Programs/AutomorphicNumber.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ void nAutomorphic(int n)
3535

3636
int main()
3737
{
38-
nAutomorphic(200);
38+
nAutomorphic(200);
3939
return 0;
40+
4041
}

0 commit comments

Comments
 (0)