You are viewing a single comment's thread. Return to all comments →
This is my code. I'm getting run-time error. I think I have written correct algorithm. Can anyone tell me where I am wrong...
using namespace std;
typedef unsigned long long ll;
bool pq(ll); ll sigma(ll);
int main() { ll sum=0,n,i; bool truth; cin>>n; for(i=0;i
Seems like cookies are disabled on this browser, please enable them to open this website
Project Euler #241: Perfection Quotients
You are viewing a single comment's thread. Return to all comments →
This is my code. I'm getting run-time error. I think I have written correct algorithm. Can anyone tell me where I am wrong...
include
include
using namespace std;
typedef unsigned long long ll;
bool pq(ll); ll sigma(ll);
int main() { ll sum=0,n,i; bool truth; cin>>n; for(i=0;i