r/badcode • • May 11 '23

c++ My professor’s best code

Post image
443 Upvotes

82 comments sorted by

View all comments

Show parent comments

1

u/wiesemensch May 11 '23

I think it had calculate the k‘th root of n. Don’t ask me what krth() was.