https://drive.google.com/open?id=1MO3S4VYiYoH0elaCls4vOcMjttScbcDc
Sửa lại đề 1 chút: T<=10^6, 1<=L<=R<=10^4