1. 39
  1.  

  2. 23

    Somehow both less and more cursed than expected.

    1. 4

      Since printf is almost Turing complete (difficult or impossible to have loops that’s standard compliant?), it might be possible to pass printf to qsort. The array passed in needs careful engineering though.

      1. 3

        And I thought that C++ template metaprogramming was fun, this is even better :)