- 1
Hello friene here is my program of codevita please if anyone can explain plz contact me asap <redacted>
#include<iostream> #include<cmath> using namespace std; int main() { long n,c=0; cin>>n; for(long l=2;l<=n;l++) { if(n%l==0) { while(n%l==0) n=n/l; c++; } } double d=pow(2,c)-1; cout<<(int)(d); }
6 Respuestas
+ 3
Your program but you need someone to explain it to you?
+ 2
debug step by step and you can understand. is kinda weird you write code and dont understand.
+ 1
Please don't post personal details.
+ 1
Did you write it, or copy it from somewhere. If you wrote it, surely you have some understanding. If you copied it, then it's not your code.
0
plz let me can u explain this
0
yes can u explain plz