For this Question: Currently, Adk is researching a virus that has conquered the planet. For killing the virus, three chemicals (A, B, and C) are required in a particular proportion. Let the quantities of chemicals be a, b, and c respectively.
The virus will be killed if a<sup>2</sup>+b<sup>2</sup>+c<sup>2</sup>=n.
You need to find the number of triplets satisfying the condition for all the values of n ranging from 1 to N.
<b>Note:</b> a, b and c must be integers.
<b>Note:</b> Obviously, the amount of chemical cannot be negative.The first and only line of input contains an integer N.

<b>Constraints:</b>
1 <= N <= 10000Output N integers, the number of triplets satisfying the condition for n = 1, 2, 3, ..., N on a new line.Sample Input:
10

Sample Output:
3
3
1
3
6
3
0
3
6
6

<b>Explanation:</b>
For n=1, triplets are (0, 0, 1), (1, 0, 0), (0, 1, 0)
For n=7, there are no triplets satisfying the condition.
For n=10, triplets are (0, 1, 3), (0, 3, 1), (1, 0, 3), (1, 3, 0), (3, 0, 1), (3, 1, 0)., 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 ld long double
#define int long long
#define double long double
#define mp make_pair
#define F first
#define S second
typedef pair<int, int> pii;
typedef vector<int> vi;
#define pi 3.141592653589793238
const int MOD = 1e9+7;
const int INF = 1LL<<60;


const int N = 2e5+5;

// it's swapnil07 ;)
 
#ifdef SWAPNIL07
#define trace(...) __f(#__VA_ARGS__, __VA_ARGS__)
template <typename Arg1>
void __f(const char* name, Arg1&& arg1){
    cout << name << " : " << arg1 << endl;
}
template <typename Arg1, typename... Args>
void __f(const char* names, Arg1&& arg1, Args&&... args){
    const char* comma = strchr(names + 1, ',');cout.write(names, comma - names) << " : " << arg1<<" | ";__f(comma+1, args...);
}
int begtime = clock();
#define end_routine() cout << "\n\nTime elapsed: " << (clock() - begtime)*1000/CLOCKS_PER_SEC << " ms\n\n";
#else
#define endl '\n'
#define trace(...)
#define end_routine()
#endif

int ans[100001];

void solve(){
    int n; cin>>n;
    For(i, 0, 101){
        For(j, 0, 101){
            For(k, 0, 101){
                int x = i*i+j*j+k*k;
                ans[x]++;
            }
        }
    }
    int sv = 0;
    For(i, 1, n+1){
        cout<<ans[i]<<"\n";
    }
}


signed main()
{
    fast
    #ifdef SWAPNIL07
        freopen("input.txt","r",stdin);
        freopen("output.txt","w",stdout);
    #endif
    int t=1; 
    // cin>>t;
    while(t--){
        solve();
        // cout<<"\n";
    }
    return 0;
}

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