The 24-year-old pop star's cheeky black two-piece barely covered her slim 5ft8in figure, which helped her 'sun charge before 2020'