Name:
Anonymous
2012-02-20 13:03
Why doesn't this work
#include <iostream>
#include <string>
int main()
{
using namespace std;
unsigned long long int i, num, factor;
i = 600851475143;
for (num = 0; num < 10000; num++)
{
if (i % num == 0)
{
cout << num;
}
}
return 0;
}
Name:
Anonymous
2012-02-20 13:20
Flåting point acception: 8
Name:
Anonymous
2012-02-24 8:30
>>2
I'm the D spammer, and I can't remember posting in this thread. Is there another D spammer on /prog/?
Name:
Anonymous
2012-02-24 9:09
use unsigned long long int = 600851475143;
and try not to use this site for help with project eular
Name:
Anonymous
2012-02-24 9:11
>>5 you'r are no longer just a the spammer your'e a memesmith conglratirautons
Name:
Anonymous
2012-02-24 11:22
>>3
How can that be?? it's an integer not a float.
Name:
Anonymous
2012-02-24 11:48
>>8
Integers are always promoted to binary
doubles so they can be checked.
Name:
Anonymous
2012-02-24 12:29
>>9
1.1000000000000001E+01 GET!
Name:
Anonymous
2012-02-24 13:20
Listen to
>>4 OP
On your first round you've got ``% num'' where num = 0.
Name:
Anonymous
2012-02-24 16:43
>>14
It's ok. If he's this retarded he has no hope as it is anyways.
Name:
Anonymous
2013-03-30 11:18
the /d/ programming language
Name:
Anonymous
2013-03-30 13:13
>>2
Nope, D is shitty, Vala is the only true language, besides C
Name:
Anonymous
2013-03-30 15:04
DONT HELP HIM
this was spammed to /sci/ too.