Hi Spoj,
I am kinda new in Spoj. I have some knowledge in programming but I am quite new to Python.
I am trying to improve my knowledge in python by solving some problems here at Spoj, and I understand that Python is not very efficient for large input output problems (it took me some time to get PALIN accepted because of I/O) https://www.spoj.pl/problems/PALIN/
My question is: would it be a good approach, to use threads? for I/O and processing? This way we could start processing data before we had to read it all, or start outputing data before processing it all.
Did anyone try this? Please leave your thoughts.
Joao Costa