For this Question: Given an integer N, your task is to represent the given integer as a binary number.Input contains a single integer containing the value of N.

Constraints:-
0 <= N <= 1000000000Print a string containing the binary representation of the given integer.Sample Input:-
9

Sample Output:-
1001

Sample input:-
3

Sample Output:-
11, I have written this Solution Code: 
#include <bits/stdc++.h>


using namespace std;

#define MEM(a, b) memset(a, (b), sizeof(a))

#define FOREACH(it, l) for (auto it = l.begin(); it != l.end(); it++)

#define IN(A, B, C) assert( B <= A && A <= C)

#define MP make_pair
#define FOR(i,a) for(int i=0;i<a;i++)

#define FOR1(i,j,a) for(int i=j;i<a;i++)

#define EB emplace_back

#define INF (int)1e9

#define EPS 1e-9

#define PI 3.1415926535897932384626433832795
#define max1 101
#define MOD 1000000007

#define read(type) readInt<type>()

#define out(x) cout<<x<<'\n'
#define out1(x) cout<<x<<" "
#define END cout<<'\n'
#define int long long
#define sz(v) ((int)(v).size())
#define all(v) (v).begin(), (v).end()
void fast(){
ios::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
}signed main(){
    int t;
    t=1;
    while(t--){
int n;
cin>>n;

string s;
if(n==0){
    s+='0';
}
while(n>0){

    if(n&1){
        s+='1';
    }
    else{
        s+='0';
    }
    n/=2;
}
reverse(s.begin(),s.end());
out(s);
}
}

, In this Programming Language: C++, Now tell me if this Code is compilable or not?