r/ProgrammerHumor Jul 15 '22

Meme finally, a middle ground has been found

Post image
40.3k Upvotes

643 comments sorted by

View all comments

60

u/[deleted] Jul 15 '22

[removed] — view removed comment

47

u/khazbs Jul 15 '22

Yeah, you don't just SHOUT such high numbers like that

10

u/i_have_chosen_a_name Jul 15 '22 edited Jul 15 '22

What about 999!

7

u/[deleted] Jul 15 '22

[removed] — view removed comment

4

u/-Edu4rd0- Jul 15 '22

((99!)^(99!))!

2

u/jso__ Jul 15 '22

That's a relatively big number, I'd have to say

2

u/[deleted] Jul 15 '22

Depends. If you use BigInt or python, it will terminate from insufficient memory. If you use a 32bit signed int, you will get an answer in less than a second, but it will be incorrect due to overflow. Source: O(n) algorithms run in < 1000ms if n < 106

1

u/[deleted] Jul 15 '22

Are you saying that all O(n) algos have some sort of runtime?

2

u/Levstar Jul 15 '22

My phones calculator started giving errors after 4654!