Si funziona (e teoricamente non è migliorabile), però questo task ha un input molto grande e senza fast input temo che ti serva un’implementazione molto attenta!
Per il fast input : Fast I/O - n°3 da Delfad0r
Si funziona (e teoricamente non è migliorabile), però questo task ha un input molto grande e senza fast input temo che ti serva un’implementazione molto attenta!
Per il fast input : Fast I/O - n°3 da Delfad0r