We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Project Euler #241: Perfection Quotients
Project Euler #241: Perfection Quotients
Sort by
recency
|
38 Discussions
|
Please Login in order to post a comment
for(int i=0; i<10^18; i++) if(a % 47 == 0) int f = 45; else int g = 0;
can i do it in vba? I dont see a option but it's the easier to me to use it
please help me to optimize my code ,it didn't execute within the time limits for many test cases.
lue) `
Can someone tell why this code isn't working for range<10^18?? I know the max range in java for long is 10^19, but at least it should give correct for those test cases.!
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