Today daily code byte question that is of three musketers

#include<bits/stdc++.h>
#define ll long long
using namespace std;
int main () {
ll int n;
cin>>n;
int athos=0,porthos=0,aramis=0;
ll int expo=(n-1)/16;
ll int power=pow(2,expo);
ll int a=(n-1)%16;
if(a>=8 && a<16)
aramis=power;
else if(a>=2 && a<8)
porthos=power;
else
athos=power;

cout<<athos<<" "<<porthos<<" "<<aramis;
return 0;

}

@anshuman Could you provide the question. Also please raise doubts in the section in which it is described it helps in faster resolution of doubt

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.