Teo-CD
9c2774be19
Solved with threads, slower by 20-30% for this workload apparently. Might be because it is the same solution, juste using a new thread for each test instead of one thread. Early exit does not seem to improve things, as the threads complete very quickly. |
||
---|---|---|
.. | ||
input.txt | ||
Solution - with threads.py | ||
Solution.py |