For this Question: The question is super small and super simple.
You are given an integer n. Initially you have an empty string. You need to construct the string of length n with the following rules:
1. Insert the first character in the beginning of string, the second in the end, the third in the beginning, fourth in the end, and so on. 
2. The first character should be 'a', followed by 'b', 'c', and so on. 'z' will be followed by 'a'.The first and the only line of input contains a single number n.

Constraints
1 <= n <= 500000Output the generated string.Sample Input
4

Sample Output
cabd

Sample Input
30

Sample Output
caywusqomkigecabdfhjlnprtvxzbd

Explanation
In the first case the string transforms as follows: "" -> "a" -> "ab" -> "cab" -> "cabd", I have written this Solution Code: #include <bits/stdc++.h>
using namespace std;
#define sd(x) scanf("%d", &x)
#define sz(v) (int) v.size()
#define pr(v) For(i, 0, sz(v)) {cout<<v[i]<<" ";} cout<<endl;
#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;
typedef vector<int> vi;
#define MOD 1000000007
#define INF 1000000000000000007LL

const int N = 100005;
 
// it's swapnil07 ;)
 
#ifdef SWAPNIL07
int begtime = clock();
#define end_routine() cout << "\n\nTime elapsed: " << (clock() - begtime)*1000/CLOCKS_PER_SEC << " ms\n\n";
#else
#define endl '\n'
#define end_routine()
#endif


signed main()
{
    fast
    #ifdef SWAPNIL07
        freopen("input.txt","r",stdin);
        freopen("output.txt","w",stdout);
    #endif
    int n; cin>>n;
    deque<char> vect;
    int cur = 0;
    bool fl = false;
    for(int i=0; i<n; i++){
        if(!fl)
            vect.push_front('a'+cur);
        else
            vect.push_back('a'+cur);
        cur = (cur+1)%26;
        fl = !fl;
    }
    while(!vect.empty()){
        char c = vect.front();
        vect.pop_front();
        cout<<c;

    }
    // end_routine();
    return 0;
}, In this Programming Language: C++, Now tell me if this Code is compilable or not?