Anyone that is driven by curiosity might incline .. and since i'm both incredibly generous, and I don't want to be bothered (ironcally mutually excluding each other):
#include using namespace std;
int main() {
int num; int sum = 0;
for (num = 1; num <= 100000; num++) sum += num;
cout << "The sum is: " << sum << endl;
return 0; }
For you other hackers out there .. don't even waste your time. It's not my major .. just a prereq, so I do the bare minimum to skirt by, damn optimization and memory assignments.
Comments 4
#include
using namespace std;
int main()
{
int num;
int sum = 0;
for (num = 1; num <= 100000; num++)
sum += num;
cout << "The sum is: " << sum << endl;
return 0;
}
For you other hackers out there .. don't even waste your time. It's not my major .. just a prereq, so I do the bare minimum to skirt by, damn optimization and memory assignments.
Reply
hope things are going well for you :D
Reply
Reply
( ... )
Reply
Leave a comment