diff --git a/CodeForces/1343A.cpp b/CodeForces/1343A.cpp index e69de29..563ce3a 100644 --- a/CodeForces/1343A.cpp +++ b/CodeForces/1343A.cpp @@ -0,0 +1,25 @@ +#include +#include +using namespace std; + + +int main(){ + int t; + cin>>t; + while(t--){ + int n; + cin>>n; + + for (int k=2;k<=log2(n+1);k++){ + + int y=pow(2,k)-1; + double z=n*1.0/y; + if (floor(z)==ceil(z)){ + + cout<