this post was submitted on 19 Jul 2023
1042 points (98.4% liked)

Programmer Humor

32410 readers
1 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS
 
(page 2) 30 comments
sorted by: hot top controversial new old
[–] Saigonauticon@voltage.vn 2 points 2 years ago

Hm, I wonder if I could make these students more miserable by introducing a CPU that permits static operation, then clocking that with a true random number generator?

So now it has output that is deterministic from the standpoint of the CPU but nondeterministic to an outside observer. Probably wouldn't affect the O(n) notation though, come to think of it. It would be funny though.

[–] jungekatz@lemmy.world 1 points 2 years ago

My favorite subject!

[–] argv_minus_one@beehaw.org 1 points 2 years ago (4 children)

Since when were Turing machines ever nondeterministic?

[–] rockSlayer@lemmy.world 2 points 2 years ago (1 children)

Nondeterministic turing machines are the same kind of impossible theoretical automaton as an NFA. They can theoretically solve NP problems.

[–] christian@lemmy.ml 1 points 2 years ago (1 children)

It's been a long long time since I touched this but I'm still almost positive deterministic machines can solve everything in NP already.

[–] rockSlayer@lemmy.world 0 points 2 years ago

They exist in the same grammatical hierarchy so theoretically they can solve the same problems. What I should have said was that nondeterministic turing machines can solve NP problems in P

load more comments (3 replies)
load more comments
view more: ‹ prev next ›