`[x+1]/2021+[x+2]/2020+[x+3]/2019+[x+4]/2018=-4`
`<=>[x+1]/2021+1+[x+2]/2020+1+[x+3]/2019+1+[x+4]/2018+1=-4+4`
`<=>[x+1+2021]/2021+[x+2+2020]/2020+[x+3+2019]/2019+[x+4+2018]/2018=0`
`<=>[x+2022]/2021+[x+2022]/2020+[x+2022]/2019+[x+2022]/2018=0`
`<=>(x+2022)(1/2021+2020+1/2019+1/2018)=0`
Mà `1/2021+2020+1/2019+1/2018 \ne 0`
`=>x+2022=0`
`<=>x=-2022`
Vậy `S={-2022}`