For this Question: Given an integer N, find the number of integers from 1 to N, that are odd as well as have odd number of digits, eg: 333 will be counted while 33 or 332 will not be counted.The first line and the only line of the input contains an integer N.

Constraints
1 <= N <= 100000Output a single integer, the number of integers that are odd as well as have odd number of digits in their decimal representation.Sample Input
13

Sample Output
5

Explanation: Only 1, 3, 5, 7, and 9 meet the criteria.

Sample Input
101

Sample Output
6, I have written this Solution Code: #include <bits/stdc++.h>
using namespace std;
#define sd(x) scanf("%d", &x)
#define slld(x) scanf("%lld", &x)
#define all(x) x.begin(), x.end()
#define For(i, st, en) for(ll i=st; i<en; i++)
#define tr(x) for(auto it=x.begin(); it!=x.end(); it++)
#define fast std::ios::sync_with_stdio(false);cin.tie(NULL);
#define pb push_back
#define ll long long
#define int long long
#define mp make_pair
#define F first
#define S second
typedef pair<int, int> pii;
#define MOD 1000000007
#define INF 1000000000000000007
#define MAXN 300005

// it's swapnil07 ;)

int ctd(int i){
    int ct = 0;
    while(i){
        i/=10;
        ct++;
    }
    return ct;
}

signed main(){
    fast
    #ifdef SWAPNIL07
        freopen("input.txt","r",stdin);
        freopen("output.txt","w",stdout);
    #endif
    int n; cin>>n;
    int ans = 0;
    For(i, 1, n+1){
        int x = ctd(i);
        if(x%2 && i%2)
            ans++;
    }
    cout<<ans;
    return 0;
}
, In this Programming Language: C++, Now tell me if this Code is compilable or not?