Odpowiedzi na post #5 547

  • 🔧 I've been doing a lot of work. If you experience issues, please email me or post in the relevant thread: (Chat, Tartarus / Site Security, Technical Grievances).
    🔧 A recent connection issue caused by an errant Finland node impacting mostly Europeans should be resolved.
    🧊 New server is in an office waiting on a mexican.
DavidS877

Programming thread

Sadly, your code runs in O(n) time, to make it run in O(1) time you should change it to instead just use a for loop from 0 to MAXINT(looks like...
ADHD Mate

Programming thread

That's a perfect case for C++ constexpr and templates. template<typename T> requires(std::is_integral_v<T>) class TableOfEvenNumbers { public...
Uncle Ted's Cabin

Programming thread

Small brain: Use modulo Medium brain: Write a recursive function Big brain: Create a giant if/else chain or switch statement Galaxy brain: Use...
Wstecz
Top Na dole