The necro'ness!

- on Wed Oct 26, 2011 3:37 am
- Forum: General
- Topic: Will HTS ever get as active as it used to be?
- Comments:
**31** - Views:
**25636**

- on Sat Aug 06, 2011 7:18 pm
- Forum: General
- Topic: A Geeks Guide to Digital Forensics
- Comments:
**2** - Views:
**3818**

So, a^2 + b^2 = c^2 wont work, but the weird a*a + b*b = c*c will? How does 'a*a' translate to 'a to the power of 2' ?

-- Wed Aug 03, 2011 5:02 pm --

OOOOO! Nevermind haha. I get it now

-- Wed Aug 03, 2011 5:02 pm --

OOOOO! Nevermind haha. I get it now

- on Wed Aug 03, 2011 4:58 pm
- Forum: Interpreted Languages
- Topic: Euler #9
- Comments:
**8** - Views:
**10308**

i think ^ doesn't work that way. max = 1000 def main(): for a in xrange(1,max): print a; for b in xrange(1,max): for c in xrange(1,max): if triplit(a,b,c): if (a+b+c) == max: print a; print b; print c; return (a*b*c) def triplit(a,b,c): if a<b and b<c: if (a*a)...

- on Wed Aug 03, 2011 3:53 pm
- Forum: Interpreted Languages
- Topic: Euler #9
- Comments:
**8** - Views:
**10308**

http://projecteuler.net/index.php?section=problems&id=9

I am trying to find the product of a,b, and c. a, b and c added must equal 1000 and a, b squared must equal 1000. a,b and c must also follow the Pythagorean triplet law of a < b < c.

I am trying to find the product of a,b, and c. a, b and c added must equal 1000 and a, b squared must equal 1000. a,b and c must also follow the Pythagorean triplet law of a < b < c.

- on Wed Aug 03, 2011 5:17 am
- Forum: Interpreted Languages
- Topic: Euler #9
- Comments:
**8** - Views:
**10308**

Wow.. At least he isn't in jail. Thanks for the link

- on Wed Aug 03, 2011 3:32 am
- Forum: General
- Topic: Got caught
- Comments:
**18** - Views:
**10954**

Hey everyone, I am on problem 9 of project Euler and I seem to be at a wall. I keep getting the wrong answer, but when I looked at my code, i can't find the flaw that causes the wrong answer. could anyone hint to me what it is? max = 1000 def main(): for a in xrange(1,max): for b in xrange(1...

- on Wed Aug 03, 2011 3:21 am
- Forum: Interpreted Languages
- Topic: Euler #9
- Comments:
**8** - Views:
**10308**

Ah thanks! That makes perfect sense.

- on Sun Jul 31, 2011 4:54 pm
- Forum: Interpreted Languages
- Topic: Euler #3
- Comments:
**3** - Views:
**7316**

Hey everyone, i have a problem with my code to solve Project Euler #4: ( not #3! ) L = 0 for x in range(100, 1000): for y in range(100, 1000): product = x*y if str(product) == str(product)[::-1]: L = product print L I know it prints out the wrong palindromic because it is...

- on Sun Jul 31, 2011 8:06 am
- Forum: Interpreted Languages
- Topic: Euler #3
- Comments:
**3** - Views:
**7316**

Python F T W

- on Tue Jul 26, 2011 5:48 pm
- Forum: Programming
- Topic: Looking to start learning programming
- Comments:
**12** - Views:
**10646**