For this Question: You are given a big number in form of a string A of characters from 0 to 9.

Check whether the given number is divisible by 30 .The first argument is the string A.

<b>Constraints</b>
1 &le; |A| &le; 10<sup>5</sup>Return "Yes" if it is divisible by 30 and "No" otherwise. Sample Input : 
3033330

Sample Output:
Yes, I have written this Solution Code: /**
 *      Author : tourist1256
 *      Time   : 2022-02-10 11:06:49
 **/

#include <bits/stdc++.h>

using namespace std;

#define int long long int

#ifdef LOCAL
#define debug(...) cerr << "[" << #__VA_ARGS__ << "]:", debug_out(__VA_ARGS__)
#else
#define debug(...) 2351
#endif

int solve(string a) {
    int n = a.size();
    int sum = 0;
    if (a[n - 1] != '0') {
        return 0;
    }
    for (auto &it : a) {
        sum += (it - '0');
    }
    debug(sum % 3);
    if (sum % 3 == 0) {
        return 1;
    }
    return 0;
}

int32_t main() {
    ios_base::sync_with_stdio(NULL);
    cin.tie(0);
    string str;
    cin >> str;
    int res = solve(str);
    if (res) {
        cout << "Yes\n";
    } else {
        cout << "No\n";
    }
    return 0;
}, In this Programming Language: C++, Now tell me if this Code is compilable or not?