O(1) Problem Solver banner

O(1) Problem Solver

3 devlogs
4h 20m

Any problem it can solve, it can solve it in O(1) time! It might not be right, but you’ll have an answer. Anything from basic math to complex analysis, we can do in O(1) time. How does it do this? Magic! (its AI).
I made this because I thought it was funny.

ALSO: Disclaimer i have like 5 lines of AI code in here. I was getting tired of trying to parse JSON, and just gave up. That’s all I used it for though. (if anyone’s curious its lines 48-53 in solver.py)

Loading README...

Seven

Just some nice finishing touches. Got it actually running in O(1) time. Made some nice error checks for common things like not entering your question or API key. Also added word wrapping to the output text, because it got messy fast before.

Attachment
0
Seven

Got all of the UI logic bugs and errors sorted out. All I have left to do are some finishing touches like making it actually run in o1 time. Also should add some checks so that you have to fill out all required fields.
API key field is blacked out in post for obvious reasons

0
Seven

I apologize for so much being in one log. I accidentally forgot to press add devlog, and as such, here is two devlogs in one devlog.

Log 1: 1hr, 30mins
Made it actually work. Its got a basic text interface for now, but I’m going to try and learn Tkinter. There are three modes, the first is instant, and I won’t spoil it, the second runs your query through python eval, and the third contacts hackclub AI. Unfortunately you need your own Hackclub AI API key tho.
Log 2: 1hr, 21mins
Made the gui. Current issues are annoying logic problems with tkinter callbacks. getting lots of weird errors due to tkinters horrible variable and callback system. Got to fix all of them.
Also yes i’m aware the UI is hideous. Its tkinter, what did you expect?

Attachment
0