I am not sure why your code doesn't run correctly on your pc; it runs perfectly fine on mine.
Maybe your CPU doesn't support multithreading, or just doesn't have enough cores. My pc has 8 cores with 16 threads, not sure about your PC.
I am not sure why your code doesn't run correctly on your pc; it runs perfectly fine on mine.
Maybe your CPU doesn't support multithreading, or just doesn't have enough cores. My pc has 8 cores with 16 threads, not sure about your PC.